/*
  Digistemp - Website (www.digistemp.com)
  ---------------------------------------------------------------------------
  Gestaltung: docs/redesign/DESIGN.md §2-§5 und §8 "Website", Mockup
  docs/redesign/mockups/website.dc.html (bei Widerspruch gilt das Mockup).
  Die Tokens sind dieselben Werte wie in src/index.css von Dashboard und
  Terminal und wie in generate-pass/src/gestaltung.js#seitenStil.

  Farbwerte stehen NUR in diesem Kopf (Tokens hell/dunkel) - die Seiten
  selbst tragen keine Farbe (scripts/lint-website.mjs). Ausnahme sind
  Wortmarke und Favicon, die npm run marke:bauen mit eigenen Farben einsetzt.

  Schriften liegen im Ordner (schriften/, SIL OFL 1.1) - die Seite fragt
  keinen fremden Host an.
*/

@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/schriften/archivo.woff2) format('woff2-variations'), url(/schriften/archivo.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/schriften/jetbrains-mono.woff2) format('woff2-variations'), url(/schriften/jetbrains-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --canvas: #f3f4f1;
  --surface: #ffffff;
  --line: #dcdfd9;
  --line-strong: #838993;
  --ink: #1d2433;
  --ink-muted: #545b69;
  --stempel: #4a31c2;
  --stempel-hover: #3b25a3;
  --on-stempel: #ffffff;
  /*
    Die Musterkarte zeigt eine FREMDE Hausfarbe (DESIGN.md §8: "zeigt: Ihre
    Farben") - ein Datum wie die Farbe eines Betriebs, kein Theme, deshalb in
    beiden Themen gleich: ein dunkles Restaurant-Gruen mit Cremeschrift
    (10.3:1, auch der kleinste Text der Karte).
  */
  --haus: #23402f;
  --haus-vorn: #f4ecd8;
  --haus-blass: rgba(244, 236, 216, .32);
  --haus-ring: rgba(35, 64, 47, .45);
  --haus-streifen: rgba(0, 0, 0, .14);
  /* Das Telefon um die Karte: ein Geraet, kein Theme - in beiden Themen gleich. */
  --telefon: #0b0d10;
  --telefon-schirm: #15181c;
  --telefon-insel: #000000;
  --telefon-text: #ffffff;
  --mitteilung: rgba(255, 255, 255, .16);
  --qr-grund: #ffffff;
  --qr-punkt: #111111;
  --erfolg: #0d7451;
  --erfolg-tint: #e1f3ea;
  /* Die Beispielkarte im Hero: ein Cafe in Creme - Daten eines erfundenen Betriebs, kein Theme. */
  --karte: #f2e8d6;
  --karte-text: #3b2a20;
  --karte-blass: rgba(59, 42, 32, .16);
  --karte-streifen: rgba(59, 42, 32, .05);
  /* Der Sucher des Terminals in der Hero-Szene: ein Kamerabild, kein Theme. */
  --sucher: #2a2f36;
  --sucher-rahmen: #ffffff;
  --schatten-karte: 0 30px 60px -20px rgba(29, 36, 51, .45);
  --schatten-menue: 0 12px 32px rgba(29, 36, 51, .16);
  --surface-sunken: #eceeea;
  --stempel-tint: #ebe8fb;
  --schatten-schalter: 0 1px 2px rgba(29, 36, 51, .12);
  /*
    "Anmelden" im Kopf: volles Stempel-Violett mit weisser Schrift - in BEIDEN
    Themen (8.37:1). Der dunkle Wert von `stempel` (#a495ff) truege weisse
    Schrift nur mit 2.52:1, deshalb wird hier nichts umgeschaltet.
  */
  --anmelden: #4a31c2;
  --anmelden-hover: #3b25a3;
  --anmelden-text: #ffffff;
  /*
    WhatsApp-Knopf in WhatsApps eigenem Gruen, in BEIDEN Themen gleich (eine
    fremde Marke, kein Theme). Weisse Schrift truege darauf nur 1.98:1, deshalb
    dunkle Schrift (8.8:1, beim Hover 6.8:1); das Logo bleibt weiss wie bei WhatsApp selbst.
  */
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb957;
  --whatsapp-text: #111b21;
  --whatsapp-logo: #ffffff;
  --radius: 10px;
  --radius-flaeche: 16px;
  --rand: 32px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #121417;
    --surface: #1a1d21;
    --line: #2a2e34;
    --line-strong: #6b727d;
    --ink: #edeff2;
    --ink-muted: #a3a9b4;
    --stempel: #a495ff;
    --stempel-hover: #b9aeff;
    --on-stempel: #130e33;
    --schatten-karte: 0 30px 60px -20px rgba(0, 0, 0, .7);
    --schatten-menue: 0 12px 32px rgba(0, 0, 0, .5);
    --surface-sunken: #0e1013;
    --stempel-tint: #24204a;
    --erfolg: #53d3a3;
    --erfolg-tint: #10291f;
    --schatten-schalter: 0 1px 2px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/26px 'Archivo Variable', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--stempel); text-underline-offset: 3px; }
a:hover { color: var(--stempel-hover); }
:focus-visible { outline: 3px solid var(--stempel); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: 'JetBrains Mono Variable', ui-monospace, monospace; font-size: .9em; font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }

