/* ═══════════════════════════════════════════════════════════════════════════
   Kura Health — Website-Stylesheet (alle Seiten)
   Tokens gespiegelt aus der App (desktop/ui/src/app/globals.css). Keine
   externen Ressourcen: Schrift selbst gehostet, Icons inline als SVG.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Schrift: Geist (variabel, latin + latin-ext) ─── */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/fonts/geist-latin.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: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --teal:        #0F766E;
  --teal-light:  #0D9488;
  --teal-700:    #115E59;
  --teal-900:    #0B2E2C;
  --teal-bg:     rgba(15, 118, 110, 0.09);
  --teal-border: rgba(15, 118, 110, 0.20);

  --rose:   #B91C1C; --rose-bg: rgba(185, 28, 28, 0.08);
  --amber:  #92400E; --amber-bg: rgba(217, 119, 6, 0.10);

  /* Icon-Töne: teal · slate-blue · pine (desaturiert, teal-verankert) */
  --ic-teal: #0F766E; --ic-teal-bg: rgba(15,118,110,0.10); --ic-teal-bd: rgba(15,118,110,0.24);
  --ic-blue: #4C6488; --ic-blue-bg: rgba(76,100,136,0.11);  --ic-blue-bd: rgba(76,100,136,0.24);
  --ic-pine: #2F5D54; --ic-pine-bg: rgba(47,93,84,0.11);    --ic-pine-bd: rgba(47,93,84,0.24);

  --text-1: #0C1829;
  --text-2: #475569;
  --text-3: #5C6B82;   /* ≥4.5:1 auf --bg */

  --bg:           #F5F8FB;
  --surface-1:    #FFFFFF;
  --surface-2:    rgba(15, 23, 42, 0.035);
  --border:       #E4EAF1;
  --border-light: #EEF2F7;
  --field-border: #D3DCE6;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm: 0 1px 4px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 20px rgba(15,23,42,0.09), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.12), 0 4px 10px rgba(15,23,42,0.06);
  --shadow-xl: 0 24px 64px rgba(15,23,42,0.16), 0 8px 20px rgba(15,23,42,0.07);

  --font: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);          /* Ein- und Ausblenden */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);      /* Bewegung auf dem Bildschirm */
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);       /* iOS-artig: Leisten, Umschalter */

  /* Höhe der festen Kopfleiste: Navigation und darüber das Banner bei 'soon'.
     Alle Abstände unter der Kopfleiste rechnen mit --nav-h. */
  --nav-bar-h: 64px;
  --launch-h: 0px;
  --nav-h: calc(var(--nav-bar-h) + var(--launch-h));
}
html.checkout-soon { --launch-h: 36px; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font); background: var(--bg); color: var(--text-1);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

/* Labels nur bei Tastaturfokus umranden (:focus-within griff auch nach Mausklicks) */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, label:has(input:focus-visible) {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--r-sm);
}
.field:focus-visible { outline: none; }
/* Überschriften, auf die das Skript den Fokus setzt (Sprungziel für Screenreader), brauchen keinen Rahmen */
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--surface-1); color: var(--teal); padding: 8px 14px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-md); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container    { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 840px;  margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 600px;  margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font-family: var(--font); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s, opacity .2s, transform .16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .18s var(--ease-out); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 2px 10px rgba(13,148,136,0.25); }
.btn-secondary { background: var(--surface-1); color: var(--text-1); border-color: var(--field-border); box-shadow: var(--shadow-xs); }
.btn-ghost { background: transparent; color: var(--teal); padding: 0 10px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; box-shadow: none; }
.btn.loading { opacity: .9; pointer-events: none; }
.btn.loading svg { display: none; }
.btn.loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .6s linear infinite;
}
.btn-secondary.loading::after { border-color: rgba(15,118,110,.25); border-top-color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem;
  color: var(--teal); text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s var(--ease-out); }

/* ─── Formularfelder ─── */
.field {
  width: 100%; height: 46px; padding: 0 14px;
  font-family: var(--font); font-size: 16px; color: var(--text-1); /* 16px: kein iOS-Auto-Zoom */
  background: var(--surface-2); border: 1px solid var(--field-border);
  border-radius: var(--r-md); outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field::placeholder { color: var(--text-3); }
.field:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(15,118,110,0.10); }
.field-mono { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.field-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }

.check {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: .86rem; color: var(--text-2); line-height: 1.5;
}
.check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px; border-radius: 5px;
  border: 1.5px solid var(--field-border); background: var(--surface-1);
  display: grid; place-content: center; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.check input::after {
  content: ''; width: 10px; height: 6px; margin-top: -2px;
  border: 2px solid #fff; border-top: 0; border-right: 0; opacity: 0; transform: rotate(-45deg) scale(.6);
  transition: opacity .12s, transform .18s var(--ease-out);
}
.check input:checked { background: var(--teal); border-color: var(--teal); }
.check input:checked::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.check a { color: var(--teal); }

/* ─── Motion ─── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rippleOut { from { opacity: 0; transform: scale(0.35); } to { opacity: var(--o); transform: scale(1); } }
@keyframes dotIn { 0% { opacity: 0; transform: scale(0.4); } 60% { opacity: 1; transform: scale(1.16); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sonar { 0% { transform: scale(0.4); opacity: .45; } 70% { opacity: 0; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes successIn { from { opacity: 0; transform: scale(0.97) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes errorIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes tickDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.rise { opacity: 0; animation: rise .55s var(--ease-out) forwards; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .22s; } .d4 { animation-delay: .30s; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.r1 { transition-delay: .04s; } .reveal.r2 { transition-delay: .10s; } .reveal.r3 { transition-delay: .16s; }
.reveal.r4 { transition-delay: .22s; } .reveal.r5 { transition-delay: .28s; } .reveal.r6 { transition-delay: .34s; }

/* Crawler und Nutzer ohne JS: Inhalt ohne Einblend-Umweg sichtbar */
html[data-crawler] .rise, html[data-crawler] .reveal, html.no-js .reveal, html.no-js .rise {
  opacity: 1 !important; transform: none !important; animation: none !important;
}

/* Reduzierte Bewegung: CSS-Bewegung aus. Die JS-Übergänge (KURA_MOTION in site.js)
   blenden dann nur kurz über, statt etwas zu verschieben. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; }
  .mark .ring { opacity: var(--o) !important; transform: none !important; }
  .mark .mark-dot { opacity: 1 !important; transform: none !important; }
}

/* ─── Markenzeichen (konzentrische Ringe = App-Logo) ─── */
.mark { display: block; overflow: visible; }
.mark .ring { fill: none; stroke: var(--teal); transform-box: fill-box; transform-origin: center; }
.mark .ring-1 { stroke-width: 1.6; --o: 0.32; opacity: .32; }
.mark .ring-2 { stroke-width: 1.8; --o: 0.55; opacity: .55; }
.mark .ring-3 { stroke-width: 2.2; --o: 0.85; opacity: .85; }
.mark .mark-dot { fill: var(--teal); transform-box: fill-box; transform-origin: center; }
.mark-hero .ring, .mark-hero .mark-dot { opacity: 0; }
.mark-hero .mark-dot { animation: dotIn .5s var(--ease-out) .10s forwards; }
.mark-hero .ring-3 { animation: rippleOut .85s var(--ease-out) .20s forwards; }
.mark-hero .ring-2 { animation: rippleOut .85s var(--ease-out) .33s forwards; }
.mark-hero .ring-1 { animation: rippleOut .85s var(--ease-out) .46s forwards; }
.mark-hero .pulse {
  fill: none; stroke: var(--teal); stroke-width: 1.4; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: sonar 3.6s ease-out 1.5s infinite;
}
.mark-hero .pulse-2 { animation-delay: 3.3s; }

/* ═══ Navigation ═══ */
/* Durchscheinende Leiste über dem Inhalt. Die Kante erscheint erst, wenn Inhalt
   darunter liegt (site.js setzt .is-scrolled), oben verschmilzt sie mit der Seite. */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  background: rgba(245,248,251,0.78);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-nav.is-scrolled, .site-nav.open { border-bottom-color: rgba(228,234,241,0.85); box-shadow: 0 1px 12px rgba(15,23,42,0.04); }
html.no-js .site-nav { border-bottom-color: rgba(228,234,241,0.85); }
/* Banner bei 'soon' (KURA_CONFIG.launch): oberster Streifen der Kopfleiste, ganz ein Link
   zur Warteliste. Hell wie --teal-bg, aber deckend (über der durchscheinenden Navigation).
   Schmal bleibt vom „Jetzt vormerken“ nur der Pfeil (der Text bleibt für Screenreader). */
.launch-bar { display: none; }
html.checkout-soon .launch-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--launch-h); padding: 0 16px;
  background: #E9F3F2; /* --teal-bg auf Weiß */
  color: var(--teal-900); border-bottom: 1px solid var(--teal-border);
  font-size: 13.5px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
html.checkout-soon .launch-bar::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal); box-shadow: 0 0 0 3px var(--teal-border);
}
html.checkout-soon .launch-bar:hover { background: #DEEDEB; }
.launch-bar:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
.launch-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--teal); font-weight: 600; }
.launch-bar:hover .launch-cta span { text-decoration: underline; text-underline-offset: 2px; }
.launch-cta svg { width: 13px; height: 13px; flex-shrink: 0; transition: transform .18s var(--ease-out); }
.launch-bar:hover .launch-cta svg { transform: translateX(2px); }
@media (max-width: 560px) {
  html.checkout-soon .launch-bar { font-size: 12.5px; gap: 7px; }
  .launch-cta span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}
