/* UroLotse · urolotse.at
   Die schlichte Produktseite einer iOS-App (Auftraggeber, 2026-09-30): Weiß, die
   Systemschrift, echte Bildschirme, das offizielle Badge. Ein Akzent, das Cyan der App;
   Rot, Gelb und Grün gehören der Dringlichkeitsskala und kommen nur in den Bildschirmen der
   App vor. Keine Fremdressourcen, keine eigene Schriftdatei, kein Skript. Seit dem
   2026-10-19 steht der Lotse der App auf der Seite (unten, „Der Lotse“). */

/* ------------------------------------------------------------------ Töne */
:root {
  color-scheme: light;
  --seite: #FFFFFF;
  --seite-2: #F5F5F7;            /* die zweite Fläche, wie bei Apple, kein Grau im Grau */
  --text: #1C1C1E;
  --text-2: #6E6E73;             /* 4,6:1 auf Weiß */
  --linie: #E5E5EA;
  --linie-2: #C7C7CC;
  --cyan: #02D3FE;               /* die Logofarbe, nur als Fläche */
  --link: #00778F;               /* die Logofarbe als Text auf Weiß, 5,2:1 */
  --link-stark: #005565;         /* unter „Kontrast erhöhen“, 7,2:1 */
  --nacht: #000000;              /* der Dienst-Abschnitt: das echte Schwarz der App */
  --auf-nacht: #F5F5F7;
  --auf-nacht-2: #A1A1A6;
  --nacht-linie: #2C2C2E;
  --schirm-radius: 22px;
  --rand: clamp(20px, 4vw, 44px);
  --inhalt: 1080px;
  --lesen: 66ch;
  --system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-contrast: more) {
  :root { --link: var(--link-stark); --text-2: #3A3A3C; --linie: #C7C7CC; }
}

/* ------------------------------------------------------------------ Grund */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--seite);
  color: var(--text);
  font-family: var(--system);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--cyan); color: #000; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong, b { font-weight: 600; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--seite); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.sprung:focus { left: 16px; }
.nur-lesbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.innen { max-width: var(--inhalt); margin: 0 auto; }

/* ------------------------------------------------------------------ Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--seite) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { max-width: var(--inhalt); margin: 0 auto; padding: 0 var(--rand); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Die Wortmarke mit Claim (Logo V4, Auftraggeber 2026-09-30), 110 Punkte breit. Die Seite ist
   nur hell (Auftraggeber, 2026-10-26: „Es gibt nur lightmode“). */
.wortmarke img { width: 110px; height: auto; }
.kopf-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-left: auto; font-size: 0.9375rem; }
.kopf-nav a { color: var(--text); padding: 6px 0; }
.kopf-nav a:hover { color: var(--link); text-decoration: none; }
.kopf-nav .kopf-laden { color: var(--link); font-weight: 500; }
/* Der Sprachumschalter (Auftraggeber, 2026-11-03): zwei Links auf die Fassung derselben Seite in
   der anderen Sprache. Kein Skript und kein Cookie, gezeichnet wie der Umschalter der Preiskarte.
   Sichtbar 32 px hoch; die unsichtbare Fläche darüber und darunter macht das Tippziel 44 px hoch. */
.kopf-sprache { flex: none; display: grid; grid-auto-flow: column; padding: 2px; border-radius: 999px; background: rgba(118, 118, 128, 0.12); font-size: 0.8125rem; font-weight: 500; }
.kopf-sprache a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; border-radius: 999px; color: #636366; }
.kopf-sprache a::after { content: ""; position: absolute; inset: -8px 0; }
.kopf-sprache a:hover { color: var(--text); text-decoration: none; }
.kopf-sprache a[aria-current="true"] { background: #FFFFFF; color: var(--text); font-weight: 600; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12); }
@media (prefers-contrast: more) { .kopf-sprache a { color: var(--text-2); } .kopf-sprache a[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--text); } }
@media (max-width: 720px) {
  .kopf-innen { height: auto; flex-wrap: wrap; padding-top: 12px; row-gap: 0; }
  .kopf-sprache { order: 1; margin-left: auto; }
  .kopf-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px 0 12px; gap: 20px; scrollbar-width: none; }
  .kopf-nav::-webkit-scrollbar { display: none; }
  .kopf-nav a { white-space: nowrap; }
  .kopf-nav .kopf-laden { display: none; } /* das Badge steht einen Bildschirm tiefer, ganz; halb abgeschnitten wäre es keines */
  .kopf-nav { order: 2; margin-left: 0; }
}