.sprung {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 8px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.sprung:focus { top: 12px; }

.breite { max-width: 1200px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

/* Kopf: Marke links, rechts Navigation, Sprache und "Anmelden" - schlicht, ohne Icons */
.kopf { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.marke { display: flex; align-items: center; min-height: 44px; line-height: 0; margin-right: auto; }
/* 28 px statt 26: die Wortmarke traegt hier ringsum Rand (marke-bauen.mjs, RAND_WEBSITE), die Schrift bleibt gleich gross */
.marke svg { height: 28px; width: auto; display: block; overflow: visible; }
.navi { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-size: 15px; }
.navi a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.navi a:hover { color: var(--stempel); }
.navi a[aria-current='page'] { color: var(--stempel); font-weight: 600; }
.kopf-aktionen { display: flex; align-items: center; gap: 20px; }

/* Sprachmenue: <details> mit Links, geht ohne Skript (sprache.js schliesst es nur zusaetzlich).
   Der Ausloeser sieht aus wie ein Navigationslink - nur das Kuerzel. */
.sprache { position: relative; }
.sprache summary {
  list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  color: var(--ink); font-size: 15px; cursor: pointer;
}
.sprache summary::-webkit-details-marker { display: none; }
.sprache summary:hover, .sprache[open] summary { color: var(--stempel); }
.sprache .pfeil { display: block; flex: none; transition: transform 150ms ease-out; }
.sprache[open] .pfeil { transform: rotate(180deg); }
.sprache-menue {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 176px;
  margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schatten-menue);
}
.sprache-menue a {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-size: 15px;
}
.sprache-menue a:hover { background: var(--surface-sunken); color: var(--ink); }
.sprache-menue a[aria-current='true'] { color: var(--stempel); font-weight: 600; }

/* Knoepfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  background: var(--stempel); color: var(--on-stempel); border: 1px solid transparent;
  transition: background-color 150ms ease-out;
}
.knopf:hover { background: var(--stempel-hover); color: var(--on-stempel); }
.knopf.zweit { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.knopf.zweit:hover { background: var(--canvas); color: var(--ink); }
.knopf.klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
/* Voll: Stempel-Violett mit weisser Schrift, ohne Rand, in beiden Themen gleich */
.knopf.voll { background: var(--anmelden); color: var(--anmelden-text); border-color: transparent; }
.knopf.voll:hover { background: var(--anmelden-hover); color: var(--anmelden-text); }

/* ---------------------------------------------------------------------------
   Startseite (docs/redesign/vorschlaege-website, Richtung 4): Hero mit
   Sperrbildschirm, Faktenband, drei Schritte, alle Vorteile wie auf
   /vorteile/, Schlussflaeche mit Testen und WhatsApp.
   --------------------------------------------------------------------------- */
.hero { display: grid; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
main { overflow-x: clip; }
.hero-text { min-width: 0; }
.display {
  font-size: clamp(44px, 6vw, 68px); line-height: 1.02; font-weight: 800; font-stretch: 120%;
  letter-spacing: -.02em;
}
.unterzeile { margin-top: 24px; font-size: 20px; line-height: 30px; color: var(--ink-muted); max-width: 30ch; }
.hero .knoepfe { margin-top: 32px; }
.zusagen { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--ink-muted); }
.zusagen li { display: inline-flex; align-items: center; gap: 6px; }
.zusagen .i { width: 16px; height: 16px; color: var(--erfolg); }
.buehne { display: grid; place-items: center; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Telefon mit Sperrbildschirm */
.telefon {
  width: 300px; max-width: 100%; aspect-ratio: 300 / 560; border-radius: 46px; padding: 12px;
  background: var(--telefon); box-shadow: var(--schatten-karte);
}
.telefon-schirm {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: var(--telefon-schirm); color: var(--telefon-text); padding: 46px 14px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.telefon-schirm::before {
  content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0;
  width: 92px; height: 26px; border-radius: 14px; background: var(--telefon-insel);
}
.uhr { text-align: center; }
.uhr small { display: block; font-size: 13px; line-height: 18px; opacity: .8; }
.uhr b { display: block; font-size: 64px; line-height: 1; font-weight: 650; font-stretch: 90%; letter-spacing: -.02em; }
.mitteilung {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px 12px; border-radius: 18px;
  background: var(--mitteilung); font-size: 12.5px; line-height: 1.3;
}
.mitteilung .app {
  flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--haus); color: var(--haus-vorn);
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
}
.mitteilung b { display: block; font-weight: 650; }
.mitteilung time { margin-left: auto; opacity: .6; font-size: 11px; white-space: nowrap; }

/* Musterkarte (Wallet-Pass) in fremder Hausfarbe */
.pass {
  width: 100%; max-width: 330px; border-radius: 16px; overflow: hidden;
  background: var(--haus); color: var(--haus-vorn); font-size: 13px; line-height: 1.25;
}
.pass-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; }
.pass-logo {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  border: 1.5px solid var(--haus-vorn); font-weight: 800; font-stretch: 115%;
}
.pass-name { font-weight: 650; font-size: 15px; }
.pass-stand { margin-left: auto; text-align: right; }
.pass-stand small, .pass-felder small { display: block; font-size: 10px; opacity: .8; }
.pass-stand b { font-size: 18px; font-weight: 750; font-stretch: 112%; }
.pass-streifen { padding: 14px 18px; background: var(--haus-streifen); }
.stempelfelder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stempelfelder span {
  aspect-ratio: 1; border-radius: 999px; background: var(--haus-vorn);
  box-shadow: inset 0 0 0 3px var(--haus), inset 0 0 0 4.5px var(--haus-ring);
}
.stempelfelder span:nth-child(odd) { transform: rotate(-5deg); }
.stempelfelder span.leer { background: transparent; box-shadow: none; border: 1.5px dashed var(--haus-blass); }
.stempelfelder span.praemie { background: transparent; box-shadow: none; border: 1.5px solid var(--haus-vorn); display: grid; place-items: center; }
.stempelfelder span.praemie .i { width: 46%; height: 46%; }
.pass-felder { display: flex; gap: 16px; padding: 12px 16px 16px; }
.pass-felder div { flex: 1; }
.pass-felder b { font-weight: 600; font-size: 14px; }
.pass-code { padding: 0 0 16px; display: grid; justify-items: center; gap: 6px; }
.qr { display: block; width: 104px; height: 104px; padding: 7px; border-radius: 8px; background: var(--qr-grund); color: var(--qr-punkt); }
.qr svg { display: block; width: 100%; height: 100%; }
.pass-code small { font-size: 10px; opacity: .75; }

/* Faktenband: EINE Flaeche mit Hairlines */
.fakten {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-flaeche);
}
.fakten li { padding: 22px 20px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.fakten li + li { border-left: 1px solid var(--line); }
.fakten .i { color: var(--stempel); }

.abschnitt { padding-top: 96px; }
.gross { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; font-weight: 750; font-stretch: 112%; letter-spacing: -.01em; }
/* "So einfach geht's": je Schritt ein kleines Bild, das beim Hineinscrollen
   EINMAL kurz zeigt, was passiert (Karte faerbt sich, Aufsteller kommt aus dem
   Drucker, Stempel landet). Grundzustand ist der Endzustand - nur mit
   `schritte-animiert` (intro.js, nicht bei reduzierter Bewegung) beginnen die
   Bilder im Vorher und laufen an, sobald ihr Schritt `sichtbar` wird. */
.schritte {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.schritte li { display: flex; flex-direction: column; gap: 8px; }
.schritt-bild { height: 200px; margin-bottom: 12px; border-radius: var(--radius-flaeche); background: var(--surface-sunken); display: grid; place-items: center; overflow: hidden; }
.schritt-titel { display: flex; align-items: center; gap: 10px; }
.schritte strong { font-size: 20px; line-height: 28px; font-weight: 650; }
.schritte .neben { color: var(--ink-muted); }
.ziffer {
  flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--stempel); color: var(--on-stempel);
  display: grid; place-items: center; font-weight: 750; font-size: 14px; font-variant-numeric: tabular-nums;
}

/* Kleine Karte (Bild 1 und 3) */
.mk { width: 168px; border-radius: 10px; overflow: hidden; background: var(--karte); color: var(--karte-text); box-shadow: var(--schatten-karte); }
.mk-kopf { display: flex; align-items: center; gap: 7px; padding: 9px 10px; }
.mk-logo { width: 22px; height: 22px; border-radius: 999px; background: var(--karte-text); color: var(--karte); display: grid; place-items: center; }
.mk-logo svg, .mk-felder svg { width: 58%; height: 58%; fill: currentColor; }
.mk-kopf b { font-size: 11px; font-weight: 650; }
.mk-kopf small { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; }
.mk-felder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 10px; background: var(--karte-streifen); }
.mk-felder span { position: relative; aspect-ratio: 1; border-radius: 999px; background: var(--karte-text); color: var(--karte); display: grid; place-items: center; }
.mk-felder span.leer { background: var(--karte-blass); }
.mk-felder span.neu { background: var(--karte-blass); }
.mk-felder span.neu i { position: absolute; inset: 0; border-radius: 999px; background: var(--karte-text); color: var(--karte); display: grid; place-items: center; }
.mk-fuss { height: 26px; }
.farben { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.farben i { width: 18px; height: 18px; border-radius: 999px; background: var(--line-strong); }
.farben i.wahl { background: var(--karte); box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--stempel); }
.farben i.dritte { background: var(--haus); }
.b-gestalten { display: grid; justify-items: center; }

/* Aufsteller (Bild 2) */
.b-drucken { display: grid; justify-items: center; align-self: end; padding-top: 18px; }
.mini-aufsteller { width: 120px; padding: 12px 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px 10px 3px 3px; display: grid; justify-items: center; gap: 8px; text-align: center; box-shadow: var(--schatten-karte); }
.mini-aufsteller b { font-size: 11px; line-height: 1.2; font-weight: 750; }
.mini-aufsteller .qr { width: 70px; height: 70px; padding: 4px; border: 1px solid var(--line); }
.mini-fuss { width: 150px; height: 10px; background: var(--line-strong); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }

/* Vorher (nur mit Skript) und Ablauf */
.schritte-animiert .schritte .mk.faerbt { background: var(--surface); color: var(--ink-muted); }
.schritte-animiert .schritte .mk.faerbt .mk-logo { transform: scale(0); }
.schritte-animiert .schritte .farben i.wahl { box-shadow: none; }
.schritte-animiert .schritte .mini-aufsteller { transform: translateY(110%); }
.schritte-animiert .schritte .mk-felder span.neu i { opacity: 0; transform: scale(2.2); }
.schritte .mk.faerbt { transition: background-color .6s ease-out .25s, color .6s ease-out .25s; }
.schritte .mk.faerbt .mk-logo { transition: transform .35s cubic-bezier(.2, .9, .3, 1.3) .6s; }
.schritte .farben i.wahl { transition: box-shadow .2s ease-out .15s; }
.schritte .mini-aufsteller { transition: transform .8s cubic-bezier(.16, 1, .3, 1) .15s; }
.schritte .mk-felder span.neu i { transition: opacity .2s ease-out .35s, transform .4s cubic-bezier(.2, .9, .3, 1.25) .35s; }
.schritte-animiert .schritte li.sichtbar .mk.faerbt { background: var(--karte); color: var(--karte-text); }
.schritte-animiert .schritte li.sichtbar .mk.faerbt .mk-logo { transform: none; }
.schritte-animiert .schritte li.sichtbar .farben i.wahl { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--stempel); }
.schritte-animiert .schritte li.sichtbar .mini-aufsteller { transform: none; }
.schritte-animiert .schritte li.sichtbar .mk-felder span.neu i { opacity: 1; transform: none; }

