/* SEPAeasy – Homepage. Keine externen Dienste: die Schrift liegt lokal (SIL Open Font License, siehe fonts/OFL.txt). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1F2440;
  --ink-soft: #3D4363;
  --muted: #5F6478;
  --line: #E9E5E3;
  --paper: #F7F5F4;
  --white: #FFFFFF;
  --coral: #E95951;
  --coral-strong: #C4413A;          /* Buttons und Links: Kontrast zu Weiß ≥ 4,5 */
  --coral-hover: #A9352F;
  --coral-soft: #FDEDEB;
  --night: #161A2E;
  --night-text: #B9BDD3;
  --ok: #17784A;
  --ok-soft: #E3F4EA;
  --practice: #2E6E8E;              /* Beispiel-Praxisfarbe in den Abbildungen */
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(31, 36, 64, .06), 0 2px 8px rgba(31, 36, 64, .05);
  --shadow: 0 2px 4px rgba(31, 36, 64, .04), 0 14px 34px rgba(31, 36, 64, .11);
  --shadow-lg: 0 40px 70px -24px rgba(31, 36, 64, .45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--coral-strong); text-underline-offset: 3px; }
a:hover { color: var(--coral-hover); }
:focus-visible { outline: 3px solid rgba(196, 65, 58, .45); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.i { width: 24px; height: 24px; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { left: 16px; }

/* ------------------------------------------------------------ Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(233, 229, 227, .9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--font); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--coral-strong); color: var(--white); box-shadow: 0 10px 22px -10px rgba(196, 65, 58, .7); }
.btn-primary:hover { background: var(--coral-hover); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { color: var(--ink); border-color: #D3CCC8; transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--coral-strong); }
.btn-light:hover { background: #FFF4F2; color: var(--coral-hover); transform: translateY(-1px); }
.btn-small { height: 42px; padding: 0 18px; font-size: 15px; }

/* ------------------------------------------------------------ Hero */
.hero {
  position: relative; overflow: hidden; padding: 76px 0 104px;
  background:
    radial-gradient(820px 520px at 88% -8%, #FDE1DD 0%, rgba(253, 225, 221, 0) 62%),
    radial-gradient(760px 520px at -12% 112%, #ECEFF8 0%, rgba(236, 239, 248, 0) 62%),
    var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.flag-at { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#C8102E 33.3%, #FFFFFF 33.3% 66.6%, #C8102E 66.6%); box-shadow: 0 0 0 1px rgba(31, 36, 64, .12); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin: 24px 0; }
.nb { white-space: nowrap; }
.hero h1 .accent { color: var(--coral); display: block; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--ink-soft); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .i { width: 18px; height: 18px; color: var(--ok); }

/* Abbildung: Handy mit Mandatsformular + schwebende Karten */
.hero-visual { position: relative; height: 616px; }
.phone {
  position: absolute; left: 50%; top: 34px; width: 286px; height: 576px; margin-left: -143px; padding: 11px;
  border-radius: 46px; background: #12152B; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A2F4E;
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: var(--paper);
  padding: 50px 18px 18px; display: flex; flex-direction: column; gap: 10px;
}
.notch { position: absolute; top: 12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #12152B; }
.practice { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.practice-logo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--practice); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.screen-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.screen-sub { font-size: 12px; color: var(--muted); margin-top: -8px; }
.s-field { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px 8px; }
.s-field span, .s-sign span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.s-field b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-sign { background: var(--white); border: 1.5px dashed #D2CBC7; border-radius: 12px; padding: 7px 12px 4px; }
.s-sign svg { width: 100%; height: 62px; color: var(--ink); }
.s-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); }
.s-box { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 5px; background: var(--practice); color: var(--white); display: grid; place-items: center; }
.s-box .i { width: 12px; height: 12px; }
.s-btn { margin-top: auto; height: 46px; border-radius: 12px; background: var(--practice); color: var(--white); display: grid; place-items: center; font-size: 14px; font-weight: 700; }

.float {
  position: absolute; z-index: 2; background: var(--white); border: 1px solid rgba(233, 229, 227, .8);
  border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px;
}
.float b { display: block; font-size: 14px; line-height: 1.3; }
.float small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.float-ok { left: -16px; top: 0; display: flex; align-items: center; gap: 12px; animation: floaty 6s ease-in-out infinite; }
.ok-badge { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.ok-badge .i { width: 20px; height: 20px; }
.float-batch { right: -16px; bottom: 92px; width: 226px; animation: floaty 7s ease-in-out -2s infinite; }
.batch-date { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 2px 0 10px; }
.batch-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.batch-row strong { color: var(--ink); }
.bar { height: 6px; border-radius: 6px; background: #F1EDEB; margin: 10px 0; overflow: hidden; }
.bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #F47A6F, #D9443D); }
.ready { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.ready .i { width: 15px; height: 15px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------ Abschnitte */
section { scroll-margin-top: 76px; }
.section { padding: 104px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-strong); }
.section-head h2, .split h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-icon { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-strong); }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.feature p { font-size: 16px; color: var(--ink-soft); }

/* Demo: Schritte links, Bildschirm rechts */
.demo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px; align-items: start; }
.demo-steps { position: sticky; top: 96px; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demo-step {
  width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid transparent; border-radius: 18px;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.demo-step:hover { background: rgba(255, 255, 255, .65); }
.demo-step[aria-current="step"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.demo-step[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.step-no { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #DDD7D3; color: var(--ink); font-size: 15px; font-weight: 800; transition: background-color .15s, color .15s; }
.demo-step.is-done .step-no { background: var(--ok); color: var(--white); }
.demo-step[aria-current="step"] .step-no { background: var(--coral-strong); color: var(--white); }
.demo-step-text { min-width: 0; }
.demo-step-text b { display: block; font-size: 17px; line-height: 1.3; }
.demo-step-text small { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.demo-stage {
  scroll-margin-top: 88px; min-height: 640px; display: flex; flex-direction: column; gap: 16px; padding: 20px;
  border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, #EFEAE7 0%, #E8EAF2 100%);
}
.stage-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.who { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--practice); }
.who.is-patient::before { background: var(--coral); }
.demo-tag { font-size: 12px; font-weight: 600; color: var(--muted); }
.panel { flex: 1; display: flex; flex-direction: column; justify-content: center; animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.window { overflow: hidden; background: var(--white); border: 1px solid rgba(233, 229, 227, .9); border-radius: 16px; box-shadow: var(--shadow); }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F6F3F1; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2DCD8; }
.window-body { display: grid; gap: 16px; padding: 22px; }
.win-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.win-h { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.kv { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.kv div:first-child { border-top: 0; }
.kv dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.kv dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.win-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-soft); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-next { background: var(--coral-soft); color: var(--coral-strong); }
.link-btn { padding: 0; border: 0; background: none; color: var(--coral-strong); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.qr-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 16px; border-radius: 14px; background: var(--paper); animation: panel-in .3s ease both; }
.qr { width: 120px; height: 120px; border-radius: 8px; }
.qr-text { flex: 1 1 180px; min-width: 0; display: grid; gap: 6px; }
.qr-text small { font-size: 14px; color: var(--ink-soft); }
.qr-text .btn { justify-self: start; margin-top: 6px; }

.demo-phone { width: min(100%, 320px); margin-inline: auto; padding: 10px; border-radius: 40px; background: #12152B; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A2F4E; }
.dp-screen { display: grid; gap: 10px; padding: 22px 16px 16px; border-radius: 31px; background: var(--paper); }
.dp-via { margin-top: -6px; font-size: 12px; color: var(--muted); }
.dp-field { display: grid; gap: 3px; padding: 7px 12px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.dp-field:focus-within { border-color: var(--practice); box-shadow: 0 0 0 3px rgba(46, 110, 142, .16); }
.dp-field span { font-size: 11px; font-weight: 600; color: var(--muted); }
.dp-field input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 600 16px/1.35 var(--font); }
.dp-msg { min-height: 1.3em; margin-top: -4px; font-size: 12px; font-weight: 600; }
.dp-msg.ok { color: var(--ok); }
.dp-msg.bad { color: #B42318; }
.dp-sign { padding: 7px 10px 4px; background: var(--white); border: 1.5px dashed #D2CBC7; border-radius: 12px; }
.dp-sign-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.dp-links { display: flex; gap: 12px; }
.dp-links button { padding: 0; border: 0; background: none; color: var(--practice); font: 700 12px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
#demo-sign { display: block; width: 100%; height: 110px; color: var(--ink); touch-action: none; cursor: crosshair; }
.dp-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.dp-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--practice); }
.dp-submit { height: 48px; border: 0; border-radius: 12px; background: var(--practice); color: var(--white); font: 700 15px var(--font); cursor: pointer; transition: opacity .15s; }
.dp-submit:disabled { opacity: .45; cursor: not-allowed; }
.dp-missing { min-height: 1.3em; font-size: 12px; text-align: center; color: var(--muted); }

.sig-box { display: grid; place-items: center; padding: 8px; background: #FCFBFA; border: 1px solid var(--line); border-radius: 12px; }
.sig-box img { width: 100%; max-width: 330px; height: auto; aspect-ratio: 3 / 1; }
.pdf-chip { display: flex; align-items: center; gap: 12px; }
.pdf-chip b { display: block; font-size: 14px; }
.pdf-chip small { display: block; font-size: 12px; color: var(--muted); }
.reject-note { padding: 12px 14px; border-radius: 12px; background: #FBE9EC; color: #8F1D2C; font-size: 14px; font-weight: 600; }

.plan { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 150px; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.plan li:first-child { border-top: 0; }
.plan .no { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.plan .when b { display: block; font-weight: 600; }
.plan .when small { display: block; font-size: 11.5px; color: var(--muted); }
.plan .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .pill { justify-self: end; }
.batch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--coral-soft); }
.batch small { display: block; font-size: 12px; font-weight: 700; color: var(--coral-strong); }
.batch b { display: block; font-size: 17px; }
.batch span { display: block; font-size: 13px; color: var(--ink-soft); }
.file-ok { display: grid; gap: 12px; animation: panel-in .3s ease both; }
.ok-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.ok-line .i { width: 20px; height: 20px; color: var(--ok); }
.ok-line b { color: var(--ink); overflow-wrap: anywhere; }
.xml { max-height: 220px; margin: 0; padding: 14px 16px; overflow: auto; border-radius: 12px; background: var(--night); color: #D7DAEA; font: 12.5px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.xml .t { color: #F58A82; }
.xml .v { color: var(--white); }
.xml .c { color: #8B90AE; }
.done { font-size: 14px; font-weight: 600; }

/* Ihr Auftritt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .copy p { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.checks .i { width: 22px; height: 22px; margin-top: 2px; color: var(--coral-strong); }
.mail-stage { position: relative; max-width: 480px; margin-inline: auto; padding: 8px 0 40px; }
.mail { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mail-top { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mail-top .practice-logo { width: 40px; height: 40px; font-size: 13px; }
.mail-top b { display: block; font-size: 15px; }
.mail-top small { display: block; font-size: 13px; color: var(--muted); }
.mail-body { padding: 22px; }
.mail-subject { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.mail-body p { font-size: 15px; color: var(--ink-soft); }
.mail-btn { display: inline-grid; place-items: center; height: 44px; padding: 0 20px; margin-top: 18px; border-radius: 10px; background: var(--practice); color: var(--white); font-size: 14px; font-weight: 700; }
.pdf-card { position: absolute; right: -18px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.pdf-icon { width: 40px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-strong); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.pdf-card b { display: block; font-size: 14px; }
.pdf-card small { display: block; font-size: 12px; color: var(--muted); }

/* Sicherheit & Datenschutz */
.secure { position: relative; overflow: hidden; background: var(--night); color: var(--night-text); }
.secure::before { content: ""; position: absolute; width: 720px; height: 720px; left: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 89, 81, .22), rgba(233, 89, 81, 0)); pointer-events: none; }
.secure .wrap { position: relative; }
.secure .kicker { color: #F58A82; }
.secure h2 { color: var(--white); }
.secure .section-head p { color: var(--night-text); }
.secure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.secure-item { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.secure-item .f-icon { flex: none; margin: 0; background: rgba(245, 138, 130, .13); color: #F58A82; }
.secure-item h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.secure-item p { font-size: 15.5px; }

/* Häufige Fragen */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: -5px 4px 0 0; border-right: 2px solid var(--coral-strong); border-bottom: 2px solid var(--coral-strong); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); }

/* Kontakt */
.cta { padding: 0 0 104px; background: var(--paper); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 68px 48px; text-align: center; color: var(--white);
  background: linear-gradient(135deg, #C9453E 0%, #A9352F 100%);
}
.cta-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.cta-box p { max-width: 34em; margin: 14px auto 30px; font-size: 18px; color: rgba(255, 255, 255, .94); }
.cta-kicker { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.cta-box p a { color: var(--white); }

/* Warteliste */
.waitlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 540px; margin: 0 auto; }
.waitlist input[type="email"] {
  flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink); font: 500 16px var(--font);
}
.waitlist input[type="email"]::placeholder { color: #8A8FA3; }
.waitlist input[type="email"]:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 2px; }
.waitlist .btn { flex: 0 0 auto; }
.waitlist .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-box .waitlist-msg { max-width: 36em; margin: 16px auto 0; font-size: 16px; font-weight: 600; color: var(--white); }
.cta-box .waitlist-msg:empty { display: none; }
.cta-box .waitlist-msg.ok { padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.cta-box .waitlist-note { max-width: 40em; margin: 18px auto 0; font-size: 14px; color: rgba(255, 255, 255, .86); }
.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; }

/* Seiten der Warteliste nach dem Klick aus der Mail (bestätigt, gelöscht …) */
.status-page { background: var(--paper); }
.status-main { padding: 72px 0 104px; }
.status-card {
  max-width: 560px; margin: 0 auto; padding: 44px 36px; display: grid; justify-items: center; gap: 14px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.status-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.status-badge.info { background: #E6EFFB; color: #1D5EA8; }
.status-badge.error { background: #FBE9EC; color: #9F1D2B; }
.status-badge .i { width: 26px; height: 26px; }
.status-card h1 { font-size: clamp(24px, 4vw, 30px); font-weight: 800; }
.status-card p { max-width: 32em; color: var(--ink-soft); }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ------------------------------------------------------------ Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer-brand img { height: 30px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------ Rechtliches */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 10px; }
.legal .intro { font-size: 18px; color: var(--ink-soft); }
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; margin: 10px 0 0; }
.legal address { font-style: normal; }
.legal .stand { margin-top: 36px; }
.todo { padding: 1px 6px; border-radius: 6px; background: #FFF1C2; color: #6B4E00; font-weight: 600; }

/* ------------------------------------------------------------ Kleinere Bildschirme */
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero { padding: 48px 0 80px; }
  .hero h1 { font-size: min(72px, calc((100vw - 32px) / 7.8)); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { width: 100%; max-width: 480px; margin-inline: auto; }
  .split .mail-stage { order: 2; }
  .demo { grid-template-columns: 1fr; gap: 16px; }
  .demo-steps { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .demo-step { align-items: center; gap: 10px; padding: 10px 12px; }
  .demo-step-text b { font-size: 14.5px; }
  .demo-step-text small { display: none; }
  .demo-stage { min-height: 0; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .secure-grid { grid-template-columns: 1fr; }
  .cta { padding-bottom: 76px; }
  .cta-box { padding: 52px 24px; border-radius: 22px; }
  .waitlist .btn { flex: 1 1 100%; }
  .status-card { padding: 36px 22px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .features { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { height: 680px; }
  .screen-title { font-size: 15px; white-space: nowrap; }
  .s-field b { font-size: 13px; white-space: nowrap; }
  .phone { top: 30px; width: 252px; height: 510px; margin-left: -126px; border-radius: 42px; }
  .screen { border-radius: 32px; padding: 46px 14px 14px; gap: 8px; }
  .float-ok { left: -6px; top: 0; padding: 12px 14px; }
  .float-batch { right: -6px; bottom: 0; width: 228px; padding: 12px 14px; }
  .pdf-card { right: 0; }
  .mail-stage { padding-bottom: 58px; }
  .secure-item { flex-direction: column; gap: 14px; }
  .demo-stage { padding: 12px; border-radius: 20px; }
  .window-body { padding: 16px; }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .plan li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .plan .when { grid-column: 1; grid-row: 2; }
  .plan .amt { grid-column: 2; grid-row: 2; justify-self: end; }
  .qr-box .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