/* ------------------------------------------------------------------ Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 120px) var(--rand); }
.abschnitt-kopf { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.abschnitt-kopf p { margin-top: 18px; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.grau { background: var(--seite-2); }
.dunkel { background: var(--nacht); color: var(--auf-nacht); }
.dunkel .abschnitt-kopf p, .dunkel .merkmale dd, .dunkel .satz { color: var(--auf-nacht-2); }
.dunkel a { color: var(--cyan); }
.dunkel ::selection { background: var(--cyan); color: #000; }
.dunkel :focus-visible { outline-color: var(--cyan); }

/* ------------------------------------------------------------------ Start */
.start { padding: clamp(48px, 7vw, 96px) var(--rand) 0; text-align: center; }
.start .innen { display: grid; justify-items: center; gap: 22px; }
.symbol { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 10px 28px -10px rgba(0, 0, 0, 0.25); }
.start h1 { max-width: 24ch; }
/* Auf dem Telefon füllt „Nachschlagewerk“ allein eine Zeile; der Zeilenausgleich machte daraus fünf Zeilen statt vier. */
@media (max-width: 599px) { .start h1 { text-wrap: pretty; font-size: 2.375rem; } }
.start .satz { max-width: 58ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.laden { display: grid; justify-items: center; gap: 12px; margin-top: 8px; }
/* Das Badge ist Apples Artwork und bleibt, wie es ist: mindestens 40 px hoch, mit einem Viertel
   seiner Höhe Freiraum ringsum. Bis zur Freigabe ist es kein Link. */
.badge { display: block; width: 168px; height: 56px; padding: 0; margin: 14px; }
.laden .zeile { font-size: 0.9375rem; color: var(--text-2); }
.bestand { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.bestand li b { color: var(--text); font-weight: 600; }
.bestand li + li::before { content: "·"; margin-right: 14px; color: var(--linie-2); }
.bestand .stand { width: 100%; margin-top: 2px; }
.bestand .stand::before { content: none; }
/* Bricht die Zeile um, stünde der Trennpunkt am Zeilenanfang; schmal trägt der Abstand allein. */
@media (max-width: 599px) { .bestand li + li::before { content: none; } .bestand { gap: 6px 18px; } }

/* Drei Bildschirme unter der Falz */
/* Der mittlere Bildschirm ist etwas größer und steht tiefer; die beiden äußeren treten zurück. */
.start-schirme { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr) minmax(0, 10fr); gap: clamp(16px, 2.5vw, 28px); align-items: end; width: 100%; max-width: 980px; margin-top: clamp(28px, 4vw, 48px); }
.start-schirme .schirm:nth-child(2) { margin-bottom: 0; }
.start-schirme .schirm:nth-child(1), .start-schirme .schirm:nth-child(3) { margin-bottom: 36px; }
.schirm { border-radius: var(--schirm-radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--linie), 0 24px 48px -24px rgba(0, 0, 0, 0.35); }
.schirm img { width: 100%; height: auto; }
.dunkel .schirm { box-shadow: 0 0 0 1px var(--nacht-linie), 0 24px 48px -24px rgba(0, 0, 0, 0.8); }
/* Die eine Bewegung der Seite: die drei Bildschirme steigen beim Laden aus dem Weiß auf. */
.start-schirme .schirm { animation: aufsteigen 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.start-schirme .schirm:nth-child(2) { animation-delay: 60ms; }
.start-schirme .schirm:nth-child(3) { animation-delay: 120ms; }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .start-schirme .schirm { animation: none; } }
@media (max-width: 599px) {
  /* Die Reihe läuft quer und ist so breit wie das Fenster: Im zentrierenden Raster darüber
     nähme sie sonst ihre Wunschbreite und ragte auf beiden Seiten hinaus, ohne zu scrollen. */
  .start-schirme { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--rand) 12px; margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); justify-self: stretch; width: calc(100% + 2 * var(--rand)); max-width: none; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .start-schirme::-webkit-scrollbar { display: none; }
  .start-schirme .schirm { flex: 0 0 min(70vw, 280px); scroll-snap-align: start; margin-bottom: 0 !important; }
  .start-schirme { scroll-padding-inline: var(--rand); }
}