/* Alle Vorteile auf der Startseite: dieselben Gruppen wie /vorteile/ */
.kopfzeile { margin-bottom: 8px; }
.kopfzeile .neben { margin-top: 12px; font-size: 18px; line-height: 27px; max-width: 52ch; }

@media (prefers-reduced-motion: reduce) {
  .knopf, .sprache .pfeil { transition: none; }
}

/* ---------------------------------------------------------------------------
   Hero-Intro (Variante B, docs/redesign/vorschlaege-website/README.md):
   zuerst nur Kopf und Telefon in der Mitte. Das Terminal kommt gerade von
   rechts, scannt, bucht, faehrt gerade hinaus; die Mitteilung kommt, die
   Ansicht faehrt auf die Karte, der Stempel schlaegt ein, die Ansicht faehrt
   zurueck - dann gleitet das Telefon an seinen Platz und der Rest blendet ein.
   Laeuft nur, wenn intro.js die Klasse `intro` setzt: einmal je Sitzung, nur
   mit Skript, nie bei prefers-reduced-motion. Ohne `intro` steht sofort der
   Endzustand da - er ist der Grundzustand im CSS.
   Die Karte ist die einer Beispiel-Cafe in Creme und haelt sich an die
   Texte des echten Passes (functions/_apple/pass.js, passtexte.js).
   --------------------------------------------------------------------------- */
