:root {
  --ink: #191c1f;
  --mute: #5c5e60;
  --faint: #8d969e;
  --line: #e2e2e7;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --soft-2: #ecebe6;
  --night: #0b0c0d;
  --lime: #f2ff00;
  --lime-hover: #e6f200;
  /* Abgeleitete Akzentwerte für Text auf der Akzentfarbe und auf Schwarz */
  --on-lime: #191c1f;        /* Text auf Akzentfläche */
  --on-lime-mute: #3a3f00;   /* Nebentext auf Akzentfläche */
  --lime-tint: #fbffd6;      /* sehr helle Akzentfläche */
  --lime-on-dark: #f2ff00;   /* Akzent als Schrift auf Schwarz */
  --danger: #c62828;
  --radius: 20px;
  --max: 1160px;
  --display: 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Typografie: kräftig, aber nicht zu fett, mit Luft zwischen den Wörtern */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; word-spacing: 0.04em; margin: 0; }
h1 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(26px, min(3.3vw, 6.5vh), 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.3; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; font-weight: 500; }
.mark { background: var(--lime); color: var(--on-lime); padding: 0 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--mute); max-width: 58ch; margin: 20px 0 0; }

/* Logo */
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
/* "fritze": Schrift bleibt gerade, nur der gelbe Marker dahinter ist schräg.
   Winkel hier anpassen. */
.logo { --tilt: -5deg; }
.logo span { position: relative; isolation: isolate; color: var(--on-lime); padding: 1px 5px; margin-left: 1px; }
.logo span::before { content: ''; position: absolute; inset: 0; background: var(--lime); transform: rotate(var(--tilt)); z-index: -1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 28px; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #33373b; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--lime-on-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.btn-ink .arrow { background: var(--lime); color: var(--on-lime); }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15px; }
.nav ul a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-color: var(--ink); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
.menu-toggle { display: none; background: var(--soft-2); border: 0; border-radius: 10px; width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

/* Hero (Startseite) */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero .hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.7) 100%); }
.hero .inner { position: relative; z-index: 1; padding: clamp(56px, 11vh, 120px) 24px; max-width: 1000px; }
.hero h1 { font-size: clamp(30px, min(4.8vw, 8.5vh), 72px); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; word-spacing: 0.06em; }
.hero h1 .mark { white-space: nowrap; }
.hero p { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255,255,255,.88); max-width: 46ch; margin: clamp(16px, 2.4vh, 26px) auto clamp(22px, 3.4vh, 36px); }
.hero .btn { font-size: 18px; padding: 18px 32px; }
.hero .note { font-size: 14px; color: rgba(255,255,255,.72); margin-top: 18px; }
.sticker { position: absolute; z-index: 2; right: max(24px, calc(50% - 560px)); bottom: clamp(24px, 5vh, 56px); width: clamp(96px, 8.5vw, 128px); height: clamp(96px, 8.5vw, 128px); border-radius: 50%; background: var(--lime); color: var(--on-lime); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-10deg); font-family: var(--display); line-height: 1; text-align: center; }
.sticker small { font-size: 13px; font-weight: 600; }
.sticker b { font-size: clamp(21px, 2vw, 29px); font-weight: 700; letter-spacing: -0.02em; margin: 4px 0; }

/* Seitenkopf (Unterseiten) */
.page-head { background: var(--soft); padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }

/* Zahlenleiste */
.stats { background: var(--night); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.stat b em { font-style: normal; color: var(--lime-on-dark); }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 30ch; }

section.block { padding: clamp(64px, 8vw, 112px) 0; }
section.block.tight { padding: 72px 0; }
.bg-soft { background: var(--soft); }

/* Schritte */
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--soft); border-radius: var(--radius); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.bg-soft .step { background: var(--paper); }
.step .num { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--mute); }
.step p { margin: 0; color: var(--mute); font-size: 16px; }
.step.hot { background: var(--lime); color: var(--on-lime); }
.step.hot p, .step.hot .num { color: var(--on-lime-mute); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.bg-soft .card { background: var(--paper); }
.card p { margin: 0; color: var(--mute); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--lime); color: var(--on-lime); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.card ul { margin: 0; padding-left: 20px; color: var(--mute); }

/* Checkliste */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 1px; }

