/* ==========================================================================
   Kern-Test Einsamkeit - Stylesheet
   Alle Ressourcen lokal, keine externen Fonts, kein CDN.
   ========================================================================== */

/* --- Schrift ------------------------------------------------------------
   Nur Montserrat, in zwei Schnitten. Der Styleguide sieht eine Display-
   Serif neben der Textschrift vor; da nur eine Familie ausgeliefert wird,
   entsteht der Unterschied zwischen Ueberschrift und Fliesstext ueber
   Groesse, Gewicht, Laufweite und Weissraum statt ueber die Schriftart.
   -------------------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  src: url('montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('montserrat-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Marke */
  --color-primary: #306586;
  --color-primary-deep: #1f4a64;
  --color-primary-mist: #d9e5ec;
  --color-accent: #cd8c32;

  /* Akzent als Textfarbe. --color-accent erreicht auf Weiss nur 2.84:1
     und ist laut Styleguide reine Flaechenfarbe. Dieser abgedunkelte
     Wert kommt auf 5.91:1 und haelt damit AA. */
  --color-accent-ink: #8a5a16;

  /* Flaechen */
  --color-surface: #f5f8f9;
  --color-surface-raised: #ffffff;
  --color-surface-deep: #1b3a4b;

  /* Umrandung waehlbarer Felder. --color-primary-mist kommt auf Weiss nur
     auf 1.28:1 - der Rand war praktisch unsichtbar. Dieser Wert erreicht
     3.32:1 und erfuellt damit WCAG 1.4.11 fuer Bedienelemente. */
  --color-line: #7291a8;

  /* Warnfarbe fuer fehlende Pflichtangaben. 6.70:1 auf Weiss - haelt als
     Text und als Umrandung. Kommt so auch in den Quelltexten vor. */
  --color-warnung: #a7331f;
  --color-warnung-flaeche: #fdf4f2;

  /* Text */
  --color-ink: #14252f;
  --color-ink-muted: #5b7180;
  --color-ink-invert: #eef4f7;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 24px rgba(20, 37, 47, 0.06);

  /* 8-px-Raster */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 96px;

  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Lesebreite - die wichtigste Lesbarkeitsregel der Seite */
  --breite-text: 34rem;
  --breite-container: 68rem;
}

/* --- Grundlagen --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Seitenlayout, Hintergrund und Fusszeile gehoeren der Shell
   (labs-shell.css). Hier steht nur, was innerhalb des Werkzeugs gilt.
   Die Lesetypografie haengt deshalb an #app und nicht am body. */
#app {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}

#app h1,
#app h2,
#app h3 {
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 var(--s3);
  text-wrap: balance;
}

#app h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#app h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

#app h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

#app p {
  margin: 0 0 var(--s3);
}

#app p:last-child {
  margin-bottom: 0;
}

#app b,
#app strong {
  font-weight: 600;
}

#app :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Beim Bildschirmwechsel bekommt die Buehne programmatisch den Fokus,
   damit Screenreader und Tastaturbedienung an den Anfang des neuen
   Schritts springen. Sichtbar sein muss dieser Fokus nicht - er wird
   nicht von der Nutzerin gesetzt, und als Rahmen um den gesamten Inhalt
   sieht er aus wie ein Gestaltungsfehler. Die Ansage bleibt erhalten. */
#app .buehne:focus,
#app .buehne:focus-visible {
  outline: none;
}

/* --- Aufbau ------------------------------------------------------------- */
.buehne {
  max-width: var(--breite-text);
  margin: 0 auto;
}

/* Ein Schritt des Ablaufs. Immer nur einer ist sichtbar. */
.schritt {
  animation: auftauchen 500ms var(--ease) both;
}