.szene { position: relative; width: min(380px, 100%); margin: 0 auto; container-type: inline-size; }
.gast { width: 76%; margin: 0 auto; aspect-ratio: 300 / 668; border-radius: 46px; padding: 12px; background: var(--telefon); box-shadow: var(--schatten-karte); transform-origin: 50% 6%; }
.gast-schirm {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative; background: var(--telefon-schirm); color: var(--telefon-text);
  padding: 44px 13px 16px; display: flex; flex-direction: column; gap: 12px;
}
.gast-schirm::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 88px; height: 25px; border-radius: 14px; background: var(--telefon-insel); }
.gast .uhr b { font-size: 56px; }
.gast .mitteilung { min-height: 56px; align-items: center; }
.gast .mitteilung .app { background: var(--karte-text); color: var(--karte); }
.gast .mitteilung time { align-self: flex-start; }

.wk { position: relative; background: var(--karte); color: var(--karte-text); border-radius: 12px; overflow: hidden; }
.wk-kopf { display: flex; align-items: center; gap: 9px; padding: 12px 14px 10px; }
.wk-logo { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--karte-text); color: var(--karte); display: grid; place-items: center; }
.wk-logo svg, .gast .mitteilung .app svg { width: 58%; height: 58%; fill: currentColor; }
.wk-name { font-weight: 650; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.wk-feld { margin-left: auto; text-align: right; }
.wk-feld small, .wk-sek small { display: block; font-size: 9.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.wk-feld b { font-size: 20px; line-height: 1.1; font-weight: 500; }
.wk-streifen { aspect-ratio: 375 / 144; background: var(--karte-streifen); padding: 0 6%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2% 5%; align-content: center; }
.wk-streifen > span { position: relative; aspect-ratio: 1; border-radius: 999px; background: var(--karte-text); color: var(--karte); display: grid; place-items: center; }
.wk-streifen svg { width: 56%; height: 56%; fill: currentColor; }
.wk-streifen > span.leer, .wk-streifen > span.neu { background: var(--karte-blass); }
.wk-streifen > span.praemie { background: transparent; box-shadow: inset 0 0 0 2px var(--karte-text); color: var(--karte-text); }
.wk-streifen .voll { position: absolute; inset: 0; border-radius: 999px; background: var(--karte-text); display: grid; place-items: center; }
.wk-streifen .welle { position: absolute; inset: -2px; border-radius: 999px; border: 2px solid var(--karte-text); opacity: 0; }
.wk-sek { padding: 10px 14px 4px; }
.wk-sek b { font-size: 15px; font-weight: 500; }
.wk-code { display: grid; place-items: center; padding: 10px 0 16px; }
.wk-code .qr { width: 46cqw; max-width: 120px; height: auto; aspect-ratio: 1; }
.stand { display: inline-grid; }
.stand > * { grid-area: 1 / 1; }
.stand .vorher { opacity: 0; }

.kasse {
  position: absolute; left: 27%; top: calc(100% - 96px - 46cqw + var(--kasse-versatz, 0px)); width: 46%; aspect-ratio: 300 / 600; z-index: 4;
  border-radius: 28px; padding: 7px; background: var(--telefon); box-shadow: var(--schatten-karte); transform: translateX(calc(100vw / var(--szene-zoom, 1)));
}
.kasse-schirm { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: var(--sucher); display: grid; place-items: center; }
.sucher { position: relative; width: 70%; aspect-ratio: 1; display: grid; place-items: center; }
.sucher .qr { width: 78%; height: auto; aspect-ratio: 1; padding: 5px; }
.sucher::before {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  border: 3px solid var(--sucher-rahmen); clip-path: polygon(0 0, 30% 0, 30% 3px, 70% 3px, 70% 0, 100% 0, 100% 30%, calc(100% - 3px) 30%, calc(100% - 3px) 70%, 100% 70%, 100% 100%, 70% 100%, 70% calc(100% - 3px), 30% calc(100% - 3px), 30% 100%, 0 100%, 0 70%, 3px 70%, 3px 30%, 0 30%);
}
.scanlinie { position: absolute; left: 6%; right: 6%; top: 8%; height: 3px; border-radius: 3px; background: var(--stempel); box-shadow: 0 0 12px var(--stempel); opacity: 0; }
.gebucht { position: absolute; inset: 0; background: var(--erfolg-tint); color: var(--stempel); display: grid; place-content: center; justify-items: center; gap: 8px; opacity: 0; }
/* Der Haken zeichnet sich (stroke-dashoffset 1 -> 0) - kein Abdruck: der Stempel landet auf der Karte. */
.gebucht .haken-zug { width: 76px; height: 76px; fill: none; stroke: var(--stempel); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.gebucht .haken-zug path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.gebucht strong { color: var(--ink); font-size: 15px; font-weight: 650; }

/* Vorher-Zustaende - nur mit `intro` (intro.js) */
.intro .hero-text, .intro main > :not(.hero) { opacity: 0; }
.intro .gast { opacity: 0; }
.intro .gast .mitteilung { opacity: 0; }
.intro .stand .vorher { opacity: 1; }
.intro .stand .nachher { opacity: 0; }
.intro .wk-streifen .voll { opacity: 0; }
.intro .gebucht .haken-zug path { stroke-dashoffset: 1; }
@media (min-width: 900px) { .intro .buehne { transform: translateX(calc(-50% - 24px)); } }
@media (max-width: 899px) { .intro .buehne { order: -1; } }
/* Die Szene passt immer ganz ins erste Bild: intro.js stellt sie auf ihre
   Entwurfsbreite (380 px) und verkleinert sie als Ganzes, bis sie in Breite
   und Hoehe passt. Nicht schmaler: die Schriften im Telefon sind in px, der
   Text braeche um. Nicht `zoom`: Safari rechnet darunter cqw und px
   unterschiedlich, und das Terminal sass nicht mehr ueber dem QR-Code -
   `transform: scale` verkleinert in jedem Browser alles gleich. Der Rand
   unten gibt den Platz zurueck, den die Verkleinerung frei laesst. */
.szene {
  width: var(--szene-breite, min(380px, 100%)); margin-inline: var(--szene-rand, auto);
  transform: scale(var(--szene-zoom, 1)); transform-origin: 50% 0;
  margin-bottom: calc(var(--szene-hoehe, 0px) * (var(--szene-zoom, 1) - 1));
}
/* Messlatte fuer intro.js: die kleinste sichtbare Hoehe, unabhaengig von der
   ein- und ausfahrenden Adressleiste mobiler Browser. */
.hoehe-messen { position: fixed; top: 0; left: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }

.spielt .gast { animation: intro-auf .8s ease-out .2s forwards, intro-fokus 2.4s cubic-bezier(.65, 0, .35, 1) 7.3s; }
.spielt .kasse { animation: intro-kasse 5.2s linear 1.2s both; }
.spielt .scanlinie { animation: intro-scan 1.1s ease-in-out 3.1s both; }
.spielt .gebucht { animation: intro-an .25s ease-out 4.3s forwards; }
.spielt .gebucht .haken-zug path { animation: intro-haken .5s cubic-bezier(.65, 0, .45, 1) 4.45s forwards; }
.spielt .gast .mitteilung { animation: intro-mitteilung .45s cubic-bezier(.2, .8, .2, 1) 6.7s forwards; }
.spielt .wk-streifen .voll { animation: intro-einschlag .45s cubic-bezier(.2, .9, .3, 1.25) 8.05s forwards; }
.spielt .wk-streifen .welle { animation: intro-welle .9s ease-out 8.17s forwards; }
.spielt .wk { animation: intro-druck .35s ease-out 8.15s; }
.spielt .stand .vorher { animation: intro-aus .12s linear 8.2s forwards; }
.spielt .stand .nachher { animation: intro-an .12s linear 8.2s forwards; }
.spielt .buehne { animation: intro-zurseite 1.1s cubic-bezier(.65, 0, .35, 1) 9.9s forwards; }
.spielt .hero-text { animation: intro-einblenden .8s ease-out 10.25s forwards; }
.spielt main > :not(.hero) { animation: intro-einblenden .8s ease-out 10.6s forwards; }
/* Einmal Tippen ueberspringt (intro.js): die Szene ist klickbar, solange sie laeuft. */
.spielt .szene { cursor: pointer; }
/* Wer runterscrollt, sieht den Rest sofort - schmal steht auch der Text unter der Szene. */
.intro.gescrollt main > :not(.hero) { opacity: 1; animation: none; transition: opacity .3s ease-out; }
@media (max-width: 899px) {
  .intro.gescrollt .hero-text { opacity: 1; animation: none; transition: opacity .3s ease-out; }
  .uebersprungen.gescrollt .hero-text { animation: none; }
}
.uebersprungen .hero-text, .uebersprungen:not(.gescrollt) main > :not(.hero) { animation: intro-einblenden .4s ease-out; }

@keyframes intro-auf { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes intro-fokus { 0% { transform: none; } 30%, 70% { transform: scale(1.3); } 100% { transform: none; } }
/* Gerade von rechts herein, ueber dem QR-Code halten, gerade hinaus - ohne Ausblenden; main schneidet ab. */
@keyframes intro-kasse {
  0% { transform: translateX(calc(100vw / var(--szene-zoom, 1))); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  31% { transform: translateX(0); }
  76% { transform: translateX(0); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  100% { transform: translateX(calc(100vw / var(--szene-zoom, 1))); }
}
@keyframes intro-scan { 0% { opacity: 0; top: 8%; } 15%, 85% { opacity: 1; } 100% { opacity: 0; top: 88%; } }
@keyframes intro-an { to { opacity: 1; } }
@keyframes intro-haken { to { stroke-dashoffset: 0; } }
@keyframes intro-aus { to { opacity: 0; } }
@keyframes intro-mitteilung { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes intro-einschlag { 0% { opacity: 0; transform: scale(2.6); } 45% { opacity: 1; transform: scale(.9); } 100% { opacity: 1; transform: scale(1); } }
@keyframes intro-welle { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes intro-druck { 0% { transform: none; } 35% { transform: scale(.975); } 100% { transform: none; } }
@keyframes intro-zurseite { to { transform: none; } }
@keyframes intro-einblenden { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------------
   So funktioniert's (/so-funktionierts/, /en/how-it-works/): Schritte mit
   Abbildungen aus HTML (Browserfenster, Aufsteller, Telefone), dann die
   Adressen von Digistemp.
   --------------------------------------------------------------------------- */
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.ablauf > li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line);
}
.ablauf > li:nth-child(even) > .bild { order: -1; }
.ablauf .nr { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--stempel); color: var(--on-stempel); font-weight: 800; font-stretch: 115%; transform: rotate(-6deg); margin-bottom: 16px; }
.ablauf h2 { font-size: 28px; line-height: 34px; font-weight: 750; font-stretch: 110%; }
.ablauf p { margin-top: 12px; color: var(--ink-muted); font-size: 18px; line-height: 27px; max-width: 42ch; }
.ablauf .adresse-chip { margin-top: 16px; }
.adresse-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--stempel-tint); color: var(--stempel); font-family: 'JetBrains Mono Variable', ui-monospace, monospace; font-size: 14px; font-weight: 600;
}
.bild { background: var(--surface-sunken); border-radius: var(--radius-flaeche); min-height: 340px; padding: 32px 20px; display: grid; place-items: center; overflow: hidden; }

.browser { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--schatten-karte); overflow: hidden; }
.browser-leiste { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.browser-leiste i { width: 9px; height: 9px; border-radius: 999px; background: var(--line); }
.browser-leiste span { margin-left: 8px; flex: 1; padding: 4px 10px; border-radius: 6px; background: var(--surface-sunken); color: var(--ink-muted); font-family: 'JetBrains Mono Variable', ui-monospace, monospace; font-size: 12px; }
.browser-inhalt { display: grid; grid-template-columns: 96px minmax(0, 1fr); min-height: 220px; }
.browser-seite { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.browser-seite b { height: 8px; border-radius: 4px; background: var(--line); }
.browser-seite b.aktiv { background: var(--stempel); }
.browser-haupt { padding: 16px; display: grid; gap: 12px; align-content: start; }
.browser-haupt .pass { max-width: 230px; font-size: 11px; }
.browser-haupt .zeilen { display: grid; gap: 6px; }
.browser-haupt .zeilen b { height: 7px; border-radius: 4px; background: var(--line); }
.browser-haupt .zeilen b:nth-child(2) { width: 70%; }

.aufsteller { display: grid; justify-items: center; }
.aufsteller-karte { width: 190px; padding: 18px 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px 12px 4px 4px; text-align: center; display: grid; justify-items: center; gap: 10px; box-shadow: var(--schatten-karte); }
.aufsteller-karte b { font-size: 16px; font-weight: 750; font-stretch: 110%; line-height: 1.2; }
.aufsteller-karte small { color: var(--ink-muted); font-size: 12px; }
.aufsteller-karte .qr { width: 118px; height: 118px; border: 1px solid var(--line); }
.aufsteller-fuss { width: 230px; height: 14px; background: var(--line-strong); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }

.telefon.klein { width: 272px; max-width: 100%; aspect-ratio: 300 / 560; }
.telefon.klein .telefon-schirm { padding: 44px 12px 14px; gap: 12px; }
.kundenseite { width: 100%; display: grid; gap: 10px; }
.kundenseite .adresse-zeile { text-align: center; font-family: 'JetBrains Mono Variable', ui-monospace, monospace; font-size: 10px; opacity: .7; }
.kundenseite .pass { font-size: 11px; }
.wallet-knopf { display: grid; place-items: center; min-height: 38px; border-radius: 10px; background: var(--telefon-text); color: var(--telefon); font-size: 13px; font-weight: 700; }
.wallet-knopf.zweit { background: transparent; color: var(--telefon-text); border: 1px solid var(--mitteilung); }

.terminal-bild { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; background: var(--erfolg-tint); border-radius: 26px; color: var(--stempel); text-align: center; }
.terminal-bild .haken-zug { width: 96px; height: 96px; fill: none; stroke: var(--stempel); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.terminal-bild strong { color: var(--ink); font-size: 16px; }
.terminal-bild > span { color: var(--ink-muted); font-size: 12px; font-family: 'JetBrains Mono Variable', ui-monospace, monospace; }
.telefon.terminal .telefon-schirm { padding: 0; background: transparent; }
.telefon.terminal .telefon-schirm::before { z-index: 1; }

.sperrbild { width: 100%; display: grid; gap: 10px; }
.sperrbild .mitteilung { width: 100%; }

.adressen { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adressen li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-flaeche); padding: 24px; display: grid; gap: 10px; align-content: start; }
.adressen .adresse-chip { justify-self: start; }
.adressen b { font-size: 18px; font-weight: 650; }
.adressen p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.adressen .hinweis { font-size: 13px; color: var(--ink-muted); }
.adressen-kopf { padding-top: 72px; border-top: 1px solid var(--line); margin-top: 16px; }
.adressen-kopf .neben { margin-top: 12px; font-size: 18px; line-height: 27px; max-width: 56ch; }

@media (max-width: 899px) {
  .ablauf > li { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .ablauf > li:nth-child(even) > .bild { order: 0; }
  .adressen { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
   Vorteile (/vorteile/, /en/benefits/): Gruppen mit Icons, Vergleich mit
   der Papierkarte.
   --------------------------------------------------------------------------- */
.vorteile-kopf { padding-top: 48px; padding-bottom: 56px; }
.vorteile-kopf > * { max-width: 760px; }
.vorteile-kopf .unterzeile { max-width: none; }
.sprungleiste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sprungleiste a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600;
}
.sprungleiste a:hover { background: var(--surface); color: var(--ink); }
.gruppe { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.gruppe h2 { font-size: 22px; line-height: 28px; font-weight: 700; font-stretch: 108%; }
.gruppe h2 + p { color: var(--ink-muted); margin-top: 6px; font-size: 15px; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.vorteile li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; }
.vorteile .symbol {
  grid-row: span 2; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); display: grid; place-items: center; color: var(--stempel);
}
.vorteile .symbol .i { width: 20px; height: 20px; }
.vorteile b { font-size: 17px; font-weight: 650; }
.vorteile span:last-child { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.vergleich { padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.vergleich table {
  width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-flaeche); overflow: hidden;
}
.vergleich th, .vergleich td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.vergleich tbody tr:last-child th, .vergleich tbody tr:last-child td { border-bottom: 0; }
.vergleich thead th { font-weight: 650; background: var(--surface-sunken); }
.vergleich thead th:last-child { color: var(--stempel); }
.vergleich tbody th { font-weight: 400; }
.vergleich td { width: 22%; text-align: center; }
.vergleich thead th:not(:first-child) { text-align: center; }
.vergleich td .i { margin: 0 auto; width: 20px; height: 20px; }
.vergleich .ja { color: var(--erfolg); }
.vergleich .nein { color: var(--line-strong); }
.schluss {
  margin-top: 80px; margin-bottom: 80px; padding: 48px 32px; border-radius: var(--radius-flaeche);
  border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; justify-items: start;
}
.schluss p { color: var(--ink-muted); }
.schluss .knoepfe { margin-top: 8px; }
.unsichtbar-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 64px; padding-bottom: 104px; }
}
@media (max-width: 899px) {
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fakten li:nth-child(3) { border-left: 0; }
  .fakten li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gruppe { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Unterseiten */
.seite { padding-top: 48px; padding-bottom: 80px; }
.seite > * { max-width: 720px; }
.titel { font-size: 40px; line-height: 46px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.vorspann { margin-top: 16px; font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.seite section { margin-top: 48px; }
.seite section + section { padding-top: 48px; border-top: 1px solid var(--line); }
.seite h2 { font-size: 24px; line-height: 30px; font-weight: 700; font-stretch: 108%; margin-bottom: 12px; }
.seite h3 { font-size: 18px; line-height: 24px; font-weight: 650; margin: 24px 0 8px; }
.seite p + p, .seite p + .liste, .seite .liste + p { margin-top: 12px; }
.seite .knoepfe { margin-top: 24px; }
.klein { font-size: 15px; line-height: 22px; }
.angaben { margin: 16px 0 0; }
.angaben dt { font-weight: 600; margin-top: 16px; }
.angaben dd { margin: 2px 0 0; }
/* Vertragstexte (AGB, AV-Vertrag): nummerierte Absaetze wie (1), (2) ... */
.absaetze { margin: 0; padding: 0; list-style: none; counter-reset: absatz; display: flex; flex-direction: column; gap: 12px; }
.absaetze > li { counter-increment: absatz; position: relative; padding-left: 36px; }
.absaetze > li::before { content: "(" counter(absatz) ")"; position: absolute; left: 0; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.absaetze ul { margin: 8px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.dienst h3 { margin-top: 24px; }
.dienst .angaben { margin-top: 4px; }
.adresse { font-size: 24px; line-height: 32px; font-weight: 700; font-stretch: 108%; word-break: break-word; }

/* Fuss */
.fuss { border-top: 1px solid var(--line); }
/* Oben Kontaktwege links und die Herkunft rechts, darunter die Rechtstexte
   ueber die ganze Breite verteilt: der erste buendig links, der letzte rechts. */
.fuss-innen {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 28px; padding-bottom: 28px; font-size: 14px; line-height: 20px; color: var(--ink-muted);
}
.fuss-oben { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fuss-herkunft { font-size: 13px; line-height: 18px; color: var(--ink-muted); text-align: right; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; }
.fuss-links a { color: var(--ink-muted); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fuss-links a:hover { color: var(--ink); }
/* Kontaktwege als Symbole: im Fuss still in ink-muted, oben auf der Kontaktseite gross und farbig */
/* Die Symbole sitzen links; der Rand der 44-px-Tippflaeche wird ausgeglichen, damit das erste Symbol buendig mit dem Inhalt steht */
.fuss-kontakt { display: flex; gap: 4px; margin-left: -12px; }
.ikon { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; }
.fuss-kontakt .ikon { width: 44px; height: 44px; color: var(--ink-muted); }
.fuss-kontakt .ikon:hover { color: var(--ink); background: var(--surface-sunken); }
.fuss-kontakt .ik { width: 20px; height: 20px; }
.schnellkontakt { display: flex; gap: 16px; margin-top: 24px; }
.schnellkontakt .ikon { width: 56px; height: 56px; background: var(--stempel); color: var(--on-stempel); }
.schnellkontakt .ikon:hover { background: var(--stempel-hover); color: var(--on-stempel); }
.schnellkontakt .ikon.wa { background: var(--whatsapp); color: var(--whatsapp-logo); }
.schnellkontakt .ikon.wa:hover { background: var(--whatsapp-hover); color: var(--whatsapp-logo); }
.schnellkontakt .ik { width: 26px; height: 26px; }

/* WhatsApp: das Logo steht vor dem Text, wie auf WhatsApps eigenem Knopf */
.knopf.whatsapp { gap: 10px; background: var(--whatsapp); color: var(--whatsapp-text); font-weight: 700; }
.knopf.whatsapp:hover { background: var(--whatsapp-hover); color: var(--whatsapp-text); }
.knopf.whatsapp .wa-logo { flex: none; width: 22px; height: 22px; color: var(--whatsapp-logo); }

@media (max-width: 760px) {
  :root { --rand: 16px; }
  /* Mobil: Marke und Aktionen oben, die Navigation in einer eigenen Zeile darunter */
  .kopf { column-gap: 12px; }
  .marke svg { height: 24px; }
  /* Eine Zeile auch auf Deutsch ("So funktioniert's"): verteilt statt fester Lücke, Schrift schrumpft bis 13 px (320 px Fenster). */
  .navi { order: 3; width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 8px; font-size: clamp(13px, 4vw, 15px); }
  .navi a { white-space: nowrap; }
  .kopf-aktionen { gap: 16px; }
  .knopf.klein { padding: 0 14px; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 40px; }
  /* "Stammgäste." ist in 44 px und 120 % Breite breiter als ein 390-px-Fenster. */
  .display { font-size: clamp(34px, 10vw, 44px); }
  .abschnitt { padding-top: 64px; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vorteile { grid-template-columns: minmax(0, 1fr); }
  .vergleich th, .vergleich td { padding: 14px 10px; }
  .schluss { padding: 32px 20px; margin-top: 56px; margin-bottom: 56px; }
  .seite { padding-top: 24px; padding-bottom: 56px; }
  .titel { font-size: 32px; line-height: 38px; }
  .vorspann { font-size: 18px; line-height: 27px; }
}

/* ---------------------------------------------------------------------------
   Preiskachel (/preise/, /en/pricing/) - EINE Fläche mit Umschalter
   Jährlich/Monatlich, Preis, Leistungen mit Haken, Knopf. Der Umschalter
   ist ein Radio-Paar OHNE Skript: die Eingaben stehen vor den Geschwistern,
   `:checked ~` blendet den passenden Preis ein. Ohne CSS sind beide Preise
   lesbar untereinander. Gleiche Liste wie im Dashboard (Abo-Seite).
   --------------------------------------------------------------------------- */
.seite .preis-kachel {
  max-width: 760px; margin-top: 40px; padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-flaeche);
}
.preis-kachel > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.umschalter {
  display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-sunken);
}
.umschalter label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 7px; font-weight: 600; color: var(--ink-muted); cursor: pointer;
}
.spar {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  background: var(--stempel-tint); color: var(--stempel); font-size: 13px; font-weight: 700;
}
#laufzeit-jahr:checked ~ .umschalter label[for="laufzeit-jahr"],
#laufzeit-monat:checked ~ .umschalter label[for="laufzeit-monat"] {
  background: var(--surface); color: var(--ink); box-shadow: var(--schatten-schalter);
}
#laufzeit-jahr:focus-visible ~ .umschalter label[for="laufzeit-jahr"],
#laufzeit-monat:focus-visible ~ .umschalter label[for="laufzeit-monat"] {
  outline: 2px solid var(--stempel); outline-offset: 2px;
}
.preis { margin-top: 24px; }
.preis-monat { display: none; }
#laufzeit-monat:checked ~ .preis-monat { display: block; }
#laufzeit-monat:checked ~ .preis-jahr { display: none; }
.betrag { font-size: 56px; line-height: 60px; font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.je { margin-left: 6px; font-size: 18px; color: var(--ink-muted); }
.preis p { margin-top: 6px; color: var(--ink-muted); }
.haken {
  list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
}
.haken li { display: flex; gap: 10px; align-items: flex-start; }
.haken svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--stempel); }
.kachel-fuss {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.kachel-fuss p { color: var(--ink-muted); font-size: 15px; max-width: 42ch; }
@media (max-width: 640px) {
  .seite .preis-kachel { padding: 20px; }
  .haken { grid-template-columns: minmax(0, 1fr); }
  .betrag { font-size: 44px; line-height: 48px; }
  .kachel-fuss .knopf { width: 100%; }
}

/* Für Screenreader da, nicht zu sehen (Überschrift der Preiskachel). */
.unsichtbar {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------------
   FAQ (/faq/, /en/faq/): Gruppen mit aufklappbaren Fragen - <details>, geht
   ohne Skript. Die Antwort ist eine kurze Absatzgruppe.
   --------------------------------------------------------------------------- */
.faq .faq-gruppe { margin-top: 48px; }
.faq .faq-gruppe + .faq-gruppe { padding-top: 0; border-top: 0; }
.faq .faq-gruppe h2 { margin-bottom: 8px; }
.fragen { border-top: 1px solid var(--line); }
.frage { border-bottom: 1px solid var(--line); }
.frage summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0; font-size: 17px; line-height: 24px; font-weight: 600;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translateY(-3px); transition: transform 150ms ease-out;
}
.frage[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.frage summary:hover { color: var(--stempel); }
.antwort { padding: 0 0 20px; color: var(--ink-muted); }
.antwort p + p, .antwort p + .liste, .antwort .liste + p { margin-top: 10px; }
.antwort .liste { color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .frage summary::after { transition: none; } }

/* Preisseite kurz: Kachel mit sechs Haken und Link auf alle Vorteile, Knopf links, Hinweis daneben */
.preise .alle-vorteile { display: block; width: fit-content; margin-top: 20px; font-weight: 600; text-decoration: none; }
.preise .kachel-fuss { justify-content: flex-start; }
.preise .kachel-fuss p { max-width: none; }
.preise section + section { margin-top: 40px; }
.preise .klein.neben { margin-top: 16px; }