/* Rechner (Startseite) */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); border-radius: 28px; overflow: hidden; margin-top: clamp(32px, 4vw, 56px); }
.calc .form { padding: clamp(24px, 3.2vw, 48px); display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 36px); }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 12px; }
.field .help { font-size: 14px; color: var(--mute); margin: 10px 0 0; }
.seg { display: inline-flex; background: var(--soft-2); border-radius: 14px; padding: 5px; gap: 4px; flex-wrap: wrap; }
.seg button { font: inherit; font-weight: 600; font-size: 15px; border: 0; background: transparent; color: var(--ink); padding: 11px 20px; border-radius: 10px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.money { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 18px; max-width: 300px; background: var(--paper); }
.money:focus-within { border-color: var(--ink); }
.money input { font: inherit; font-family: var(--display); font-weight: 600; font-size: 26px; border: 0; outline: 0; width: 100%; padding: 12px 0; background: transparent; color: var(--ink); }
.money span { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--mute); }
input[type=range] { width: 100%; margin-top: 18px; accent-color: var(--ink); }
.result { background: var(--night); color: #fff; padding: clamp(24px, 3.2vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.result .label { color: rgba(255,255,255,.65); font-size: 15px; margin: 0 0 6px; }
.result .amount { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 5.6vw, 88px); letter-spacing: -0.03em; line-height: 1; color: var(--lime-on-dark); }
.result .amount.no { font-size: clamp(34px, 4vw, 46px); line-height: 1.1; color: #fff; font-weight: 600; }
.result .why { color: rgba(255,255,255,.78); margin: 16px 0 0; font-size: 16px; }
.result ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.82); }
.result li::before { content: '✓'; color: var(--lime-on-dark); font-weight: 700; margin-right: 10px; }
.result .fine { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
details.more { margin-top: 28px; font-size: 15px; color: var(--mute); }
details.more summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.ftable { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; background: var(--paper); border-radius: 14px; overflow: hidden; }
.ftable th, .ftable td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ftable th { font-weight: 600; background: var(--soft-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--on-lime); }
.faq .answer { padding: 0 60px 24px 0; color: var(--mute); }
.faq .answer p { margin: 0 0 12px; }
.faq .answer ul { margin: 0 0 12px; padding-left: 20px; }
.source { font-size: 14px; color: var(--mute); margin-top: 28px; }

/* Formulare */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.input label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.input input, .input textarea, .input select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: 0; }
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--ink); }
.input textarea { min-height: 140px; resize: vertical; }
.input .err, .consent .err { display: none; color: var(--danger); font-size: 14px; margin-top: 6px; }
.input.invalid input, .input.invalid textarea { border-color: var(--danger); }
.input.invalid .err, .consent.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mute); flex-wrap: wrap; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent label { flex: 1; min-width: 0; }
.consent .err { width: 100%; }

/* Rechtstexte */
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: #33373b; }
.legal .todo { background: var(--lime); color: var(--on-lime); padding: 0 4px; }
.legal .hint { background: var(--soft); border-radius: 14px; padding: 18px 20px; font-size: 15px; color: var(--mute); }