.nav-inner {
  max-width: 1120px; height: var(--nav-bar-h); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-text { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 7px 11px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-1); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-nav.open .nav-toggle .icon-open { display: none; }
.site-nav.open .nav-toggle .icon-close { display: block; }

.lang-switch {
  display: inline-flex; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border-light); border-radius: 100px; padding: 2px;
}
.lang-switch button {
  appearance: none; -webkit-appearance: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-3); background: transparent; padding: 4px 9px; border-radius: 100px; line-height: 1;
  transition: color .15s, background .15s, box-shadow .15s;
}
html[data-lang="de"] .lang-switch [data-set-lang="de"],
html[data-lang="en"] .lang-switch [data-set-lang="en"] { background: var(--surface-1); color: var(--teal); box-shadow: var(--shadow-xs); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px;
    background: rgba(245,248,251,0.98); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .18s var(--ease-out), visibility .18s;
  }
  .nav-links a { padding: 12px 12px; font-size: 16px; }
  .site-nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-cta { display: none; }
}
@media (min-width: 901px) { .nav-links .nav-only-mobile { display: none; } }

/* ═══ Seitenköpfe ═══ */
.page-top { padding-top: var(--nav-h); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.breadcrumbs { font-size: .82rem; color: var(--text-3); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--text-2); }

.page-hero { padding: calc(var(--nav-h) + 64px) 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 620px 320px at 20% 0%, rgba(15,118,110,0.09), transparent 70%);
}
.page-hero > .container, .page-hero > .container-md { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1;
  max-width: 760px; margin-bottom: 18px; text-wrap: balance;
}
.page-hero h1 .accent { color: var(--teal); }
.page-hero .lede { font-size: clamp(1.02rem, 1.9vw, 1.16rem); color: var(--text-2); max-width: 640px; text-wrap: pretty; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero.centered { text-align: center; }
.page-hero.centered h1, .page-hero.centered .lede { margin-left: auto; margin-right: auto; }
.page-hero.centered .breadcrumbs ol, .page-hero.centered .hero-actions { justify-content: center; }

.plan-chip {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--teal); background: var(--teal-bg); border: 1px solid var(--teal-border);
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}
.plan-chip.muted { color: var(--text-2); background: var(--surface-2); border-color: var(--border); }
.plan-chip.soon, .tag.soon { color: var(--amber); background: var(--amber-bg); border-color: rgba(217,119,6,0.22); }

/* ═══ Startseiten-Hero ═══ */
.hero { padding: calc(var(--nav-h) + 60px) 24px 0; position: relative; overflow: hidden; text-align: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 300px at 50% 110px, rgba(15,118,110,0.12), transparent 70%),
    radial-gradient(circle 520px at 50% 90px, rgba(15,118,110,0.04), transparent 72%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-mark { width: 84px; height: 84px; margin: 0 auto 26px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 600; letter-spacing: -0.037em; line-height: 1.07;
  margin-bottom: 20px; text-wrap: balance;
}
.hero h1 .accent { color: var(--teal); }
.hero h1 .h1-kw {
  display: block; margin-top: 14px; font-size: clamp(1.06rem, 2.2vw, 1.34rem);
  font-weight: 500; letter-spacing: -0.014em; line-height: 1.4; color: var(--text-2); text-wrap: balance;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--text-2); max-width: 580px; margin: 0 auto 32px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 7px 18px 7px 8px;
  border-radius: 100px; background: var(--surface-1); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  font-size: .86rem; color: var(--text-2); text-decoration: none; text-align: left; transition: border-color .15s, color .15s;
}
.partner-badge b { color: var(--text-1); font-weight: 600; }
.partner-badge img { flex: none; width: 48px; height: auto; }
.partner-badge:hover { border-color: var(--teal-border); color: var(--text-1); }
@media (max-width: 560px) { .partner-badge { border-radius: 20px; } }
.hero .hero-actions { justify-content: center; }
.page-hero .hero-actions { justify-content: flex-start; }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px;
  font-size: .84rem; color: var(--text-3); list-style: none;
}
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.hero-visual { position: relative; z-index: 1; max-width: 1080px; margin: 56px auto 0; padding: 0 0 72px; }

/* ═══ Sektionen ═══ */
.section { padding: 88px 0; }
.section-tint { background: linear-gradient(180deg, rgba(15,118,110,0.055) 0%, rgba(15,118,110,0.012) 100%); }
.section-white { background: var(--surface-1); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.15rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.18;
  margin-bottom: 12px; text-wrap: balance;
}
.section-head p { font-size: 1.02rem; color: var(--text-2); text-wrap: pretty; }
.section-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-head.centered + * + .section-foot, .section-foot.centered { justify-content: center; }

/* Feature-Karten */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 22px; color: inherit; text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.feature-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm); margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .2s;
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-card h3 { font-size: .98rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature-card p { font-size: .87rem; color: var(--text-2); line-height: 1.6; }
.feature-card .more { margin-top: auto; padding-top: 14px; font-size: .84rem; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 5px; }
.feature-card .more svg { width: 14px; height: 14px; transition: transform .18s var(--ease-out); }
.fi-teal { background: var(--ic-teal-bg); color: var(--ic-teal); }
.fi-blue { background: var(--ic-blue-bg); color: var(--ic-blue); }
.fi-pine { background: var(--ic-pine-bg); color: var(--ic-pine); }
/* Vier Karten nebeneinander (Support, Versprechen) und Karten, die die Zeile füllen (Kontaktwege) */
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid.cols-4 { grid-template-columns: 1fr; } }
.features-grid.fit { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Kontakt & Support */
.feature-card .contact-value { font-size: .98rem; font-weight: 600; margin-bottom: 6px; overflow-wrap: anywhere; }
.feature-card .contact-value a { text-decoration: none; }
a.more { text-decoration: none; }
.feature-card .contact-value a:hover { text-decoration: underline; }
.summary-help { margin-top: 18px; font-size: .84rem; color: var(--text-2); text-align: center; text-wrap: pretty; }

/* Schritte / Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding-top: 52px; }
.step::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-content: center; font-size: .9rem; font-weight: 600;
  color: var(--teal); background: var(--surface-1); border: 1px solid var(--teal-border); box-shadow: var(--shadow-xs);
}
.step::after {
  content: ''; position: absolute; top: 18px; left: 48px; right: -6px; height: 1px;
  background: linear-gradient(90deg, var(--teal-border), transparent);
}
.step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }
.step h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
/* Vertikale Variante (z. B. „So funktioniert’s“ neben einem Visual) */
.steps.vertical { grid-template-columns: 1fr; gap: 22px; margin-top: 8px; }
.steps.vertical .step { padding: 4px 0 0 52px; }
.steps.vertical .step::after { display: none; }
.split-text .step h3 { font-size: 1rem; margin-bottom: 4px; }
.split-text .step p { font-size: .9rem; color: var(--text-2); }
.step p { font-size: .88rem; color: var(--text-2); }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .benefits-grid { grid-template-columns: 1fr; gap: 26px; max-width: 460px; } }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.benefit-icon svg { width: 23px; height: 23px; }
.benefit h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.benefit p { font-size: .9rem; color: var(--text-2); max-width: 330px; text-wrap: pretty; }

/* Abwechselnde Feature-Zeilen (Text + Visual) */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > .split-text { order: 2; }
.split:has(> .split-text + .split-text) { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .split-text { order: 0; }
  .split + .split { margin-top: 72px; }
}
.split-text h2, .split-text h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.2;
  margin-bottom: 14px; text-wrap: balance;
}
.split-text > p { color: var(--text-2); font-size: .98rem; margin-bottom: 18px; text-wrap: pretty; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist li b { color: var(--text-1); font-weight: 600; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: 1fr; } }

/* Hinweis-/Info-Boxen */
.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px 20px; box-shadow: var(--shadow-xs); font-size: .9rem; color: var(--text-2);
}
.note .note-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-bg); color: var(--teal); display: flex; align-items: center; justify-content: center;
}
.note .note-icon svg { width: 18px; height: 18px; }
.note b { color: var(--text-1); }
.note.amber .note-icon { background: var(--amber-bg); color: var(--amber); }