@keyframes auftauchen {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.schritt > * + * {
  margin-top: var(--s3);
}

/* --- Textauszeichnungen aus den Quelltexten ----------------------------- */
.em {
  color: var(--color-primary-deep);
}

.ac {
  color: var(--color-accent-ink);
}

/* Inline-Hervorhebung: ruhige Tonung, kein Marker-Gelb.
   Padding bleibt klein, damit die Zeilenhoehe nicht springt. */
mark.hl {
  background: var(--color-primary-mist);
  color: inherit;
  padding: 0.08em 0.28em;
  border-radius: 4px;
  font-weight: 600;
}

/* Hervorhebungskasten: traegt die eigentliche Testfrage.
   Trennung ueber Flaeche, nicht ueber Kanten oder Schatten. */
.box {
  background: var(--color-primary-mist);
  border-radius: var(--radius);
  padding: var(--s3);
  margin: var(--s3) 0;
}

.box p {
  margin-bottom: var(--s2);
}

.box p:last-child {
  margin-bottom: 0;
}

/* Zitat */
#app blockquote,
#app .zitat {
  margin: var(--s4) 0;
  padding: var(--s1) 0 var(--s1) var(--s3);
  border-left: 3px solid var(--color-accent);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--color-primary-deep);
}

/* --- Karte -------------------------------------------------------------- */
.karte {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  box-shadow: var(--shadow-soft);
}

/* --- Buttons ------------------------------------------------------------ */
.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}

.knopf {
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: var(--s2) var(--s4);
  min-height: 48px;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
  /* Auf schmalen Geraeten volle Breite, ab Tablet nur so breit wie noetig */
  flex: 1 1 100%;
}

.knopf--primaer {
  background: linear-gradient(180deg, #3a7099 0%, var(--color-primary) 60%,
                                      #2b5c7c 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(31, 74, 100, 0.20);
}

.knopf--primaer:hover {
  background: linear-gradient(180deg, var(--color-primary) 0%,
                                      var(--color-primary-deep) 100%);
  box-shadow: 0 4px 14px rgba(31, 74, 100, 0.26);
}

.knopf--primaer:active {
  box-shadow: 0 1px 4px rgba(31, 74, 100, 0.24);
}

.knopf--sekundaer {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-line);
}

.knopf--sekundaer:hover {
  border-color: var(--color-primary);
}

.knopf[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- Antwortoptionen ---------------------------------------------------- */
/* Volle Zeilen mit grosser Trefferflaeche. Der gewaehlte Zustand wird
   ueber Flaeche UND einen Marker angezeigt, nie ueber Farbe allein. */
.optionen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.option {
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  font: inherit;
  background: var(--color-surface-raised);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  padding-left: calc(var(--s3) + 6px);
  min-height: 48px;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.option:hover {
  border-color: var(--color-primary);
}

.option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--color-accent);
  border-radius: 0 3px 3px 0;
  transition: height 300ms var(--ease);
}

.option[aria-pressed='true'],
.option[aria-checked='true'] {
  background: var(--color-primary-mist);
  /* Kraeftige Kante statt der Fuellfarbe: sonst verliert der gewaehlte
     Chip seine Umrandung und hebt sich nur noch ueber die Flaeche ab. */
  border-color: var(--color-primary);
  font-weight: 600;
}

.option[aria-pressed='true']::before,
.option[aria-checked='true']::before {
  height: calc(100% - var(--s3));
}

.option[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Skala 0 bis 10, in einer Reihe ------------------------------------- */
.skala {
  display: flex;
  gap: 4px;
  margin: var(--s2) 0 var(--s1);
}

.skala__feld {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--color-surface-raised);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.skala__feld:hover {
  border-color: var(--color-primary);
}

.skala__feld[aria-checked='true'] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.skala__enden {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

.skala__enden span:last-child {
  text-align: right;
}

/* --- Fortschritt --------------------------------------------------------
   Nur waehrend der Datenerhebung. Im Kern-Test bewusst nicht, weil die
   Anzahl der Items je nach Ziehung schwankt und nicht verraten werden darf.
   ---------------------------------------------------------------------- */
.fortschritt {
  height: 4px;
  background: var(--color-primary-mist);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--s4);
}

.fortschritt__balken {
  height: 100%;
  width: 0;
  background: var(--color-accent);
  transition: width 500ms var(--ease);
}

/* --- Eyebrow ------------------------------------------------------------ */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
  margin-bottom: var(--s1);
}

/* --- Hinweise ----------------------------------------------------------- */
.hinweis {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fehlermeldung {
  margin-top: var(--s3);
  padding: var(--s2);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-warnung);
  background: var(--color-warnung-flaeche);
  color: var(--color-warnung);
}