/* ------------------------------------------------------------------ Bildreihen und Abbildungen */
.reihe { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
.reihe-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reihe-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reihe-text-bild { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.reihe-bild-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bilder-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 28px); }
figure { margin: 0; }
/* `align-content: start`: Stehen zwei Abbildungen nebeneinander und ist eine Bildunterschrift
   länger, streckt das Raster die kürzere Abbildung; ohne diese Zeile wuchs dabei der Rahmen
   des Bildschirms, und unter dem Bild stand ein Streifen seines schwarzen Grundes. */
.abb { display: grid; gap: 12px; align-content: start; }
.abb figcaption { font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.dunkel .abb figcaption { color: var(--auf-nacht-2); }
@media (max-width: 899px) {
  .reihe-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reihe-text-bild, .reihe-bild-text { grid-template-columns: 1fr; }
  .reihe-bild-text .bilder-2 { order: -1; }
}
@media (max-width: 599px) {
  .reihe-2, .reihe-3, .bilder-2 { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--rand) 12px; margin: 0 calc(-1 * var(--rand)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .reihe-2::-webkit-scrollbar, .reihe-3::-webkit-scrollbar, .bilder-2::-webkit-scrollbar { display: none; }
  .reihe-2, .reihe-3, .bilder-2 { scroll-padding-inline: var(--rand); }
  .reihe-2 > *, .reihe-3 > *, .bilder-2 > * { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ Merkmale: Anführungssatz und Satz, ohne Kasten */
.merkmale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin: 0; }
.merkmale div { display: grid; gap: 6px; }
.merkmale dt { font-weight: 600; font-size: 1.0625rem; }
.merkmale dd { margin: 0; color: var(--text-2); line-height: 1.5; text-wrap: pretty; }
.merkmale-1 { grid-template-columns: 1fr; }
@media (max-width: 599px) { .merkmale { grid-template-columns: 1fr; } }
.text { display: grid; gap: 14px; max-width: var(--lesen); }
.text h3 { margin-top: 10px; font-size: 1.0625rem; letter-spacing: 0; }
.text p { color: var(--text-2); text-wrap: pretty; }
.text p.text-stark { color: var(--text); }
.abstand { margin-top: clamp(40px, 6vw, 72px); }

/* ------------------------------------------------------------------ Der Lotse */
/* Auftraggeber, 2026-10-19: „Auch die Animationen und den neuen Lotsen auf der Website
   verbauen." Er steht dort, wo er in der App auftritt, und tut dort, was er in der App tut:
   im Quiz die Rückmeldung und der Pokal, auf der Preiskarte das Winken der Kaufseite, auf der
   404-Seite die gekreuzten Arme. Den Dienst lässt er in Ruhe. Animiertes WebP und kein Skript;
   unter Reduced Motion steht das Standbild (`<picture>` mit `prefers-reduced-motion`). Kein
   Rahmen und kein Kasten: Er steht auf der Seite wie in der App auf ihrem Grund. */
.lotse-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: 880px; margin-inline: auto; }
.lotse { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; }
.lotse picture, .tarif picture, .leer picture { display: block; }
.lotse img { display: block; width: 180px; max-width: 100%; height: auto; }
.lotse figcaption { font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); text-wrap: pretty; max-width: 30ch; }
.lotse figcaption b { color: var(--text); font-weight: 600; }
@media (max-width: 599px) {
  .lotse-reihe { grid-template-columns: 1fr; gap: 20px; }
  .lotse { grid-template-columns: 112px minmax(0, 1fr); align-items: center; justify-items: start; text-align: left; gap: 16px; }
  .lotse img { width: 112px; }
}

/* Die fünf Arten im Rechner-Tab: Zahl, Name, Satz */
.arten { display: grid; gap: 18px; margin: 0; }
.arten div { display: grid; grid-template-columns: 3.25rem 1fr; gap: 4px 12px; align-items: baseline; }
.arten dt { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; }
.arten .zahl { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--link); }
.arten .name { font-weight: 600; }
.arten dd { grid-column: 2; margin: 0; color: var(--text-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ Quellen */
.quellen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 720px) { .quellen { grid-template-columns: 1fr; } }
.quellen h3 { font-size: 1.0625rem; padding-bottom: 10px; border-bottom: 1px solid var(--text); margin-bottom: 4px; }
.quellen h3 + ul + h3 { margin-top: 32px; }
.quellen ul { list-style: none; margin: 0; padding: 0; }
.quellen li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: 1rem; }
.quellen li span:first-child { flex: 1 1 220px; }
.quellen li span:last-child { color: var(--text-2); font-variant-numeric: tabular-nums; }
.quellen-satz { max-width: 720px; margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; color: var(--text-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ Preis */
/* Eine Karte nach dem Vorbild „Privat" bei Amboss (Auftraggeber, 2026-10-01): oben der
   Umschalter Monatsabo / Jahresabo, darunter der Preis mit dem Vergleich darunter, die
   Knöpfe und die Häkchenliste. Der abgebuchte Betrag ist die größte Zahl; was daraus
   abgeleitet ist, steht kleiner daneben und darunter (Apples Regel für Kaufbildschirme,
   auf der Website aus demselben Grund). */
.tarif {
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 36px);
  background: var(--seite); border: 1px solid var(--linie); border-radius: var(--schirm-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -20px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.tarif > * + * { margin-top: 0; }
.tarif h3 { font-size: 1.75rem; }
/* Über dem Namen winkt der Lotse, wie auf der Kaufseite der App. */
.tarif-lotse { display: block; width: 132px; height: auto; margin: -6px auto 6px; }

/* Der Umschalter: zwei Optionsfelder, gezeichnet wie das Segmentfeld von iOS. Die Felder
   selbst sind unsichtbar, aber fokussierbar; Pfeiltasten wechseln wie bei jedem Optionsfeld. */
/* Oben 44 px statt 18: Über dem Jahresabo steht sein Vorteil (unten), und der braucht die Zeile. */
.umschalter { display: none; margin: 44px 0 0; padding: 0; border: 0; min-width: 0; }
.umschalter-spur {
  --spur: rgba(118, 118, 128, 0.12); --pille: #FFFFFF;
  --aus: #636366;   /* die nicht gewählte Beschriftung: text-2 hätte auf der Spur nur 4,4:1, diese 5,2:1 */
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 280px; margin: 0 auto; padding: 3px;
  border-radius: 999px; background: var(--spur);
}
@media (prefers-contrast: more) { .umschalter-spur { --aus: var(--text-2); } .umschalter-spur::before { box-shadow: inset 0 0 0 1px var(--text); } }
.umschalter label { position: relative; z-index: 1; cursor: pointer; }
.umschalter input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
/* Jedes Feld mindestens 44 px hoch (Apples Mindestmaß für Tippziele). */
.umschalter span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--aus);
  transition: color 160ms ease-out;
}
.umschalter input:checked + span { color: var(--text); font-weight: 600; }
.umschalter input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
/* Die Pille gleitet unter das gewählte Feld. */
.umschalter-spur::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--pille);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.umschalter-spur:has(#abo-jahr:checked)::before { transform: translateX(100%); }
/* Der Vorteil des Jahresabos steht über seinem Feld, im Linkton und ohne Kasten
   (Auftraggeber, 2026-10-04: vorausgewählt ist das Monatsabo, hervorgehoben das Jahresabo).
   Er gehört zur Beschriftung, also hören Screenreader „Jahresabo 17 % günstiger“, und ein
   Tipp darauf wählt das Jahresabo. */
.umschalter-vorteil {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 9px);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2; color: var(--link); white-space: nowrap;
}