/* Dunkle Band-Sektion (Datenschutz) */
.band-dark {
  background: radial-gradient(ellipse 700px 380px at 85% 0%, rgba(13,148,136,0.30), transparent 70%), var(--teal-900);
  color: #E6F2F0; padding: 88px 0;
}
.band-dark .section-head h2 { color: #fff; }
.band-dark .section-head p { color: rgba(230,242,240,0.78); }
.band-dark .eyebrow { color: #5EEAD4; }
.band-dark .eyebrow .dot { background: #5EEAD4; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); padding: 22px 20px;
}
.privacy-item svg { width: 22px; height: 22px; color: #5EEAD4; margin-bottom: 14px; }
.privacy-item h3 { font-size: .98rem; font-weight: 600; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.privacy-item p { font-size: .86rem; color: rgba(230,242,240,0.76); line-height: 1.6; }
.band-dark .link-arrow { color: #5EEAD4; }
.band-dark .btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); box-shadow: none; }

/* Plattformen */
.platform-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.platform-row {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-xs);
}
.platform-icon { width: 40px; height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.platform-icon svg { width: 20px; height: 20px; }
.platform-text { flex: 1; min-width: 0; }
.platform-text .t { font-size: .94rem; font-weight: 600; margin-bottom: 2px; }
.platform-text .d { font-size: .84rem; color: var(--text-2); line-height: 1.45; }
.platform-tags { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  font-size: .72rem; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.tag.ok { color: var(--teal); background: var(--teal-bg); border-color: var(--teal-border); }
.tag.muted { color: var(--text-3); }
@media (max-width: 560px) { .platform-row { flex-wrap: wrap; } .platform-tags { justify-content: flex-start; } }

/* Fließtext-Sektion (SEO) */
.prose-cols { columns: 2; column-gap: 56px; }
.prose-cols h2 {
  column-span: all; font-size: clamp(1.45rem, 3vw, 1.95rem); font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 24px; text-wrap: balance;
}
.prose-cols p { font-size: .95rem; color: var(--text-2); line-height: 1.75; text-wrap: pretty; break-inside: avoid; margin-bottom: 17px; }
.prose-cols p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .prose-cols { columns: 1; max-width: 680px; } }

/* ═══ Eine App statt vieler Programme (Startseite) ═══ */
.swap-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.swap-head, .swap-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 14px 22px; }
.swap-head {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
  background: var(--bg); border-bottom: 1px solid var(--border-light);
}
.swap-list { list-style: none; }
.swap-list li { align-items: center; font-size: .9rem; border-top: 1px solid var(--border-light); }
.swap-list li:first-child { border-top: 0; }
.swap-old { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(92,107,130,0.55); }
.swap-new { display: flex; align-items: flex-start; gap: 10px; color: var(--text-1); font-weight: 500; line-height: 1.45; }
.swap-new svg {
  width: 20px; height: 20px; padding: 4px; flex-shrink: 0; margin-top: 1px;
  color: var(--teal); background: var(--teal-bg); border-radius: 50%;
}
.swap-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 14px 22px; background: var(--teal-bg); font-size: .88rem; font-weight: 500; color: var(--text-1);
}
.swap-foot .link-arrow { font-size: .86rem; }
@media (max-width: 560px) {
  .swap-head { display: none; }
  .swap-list li { grid-template-columns: 1fr; gap: 4px; padding: 13px 18px; }
  .swap-old { font-size: .82rem; }
  .swap-foot { padding: 14px 18px; }
}

/* ═══ Preise ═══ */
.billing-toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; margin: 0 auto;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow-xs);
}
.billing-toggle button, .billing-thumb > span {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font); font-size: .9rem; font-weight: 600; line-height: 1.25;
  padding: 9px 18px; border-radius: 100px;
}
.billing-toggle button {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  color: var(--text-2); background: transparent; transition: background .18s, color .18s;
}
.billing-toggle button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.billing-toggle .save {
  font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px;
  background: var(--teal-bg); color: var(--teal);
}
.billing-toggle button[aria-pressed="true"] .save, .billing-thumb .save { background: rgba(255,255,255,0.2); color: #fff; }
/* Segmented Control (pricing.js): eine aktive Kopie jedes Buttons liegt genau darüber
   (Zeile oder 2 × 2), clip-path schneidet die Auswahl frei. Fläche und Schrift wechseln
   so in einem Zug, die Markierung gleitet und lässt sich mitten im Weg umlenken. */
.billing-thumb {
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--teal); color: #fff; pointer-events: none;
  transition: clip-path .42s var(--ease-drawer);
}
.billing-thumb > span { position: absolute; }
.billing-toggle.has-thumb button[aria-pressed="true"] { background: transparent; color: var(--text-2); }
.billing-toggle.has-thumb button[aria-pressed="true"] .save { background: var(--teal-bg); color: var(--teal); }
.toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.toggle-hint { font-size: .82rem; color: var(--text-3); text-align: center; }
/* Zweite Zeile: Praxen außerhalb der EU (Jahreszahlung und Treuerabatt statt Laufzeit) */
.toggle-hint-intl { margin-top: -6px; text-wrap: balance; }
.toggle-hint-intl a { color: var(--teal); }
.toggle-hint-intl a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Vier Laufzeiten: auf dem Handy 2 × 2 statt einer Zeile */
@media (max-width: 620px) {
  .term-toggle { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; border-radius: 20px; }
  .term-toggle button { justify-content: center; padding: 10px 8px; border-radius: 16px; }
}

.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  margin-top: 22px; padding: 22px 26px;
  background: linear-gradient(135deg, rgba(15,118,110,0.10), rgba(15,118,110,0.035));
  border: 1px solid var(--teal-border); border-radius: var(--r-xl);
}
.guarantee-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center;
  background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(15,118,110,0.28);
}
.guarantee-icon svg { width: 26px; height: 26px; }
.guarantee h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 3px; }
.guarantee p { font-size: .9rem; color: var(--text-2); text-wrap: pretty; }
@media (max-width: 560px) { .guarantee { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
}
.plan.featured { border: 1.5px solid var(--teal); box-shadow: 0 12px 40px rgba(15,118,110,0.16), var(--shadow-sm); }
.plan-badge {
  position: absolute; top: -12px; left: 26px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: #fff; background: var(--teal);
  padding: 4px 11px; border-radius: 100px; box-shadow: 0 2px 8px rgba(15,118,110,0.3);
}
.plan .plan-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan .plan-desc { font-size: .88rem; color: var(--text-2); min-height: 3.2em; margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { font-size: .9rem; color: var(--text-2); font-weight: 500; }
.price-strike { font-size: .95rem; color: var(--text-3); text-decoration: line-through; margin-right: 2px; }
.price-sub { font-size: .82rem; color: var(--text-3); margin-top: 8px; min-height: 2.6em; }
.price-sub b { color: var(--teal); font-weight: 600; }
.plan .btn { margin: 20px 0 22px; }
.plan .btn:last-child { margin-bottom: 0; }
.plan-features-title { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.plan .checklist li { font-size: .88rem; }
.plan .checklist li.plus::before {
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* KI-Nutzung je Paket: drei Stufen (Gering · Mittel · Hoch), data-level 1–3 */
.ai-usage {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: var(--r-md); background: var(--teal-bg);
  font-size: .84rem; color: var(--text-2);
}
.ai-usage b { margin-left: auto; color: var(--teal); font-weight: 600; }
.plan .ai-usage + .price-row { margin-top: 20px; }
.ai-meter { display: inline-flex; gap: 3px; flex: none; }
.ai-meter i { width: 12px; height: 6px; border-radius: 3px; background: var(--teal-border); }
.ai-meter[data-level="1"] i:nth-child(-n+1),
.ai-meter[data-level="2"] i:nth-child(-n+2),
.ai-meter[data-level="3"] i { background: var(--teal); }
.ai-level { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--teal); }

.addon-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  margin-top: 22px; padding: 22px 26px;
  background: var(--surface-1); border: 1px dashed var(--teal-border); border-radius: var(--r-xl);
}
.addon-card .addon-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--ic-pine-bg); color: var(--ic-pine);
  display: flex; align-items: center; justify-content: center;
}
.addon-card .addon-icon svg { width: 24px; height: 24px; }
.addon-card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 3px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.addon-card p { font-size: .88rem; color: var(--text-2); }
.addon-price { text-align: right; white-space: nowrap; }
.addon-price .price { font-size: 1.7rem; }
.addon-price .price-sub { min-height: 0; margin-top: 4px; }
@media (max-width: 720px) {
  .addon-card { grid-template-columns: auto 1fr; }
  .addon-price { grid-column: 1 / -1; text-align: left; }
}
/* Vorverkauf: Preisrichtung statt Betrag (.price-hint, .no-prices-only) */
.price-hint-main { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--text-1); text-wrap: balance; }
.price-hint-sub { display: block; font-size: .82rem; color: var(--text-3); margin-top: 5px; }
.plan .price-hint { margin-top: 20px; }
@media (min-width: 961px) { .plans .price-hint { min-height: 5rem; } }
.addon-price .price-hint-main { font-size: 1rem; }
.addon-price .price-hint-sub { margin-top: 2px; }
.split-text .price-hint { margin-top: 4px; }
.price-footnote { margin-top: 26px; font-size: .82rem; color: var(--text-3); text-align: center; text-wrap: pretty; }

/* Vergleichstabelle */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-1); box-shadow: var(--shadow-xs); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-light); }
.compare thead th { font-size: .95rem; font-weight: 600; background: var(--bg); position: sticky; top: 0; }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 17%; }
.compare tbody th { font-weight: 500; color: var(--text-1); }
.compare tbody th small { display: block; font-weight: 400; color: var(--text-3); font-size: .8rem; margin-top: 2px; }
.compare td .cell-sub { display: block; color: var(--text-3); font-size: .74rem; margin-top: 4px; white-space: nowrap; }
.compare .group th {
  font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--teal); background: rgba(15,118,110,0.035); padding-top: 11px; padding-bottom: 11px;
}
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes, .no, .opt { display: inline-flex; align-items: center; justify-content: center; }
.yes svg { width: 18px; height: 18px; color: var(--teal); }
.no { color: #A3B1C2; font-size: 1.1rem; line-height: 1; }
.opt { font-size: .76rem; font-weight: 600; color: var(--ic-pine); background: var(--ic-pine-bg); padding: 2px 8px; border-radius: 100px; white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); transition: border-color .18s, box-shadow .18s;
}
.faq details[open] { border-color: var(--teal-border); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 17px 20px; font-size: .97rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
/* Aufklappen mit weicher Höhe, wo der Browser es kann (::details-content,
   interpolate-size); sonst klappt es wie bisher ohne Übergang. */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .26s var(--ease-out), content-visibility .26s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq .answer { padding: 0 20px 18px; font-size: .92rem; color: var(--text-2); line-height: 1.7; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--teal); }