.fehlermeldung p {
  margin: 0;
}

/* Nicht beantwortete Antwortgruppe: roter Rahmen um die Optionen, damit
   ohne Suchen erkennbar ist, wo etwas fehlt. Farbe allein reicht nicht,
   deshalb kommt die Meldung mit Text dazu. */
.optionen.fehlt,
.skala.fehlt {
  border: 1px solid var(--color-warnung);
  border-radius: var(--radius);
  padding: var(--s1);
  margin-left: calc(var(--s1) * -1);
  margin-right: calc(var(--s1) * -1);
  background: var(--color-warnung-flaeche);
}

/* --- Atem-Kreis ---------------------------------------------------------
   Kommt genau einmal vor: auf dem ersten Schritt. Danach nie wieder.
   ---------------------------------------------------------------------- */
.atem {
  display: block;
  width: min(220px, 55vw);
  height: min(220px, 55vw);
  margin: 0 auto var(--s4);
}

.atem circle {
  fill: none;
  stroke: var(--color-primary);
  transform-origin: 50% 50%;
}

.atem__aussen {
  stroke-opacity: 0.18;
  animation: atmen 10s var(--ease) infinite;
}

.atem__mitte {
  stroke-opacity: 0.3;
  animation: atmen 10s var(--ease) infinite 0.4s;
}

.atem__innen {
  stroke-opacity: 0.45;
  animation: atmen 10s var(--ease) infinite 0.8s;
}

@keyframes atmen {
  0% {
    transform: scale(0.86);
    stroke-opacity: 0.14;
  }
  40% {
    /* 4 Sekunden wachsend */
    transform: scale(1);
    stroke-opacity: 0.4;
  }
  100% {
    /* 6 Sekunden schrumpfend */
    transform: scale(0.86);
    stroke-opacity: 0.14;
  }
}

/* --- Ab Tablet ---------------------------------------------------------- */
@media (min-width: 40em) {
  .knopf {
    flex: 0 1 auto;
  }

  .skala__feld {
    font-size: 1rem;
  }
}

/* --- Bewegung reduzieren ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Atem-Kreis einfrieren, nicht wegblenden */
  .atem__aussen,
  .atem__mitte,
  .atem__innen {
    animation: none;
    transform: scale(0.95);
    stroke-opacity: 0.25;
  }
}

/* ==========================================================================
   AB DESKTOP (1024px) - kompakte Fassung
   --------------------------------------------------------------------------
   Auf dem Handy und Tablet bleibt alles wie gehabt: eine Spalte, volle
   Zeilen, grosse Trefferflaechen. Am Schreibtisch wirkt derselbe Text
   dagegen schnell lang. Deshalb hier:

     - kleinere Schrift und engere Abstaende
     - Antwortoptionen laufen nebeneinander und brechen um, statt sich
       endlos nach unten zu stapeln
     - die Lesespalte fuellt die ohnehin schmale Karte

   Die Trefferflaechen bleiben bei 44px Hoehe, auch als Chip.
   ========================================================================== */
