/* Honorando – öffentliche Startseite im Apple-Design wie die App (ios.css/mac.css): Systemschrift, hellgrauer Hintergrund,
   weiße Karten mit leichtem Schatten, Petrol als einzige Hauptfarbe. Inter liegt auf dem eigenen Server (für Windows/Android). */
@font-face { font-family: "Honorando Sans"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Honorando Sans"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Honorando Sans"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Honorando Sans"; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #f2f2f7;
  --ground-2: #e3e3e8;
  --fill: rgba(118, 118, 128, .12);
  --surface: #ffffff;
  --line: rgba(60, 60, 67, .14);
  --ink: #1d1d1f;
  --ink-2: #3c3c43;
  --stage: #0f766e;
  --stage-2: #0b5f58;
  --stage-3: #08443f;
  --stage-soft: #dcefeb;
  --coral: #e8664a;
  --coral-2: #d4553a;
  --coral-soft: #fde6df;
  --ok: #12703a; --ok-soft: #e3f4e8;
  --warn: #9a4708; --warn-soft: #fcefd9;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Honorando Sans", Inter, Roboto, system-ui, sans-serif;
  --serif: var(--sans);   /* Überschriften: dieselbe Schrift, fett (wie in der App) */

  --t-display: clamp(40px, 5vw, 70px);
  --t-head: clamp(30px, 3.4vw, 48px);
  --t-lead: clamp(18px, 1.5vw, 21px);
  --t-body: 17px;
  --t-small: 14.5px;

  --margin: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --radius: 22px;
  --gap: clamp(88px, 10vw, 140px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow: -8px 10px 20px -8px rgba(30, 45, 60, .22), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 2px 6px rgba(8, 40, 36, .1), 0 40px 80px -30px rgba(8, 40, 36, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body.site { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--stage); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .15s var(--ease-out), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
/* Hauptknopf Petrol, Nebenknopf grau mit Petrol-Schrift – wie in der App */
.btn-main { background: var(--stage); color: #fff; }
.btn-main:hover { background: var(--stage-2); }
.btn-soft { background: var(--fill); color: var(--stage); }
.btn-soft:hover { background: rgba(118, 118, 128, .2); }

.tick { flex: none; }
.tick circle { fill: var(--stage); }
.tick path { stroke: #fff; }

/* ---------------------------------------------------------------- Kopfzeile */
.site-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--margin); background: rgba(249, 249, 249, .78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  transition: box-shadow .25s; }
.site-nav.is-stuck { box-shadow: 0 1px 0 var(--line); }
.wordmark { flex: none; }
.wordmark img { width: 156px; height: auto; }
.site-nav nav { display: flex; gap: 26px; margin: 0 auto; font-size: 15px; font-weight: 500; }
.site-nav nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.site-nav nav a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-nav nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ground-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); background: var(--ink); }

/* ---------------------------------------------------------------- Abschnitte allgemein */
main > section { margin-top: var(--gap); }
.sec-head { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin: 0 auto 48px; text-align: center; }
.sec-head h2, .sec-copy h2, .cta h2 { font: 700 var(--t-head)/1.08 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.sec-head p { margin: 14px auto 0; max-width: 52ch; color: var(--ink-2); font-size: var(--t-lead); text-wrap: pretty; }

/* ---------------------------------------------------------------- Erster Bildschirm */
.hero { position: relative; margin: 8px var(--margin) 0; border-radius: 32px; overflow: hidden; color: var(--ink);
  background: var(--surface); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); min-height: min(760px, calc(100svh - 90px)); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font: 700 var(--t-display)/1.02 var(--serif); letter-spacing: -.035em; text-wrap: balance; max-width: 15ch; }
.hero .lead { margin-top: 24px; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 15px; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .tick circle { fill: var(--stage-soft); }
.hero-facts .tick path { stroke: var(--stage); }

.devices { position: relative; z-index: 1; height: 520px; }
.laptop { position: absolute; right: 4%; top: 40px; width: 92%; }
.laptop-screen { background: #10201d; border-radius: 14px 14px 0 0; padding: 10px 10px 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.laptop-screen img { width: 100%; border-radius: 6px 6px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.laptop-base { height: 14px; margin: 0 -5%; background: linear-gradient(#d9dedd, #a9b3b1); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: rgba(0, 0, 0, .14); border-radius: 0 0 8px 8px; }
.phone { position: absolute; left: 0; bottom: 0; width: 30%; max-width: 210px; border-radius: 30px; padding: 7px; background: #10201d; box-shadow: var(--shadow-lg); }
.phone video, .phone img { width: 100%; border-radius: 24px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.3; white-space: nowrap; }
.float-card strong { display: block; font-weight: 600; }
.float-card small { color: var(--ink-2); font-size: 12.5px; }
.fc-dot { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.fc-dot::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.2px 2.2px; transform: translateY(-1px) rotate(-45deg); }
.fc-dot.ok { background: var(--ok); }
.fc-dot.coral { background: var(--coral); }
.fc-dot.petrol { background: var(--stage); }
.fc-1 { right: 0; top: 0; }
.fc-2 { left: 24%; top: 46%; }
.fc-3 { right: 6%; bottom: 8px; }

/* ---------------------------------------------------------------- Vorteile */
.perks { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin: 40px auto 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s var(--ease-out), box-shadow .3s; }
.perk:hover { transform: translateY(-4px); }
.perk strong { font-size: 17px; margin-top: 10px; }
.perk span:last-child { color: var(--ink-2); font-size: 15px; }
/* Farbige Symbol-Kacheln wie im Menü der App */
.perk-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #0a84ff; color: #fff;
  box-shadow: 0 3px 6px -2px rgba(0, 0, 0, .28); }
.perk:nth-child(2) .perk-ic { background: #34c759; }
.perk:nth-child(3) .perk-ic { background: #ff9f0a; }
.perk:nth-child(4) .perk-ic { background: #5e5ce6; }

/* ---------------------------------------------------------------- Vorführ-Video */
.player { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.player-stage { position: relative; border-radius: 28px; padding: clamp(18px, 3vw, 36px); background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; min-height: 360px; }
.screen-frame { width: 100%; border-radius: 14px; padding: 8px; background: #10201d; box-shadow: var(--shadow-lg); transition: width .45s var(--ease-out), border-radius .45s; }
.screen-frame video { width: 100%; border-radius: 8px; background: #fff; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.screen-frame.is-phone { width: min(44%, 260px); border-radius: 30px; padding: 7px; }
.screen-frame.is-phone video { border-radius: 24px; aspect-ratio: 390 / 844; }
.chapters { display: flex; flex-direction: column; gap: 10px; counter-reset: ch; }
.chapter { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-align: left;
  padding: 16px 18px 20px; border: 0; border-radius: 18px; background: transparent; cursor: pointer; overflow: hidden; transition: background-color .25s, box-shadow .25s; }
.chapter:hover { background: var(--surface); }
.chapter.is-on { background: var(--surface); box-shadow: var(--shadow); }
.chapter strong { display: block; font-size: 17px; }
.chapter small { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.ch-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--ground-2); color: var(--ink-2); transition: background-color .25s, color .25s; }
.chapter.is-on .ch-num { background: var(--stage); color: #fff; }
.ch-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--ground-2); opacity: 0; transition: opacity .25s; }
.chapter.is-on .ch-bar { opacity: 1; }
.ch-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--stage); }

/* ---------------------------------------------------------------- Funktionen mit Reitern */
.tablist { position: relative; display: flex; width: max-content; max-width: calc(100% - 2 * var(--margin)); margin: 0 auto 36px; padding: 6px; gap: 4px; border-radius: 999px; background: var(--ground-2); }
.tablist [role="tab"] { position: relative; z-index: 1; border: 0; background: transparent; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); cursor: pointer; transition: color .25s; }
.tablist [role="tab"][aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.panels { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin: 0 auto; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.feat-list .tick { margin-top: 1px; }
.panel-media.laptop { position: relative; right: auto; top: auto; width: 100%; }
.panel-media.phone { position: relative; width: min(56%, 250px); max-width: none; margin: 0 auto; }

/* ---------------------------------------------------------------- Ausprobieren */
.tryout { margin-left: var(--margin); margin-right: var(--margin); border-radius: 32px; padding: clamp(56px, 7vw, 96px) var(--margin);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.try-grid { width: min(980px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ui { background: var(--ground); color: var(--ink); border-radius: 22px; padding: 22px; }
.ui-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ui-title { font-weight: 700; font-size: 18px; }
.ui-sub { font-size: 14px; color: var(--ink-2); }
.ui-badge { flex: none; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--ground-2); color: var(--ink-2); transition: background-color .25s, color .25s; }
.ui-badge-warn { background: var(--warn-soft); color: var(--warn); }
.ui-badge-ok { background: var(--ok-soft); color: var(--ok); }
.ui-list { display: flex; flex-direction: column; gap: 6px; }
.ui-item { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.ui-item:hover { border-color: var(--stage); }
.ui-item strong { display: block; font-size: 15px; }
.ui-item small { display: block; font-size: 13px; color: var(--ink-2); }
.ui-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(60, 60, 67, .29); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.ui-item.is-done { background: var(--ok-soft); border-color: transparent; }
.ui-item.is-done .ui-dot { background: var(--ok); border-color: var(--ok); }
.ui-item.is-done .ui-dot::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.ui-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ui-btn { min-height: 46px; border: 0; border-radius: 999px; background: var(--stage); color: #fff; font-weight: 600; cursor: pointer; transition: background-color .2s, opacity .2s; }
.ui-btn:disabled { background: var(--fill); color: #8e8e93; cursor: not-allowed; }
.ui-note { font-size: 14px; color: var(--ink-2); }
.ui-note.is-ok { color: var(--ok); font-weight: 600; }
.sign-canvas { display: block; width: 100%; height: 220px; border-radius: 14px; background: #fff; border: 1.5px dashed rgba(60, 60, 67, .29); touch-action: none; cursor: crosshair; transition: border-color .25s; }
.sign-card.is-signed .sign-canvas { border: 1.5px solid var(--ok); }
.sign-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 8px; font-size: 13px; color: var(--ink-2); }
.sign-clear { border: 0; background: var(--fill); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; }

/* ---------------------------------------------------------------- Sicherheit */
.security { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin-left: auto !important; margin-right: auto !important;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sec-copy > p { margin: 16px 0 28px; color: var(--ink-2); font-size: var(--t-lead); max-width: 46ch; }
.sec-copy .btn { margin-top: 32px; }
.sec-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; transform: rotate(1.2deg); }

/* ---------------------------------------------------------------- Preisrechner */
.calc { width: min(980px, calc(100% - 2 * var(--margin))); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.calc-input { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.calc-input label { font-weight: 600; color: var(--ink-2); }
.calc-count { font: 700 clamp(64px, 8vw, 96px)/1 var(--serif); letter-spacing: -.03em; color: var(--stage); }
.calc-input input[type="range"] { --p: 9%; width: 100%; margin: 18px 0 6px; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.calc-input input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--stage) var(--p), var(--ground-2) var(--p)); }
.calc-input input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--ground-2); }
.calc-input input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--stage); }
.calc-input input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--stage); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.calc-input input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--stage); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.calc-slider + .calc-slider, .pkg-switch + .calc-slider { margin-top: 22px; }
.calc-label { font-weight: 600; color: var(--ink-2); }
.pkg-switch { display: flex; gap: 4px; padding: 5px; margin-top: 8px; border-radius: 999px; background: var(--ground-2); }
.pkg-switch button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.pkg-switch button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; margin: 0 auto 22px !important; align-items: stretch; }
.plan-pkg { position: relative; cursor: pointer; padding: 24px 22px 22px; gap: 4px; font: inherit; color: inherit; }
.plan-pkg:hover { box-shadow: inset 0 0 0 2px var(--stage); }
.plan-badge { position: absolute; top: -11px; right: 18px; padding: 4px 12px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan-pkg .plan-name { font-size: 22px; font-family: var(--serif); font-weight: 700; }
.plan-tag { font-size: 14.5px; color: var(--ink-2); min-height: 2.6em; }
.plan-pkg .plan-price { font-size: 30px; margin: 8px 0 12px; }
.plan-feats { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.plan-feats > span { display: flex; gap: 8px; align-items: flex-start; }
.plan-feats .tick { width: 18px; height: 18px; margin-top: 1px; }
.plan-prev { font-weight: 600; color: var(--ink-2); }
.calc-slider .calc-count { display: block; font-size: clamp(44px, 5vw, 60px); }
.calc-slider input[type="range"] { margin: 8px 0 0; }
.calc-meter { position: relative; margin-top: 26px; padding-top: 14px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.calc-meter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: var(--ground-2); }
.calc-meter-fill { position: absolute; left: 0; top: 0; height: 6px; width: var(--m, 0%); min-width: 6px; border-radius: 6px; background: var(--stage); transition: width .3s var(--ease-out); }
.calc-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.calc-result { background: var(--stage); color: #fff; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.calc-plan { font-weight: 600; color: rgba(255, 255, 255, .8); }
.calc-price { font: 700 clamp(48px, 6vw, 72px)/1.05 var(--serif); letter-spacing: -.03em; }
.calc-price small { font: 500 17px/1 var(--sans); letter-spacing: 0; color: rgba(255, 255, 255, .75); }
.calc-per { color: rgba(255, 255, 255, .8); font-size: 15px; min-height: 1.5em; }
.calc-incl { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 26px; font-size: 15px; }
.calc-incl li { display: flex; align-items: center; gap: 10px; }
.calc-incl .tick circle { fill: rgba(255, 255, 255, .2); }
.calc-result .btn { align-self: flex-start; }
.calc-result .btn-main { background: #fff; color: var(--stage-2); }
.calc-result .btn-main:hover { background: var(--stage-soft); }
.plans { width: min(980px, calc(100% - 2 * var(--margin))); margin: 18px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plan { display: flex; flex-direction: column; text-align: left; border: 0; border-radius: 18px; padding: 16px 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, transform .3s var(--ease-out), background-color .25s; }
.plan.is-on { box-shadow: inset 0 0 0 2px var(--stage); background: #fff; transform: translateY(-3px); }
.plan-name { font-weight: 700; }
.plan-price { font: 700 26px/1.2 var(--serif); margin-top: 4px; }
.plan-price small { display: block; margin-top: 2px; font: 500 14px/1.3 var(--sans); color: var(--ink-2); }
.plan-teachers { font-size: 14px; color: var(--ink-2); }

/* ---------------------------------------------------------------- Fragen */
/* Fragen als eine Liste wie in den iPhone-Einstellungen */
.faq-list { width: min(820px, calc(100% - 2 * var(--margin))); margin: 0 auto; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item + .faq-item { border-top: .5px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 24px 22px; color: var(--ink-2); max-width: 64ch; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: transparent; transition: background-color .25s, transform .35s var(--ease-out); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--stage); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--fill); transform: rotate(45deg); }

/* ---------------------------------------------------------------- Schluss: kostenlos testen */
.signup { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin-left: auto !important; margin-right: auto !important;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); }
.signup-page { margin-top: 32px !important; margin-bottom: 80px; }
.signup-narrow { grid-template-columns: minmax(0, 520px); justify-content: center; background: none; box-shadow: none; padding-top: 0; }
.signup-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--stage-soft); color: var(--stage-2); font-weight: 700; font-size: 14px; }
.signup h1, .signup h2 { font: 700 var(--t-head)/1.08 var(--serif); letter-spacing: -.03em; margin-top: 18px; text-wrap: balance; }
.signup-lead { margin-top: 16px; color: var(--ink-2); font-size: var(--t-lead); max-width: 44ch; }
.signup-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.signup-steps li { display: flex; gap: 14px; align-items: flex-start; }
.signup-steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--stage); color: #fff; font-weight: 700; }
.signup-steps strong { display: block; }
.signup-steps small { display: block; color: var(--ink-2); font-size: 15px; }
.signup-alt { margin-top: 28px; font-size: 15px; color: var(--ink-2); }

.finale { margin: var(--gap) var(--margin) 0; border-radius: 32px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.finale h2 { font: 700 var(--t-head)/1.06 var(--serif); letter-spacing: -.03em; margin-top: 16px; }
.finale-lead { margin-top: 14px; font-size: var(--t-lead); color: var(--ink-2); max-width: 40ch; }
.finale-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.finale-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--ground); }
.finale-steps li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--stage); color: #fff; font-weight: 700; }
.finale-steps strong { display: block; }
.finale-steps small { display: block; color: var(--ink-2); font-size: 15px; }

.su-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.su-dialog::backdrop { background: rgba(16, 32, 29, .55); backdrop-filter: blur(3px); }
.su-dialog[open] { animation: su-pop .35s var(--ease-out); }
@keyframes su-pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.su-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 0; }
.su-dialog-head h2 { font: 700 30px/1.1 var(--serif); margin-top: 10px; }
.su-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ground-2); font-size: 24px; line-height: 1; cursor: pointer; }
.su-dialog .su-card { box-shadow: none; border-radius: 0 0 28px 28px; }
.su-card { background: var(--surface); border-radius: 26px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.su-title { font: 700 32px/1.1 var(--serif); }
.su-steps { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; }
.su-steps span { white-space: nowrap; }
.su-steps span { padding: 5px 12px; border-radius: 999px; background: var(--ground-2); color: var(--ink-2); }
.su-steps .is-on { background: var(--stage); color: #fff; }
.su-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.su-field { display: flex; flex-direction: column; gap: 6px; }
.su-field label { font-weight: 600; font-size: 15px; }
.su-field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.su-field input:focus { outline: none; border-color: var(--stage); box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.su-field.has-error input { border-color: #c2410c; }
.su-pass-wrap { position: relative; }
.su-pass-wrap input { padding-right: 96px; }
.su-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--ground-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.su-hint, .su-small { font-size: 13.5px; color: var(--ink-2); }
.su-error { font-size: 13.5px; color: #b42318; font-weight: 600; }
.su-alert { padding: 12px 14px; border-radius: 12px; background: #fde8e4; color: #8a2a12; font-weight: 600; font-size: 15px; }
.su-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.su-checks { display: flex; flex-direction: column; gap: 10px; }
.su-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.su-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--stage); }
.su-check a { color: var(--stage-2); font-weight: 600; }
.su-check.has-error span { color: #8a2a12; }
.su-submit { width: 100%; min-height: 56px; font-size: 17px; margin-top: 4px; }
.su-login { text-align: center; font-size: 15px; }
.su-login a, .su-small a { color: var(--stage-2); font-weight: 600; }
.draft-note { padding: 14px 16px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); margin-bottom: 24px; }

/* ---------------------------------------------------------------- Plattform-Verwaltung */
.platform { width: min(var(--wrap), calc(100% - 2 * var(--margin))); margin: 40px auto 80px !important; }
.platform-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.platform-head h1 { font: 700 var(--t-head)/1.1 var(--serif); }
.platform-flash { padding: 12px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); margin-bottom: 16px; font-weight: 600; }
.platform-list { display: flex; flex-direction: column; gap: 16px; }
.platform-card { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.platform-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.platform-card h2 { font-size: 20px; }
.platform-card header p { color: var(--ink-2); font-size: 15px; }
.platform-card dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 24px; margin: 16px 0; }
.platform-card dt { font-size: 13px; color: var(--ink-2); }
.platform-card dd { margin: 0; font-weight: 600; font-size: 15px; word-break: break-all; }
.pf-badge { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.pf-aktiv { background: var(--ok-soft); color: var(--ok); }
.pf-gesperrt, .pf-over { background: #fde8e4; color: #8a2a12; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-actions form { margin: 0; }
.pf-package { display: flex; gap: 6px; align-items: center; }
.pf-package select { min-height: 42px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 12px; font: inherit; background: #fff; }
.btn-quiet { background: var(--ground-2); color: var(--ink); }
.btn-quiet:hover { background: #d8d8de; }
.pf-danger { color: #8a2a12; }

/* ---------------------------------------------------------------- Fußbereich */
.site-footer { margin: 12px var(--margin) var(--margin); border-radius: 32px; background: var(--ground-2); color: var(--ink-2); padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px) 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand img { width: 160px; height: auto; }
.foot-brand p { margin-top: 10px; max-width: 34ch; }
.foot-brand .foot-about { margin-top: 18px; max-width: 42ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-title { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.foot-copy { margin-top: 40px; padding-top: 20px; border-top: .5px solid rgba(60, 60, 67, .2); font-size: 13.5px; }

/* ---------------------------------------------------------------- Impressum, Datenschutz */
.text-page { width: min(720px, calc(100% - 2 * var(--margin))); margin: 80px auto 140px; }
.text-page h1 { font: 700 var(--t-head)/1.05 var(--serif); letter-spacing: -.03em; margin-bottom: 32px; }
.text-page h2 { font: 700 22px/1.2 var(--serif); margin: 40px 0 12px; }
.text-page p, .text-page li { max-width: 62ch; }
.text-page p + p { margin-top: 12px; }
.text-page ul { list-style: disc; padding-left: 1.2em; }

/* ---------------------------------------------------------------- Kleinere Bildschirme */
@media (max-width: 1020px) {
  .site-nav nav { display: none; position: absolute; top: 100%; left: var(--margin); right: var(--margin); flex-direction: column; gap: 0;
    padding: 8px; margin: 4px 0 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); font-size: 17px; }
  .site-nav nav.is-open { display: flex; }
  .site-nav nav a { padding: 14px 16px; border-radius: 12px; color: var(--ink); }
  .site-nav nav a:hover { background: var(--ground); }
  .nav-toggle { display: inline-flex; }
  .nav-end { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .devices { height: clamp(320px, 62vw, 520px); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player { grid-template-columns: 1fr; }
  .chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel, .security, .signup, .finale { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 720px) {
  :root { --t-body: 16px; }
  .site-nav { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .wordmark img { width: 128px; }
  .nav-end { gap: 12px; }
  .hero { margin-left: 8px; margin-right: 8px; border-radius: 26px; padding-left: 22px; padding-right: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .devices { height: 360px; margin: 0 -8px; }
  .laptop { width: 96%; right: 0; top: 56px; }
  .phone { width: 36%; }
  .float-card { padding: 9px 12px 9px 10px; font-size: 13px; }
  .float-card small { font-size: 11.5px; }
  .fc-dot { width: 24px; height: 24px; }
  .fc-2 { display: none; }
  .fc-3 { right: 0; bottom: 0; }
  .perks { grid-template-columns: 1fr; }
  .perk { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .perk strong { margin-top: 0; }
  .perk span:last-child { flex-basis: 100%; }
  .chapters { grid-template-columns: 1fr; }
  .player-stage { min-height: 0; }
  .screen-frame.is-phone { width: min(58%, 230px); }
  .tablist { width: 100%; }
  .tablist [role="tab"] { flex: 1; padding: 11px 6px; font-size: 14.5px; }
  .tryout, .site-footer { margin-left: 8px; margin-right: 8px; border-radius: 26px; }
  .signup { width: calc(100% - 16px); padding: 26px 14px; border-radius: 26px; }
  .finale { margin-left: 8px; margin-right: 8px; border-radius: 26px; }
  .finale .hero-actions .btn { width: 100%; }
  .su-dialog-head { padding: 18px 16px 0; }
  .signup-narrow { padding: 0; }
  .su-row { grid-template-columns: 1fr; }
  .tryout { padding-left: 14px; padding-right: 14px; }
  .try-grid { grid-template-columns: minmax(0, 1fr); }
  .ui { padding: 18px; }
  .calc { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-3 { grid-template-columns: minmax(0, 1fr) !important; }
  .faq-item summary { padding: 18px; font-size: 16px; }
  .faq-item p { padding: 0 18px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
}
@media (max-width: 420px) {
  .nav-end .btn-sm { display: none; }
}
@media (max-width: 380px) {
  .nav-login { font-size: 13px; }
  .btn-sm { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