/* CTA-Band und Footer */
.cta-band { background: var(--lime); color: var(--on-lime); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { max-width: 16ch; }
footer.site { background: var(--night); color: rgba(255,255,255,.72); font-size: 15px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
footer.site .logo { color: #fff; }
footer.site nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .small { width: 100%; font-size: 13px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }

.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; }
/* Fritze sitzt rechts neben dem Button auf der Kante der Kopfzeile, Beine baumeln über die Seite */
.nav { position: relative; padding-right: 104px; }
.fritze-sitzt { position: absolute; right: 0; top: 6px; width: 94px; aspect-ratio: 433 / 520; pointer-events: none; z-index: 2; }
.fritze-sitzt img { position: absolute; inset: 0; width: 100%; height: auto; }
/* Dasselbe Bild dreimal: Körper ohne Beine, dann jedes Bein einzeln senkrecht nach unten geklappt,
   damit er wirklich auf der Kante sitzt und die Beine runterbaumeln */
.fritze-sitzt .koerper { clip-path: polygon(0 0, 100% 0, 100% 61%, 70% 61%, 62% 56.5%, 46% 56.5%, 40% 61%, 0 61%); }
.fritze-sitzt .bein-l { clip-path: polygon(43% 55%, 54% 55%, 56% 62%, 52% 70%, 44% 99%, 26% 99%, 28% 88%, 38% 66%, 42% 60%); transform: rotate(-16deg); transform-origin: 48% 57.5%; }
.fritze-sitzt .bein-r { clip-path: polygon(57% 55%, 66% 55%, 70% 61%, 77% 66%, 89% 76%, 89% 87%, 80% 88%, 70% 79%, 60% 68%, 57% 62%); transform: rotate(27deg); transform-origin: 61% 57.5%; }
@media (max-width: 760px) { .nav { padding-right: 0; } .fritze-sitzt { display: none; } }
/* Kontakt: dunkles Panel "Frag den Fritze" mit Möwe, die über die Kante guckt */
.fritze-hilft { background: #1a1e21; color: #fff; border-radius: 28px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; overflow: hidden; }
.fritze-hilft .fh-text { padding: clamp(28px, 4vw, 56px); align-self: center; }
.fritze-hilft .eyebrow { color: rgba(255,255,255,.6); }
.fritze-hilft h1 { color: #fff; }
.fritze-hilft p { color: rgba(255,255,255,.8); max-width: 46ch; margin: 18px 0 28px; font-size: clamp(16px, 1.4vw, 18px); }
.unterstrich { position: relative; white-space: nowrap; }
.unterstrich::after { content: ''; position: absolute; left: 0; right: 0.3em; bottom: -0.12em; height: 0.13em; background: var(--lime); border-radius: 99px; transform: rotate(-1.2deg); }
.fh-btn { background: transparent; color: #fff; border: 2px solid #fff; }
.fh-btn:hover { background: rgba(255,255,255,.1); }
.fritze-hilft img { width: 100%; max-width: 210px; height: auto; justify-self: end; margin-right: clamp(0px, 3vw, 40px); display: block; }
.page-head:has(.fritze-hilft) { background: transparent; padding-bottom: 0; }
@media (max-width: 760px) { .fritze-hilft { grid-template-columns: 1fr; } .fritze-hilft img { max-width: 180px; justify-self: center; margin: 0; } }
.result .wahl2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.result .wahl2 .btn { justify-content: center; }

/* Kleine Laptop-Bildschirme (wenig Höhe, z. B. 14 Zoll mit Skalierung) */
@media (min-width: 961px) and (max-height: 820px) {
  section.block { padding: 64px 0; }
  .split-head { margin-bottom: 32px; }
  .calc { margin-top: 28px; }
  .calc .form { gap: 20px; }
  .seg button { padding: 9px 16px; font-size: 14px; }
  .money input { font-size: 22px; padding: 9px 0; }
  .result { gap: 20px; }
  .result .amount { font-size: clamp(44px, 8vh, 72px); }
  .stats .wrap { padding-top: 40px; padding-bottom: 40px; }
  .nav { height: 64px; }
  .fritze-sitzt { top: -2px; }
}

@media (max-width: 960px) {
  .nav ul { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open ul { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); padding: 16px 24px 24px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav.open ul a { display: block; padding: 10px 0; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .split-head, .faq-grid, .calc { grid-template-columns: 1fr; }
  .faq-grid { gap: 24px; }
  .stats .wrap { grid-template-columns: 1fr; gap: 28px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section.block { padding: 72px 0; }
  .page-head { padding: 56px 0 48px; }
  .steps, .cards, .form-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .calc .form, .result { padding: 28px 22px; }
  .sticker { width: 96px; height: 96px; bottom: 24px; right: 16px; }
  .sticker b { font-size: 21px; }
  .nav .btn { display: none; }
  .logo { font-size: 21px; }
  .faq .answer { padding-right: 0; }
}