@media (min-width: 64em) {
  #app {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Die Karte ist am Desktop selbst schon schmal, eine zusaetzliche
     Begrenzung wuerde die Spalte unnoetig einschnueren. */
  .buehne {
    max-width: 100%;
  }

  #app h1 {
    font-size: 1.75rem;
  }

  #app h2 {
    font-size: 1.3125rem;
    margin-bottom: var(--s2);
  }

  #app h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--s1);
  }

  #app p {
    margin-bottom: var(--s2);
  }

  .schritt > * + * {
    margin-top: var(--s2);
  }

  /* Eine neue Frage braucht mehr Abstand als ein Absatz, sonst
     verschwimmen die Gruppen ineinander.

     Das #app davor ist noetig: "#app h2" setzt margin als Kurzform und
     damit auch margin-top: 0. Mit ID-Spezifitaet schlaegt das jede reine
     Klassenregel - ohne das #app hier bliebe der Abstand wirkungslos. */
  #app .schritt > * + h2 {
    margin-top: var(--s4);
  }

  #app .schritt > * + h3 {
    margin-top: var(--s3);
  }

  .box {
    padding: var(--s2) var(--s3);
    margin: var(--s2) 0;
  }

  #app blockquote,
  #app .zitat {
    margin: var(--s3) 0;
    font-size: 1.125rem;
  }

  /* --- Optionen als umbrechende Chips ---------------------------------- */
  .optionen {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s1);
  }

  .option {
    display: inline-flex;
    align-items: center;
    width: auto;
    flex: 0 1 auto;
    max-width: 100%;

    min-height: 44px;
    padding: 10px var(--s2) 10px calc(var(--s2) + 6px);
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .option::before {
    border-radius: 0 2px 2px 0;
  }

  .option[aria-pressed='true']::before,
  .option[aria-checked='true']::before {
    height: calc(100% - var(--s2));
  }

  /* --- Knoepfe ----------------------------------------------------------
     Die Knopfreihe stand vorher direkt unter dem letzten Feld und wirkte
     dadurch angeklebt. Sie bekommt jetzt eine eigene Zone: Trennlinie,
     Abstand darueber und darunter. */
  /* Kein Trennstrich mehr: auf kurzen Bildschirmen stand er als
     einzelne Linie im Raum und wirkte wie ein verirrter Rahmen.
     Die Trennung macht der Abstand - so will es auch der Styleguide. */
  .knopfreihe {
    margin-top: var(--s5);
    gap: var(--s2);
  }

  .knopf {
    min-height: 46px;
    padding: 12px var(--s4);
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
  }

  /* --- Skala ------------------------------------------------------------ */
  .skala__feld {
    min-height: 44px;
    font-size: 0.9375rem;
  }

  /* --- Atem-Kreis ------------------------------------------------------- */
  .atem {
    width: 150px;
    height: 150px;
    margin-bottom: var(--s3);
  }

  .fortschritt {
    margin-bottom: var(--s3);
  }
}

/* --- Ueberschrift auf dem Startbildschirm --------------------------------
   Sagt der Person, wo sie gelandet ist. Bewusst kraeftiger als die
   uebrigen Ueberschriften.
   -------------------------------------------------------------------- */
#app .titel {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 var(--s4);
}

/* --- Rechtliche Hinweise auf dem Startbildschirm -------------------------
   Stehen unter den Willkommenstexten und sollen nicht mit ihnen um
   Aufmerksamkeit ringen: kleiner, ruhiger, mit etwas Abstand davor.
   -------------------------------------------------------------------- */
#app .inhalt--rechtliches {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--color-primary-mist);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

#app .inhalt--rechtliches .em,
#app .inhalt--rechtliches .ac {
  color: inherit;
}

/* --- Ornament auf dem Startbildschirm ------------------------------------
   Gestaffelte flache Boegen statt eines Kreises. Schichtung und Tiefe,
   ohne das Kreismotiv zu wiederholen, das schon im Markenzeichen und im
   Seitenhintergrund vorkommt.
   -------------------------------------------------------------------- */
.ornament {
  display: block;
  width: min(320px, 80%);
  height: auto;
  margin: 0 auto var(--s4);
}

.ornament__linie {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke: var(--color-primary);
}

.ornament__linie--1 { stroke-opacity: 0.5; }
.ornament__linie--2 { stroke-opacity: 0.38; }
.ornament__linie--3 { stroke-opacity: 0.26; }
.ornament__linie--4 { stroke-opacity: 0.16; }

.ornament__linie--akzent {
  stroke: var(--color-accent);
  stroke-opacity: 0.55;
}

/* --- Ripple --------------------------------------------------------------
   Eine Welle, die an der Klickstelle startet. Die Knoepfe brauchen dafuer
   overflow: hidden und eine Position, damit die Welle innerhalb der Form
   bleibt.
   -------------------------------------------------------------------- */