/* Die beiden Preise liegen im selben Rasterfeld übereinander; die Karte ist so hoch wie der
   höhere, und beim Umschalten springt nichts. */
.tarif-preise { display: grid; margin-top: 22px; }
.tarif-preis + .tarif-preis { margin-top: 20px; }
.tarif-betrag {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 10px;
  font-variant-numeric: tabular-nums;
}
.tarif-zahl { font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.tarif-zeit { font-size: 1.0625rem; color: var(--text-2); }
.tarif-zeile { margin-top: 4px; font-size: 0.9375rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tarif-betrag + .tarif-zeile { margin-top: 8px; }
/* Auf dem Telefon passt die Zeile nur, wenn alles ein wenig kleiner wird; sonst bricht
   „/Jahr“ allein in die nächste Zeile. */
@media (max-width: 420px) {
  .tarif { padding-left: 16px; padding-right: 16px; }
  .tarif-betrag { gap: 0 8px; }
  .tarif-zahl { font-size: 2.5rem; }
  .tarif-zeit { font-size: 1rem; }
}

@supports selector(:has(*)) {
  .umschalter { display: block; }
  .tarif-preis { grid-area: 1 / 1; transition: opacity 180ms ease-out, visibility 0s linear 180ms; }
  .tarif-preis + .tarif-preis { margin-top: 0; }
  .tarif:has(#abo-jahr:checked) .tarif-monat,
  .tarif:has(#abo-monat:checked) .tarif-jahr { opacity: 0; visibility: hidden; }
  .tarif:has(#abo-jahr:checked) .tarif-jahr,
  .tarif:has(#abo-monat:checked) .tarif-monat { transition-delay: 0s; }
  /* Unter dem Monatspreis führt eine Zeile zum Jahresabo hinüber: ein zweites Label des
     Optionsfelds, also ohne Skript. Ohne :has() stehen beide Preise da, und die Zeile bleibt
     gewöhnlicher Text. */
  .tarif-wechsel { color: var(--link); font-weight: 600; cursor: pointer; }
  .tarif-wechsel:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .umschalter-spur::before, .umschalter span, .tarif-preis { transition: none; }
}

.tarif-probe { margin-top: 22px; font-weight: 600; }
.tarif-knoepfe { display: grid; gap: 10px; margin-top: 12px; }
.tarif .knopf { width: 100%; min-height: 48px; }
/* Der zweite Knopf umrandet statt gefüllt; die Regel für `.knopf` steht weiter unten (404)
   und gewönne sonst die Reihenfolge. */
.tarif .knopf-zweit { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--linie-2); }
.tarif .knopf-zweit:hover { background: var(--seite-2); color: var(--text); }
.tarif-hinweis { margin-top: 12px; font-size: 0.875rem; color: var(--text-2); text-wrap: pretty; }

/* Die Häkchenliste: ein Haken je Zeile, gezeichnet aus zwei Kanten, im Linkton; die
   Unterpunkte mit einem kleinen Punkt. */
.haken { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--linie); display: grid; gap: 12px; text-align: left; }
.haken > li { position: relative; padding-left: 30px; color: var(--text-2); text-wrap: pretty; }
.haken > li > b { color: var(--text); font-weight: 600; }
.haken > li::before {
  content: ""; position: absolute; left: 4px; top: 0.3em; width: 7px; height: 13px;
  border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(40deg);
}
.haken ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 0.9375rem; }
.haken ul li { position: relative; padding-left: 16px; }
.haken ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--linie-2); }

.tarif-recht { max-width: 480px; margin: 20px auto 0; text-align: center; font-size: 0.875rem; color: var(--text-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ Fragen */
.fragen { max-width: 760px; margin: 0 auto; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.125rem; list-style: none; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 160ms ease-out; }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fragen details > p { padding: 0 0 20px; color: var(--text-2); max-width: var(--lesen); text-wrap: pretty; }
.fragen details > p + p { margin-top: -8px; }

/* ------------------------------------------------------------------ Fuß */
.fuss { border-top: 1px solid var(--linie); background: var(--seite); font-size: 0.875rem; color: var(--text-2); }
.fuss-innen { max-width: var(--inhalt); margin: 0 auto; padding: 40px var(--rand) 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
/* Im Fuß die Marke ohne Text (Logo V4), 44 Punkte hoch. */
.fuss-marke img { width: auto; height: 44px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss-nav a { color: var(--text); }
.fuss-kontakt { text-align: right; }
.fuss-zeile { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--linie); }
.fuss-zeile + .fuss-zeile { padding-top: 0; border-top: 0; margin-top: -10px; }
@media (max-width: 720px) { .fuss-innen { grid-template-columns: 1fr; gap: 18px; } .fuss-kontakt { text-align: left; } .fuss-nav { display: grid; gap: 10px; } }

/* ------------------------------------------------------------------ Lesen (Rechtsseiten) */
.lesen { padding: clamp(40px, 6vw, 72px) var(--rand) clamp(64px, 8vw, 112px); }
.dokument { max-width: var(--lesen); margin: 0 auto; }
.dokument-kopf { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--text); }
.dokument-art { font-size: 0.9375rem; color: var(--text-2); margin-bottom: 10px; }
.dokument-kopf h1 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); }
.dokument-stand { margin-top: 12px; color: var(--text-2); font-size: 0.9375rem; }
.dokument h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.dokument h3 { font-size: 1.1875rem; margin: 30px 0 10px; }
.dokument p { text-wrap: pretty; }
.dokument a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.dokument a:hover { text-decoration-color: currentColor; }
.dokument p + p, .dokument ul + p, .dokument p + ul, .dokument .tabelle + p { margin-top: 0.9em; }
.dokument ul { padding-left: 1.2em; margin: 0.6em 0; }
.dokument li + li { margin-top: 0.35em; }
.dokument .hinweis { border: 1px solid var(--text); border-radius: 12px; padding: 14px 18px; margin: 1.2em 0; background: var(--seite-2); }
.dokument .artikel + .artikel { margin-top: 8px; }
.tabelle { overflow-x: auto; margin: 1em 0; -webkit-overflow-scrolling: touch; }
.tabelle table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--linie); }
.tabelle th { font-weight: 600; border-bottom-color: var(--text); }

/* ------------------------------------------------------------------ 404 */
.leer { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 64px var(--rand); }
.leer .nummer-gross { font-size: 5rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--link); }
.leer p { color: var(--text-2); }
/* Der Lotse kreuzt die Arme: das Flaggenzeichen für „aufheben“, wie bei einer falschen Antwort. */
.lotse-404 { display: block; width: 160px; height: auto; margin: 0 auto -6px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 980px; background: var(--text); color: var(--seite); font-weight: 500; font-size: 1rem; text-decoration: none; }
.knopf:hover { text-decoration: none; background: var(--link); color: #fff; }