.faq .answer ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.faq .answer b { color: var(--text-1); font-weight: 600; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }

/* CTA */
.cta-section { padding: 80px 0 104px; background: linear-gradient(180deg, rgba(15,118,110,0) 0%, rgba(15,118,110,0.06) 100%); }
.cta-card {
  text-align: center; background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 56px 40px; box-shadow: var(--shadow-md);
}
.cta-card h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; text-wrap: balance; }
.cta-card > p { font-size: 1rem; color: var(--text-2); max-width: 480px; margin: 0 auto 28px; }
.cta-card .hero-actions { justify-content: center; }
.cta-form { max-width: 420px; margin: 0 auto; }
.cta-row { display: flex; gap: 10px; }
.cta-sub { font-size: .78rem; color: var(--text-3); margin-top: 14px; }
/* Warteliste auf /preise/: vorgemerktes Paket */
.wl-plan { font-size: .88rem; color: var(--text-2); margin-bottom: 12px; }
.wl-plan b { color: var(--teal); font-weight: 600; }
@media (max-width: 560px) { .cta-card { padding: 40px 22px; } .cta-row { flex-direction: column; } }

/* Formular-Zustände (Warteliste) */
.form-stack { display: flex; flex-direction: column; gap: 10px; }
.form-turnstile { min-height: 65px; display: flex; justify-content: center; }
.cf-turnstile iframe { border-radius: var(--r-sm); }
@media (max-width: 400px) { .cf-turnstile { transform: scale(.92); transform-origin: center; } }
@media (max-width: 340px) { .cf-turnstile { transform: scale(.8); } }
.form-error {
  display: none; align-items: center; gap: 8px; font-size: .84rem; color: var(--rose);
  background: var(--rose-bg); border: 1px solid rgba(185,28,28,0.15); border-radius: var(--r-sm); padding: 9px 12px;
  text-align: left;
}
.form-error.visible { display: flex; animation: errorIn .2s var(--ease-out) both; }
.form-error svg { width: 15px; height: 15px; flex-shrink: 0; }
.form-success { display: none; text-align: center; padding: 12px 0 8px; }
.form-success.is-visible { display: block; animation: successIn .5s var(--ease-out) both; }
.success-icon {
  width: 48px; height: 48px; background: var(--teal-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.success-icon svg { width: 22px; height: 22px; color: var(--teal); }
.form-success.is-visible .success-icon { animation: dotIn .5s var(--ease-out) .09s both; }
.form-success h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.form-success p { font-size: .88rem; color: var(--text-2); }
.form-reset {
  margin-top: 12px; background: none; border: none; cursor: pointer; font: inherit;
  font-size: .82rem; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 2px;
}

/* Kauf: live, soon, off (KURA_CONFIG.checkout, Klassen am <html> aus site.js)
   .live-only       nur mit offener Kasse ('live')
   .prelaunch-only  nur solange die Kasse zu ist ('soon', 'off'): Warteliste, Vormerken
   .prices-only     nur mit Preisen ('live', 'soon')
   .no-prices-only  nur ohne Preise ('off'): Preisrichtung statt Betrag */
html.checkout-live .prelaunch-only { display: none !important; }
html:not(.checkout-live) .live-only { display: none !important; }
html.prices-shown .no-prices-only { display: none !important; }
html:not(.prices-shown) .prices-only { display: none !important; }
/* Patienten-App noch nicht veröffentlicht: Hinweise nur bis zum Start (KURA_CONFIG.patientAppReleased) */
html.app-released .app-soon { display: none !important; }

/* ═══ Kauf-Flow ═══ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }
/* Nur Schritte, die zum Paket passen (checkout.js: Repertorium nur bei Basis, Add-on nicht
   bei Praxis Plus); die Nummern zählen sich selbst, ausgeblendete Schritte zählen nicht mit.
   Die Kacheln richten sich nach der Breite der Auswahl, nicht des Fensters. */
[data-config] { counter-reset: step; container: config / inline-size; }
.checkout-step { counter-increment: step; }
.checkout-step + .checkout-step { margin-top: 32px; }
.checkout-step h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.checkout-step h2 .num::before { content: counter(step); }
.checkout-step h2 .num, .co-card h3 .num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center;
  font-size: .8rem; color: var(--teal); background: var(--teal-bg); border: 1px solid var(--teal-border);
}
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
/* Kachel: Name und Auswahlpunkt, Preis (mit Laufzeit: „statt …“), Beschreibung */
.option {
  position: relative; display: grid; cursor: pointer;
  grid-template-columns: auto 1fr auto; grid-template-areas: "name name radio" "price was was" "desc desc desc";
  align-content: start; align-items: center; gap: 3px 8px;
  background-color: var(--surface-1); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 13px 14px 14px;
  transition: border-color .15s, box-shadow .2s, background-color .2s, opacity .2s, transform .16s var(--ease-out);
}
/* Rückmeldung schon beim Drücken, nicht erst beim Loslassen */
.option:active { transform: scale(0.985); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--teal); background-color: #F8FCFB; box-shadow: 0 0 0 3px rgba(15,118,110,0.10); }
.option:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.option:has(input:disabled) { cursor: default; opacity: .6; }
.option:has(input:disabled):active { transform: none; }
.option .o-name {
  grid-area: name; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
  font-size: .98rem; font-weight: 600; letter-spacing: -0.01em;
}
.option .o-price { grid-area: price; font-size: .88rem; color: var(--text-1); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.option .o-was { grid-area: was; font-size: .78rem; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.option .o-was:empty { display: none; }
.option .o-desc { grid-area: desc; margin-top: 1px; font-size: .8rem; color: var(--text-3); line-height: 1.45; }
.option .o-radio {
  grid-area: radio; align-self: start; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-1); box-shadow: inset 0 0 0 1.5px var(--field-border);
  transition: box-shadow .2s var(--ease-out);
}
.option:has(input:checked) .o-radio { box-shadow: inset 0 0 0 5.5px var(--teal); }
/* Laufzeit: vier schmale Kacheln in einer Reihe, der Rabatt sitzt auf der Kante */
.option-grid.terms { grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
.option.term-option { grid-template-columns: 1fr; grid-template-areas: "name" "price"; gap: 2px; padding: 12px 14px; }
.option.term-option .o-name { font-size: .9rem; }
.option.term-option .o-price { font-weight: 500; color: var(--text-2); }
.option.term-option:has(input:checked) .o-price { color: var(--text-1); font-weight: 600; }
.option.term-option .o-save {
  position: absolute; top: -10px; right: 10px; padding: 1px 8px; font-size: 11px;
  background: linear-gradient(var(--teal-bg), var(--teal-bg)), var(--surface-1);
}
.term-note { margin-top: 10px; font-size: .8rem; color: var(--text-3); line-height: 1.5; text-wrap: pretty; }
.term-note .term-desc { color: var(--text-2); font-weight: 500; }
/* Schmal (Handy, kleines Fenster): Kacheln werden Zeilen mit dem Preis rechts, Laufzeiten 2 × 2 */
@container config (max-width: 599px) {
  .option-grid { grid-template-columns: 1fr; gap: 8px; }
  .option-grid:not(.terms) .option {
    grid-template-columns: auto 1fr auto; grid-template-areas: "radio name price" ". desc was";
    gap: 2px 12px; padding: 12px 14px 13px;
  }
  .option-grid:not(.terms) .option .o-radio { align-self: center; margin-top: 0; }
  .option-grid:not(.terms) .option .o-was { align-self: start; text-align: right; }
  .option-grid:not(.terms) .option:has(.o-was:empty) .o-desc,
  .option-grid:not(.terms) .option:not(:has(.o-was)) .o-desc { grid-column: 2 / -1; }
  .option-grid.terms { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
}
.option.addon-option { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
.option.addon-option .o-title { font-size: .98rem; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.option.addon-option .o-check {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--field-border); flex-shrink: 0; margin-top: 2px;
  display: grid; place-content: center; transition: background .15s, border-color .15s;
}
.option.addon-option .o-check::after {
  content: ''; width: 10px; height: 6px; margin-top: -2px; border: 2px solid #fff; border-top: 0; border-right: 0;
  opacity: 0; transform: rotate(-45deg) scale(.6); transition: opacity .12s, transform .18s var(--ease-out);
}
.option.addon-option:has(input:checked) .o-check { background: var(--teal); border-color: var(--teal); }
.option.addon-option:has(input:checked) .o-check::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.option.addon-option .o-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
/* Dateifeld als Kachel (Nachweis auf /ausbildung): beim Ziehen einer Datei darüber hervorgehoben */
.option.is-over { border-color: var(--teal); background-color: var(--teal-bg); }

/* Fortschritt (nur Kauf live): Auswahl → Kontakt → Zahlung. Die Linie füllt sich
   zuerst, dann wird der nächste Punkt aktiv: die Bewegung zeigt, wohin es geht. */
.progress {
  list-style: none; display: flex; align-items: center; max-width: 460px; margin-top: 28px;
}
.progress li {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .86rem; font-weight: 500; color: var(--text-3); transition: color .3s var(--ease-out);
}
.progress li + li { flex: 1; }
.progress li[aria-current] { color: var(--text-1); font-weight: 600; transition-delay: .22s; }
.progress li.is-done { color: var(--text-2); }
.progress-line {
  flex: 1; min-width: 20px; height: 2px; margin: 0 6px 0 2px; border-radius: 2px;
  background: var(--border); overflow: hidden;
}
.progress-line i {
  display: block; height: 100%; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-in-out);
}
.progress li.is-done .progress-line i, .progress li[aria-current] .progress-line i { transform: none; }
.progress-dot {
  position: relative; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-content: center;
  background-color: var(--surface-1); box-shadow: inset 0 0 0 1.5px var(--field-border);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.progress-dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease-out);
}
.progress-dot svg {
  position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; color: #fff;
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease-out);
}
.progress li[aria-current] .progress-dot { box-shadow: inset 0 0 0 1.5px var(--teal), 0 0 0 4px var(--teal-bg); transition-delay: .22s; }
.progress li[aria-current] .progress-dot::after { opacity: 1; transform: none; transition-delay: .22s; }
.progress li.is-done .progress-dot { background-color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.progress li.is-done .progress-dot svg { opacity: 1; transform: none; }
/* Überschrift und Einleitung je Phase (Auswahl / Kasse) */
[data-phase-text] { display: block; }

.summary {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--shadow-md);
}
.summary h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.summary-lines { list-style: none; display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--text-2); }
.summary-lines li span:last-child { color: var(--text-1); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; }
.summary-total .label { font-weight: 600; }
.summary-total .amount { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.summary-meta { font-size: .8rem; color: var(--text-3); text-align: right; }
.summary-save { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--teal); background: var(--teal-bg); border-radius: var(--r-sm); padding: 7px 10px; text-align: center; }
.summary .trust { list-style: none; display: grid; gap: 7px; margin-top: 16px; font-size: .8rem; color: var(--text-3); }
.summary .trust li { display: flex; gap: 8px; align-items: center; }
.summary .trust svg { width: 14px; height: 14px; color: var(--teal); flex-shrink: 0; }
.summary .form-error { margin-top: 12px; }
.summary-cta { margin-top: 18px; }
/* Summen aus der Stripe-Session (Rabatt, heute fällig) */
.summary-due {
  display: grid; gap: 8px; margin-top: 14px; padding: 12px 14px; font-size: .9rem;
  background: var(--surface-2); border: 1px solid var(--border-light); border-radius: var(--r-md);
}
.summary-due > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-due span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-due-discount { color: var(--teal); font-weight: 500; }
.summary-due-total { font-weight: 600; }
.checkout-turnstile { margin-bottom: 14px; min-height: 65px; }
.checkout-turnstile:empty { min-height: 0; margin: 0; }
.pay-hint { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .84rem; color: var(--text-3); }
.link-back {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 600; color: var(--teal);
}
.link-back svg { width: 15px; height: 15px; transition: transform .18s var(--ease-out); }
.link-back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Kasse (Checkout Elements): eigene Felder und Stripe-Felder in denselben Karten */
.co { scroll-margin-top: calc(var(--nav-h) + 16px); }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.co-head h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.co-head h2:focus, .co-card h3:focus { outline: none; }
.co-test { margin-bottom: 16px; }
/* Hinweis in einer Karte: eingelassen statt Karte in der Karte */
.co-card .note { box-shadow: none; padding: 12px 14px; gap: 12px; font-size: .85rem; border-radius: var(--r-md); }
.co-card .note.amber { background: rgba(217,119,6,0.05); border-color: rgba(217,119,6,0.18); }
.co-card .note .note-icon { width: 30px; height: 30px; }
.co-card .note .note-icon svg { width: 16px; height: 16px; }
.co-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 22px 24px; scroll-margin-top: calc(var(--nav-h) + 16px);
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .25s;
}
/* Die Karte, in der gerade getippt wird, hebt sich leicht ab (auch in Stripe-iframes) */
.co-card:focus-within { border-color: #D5E0EA; box-shadow: var(--shadow-md); }
.co-card + .co-card { margin-top: 14px; }
@media (max-width: 560px) { .co-card { padding: 18px 16px 20px; } }
.co-card h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.co-ico {
  position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-content: center; color: var(--teal);
  background-color: var(--teal-bg); border: 1px solid var(--teal-border);
  transition: background-color .25s var(--ease-out), border-color .25s, color .25s;
}
.co-ico svg { width: 14px; height: 14px; transition: opacity .18s, transform .28s var(--ease-out); }
.co-ico .ico-done { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(.6); }
.co-card.is-done .co-ico { background-color: var(--teal); border-color: var(--teal); color: #fff; }
.co-card.is-done .co-ico .ico-main { opacity: 0; transform: scale(.6); }
.co-card.is-done .co-ico .ico-done { opacity: 1; transform: none; }
.co-card.is-done h3 { margin-bottom: 12px; }
.co-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 16px; }
.co-card-head h3 { margin-bottom: 0; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-3); }
.co-secure svg { width: 13px; height: 13px; color: var(--teal); flex-shrink: 0; }
/* Beschriftung wie .Label in den Stripe-Feldern (appearance in checkout.js) */
.co-field + .co-field { margin-top: 16px; }
.co-field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.co-optional { font-weight: 400; color: var(--text-3); }
.co-hint { margin-top: 6px; font-size: .8rem; color: var(--text-3); }
.co-error { margin-top: 6px; font-size: 13px; color: var(--rose); }
.co-error:empty { display: none; }
.field[aria-invalid="true"] { border-color: var(--rose); }
.field[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--rose-bg); }
.co-code { text-transform: uppercase; letter-spacing: .04em; }
.co-card .checks { display: grid; gap: 10px; margin: 20px 0 18px; }
.co-card .form-error { margin-top: 12px; }
.co-done { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; }
.co-done > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.co-done [data-contact-email] { font-weight: 500; overflow-wrap: anywhere; }
.co-done-code {
  font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal);
  background: var(--teal-bg); border: 1px solid var(--teal-border); border-radius: 999px; padding: 1px 9px;
}
.co-taxid { margin-top: 14px; }
/* Stripes eingebettete Kasse (Managed Payments, außerhalb der EU): volle Kartenbreite, Platz schon beim Laden */
.co-embedded { min-height: 420px; }
/* Land der Praxis (nur mit Managed Payments): Hinweis am Feld, Sperre bei Anschrift außerhalb der EU */
.co-field .note { margin-top: 10px; }
.co-abroad { margin-top: 14px; }
/* Außerhalb der EU: Zahlweise (monatlich oder jährlich) statt Laufzeit, darunter warum */
.co-intl { margin-top: 16px; }
.co-intl + .co-field { margin-top: 16px; }
.co-intl fieldset { border: 0; }
.co-intl legend { font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.option-grid.terms.pay { grid-template-columns: repeat(2, 1fr); }
.co-intl .co-hint { margin-top: 10px; line-height: 1.5; text-wrap: pretty; }
.co-why { margin-top: 8px; font-size: .8rem; color: var(--text-3); line-height: 1.55; }
.co-why summary { cursor: pointer; color: var(--teal); width: fit-content; }
.co-why summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.co-why p { margin-top: 6px; text-wrap: pretty; }
.co-abroad .btn { margin-top: 10px; }
/* Kündigung und Widerruf ohne Anmeldung (/kuendigen/, /widerruf/, erklaerung.js) */
.dc-set { border: 0; min-width: 0; }
.dc-set legend { font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.dc-radios { display: grid; gap: 10px; }
/* .co-field label ist ein Block mit Abstand: hier wieder die Zeile aus Punkt und Text */
.co-field .dc-radios .check { display: flex; margin-bottom: 0; font-size: .9rem; font-weight: 400; }
.co-field .dc-sub label { display: block; }
.dc-radios input[type="radio"] { border-radius: 50%; }
.dc-radios input[type="radio"]::after { width: 8px; height: 8px; margin: 0; border: 0; border-radius: 50%; background: #fff; transform: scale(.6); }
.dc-radios input[type="radio"]:checked::after { transform: scale(1); }
.dc-sub { margin-top: 14px; }
.co-card textarea.field { resize: vertical; min-height: 84px; line-height: 1.5; }
[data-declare] .checkout-turnstile { margin: 20px 0 14px; }
[data-declare] .form-error { margin-top: 12px; }
.dc-done { display: grid; gap: 14px; justify-items: start; }
.dc-done h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
.dc-done h2:focus { outline: none; }
.dc-record { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }
.dc-record dd { overflow-wrap: anywhere; }
.dc-note { margin-top: 18px; font-size: .86rem; color: var(--text-3); text-align: center; text-wrap: balance; }
.dc-note a { color: var(--teal); }
@media print {
  .site-nav, .site-footer, .breadcrumbs, [data-declare-print], .dc-note { display: none !important; }
}
/* Handy: in der Kasse folgt auf die Zahlung direkt die Summe mit „Abonnieren“ */
@media (max-width: 960px) { .checkout-layout:has([data-checkout-view]:not([hidden])) .co-next { display: none; } }

/* Handy: Summe und nächster Schritt als durchscheinende Leiste am unteren Rand,
   solange die Zusammenfassung noch unterhalb liegt (checkout.js). Kommt von unten
   und geht denselben Weg zurück. */
.buy-bar { display: none; }
@media (max-width: 960px) {
  .buy-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-top: 1px solid rgba(228,234,241,0.9); box-shadow: 0 -8px 28px rgba(15,23,42,0.07);
    transform: translateY(calc(100% + 12px)); visibility: hidden; pointer-events: none;
    transition: transform .42s var(--ease-drawer), visibility 0s linear .42s;
  }
  .buy-bar.is-shown { transform: none; visibility: visible; pointer-events: auto; transition: transform .42s var(--ease-drawer), visibility 0s; }
}
.buy-bar-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buy-bar-total { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.buy-bar-label { font-size: .76rem; font-weight: 500; color: var(--text-3); }
.buy-bar-amount { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.buy-bar .btn { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .buy-bar { transform: none !important; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s !important; }
  .buy-bar.is-shown { opacity: 1; transition: opacity .2s ease, visibility 0s !important; }
}
.banner {
  display: flex; gap: 10px; align-items: center; padding: 12px 16px; margin-bottom: 24px;
  border-radius: var(--r-md); font-size: .9rem; background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(217,119,6,0.2);
}
.banner svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Lizenzschlüssel / Erfolgsseite */
.status-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 40px 36px; box-shadow: var(--shadow-md); text-align: center;
}
@media (max-width: 560px) { .status-card { padding: 30px 20px; } }
.status-card h1, .status-card .status-title { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.status-card > p { color: var(--text-2); max-width: 520px; margin: 0 auto; }
.key-box {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 26px auto 8px; padding: 16px 18px; max-width: 460px;
  background: var(--teal-bg); border: 1px dashed var(--teal-border); border-radius: var(--r-lg);
}
.key-box code { font-family: var(--mono); font-size: clamp(1.15rem, 3.6vw, 1.45rem); font-weight: 600; letter-spacing: .06em; color: var(--teal-700); }
.key-hint { font-size: .82rem; color: var(--text-3); }
[data-order-summary] { white-space: pre-line; }
/* Überschrift bekommt nach dem Laden den Fokus (Screenreader), ohne Rahmen */
.status-card [tabindex="-1"]:focus { outline: none; }
.dl-hint a { color: var(--teal); font-weight: 600; }
/* Download direkt von der Erfolgsseite (POST /checkout-download) */
.dl-box { max-width: 560px; margin: 30px auto 0; padding-top: 26px; border-top: 1px solid var(--border-light); }
.dl-box h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.dl-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-main:empty { display: none; }
.dl-hint { margin-top: 10px; font-size: .82rem; color: var(--text-3); }
.dl-status { margin-top: 12px; font-size: .86rem; color: var(--text-2); }
.dl-status a { color: var(--teal); font-weight: 600; }
.dl-box .form-error { margin-top: 12px; }
.dl-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 12px; margin-top: 10px; font-size: .84rem; color: var(--text-3); }
.dl-more [data-dl-more] { display: contents; }
.dl-more .link-back { padding: 2px 0; font-size: .84rem; }
.dl-more .link-back svg { display: none; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; text-align: left; max-width: 520px; margin: 30px auto 0; }
.next-steps li { counter-increment: ns; display: flex; gap: 14px; font-size: .92rem; color: var(--text-2); }
.next-steps li::before {
  content: counter(ns); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-content: center; font-size: .8rem; font-weight: 600; color: var(--teal);
  background: var(--teal-bg); border: 1px solid var(--teal-border);
}
.next-steps b { color: var(--text-1); }
.spinner { width: 28px; height: 28px; margin: 8px auto 18px; border-radius: 50%; border: 3px solid var(--teal-bg); border-top-color: var(--teal); animation: spin .7s linear infinite; }
/* Abschluss: das Ringe-Logo mit Häkchen. Der seltenste Moment im Kauf, deshalb
   darf er sich zeigen: Scheibe federt ein, Ringe laufen aus, Häkchen zeichnet sich. */
.success-mark { width: 76px; height: 76px; margin: 0 auto 20px; }
.success-mark svg { width: 100%; height: 100%; overflow: visible; }
.success-mark .sm-ring { fill: none; stroke: var(--teal); transform-box: fill-box; transform-origin: center; }
.success-mark .sm-ring-1 { stroke-width: 1.4; --o: .28; opacity: .28; }
.success-mark .sm-ring-2 { stroke-width: 1.7; --o: .5; opacity: .5; }
.success-mark .sm-disc { fill: var(--teal); transform-box: fill-box; transform-origin: center; }
.success-mark .sm-tick { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.is-celebrating .success-mark .sm-disc { animation: dotIn .55s var(--ease-out) both; }
.is-celebrating .success-mark .sm-ring-2 { animation: rippleOut .8s var(--ease-out) .12s both; }
.is-celebrating .success-mark .sm-ring-1 { animation: rippleOut .8s var(--ease-out) .24s both; }
.is-celebrating .success-mark .sm-tick { animation: tickDraw .38s var(--ease-out) .3s both; }
.is-celebrating .celebrate-in { animation: rise .5s var(--ease-out) both; }
.is-celebrating .celebrate-in.c1 { animation-delay: .18s; } .is-celebrating .celebrate-in.c2 { animation-delay: .26s; }
.is-celebrating .celebrate-in.c3 { animation-delay: .34s; } .is-celebrating .celebrate-in.c4 { animation-delay: .42s; }
/* Kopieren: Symbol wechselt zum Häkchen, solange „Kopiert“ dasteht */
[data-copy] { position: relative; }
[data-copy] .ico-copied { position: absolute; left: 16px; opacity: 0; transform: scale(.6); }
[data-copy] svg { transition: opacity .15s, transform .25s var(--ease-out); }
[data-copy].is-copied .ico-copy { opacity: 0; transform: scale(.6); }
[data-copy].is-copied .ico-copied { opacity: 1; transform: none; }
[data-state-view] { display: none; }

/* ═══ Rechtstexte ═══ */
.legal { padding: calc(var(--nav-h) + 56px) 0 96px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal .page-meta { font-size: .86rem; color: var(--text-3); margin-bottom: 40px; }
.legal h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 12px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal ul, .legal ol { color: var(--text-2); margin-bottom: 14px; font-size: .95rem; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; color: var(--text-2); font-size: .95rem; line-height: 1.9; }
.legal-lang-note { display: none; }
html[data-lang="en"] .legal-lang-note { display: flex; margin-bottom: 28px; }

/* ═══ Footer ═══ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-1); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
.footer-brand-col p { font-size: .86rem; color: var(--text-2); max-width: 300px; margin: 12px 0 14px; }
.footer-brand-col a { font-size: .86rem; }
/* Partner: Materia Medica Pura Project (Logo von mmpp-saine.com) */
.footer-partner { display: flex; align-items: center; gap: 12px; max-width: 300px; margin-top: 20px; color: var(--text-2); text-decoration: none; line-height: 1.45; transition: color .15s; }
.footer-partner img { flex: none; width: 52px; height: auto; }
.footer-partner:hover { color: var(--teal); }
.site-footer h2 { font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { font-size: .88rem; color: var(--text-2); text-decoration: none; transition: color .15s; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--text-3);
}

/* ═══ Produkt-Mockups (illustrativ, aus HTML/CSS) ═══ */
.mock-window {
  background: var(--surface-1); border: 1px solid #DCE3EC; border-radius: 14px;
  box-shadow: var(--shadow-xl); overflow: hidden; text-align: left; font-size: 12px; color: var(--text-1);
}
.mock-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F1F4F8; border-bottom: 1px solid #E2E8F0; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E2E8F0; }
.mock-bar i:nth-child(1) { background: #FF5F57; } .mock-bar i:nth-child(2) { background: #FEBC2E; } .mock-bar i:nth-child(3) { background: #28C840; }
.mock-bar span { margin: 0 auto; font-size: 11.5px; font-weight: 500; color: var(--text-3); transform: translateX(-24px); }
.mock-body { display: grid; grid-template-columns: 178px 1fr; min-height: 380px; }
.mock-main { padding: 18px 20px; min-width: 0; }
.mock-body.solo { grid-template-columns: 1fr; min-height: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mock-head .mh-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.mock-head .mh-sub { font-size: 11px; color: var(--text-3); }
.mock-pill { font-size: 10.5px; font-weight: 600; color: var(--teal); background: var(--teal-bg); padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.mock-pill.blue { color: var(--ic-blue); background: var(--ic-blue-bg); }
.mock-rubric { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #F0F3F7; font-size: 11.5px; min-width: 0; }
.mock-rubric:first-of-type { border-top: 0; }
.mock-rubric .rt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-rubric .rt b { font-weight: 600; color: var(--text-1); }
.mock-rubric .rt span { color: var(--text-2); }
.mock-rubric .rc { font-size: 10.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
/* Live-Transkription: Gesprächszeilen (Sprecher, Text, Zeitmarke) und Stand der Vorschläge */
.mock-say { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid #F0F3F7; font-size: 11.5px; line-height: 1.45; color: var(--text-1); }
.mock-say:first-child { border-top: 0; }
.mock-say .who { font-size: 10.5px; font-weight: 600; color: var(--teal); }
.mock-say.patient .who { color: var(--ic-blue); }
.mock-say .ts { font-size: 10.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mock-sec { margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 600; color: var(--text-2); }
.mock-pill.rec { color: var(--rose); background: var(--rose-bg); }
.mock-pill.rec::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.mock-pill.done { color: var(--text-2); background: var(--surface-2); }

/* Telefon-Mockup (Patienten-App) */
.mock-phone {
  width: 270px; margin: 0 auto; padding: 12px; border-radius: 42px; background: #0C1829;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px #26344a;
}
.mock-phone .screen { border-radius: 32px; background: #F7FAFC; overflow: hidden; min-height: 500px; padding: 40px 16px 18px; position: relative; font-size: 12px; }
.mock-phone .screen::before { content: ''; position: absolute; top: 10px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 12px; background: #0C1829; }
.mock-phone .ph-h { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--text-1); }
.mock-phone .ph-sub { font-size: 11px; color: var(--text-3); margin-bottom: 14px; }
.mock-phone .ph-card { background: #fff; border: 1px solid #E6ECF2; border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.mock-phone .ph-card .q { font-weight: 600; margin-bottom: 8px; color: var(--text-1); }
.mock-phone .scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mock-phone .scale span { height: 26px; border-radius: 7px; background: #EEF2F6; font-size: 10px; display: grid; place-content: center; color: var(--text-3); }
.mock-phone .scale span.on { background: var(--teal); color: #fff; font-weight: 600; }
.mock-phone .scale-labels { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--text-3); margin-top: 5px; }
.mock-phone .ph-btn { height: 40px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 600; display: grid; place-content: center; margin-top: 12px; }
.mock-phone .ph-lock { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 10px; color: var(--text-3); }
.mock-phone .ph-lock svg { width: 11px; height: 11px; }

/* Echte App-Screenshots (Beispieldaten), Bildpfad assets/img/app/ */
.app-shot { margin: 0; }
.app-shot-frame {
  background: var(--surface-1); border: 1px solid #DCE3EC; border-radius: 14px;
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.app-shot img { display: block; width: 100%; height: auto; }
.shot-stack { display: grid; gap: 24px; }
@media (min-width: 901px) {
  .split:has(.app-shot) { grid-template-columns: 1fr 1.3fr; }
  .split.reverse:has(.app-shot) { grid-template-columns: 1.3fr 1fr; }
}

.visual-frame { position: relative; }
.visual-frame::before {
  content: ''; position: absolute; inset: -8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(15,118,110,0.10), transparent 65%);
}
.mock-caption { font-size: .78rem; color: var(--text-3); text-align: center; margin-top: 14px; }

@media (max-width: 760px) {
  .mock-body { grid-template-columns: 1fr; }
}

/* ─── Hover nur für echte Zeiger (kein „sticky hover“ auf Touch) ─── */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--teal-700); box-shadow: 0 4px 16px rgba(13,148,136,0.32); transform: translateY(-1px); }
  /* Sonst überschreibt das Anheben beim Hovern das Eindrücken (gleiche Spezifität, spätere Regel) */
  .btn-primary:hover:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(13,148,136,0.25); }
  .link-back:hover svg { transform: translateX(-2px); }
  .billing-toggle button[aria-pressed="false"]:hover { color: var(--text-1); }
  .btn-primary:hover svg, .link-arrow:hover svg, .feature-card:hover .more svg { transform: translateX(3px); }
  .btn-secondary:hover { border-color: var(--teal-border); color: var(--teal); }
  .btn-ghost:hover { background: var(--teal-bg); }
  .band-dark .btn-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }
  .nav-links a:hover { color: var(--text-1); background: var(--surface-2); }
  .lang-switch button:hover { color: var(--teal); }
  .feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .feature-card:hover .feature-icon { transform: scale(1.08); }
  .feature-card:hover .fi-teal { background: var(--ic-teal); color: #fff; }
  .feature-card:hover .fi-blue { background: var(--ic-blue); color: #fff; }
  .feature-card:hover .fi-pine { background: var(--ic-pine); color: #fff; }
  .feature-card.fc-teal:hover { border-color: var(--ic-teal-bd); }
  .feature-card.fc-blue:hover { border-color: var(--ic-blue-bd); }
  .feature-card.fc-pine:hover { border-color: var(--ic-pine-bd); }
  .benefit:hover .benefit-icon { transform: translateY(-3px); }
  .option:hover { border-color: var(--teal-border); }
  .faq summary:hover { color: var(--teal); }
  .site-footer ul a:hover, .breadcrumbs a:hover { color: var(--teal); }
  .form-reset:hover { color: var(--teal-700); }
}

/* Weniger Transparenz: Leisten werden massiv. Mehr Kontrast: kräftigere Kanten und Grautöne. */
@media (prefers-reduced-transparency: reduce) {
  .site-nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .buy-bar { background: var(--surface-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --border: #B6C2D0; --border-light: #CBD5E1; --field-border: #8E9BAE; --text-3: #475569; }
  .site-nav { background: var(--bg); border-bottom-color: var(--border); }
}

/* i18n: Basis-HTML ist Deutsch; bis Englisch eingesetzt ist, bleibt der Inhalt verborgen */
html.i18n-pending body { visibility: hidden; }

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .band-dark { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-mark { width: 72px; height: 72px; margin-bottom: 22px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ═══ Handy: Text bekommt die Breite ═══
   Weniger Rand außen (16 px) und in den Kacheln; Symbole stehen über dem Text statt
   daneben, damit Fließtext nicht in schmale, lange Spalten gedrückt wird. */
@media (max-width: 560px) {
  .container, .container-md, .container-sm, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .visual-frame::before { inset: -6% 0; }   /* Leuchtschein nicht über den Seitenrand hinaus */

  .feature-card { padding: 20px 18px; }
  .privacy-item { padding: 20px 18px; }
  .plan { padding: 26px 20px 22px; }
  .cta-card { padding: 36px 18px; }
  .faq summary { padding: 15px 16px; }
  .faq .answer { padding: 0 16px 16px; }
  .faq .answer ul { padding-left: 16px; }
  .guarantee { padding: 18px; }
  .summary { padding: 20px 16px; }

  /* Symbol über dem Text */
  .note { flex-direction: column; gap: 10px; padding: 16px; }
  .addon-card { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .addon-price { grid-column: auto; text-align: left; }
  .addon-price .price-row { justify-content: flex-start !important; }
  .platform-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
  .platform-tags { justify-content: flex-start; }
  .steps.vertical .step { padding-left: 44px; }

  /* Paketvergleich: Funktion über die volle Breite, darunter Basis · Praxis · Praxis Plus;
     die Kopfzeile mit den Paketnamen bleibt beim Scrollen oben stehen */
  .compare-wrap:has(.plan-compare) { overflow: visible; }
  .plan-compare { min-width: 0; font-size: .86rem; }
  .plan-compare, .plan-compare thead, .plan-compare tbody { display: block; }
  .plan-compare tr { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border-light); }
  .plan-compare tr:last-child { border-bottom: 0; }
  .plan-compare th, .plan-compare td { border-bottom: 0; width: auto !important; }
  .plan-compare thead { position: sticky; top: var(--nav-h); z-index: 2; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .plan-compare thead th { padding: 11px 6px; font-size: .84rem; }
  .plan-compare thead th:first-child { display: none; }
  .plan-compare tbody th[scope="row"] { grid-column: 1 / -1; padding: 12px 14px 2px; }
  .plan-compare tbody td { padding: 6px 6px 12px; }
  .plan-compare .group th { grid-column: 1 / -1; padding: 10px 14px; }
  .plan-compare td .cell-sub, .plan-compare .opt { white-space: normal; text-wrap: balance; }

  /* Datenflüsse (Sicherheit) als Liste statt Tabelle */
  .flow-table, .flow-table tbody, .flow-table tr, .flow-table th, .flow-table td { display: block; width: auto !important; }
  .flow-table { min-width: 0; }
  .flow-table thead { display: none; }
  .flow-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
  .flow-table tr:last-child { border-bottom: 0; }
  .flow-table th, .flow-table td { padding: 0 !important; border: 0; text-align: left !important; }
  .flow-table td { margin-top: 4px; color: var(--text-2); }
  .flow-table td:nth-child(2) { color: var(--teal); font-weight: 500; }
  .flow-table td:nth-child(2)::before { content: "→ "; }
}
/* Sehr schmale Handys (320 px): lange Wörter in Überschriften trennen, lange Chips umbrechen, Kasse etwas kompakter */
@media (max-width: 360px) {
  .plan-chip { white-space: normal; border-radius: 12px; }
  .legal h1 { font-size: 1.75rem; hyphens: auto; -webkit-hyphens: auto; }
  .progress li { gap: 6px; font-size: .8rem; }
  .progress-line { min-width: 12px; margin: 0 4px 0 2px; }
  .option.addon-option .o-title { flex-wrap: wrap; }
}


/* ═══ Kundenkonto (/konto/, assets/account.js) ═══
   Anmeldung als schmale Karte, danach zwei Spalten: links Abos und Rechnungen,
   rechts Zahlungsmethode, Anschrift und Hilfe. Änderungen öffnen einen Dialog
   (<dialog class="acct-dialog">) mit Stripe-Feldern im Look der Kasse. */
.acct { padding-bottom: 96px; }
.acct-view { margin-top: 32px; }
.acct-loading { text-align: center; color: var(--text-2); padding: 40px 0; }
.acct-login { max-width: 460px; display: grid; gap: 18px; }
.acct-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; min-width: 0; align-content: start;
}
.acct-card h2, .acct-card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.acct-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.acct-text { font-size: .92rem; color: var(--text-2); }
.acct-small { font-size: .8rem; color: var(--text-3); }
.acct-small a { color: var(--teal); }
.acct-sent { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 8px 0; }
.acct-sent .success-icon { margin: 0; }
.acct-sent p { font-size: .9rem; color: var(--text-2); }
.acct-sent b { color: var(--text-1); }
.link-button {
  background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 500;
  color: var(--teal); text-align: left; text-decoration: underline; text-underline-offset: 2px;
}
.acct-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.acct-head h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.acct-head p { font-size: .9rem; color: var(--text-2); }
.acct-notice, .acct-error { margin-bottom: 18px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acct-col { display: grid; gap: 20px; min-width: 0; }
.acct-help p + p { margin-top: 8px; }

.acct-chip {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  font-size: .74rem; font-weight: 600; letter-spacing: 0; padding: 2px 9px; border-radius: 100px; white-space: nowrap;
}
.acct-chip.ok { color: var(--teal); background: var(--teal-bg); }
.acct-chip.ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acct-chip.warn { color: var(--amber); background: var(--amber-bg); }
.acct-chip.bad { color: var(--rose); background: var(--rose-bg); }
.acct-chip.muted { color: var(--text-3); background: var(--surface-2); }

.acct-sub-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 20px; }
.acct-sub-name h3 { font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.acct-incl { font-size: .88rem; color: var(--text-2); margin-top: 2px; }
.acct-price { text-align: right; }
.acct-price b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.acct-price span { font-size: .78rem; color: var(--text-3); }
.acct-term { display: grid; gap: 7px; }
.acct-term-row { font-size: .84rem; color: var(--text-2); }
.acct-term-flex { font-size: .84rem; color: var(--text-2); }
.acct-track { height: 8px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.acct-track i { display: block; height: 100%; background: var(--teal); border-radius: 100px; }
.acct-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; border-top: 1px solid var(--border-light); padding-top: 14px; }
.acct-fact { min-width: 0; }
.acct-fact dt { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.acct-fact dd { font-size: .92rem; font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.acct-fact dd.acct-small { font-weight: 400; color: var(--text-3); }
.acct-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; border-top: 1px solid var(--border-light); padding-top: 14px; }
.acct-label { font-size: .78rem; color: var(--text-3); font-weight: 500; margin-right: 4px; }
.acct-key code {
  font-family: var(--mono); font-size: .92rem; letter-spacing: .04em; color: var(--teal-700);
  background: var(--teal-bg); border: 1px dashed var(--teal-border); border-radius: var(--r-sm); padding: 4px 9px; white-space: nowrap;
}
.btn-xs { height: 30px; padding: 0 8px; font-size: .8rem; border-radius: var(--r-sm); }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-quiet { background: transparent; color: var(--text-2); border-color: var(--field-border); }
.btn-quiet.loading::after { border-color: rgba(15,118,110,.25); border-top-color: var(--teal); }
.acct-turnstile { min-height: 65px; }
.acct-turnstile:empty { min-height: 0; }
.acct-code summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--teal); width: max-content; max-width: 100%; }
.acct-code-form { display: grid; gap: 8px; margin-top: 10px; }
.acct-inline { display: flex; gap: 8px; }
.acct-inline .field { flex: 1; min-width: 0; }

/* Weitere Arbeitsplätze (Abschnitt im Abo, nur mit `workstations`): Stepper für die Menge */
.acct-ws { display: grid; gap: 12px; border-top: 1px solid var(--border-light); padding-top: 14px; min-width: 0; }
.acct-ws h4 { font-size: .95rem; font-weight: 600; letter-spacing: -0.01em; }
.acct-ws h4 + .acct-small { margin-top: -8px; }
.acct-ws-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.acct-ws-label { display: block; font-size: .9rem; font-weight: 600; color: var(--text-1); }
.acct-stepper {
  display: inline-flex; flex-shrink: 0; border: 1px solid var(--field-border); border-radius: var(--r-md);
  background: var(--surface-1); box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
}
.acct-stepper:has(input:focus) { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,0.10); }
.acct-stepper button {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 0; background: transparent; color: var(--teal); cursor: pointer; transition: background .15s;
}
.acct-stepper button:first-child { border-radius: 11px 0 0 11px; }
.acct-stepper button:last-child { border-radius: 0 11px 11px 0; }
.acct-stepper button svg { width: 16px; height: 16px; }
.acct-stepper button[aria-disabled="true"], .acct-stepper button:disabled { color: var(--text-3); opacity: .45; cursor: not-allowed; }
.acct-stepper input {
  width: 52px; min-width: 0; padding: 0; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  border-radius: 0; background: transparent; color: var(--text-1); text-align: center;
  font-family: var(--font); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
.acct-stepper input:focus-visible { outline: none; }
.acct-stepper input::-webkit-outer-spin-button, .acct-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.acct-stepper input:disabled { color: var(--text-2); }
.acct-ws .note { padding: 12px 14px; box-shadow: none; font-size: .86rem; }
.acct-ws .note.amber { background: rgba(217,119,6,0.05); border-color: rgba(217,119,6,0.18); }
.acct-ws .note .note-icon { width: 30px; height: 30px; }
.acct-ws .note .note-icon svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .acct-stepper button:not(:disabled):not([aria-disabled="true"]):hover { background: var(--teal-bg); }
}

.acct-pm { display: flex; align-items: center; gap: 12px; }
.acct-pm-icon {
  width: 44px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px;
  border: 1px solid var(--field-border); background: var(--surface-2);
  font-family: var(--mono); font-size: .62rem; font-weight: 600; color: var(--text-2);
}
.acct-pm b { display: block; font-size: .92rem; }
.acct-pm small { font-size: .8rem; color: var(--text-3); }
.acct-addr { font-size: .92rem; line-height: 1.55; }

.acct-empty { font-size: .9rem; color: var(--text-2); }
.acct-empty.acct-bad { color: var(--rose); }
.inv-list { display: grid; margin: 0 -10px; }
.inv-cols, .inv-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, .9fr) 92px 18px; gap: 12px; align-items: center; padding: 10px; }
.inv-row > .acct-chip { justify-self: start; }
.inv-cols { font-size: .76rem; color: var(--text-3); font-weight: 500; padding-top: 0; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); }
.inv-cols span:nth-child(4) { text-align: right; }
.inv-row {
  width: 100%; text-align: left; font: inherit; font-size: .9rem; color: var(--text-1); cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0;
}
.inv-row:last-child { border-bottom: 0; }
.inv-row:hover { background: var(--surface-2); }
.inv-row[aria-busy="true"] { opacity: .55; cursor: progress; }
.inv-row svg { width: 16px; height: 16px; color: var(--text-3); }
.inv-nr { font-family: var(--mono); font-size: .84rem; }
.inv-per { color: var(--text-2); }
.inv-amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-date { font-variant-numeric: tabular-nums; }

/* Dialog: Karte über abgedunkelter Seite, auf dem Handy als Blatt von unten */
.acct-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; margin: auto;
  border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-1); color: var(--text-1);
  box-shadow: var(--shadow-xl); overflow: auto; overscroll-behavior: contain;
}
.acct-dialog::backdrop { background: rgba(12, 24, 41, 0.42); }
.acct-dialog[open] { animation: acct-dlg-in .24s var(--ease-out); }
@keyframes acct-dlg-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.acct-dlg { display: grid; gap: 16px; padding: 22px 24px 24px; }
.acct-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acct-dlg-head h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.acct-dlg-x {
  width: 32px; height: 32px; margin: -4px -6px 0 0; flex-shrink: 0; display: grid; place-items: center;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-3); cursor: pointer;
}
.acct-dlg-x:hover { background: var(--surface-2); color: var(--text-1); }
.acct-dlg-x svg { width: 18px; height: 18px; }
.acct-dlg-body { display: grid; gap: 14px; min-width: 0; }
.acct-dlg-body textarea.field { height: auto; min-height: 84px; padding-top: 10px; resize: vertical; }
.acct-dlg-body select.field { appearance: auto; }
.acct-dlg .form-error { margin: 0; }
.acct-dlg-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.acct-dlg-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.acct-stripe { min-height: 120px; }
.acct-stripe > .spinner { margin: 40px auto; }
.acct-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.acct-choice .option-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.acct-choice .acct-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acct-summary { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); padding: 14px 16px; display: grid; gap: 10px; }
.acct-summary > .spinner { margin: 6px auto; }
.acct-sum { display: grid; gap: 6px; }
.acct-sum div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.acct-sum dt { color: var(--text-2); }
.acct-sum dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .acct-card { padding: 20px 16px; }
  .acct-price { text-align: left; }
  .acct-facts { grid-template-columns: minmax(0, 1fr); }
  .inv-cols { display: none; }
  .inv-row { grid-template-columns: minmax(0, 1fr) auto 16px; grid-template-areas: "nr amt icon" "per st icon"; gap: 3px 12px; padding: 12px 10px; }
  .inv-row .inv-nr { grid-area: nr; }
  .inv-row .inv-date { display: none; }
  .inv-row .inv-per { grid-area: per; font-size: .82rem; color: var(--text-3); }
  .inv-row .inv-amt { grid-area: amt; }
  .inv-row .acct-chip { grid-area: st; justify-self: end; }
  .inv-row svg { grid-area: icon; }
  .acct-inline { flex-direction: column; }
  /* Untereinander: das Feld nicht auf seine Grundbreite schrumpfen lassen (flex: 1 hieße hier Höhe 0) */
  .acct-inline .field { flex: none; }
  .acct-dialog {
    width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0; border-bottom: 0;
  }
  .acct-dlg { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .acct-dlg-actions .btn { flex: 1; }
}

/* ═══ Rückkehr vom Zahlungsanbieter (/payment-provider-onboarding, views/ZahlungAbschluss.astro) ═══
   Eigenständige Seite ohne Navigation und Footer: Deutsch, darunter Englisch. */
.return-page { min-height: 100vh; padding-bottom: 64px; }
.return-page .mark { margin: 0 auto 26px; }
.return-en { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.return-en-h { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.return-legal { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .82rem; }
.return-legal a { color: var(--text-3); text-decoration: none; }
.return-legal a:hover { color: var(--text-1); text-decoration: underline; }