.knopf,
.option,
.skala__feld {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.welle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  background: currentColor;
  opacity: 0.18;
  animation: welle-laeuft 600ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Auf gefuellten Flaechen ist die Welle hell, sonst nimmt sie die
   Schriftfarbe des Knopfs. */
.knopf--primaer .welle,
.skala__feld[aria-checked='true'] .welle {
  background: #ffffff;
  opacity: 0.3;
}

@keyframes welle-laeuft {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welle {
    display: none;
  }
}

/* Auf dem Desktop bleibt die Ueberschrift etwas kompakter */
@media (min-width: 64em) {
  #app .titel {
    font-size: 1.6rem;
    margin-bottom: var(--s3);
  }
}

/* Links in den Texten, etwa in der Einwilligungserklaerung */
#app a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#app a:hover {
  color: var(--color-primary-deep);
}

/* Zweifarbige Ueberschrift: das Thema tritt in der Akzentfarbe hervor. */
#app .titel__wort {
  color: var(--color-accent-ink);
}

/* --- Ueberleitungen im Ablauf --------------------------------------------
   "Das war der erste Test..." und der Dank vor dem Ergebnis. Stehen vor
   dem eigentlichen Inhalt und heben sich ruhig ab.
   -------------------------------------------------------------------- */
#app .inhalt--ueberleitung {
  padding-left: var(--s2);
  border-left: 3px solid var(--color-primary-mist);
  color: var(--color-primary-deep);
  font-weight: 600;
}

/* --- Hinweis auf die App -------------------------------------------------
   Abgesetzter Block am Ende der Ergebnisseite. Bewusst zurueckhaltend:
   der Weg durch die Studie bleibt die Hauptsache.
   -------------------------------------------------------------------- */
.angebot {
  margin-top: var(--s5);
  padding: var(--s3);
  border: 1px solid var(--color-primary-mist);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.angebot__titel {
  margin: 0 0 var(--s2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.angebot__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

/* Die Knoepfe hier sind Links - sie brauchen dieselbe Form wie ein Knopf */
.angebot .knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--color-surface-raised);
}

.angebot .knopf:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-raised);
}

@media (min-width: 40em) {
  .angebot .knopf {
    flex: 0 1 auto;
  }
}

/* --- App-Knoepfe ---------------------------------------------------------
   Zwei Zeilen Text, Zeichen links, Pfeil rechts. Genug Koerper, um neben
   dem Fliesstext zu bestehen, ohne dem Weiter-Knopf den Rang abzulaufen.
   -------------------------------------------------------------------- */
.app-knopf {
  display: flex;
  align-items: center;
  gap: var(--s2);

  padding: 12px var(--s2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface-raised);
  color: var(--color-ink);
  text-decoration: none;
  min-height: 56px;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.app-knopf:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-mist);
}

.app-knopf__zeichen {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.app-knopf__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.app-knopf__oben {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.app-knopf__unten {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
}

.app-knopf__pfeil {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: var(--s2);
  color: var(--color-primary);
  font-size: 1.05rem;
  transition: transform 200ms var(--ease);
}

.app-knopf:hover .app-knopf__pfeil {
  transform: translateX(3px);
}

.angebot__knoepfe {
  display: grid;
  gap: var(--s1);
}

@media (min-width: 34em) {
  .angebot__knoepfe {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Titel- und Versionszeile in den Rechtshinweisen -------------------- */
/* Titel- und Versionszeile: kein Kasten, stattdessen wandert die Farbe
   der Buchstaben in sechs Stufen von Blau nach Ocker. Alle sechs Stufen
   liegen zwischen 5.91:1 und 9.45:1 auf Weiss, halten AA also klar. */
#app .version {
  font-weight: 600;
  letter-spacing: 0.01em;
}

#app .vz0 { color: #1f4a64; }
#app .vz1 { color: #344d54; }
#app .vz2 { color: #4a5045; }
#app .vz3 { color: #5f5435; }
#app .vz4 { color: #755726; }
#app .vz5 { color: #8a5a16; }

/* --- Made in Germany ----------------------------------------------------
   Streifen in Schwarz, Rot und Gold unter der Zeile. Rein dekorativ.
   -------------------------------------------------------------------- */
#app .flagge {
  display: inline-block;
  padding-bottom: 5px;
  background-image: linear-gradient(
    to right,
    #000000 0 33.33%,
    #dd0000 33.33% 66.66%,
    #ffce00 66.66% 100%);
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
