/* ==========================================================================
   Jähn & Bieg – Landingpage Abfindung
   Design-System „Ordnung in Zahlen“: Papier, Tinte, Navy.
   Typografie: Trajan Pro 3 (Display) / D-DIN (Text) / Spline Sans Mono (Zahlen)
   ========================================================================== */

@font-face { font-family: 'Trajan Pro 3'; font-weight: 400; font-display: swap; src: url('../fonts/trajan-pro-3.woff2') format('woff2'); }
@font-face { font-family: 'D-DIN'; font-weight: 400; font-display: swap; src: url('../fonts/d-din.woff2') format('woff2'); }
@font-face { font-family: 'D-DIN'; font-weight: 700; font-display: swap; src: url('../fonts/d-din-bold.woff2') format('woff2'); }
@font-face { font-family: 'Spline Sans Mono'; font-weight: 500; font-display: swap; src: url('../fonts/spline-sans-mono-500.woff2') format('woff2'); }

:root {
  --paper: #F7F6F2;
  --paper-deep: #EFEDE6;
  --white: #FFFFFF;
  --ink: #1A2238;
  --ink-soft: #3D4359;
  --navy: #293D67;
  --navy-deep: #16223F;
  --navy-soft: #3A5387;
  --stone: #6E7280;
  --line: #DCDAD1;
  --line-ink: rgba(26, 34, 56, 0.28);
  --accent: #B8892B;          /* Siegel-Gold: nur für den einen Handlungsimpuls */
  --accent-deep: #9A7020;
  --ok: #2E6B4F;
  --warn: #9B3B2E;
  --grad-navy: linear-gradient(150deg, #16223F 0%, #293D67 58%, #3A5387 100%);

  --font-display: 'Trajan Pro 3', 'Trajan Pro', Georgia, serif;
  --font-body: 'D-DIN', 'Futura', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Spline Sans Mono', 'SF Mono', Menlo, monospace;

  --r: 8px;
  --r-pill: 999px;
  --shadow: 0 14px 40px -18px rgba(26, 34, 56, 0.28);
  --container: 1180px;
  --gutter: 1.25rem;
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }
button { font: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.65rem, 3.8vw, 2.45rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h3, h4 { font-family: var(--font-body); font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0 0 0.5em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--navy { background: var(--grad-navy); color: var(--paper); }
.section--navy h2, .section--navy h3 { color: var(--paper); }
.section--navy p { color: rgba(247, 246, 242, 0.85); }

.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; flex: none; }
.section--navy .eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, 0.85); }

.lead { font-size: 1.15rem; line-height: 1.62; color: var(--ink-soft); max-width: 60ch; }
.measure { max-width: 66ch; }
.sec-head { max-width: 72ch; margin-bottom: 2.5rem; }
.sec-head .lead { margin-top: 0.25rem; }

/* Summenstrich: Doppellinie = Ergebnis */
.sumline { border: 0; border-top: 1px solid var(--line-ink); border-bottom: 3px double var(--line-ink); height: 6px; margin: 0 0 1.5rem; background: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; border-radius: var(--r-pill);
  border: 1px solid var(--navy);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.btn:hover { filter: brightness(1.2); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(154, 112, 32, 0.7);
}
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-ink); }
.btn--ghost:hover { background: transparent; color: var(--navy); border-color: var(--navy); filter: none; }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--navy-deep); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); filter: none; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; align-items: center; }
.btn-row__note { font-size: 0.9rem; color: var(--stone); }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.site-header__logo img { height: 40px; width: auto; }
.site-header__right { display: flex; align-items: center; gap: 1.25rem; }
.site-header__phone { display: none; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; color: var(--ink); white-space: nowrap; }
.site-header__phone svg { width: 18px; height: 18px; color: var(--navy); }
.site-header__phone small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--stone); line-height: 1.1; }
.site-header__phone:hover { color: var(--navy); }
.site-header .btn { padding: 0.65rem 1.2rem; font-size: 0.92rem; }
@media (min-width: 760px) { .site-header__phone { display: flex; } }
@media (max-width: 480px) { .site-header__logo img { height: 32px; } .site-header .btn { padding: 0.6rem 0.95rem; font-size: 0.85rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--paper);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.hero__bg { position: absolute; inset: 0; background: url('../img/kanzlei-besprechung.webp') center / cover no-repeat; opacity: 0.35; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(102deg, rgba(16, 25, 47, 0.96) 0%, rgba(22, 34, 63, 0.9) 45%, rgba(41, 61, 103, 0.72) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; } }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { color: rgba(247, 246, 242, 0.88); }
.hero__facts { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.hero__facts li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; color: rgba(247, 246, 242, 0.82); }
.hero__facts strong { color: #fff; }
.hero__facts svg { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; color: #D8C48A; }
.hero__cta-mobile { display: block; }
@media (min-width: 960px) { .hero__cta-mobile { display: none; } }
.hero__phone-line { margin-top: 1.4rem; font-size: 0.95rem; color: rgba(247, 246, 242, 0.75); }
.hero__phone-line a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* Beweis im Hero: zwei Balken, ein Ergebnis */
.proof { margin-top: 1.6rem; padding: 1rem 1.15rem 0.9rem; background: rgba(16, 25, 47, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: calc(var(--r) * 1.5); font-variant-numeric: lining-nums tabular-nums; max-width: 560px; }
.proof__head { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(247, 246, 242, 0.65); margin: 0 0 0.7rem; }
.proof__row { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.9rem; align-items: center; padding: 0.35rem 0; font-size: 0.92rem; color: rgba(247, 246, 242, 0.85); }
.proof__row i { grid-column: 1 / -1; display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); position: relative; overflow: hidden; }
.proof__row i::after { content: ''; position: absolute; inset: 0; width: var(--w, 50%); background: rgba(247, 246, 242, 0.55); border-radius: 4px; }
.proof__row b { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; color: #fff; }
.proof__row--best i::after { background: #D8C48A; }
.proof__row--best b { color: #D8C48A; font-size: 1.2rem; }
.proof__delta { margin: 0.6rem 0 0; font-weight: 700; color: #fff; font-size: 0.95rem; }
.proof__delta a { color: #D8C48A; font-weight: 400; text-decoration: none; border-bottom: 1px solid rgba(216, 196, 138, 0.5); margin-left: 0.4rem; }

/* Google-Bewertung */
.rating { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.rating--small { margin-top: -0.4rem; }
.rating__stars { display: inline-flex; flex: none; }
.rating__stars .stars { width: 96px; height: 18px; fill: #E0A526; }
.trust__item--rating { text-decoration: none; color: var(--ink-soft); }
.trust__item--rating:hover strong { text-decoration: underline; }
.trust__item--rating .stars { width: 88px; height: 16px; }

/* Stimmen */
.quotes { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.quote { margin: 0; border-top: 1px solid var(--line-ink); padding-top: 1.1rem; }
.quote blockquote { margin: 0 0 0.6rem; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.quote figcaption { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--stone); }
.quotes__all { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.5rem; font-size: 0.95rem; color: var(--ink-soft); }
.quotes__all .stars { width: 96px; height: 18px; fill: #E0A526; }

/* Glyphen im Hintergrund: §, €, % – ruhig, kein Scroll-Effekt */
.glyph-field { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glyph-field span { position: absolute; font-family: var(--font-mono); color: #D6DEED; opacity: 0.07; font-size: var(--fs, 2rem); left: var(--x); top: var(--y); line-height: 1; }

/* ---------- Form card ---------- */
.form-card {
  background: var(--paper); color: var(--ink);
  border-radius: calc(var(--r) * 2);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  position: relative;
}
.form-card::before {
  content: ''; display: block;
  border-top: 1px solid var(--line-ink); border-bottom: 3px double var(--line-ink);
  height: 6px; margin-bottom: 1.1rem;
}
.form-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 0.3rem; }
.form-card__sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.form { display: grid; gap: 0.95rem; }
.form__row { display: grid; gap: 0.95rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.field .optional { font-weight: 400; color: var(--stone); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 0.95rem;
  font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 61, 103, 0.16); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--warn); }
.field textarea { min-height: 110px; resize: vertical; }
.field__error { display: none; font-size: 0.82rem; color: var(--warn); margin-top: 0.3rem; }
.field.has-error .field__error { display: block; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--navy); flex: none; }
.consent.has-error { color: var(--warn); }
.form__note { font-size: 0.82rem; color: var(--stone); display: flex; gap: 0.45rem; align-items: center; }
.form__note svg { width: 14px; height: 14px; flex: none; }
.form__status { font-size: 0.95rem; font-weight: 700; color: var(--warn); }
.form__status:empty { display: none; }
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; padding-block: 1.4rem; align-items: center; }
@media (min-width: 820px) { .trust__inner { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; line-height: 1.35; color: var(--ink-soft); }
.trust__item img { height: 44px; width: auto; flex: none; }
.trust__item svg { width: 36px; height: 36px; flex: none; color: var(--navy); }
.trust__item strong { display: block; color: var(--ink); }

/* ---------- Problem: Beispiel-Beleg ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.ledger {
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5);
  padding: 1.6rem; box-shadow: var(--shadow);
  font-variant-numeric: lining-nums tabular-nums;
}
.ledger__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.ledger__head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.ledger__head span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--stone); }
.ledger__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.ledger__row span:last-child { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.ledger__row--neg span:last-child { color: var(--warn); }
.ledger__row--pos span:last-child { color: var(--ok); }
.ledger__row--sum { border-bottom: 0; border-top: 1px solid var(--line-ink); box-shadow: 0 -4px 0 -3px var(--line-ink); margin-top: 2px; padding-top: 0.8rem; font-weight: 700; }
.ledger__row--sum span:last-child { font-size: 1.15rem; color: var(--ink); }
.ledger__hint { font-size: 0.82rem; color: var(--stone); margin-top: 0.9rem; }
.ledger__compare { margin-top: 1.1rem; border-top: 1px solid var(--line); }
.ledger__compare .ledger__row { font-weight: 700; }
.ledger__compare .ledger__row--pos span:last-child { font-size: 1.15rem; }

/* Kennzahl „Anteil Finanzamt“ (Problem-Sektion) */
.impact { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); font-variant-numeric: lining-nums tabular-nums; }
.impact__kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin: 0 0 0.9rem; }
.impact__value { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; color: var(--navy); margin: 0; }
.impact__label { font-weight: 700; font-size: 1.05rem; margin: 0.3rem 0 0; }
.impact .share { margin-top: 1.2rem; }
.impact__note { margin: 1.1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.impact__note b { color: var(--ok); font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.impact__hint { font-size: 0.78rem; color: var(--stone); margin: 0.8rem 0 0; }

/* Trenner-Band „Bevor Sie unterschreiben“ (volle Breite, Navy, zentriert) */
.band { background: var(--grad-navy); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, 0.08); }
.band::before { content: ''; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(216, 196, 138, 0.16) 0%, rgba(216, 196, 138, 0) 65%); pointer-events: none; }
.band__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 0.2rem; max-width: 760px; }
.band .eyebrow { color: rgba(255, 255, 255, 0.85); justify-content: center; margin-bottom: 0.9rem; }
.band h2 { color: #fff; margin-bottom: 0.5em; max-width: 30ch; }
.band p { color: rgba(247, 246, 242, 0.85); max-width: 58ch; margin: 0; }
.band output { font-family: var(--font-mono); color: #D8C48A; }
.band .btn-row { margin-top: 1.8rem; justify-content: center; }
.band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* Balken Anteil Finanzamt */
.share { margin-top: 1.4rem; }
.share__bar { display: flex; height: 18px; border-radius: 4px; overflow: hidden; background: var(--paper-deep); }
.share__bar i { display: block; height: 100%; }
.share__bar .is-tax { background: var(--navy); }
.share__bar .is-net { background: #D8C48A; }
.share__legend { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--stone); margin-top: 0.4rem; font-family: var(--font-mono); }

/* ---------- Rechner ---------- */
.calc { display: grid; gap: 2rem; }
@media (min-width: 960px) { .calc { grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; } }
.calc__inputs { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.calc__inputs h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.2rem; }
.money { position: relative; display: block; }
.money input { padding-right: 2.6rem; font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; }
.money::after { content: '€'; position: absolute; right: 0.95rem; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); color: var(--stone); pointer-events: none; }
.field__help { font-size: 0.82rem; color: var(--stone); margin-top: 0.3rem; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.segmented label { position: relative; display: block; text-align: center; padding: 0.75rem 0.5rem; font-size: 0.95rem; cursor: pointer; background: #fff; color: var(--ink-soft); transition: background 0.15s ease, color 0.15s ease; }
.segmented label + label { border-left: 1px solid var(--line); }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented input:checked + span { color: var(--navy); font-weight: 700; }
.segmented label:has(input:checked) { background: rgba(41, 61, 103, 0.08); }
.segmented input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: -4px; border-radius: 4px; }
.calc__partner { display: none; }
.calc__partner.is-visible { display: block; }
.calc__disclaimer { font-size: 0.8rem; color: var(--stone); line-height: 1.5; }

.calc__result { position: relative; }
.result {
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow);
  font-variant-numeric: lining-nums tabular-nums;
}
.result__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.result__head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.result__head span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--stone); }
.result__row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.result__row b { display: block; font-weight: 700; font-size: 1rem; }
.result__row small { display: block; font-size: 0.84rem; color: var(--stone); line-height: 1.4; }
.result__row output { font-family: var(--font-mono); font-weight: 500; font-size: 1.25rem; white-space: nowrap; color: var(--ink); }
.result__row--muted output { color: var(--stone); font-size: 1.1rem; }
.result__row--saving { background: rgba(46, 107, 79, 0.06); margin: 0.5rem -0.75rem 0; padding: 0.9rem 0.75rem; border-radius: var(--r); border-bottom: 0; }
.result__row--saving output { color: var(--ok); font-size: 1.5rem; }
.result__row--saving .pct { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ok); }
.result__net { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-ink); box-shadow: inset 0 3px 0 -2px var(--line-ink); }
.result__net span:first-child { font-weight: 700; }
.result__net output { font-family: var(--font-mono); font-weight: 500; font-size: 1.6rem; }
.result__empty { color: var(--stone); font-size: 0.95rem; padding: 1rem 0; }
.result__empty + * { display: none; }
.result.has-data .result__empty { display: none; }
.result.has-data .result__empty + * { display: block; }
.result__fine { font-size: 0.78rem; color: var(--stone); margin-top: 1rem; line-height: 1.5; }

/* Der Impuls nach dem Ergebnis */
.result-cta {
  margin-top: 1.25rem;
  background: var(--grad-navy); color: var(--paper);
  border-radius: calc(var(--r) * 1.5);
  padding: clamp(1.3rem, 3vw, 1.8rem);
}
.result-cta h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: 0.4rem; }
.result-cta p { color: rgba(247, 246, 242, 0.85); font-size: 0.98rem; }
.result-cta .btn-row { margin-top: 1.1rem; }
.result-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.result-cta .btn--ghost:hover { border-color: #fff; }
.result-cta output { font-family: var(--font-mono); color: #D8C48A; }

/* ---------- Strategien ---------- */
.grid { display: grid; gap: 1.75rem; }
@media (min-width: 680px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.strategy { border-top: 1px solid var(--line-ink); padding-top: 1.3rem; }
.strategy__num { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--navy); display: block; margin-bottom: 0.6rem; }
.strategy h3 { font-size: 1.15rem; }
.strategy p { font-size: 0.97rem; color: var(--ink-soft); }
.strategy__flag { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.7rem; font-size: 0.85rem; color: var(--navy); font-weight: 700; }
.strategy__flag svg { width: 15px; height: 15px; }
.notice {
  margin-top: 2.5rem; padding: 1.2rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r); font-size: 0.98rem;
}
.notice strong { color: var(--ink); }

/* ---------- Zeitstrahl ---------- */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.2rem; position: relative; border-left: 1px solid rgba(247, 246, 242, 0.35); padding-left: 1.5rem; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.5rem - 5px); top: 0.45em; width: 9px; height: 9px; background: var(--paper); transform: rotate(45deg); }
.timeline li.is-key::before { background: #D8C48A; width: 12px; height: 12px; left: calc(-1.5rem - 6.5px); top: 0.35em; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 0.2em; color: #fff; }
.timeline p { font-size: 0.95rem; margin: 0; color: rgba(247, 246, 242, 0.8); }
.timeline li.is-key h3 { color: #D8C48A; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; border-left: 0; padding-left: 0; padding-top: 1.5rem; }
  .timeline::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(247, 246, 242, 0.35); }
  .timeline li::before { left: 0; top: calc(-1.5rem - 4.5px); }
  .timeline li.is-key::before { top: calc(-1.5rem - 6px); left: 0; }
}

/* ---------- Lead-Magnet ---------- */
.magnet { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .magnet { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.magnet__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.magnet__list li { position: relative; padding-left: 1.6rem; font-size: 0.98rem; color: var(--ink-soft); }
.magnet__list li::before { content: '+'; position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 500; color: var(--navy); }
.magnet__form { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.magnet__form h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.pdf-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--stone); margin-bottom: 0.9rem; }
.pdf-badge svg { width: 16px; height: 16px; color: var(--navy); }

/* ---------- Personen ---------- */
.people { display: grid; gap: 2rem; }
@media (min-width: 760px) { .people { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.person { display: grid; gap: 1.1rem; }
.person__portrait { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 0.1em; }
.person__role { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.7rem; }
.person p { font-size: 0.97rem; color: var(--ink-soft); }
.kanzlei-strip { margin-top: 3rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .kanzlei-strip { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.kanzlei-strip img { border-radius: var(--r); box-shadow: var(--shadow); }
.kanzlei-strip ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.kanzlei-strip li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.kanzlei-strip li::before { content: '+'; position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 500; color: var(--navy); }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 1.5rem; margin-top: 2.5rem; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: 1.6rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-mono); font-weight: 500; margin-bottom: 1rem; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
.fee { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: clamp(1.4rem, 3vw, 2rem); }
@media (min-width: 820px) { .fee { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.fee h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.fee p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0.25rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary:hover { color: var(--navy-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 1.25rem; color: var(--navy); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0.25rem 1.3rem; color: var(--ink-soft); max-width: 70ch; font-size: 0.98rem; }

/* ---------- Final CTA ---------- */
.final { background: var(--grad-navy); color: var(--paper); }
.final__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .final__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.final h2 { color: #fff; }
.final .lead { color: rgba(247, 246, 242, 0.85); }
.contact-details { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid rgba(247, 246, 242, 0.3); }
.contact-details li { display: grid; grid-template-columns: 6em 1fr; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(247, 246, 242, 0.16); font-size: 0.98rem; }
.contact-details .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 246, 242, 0.6); padding-top: 0.3em; }
.contact-details a { color: #fff; text-decoration: none; font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }
.final__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.final__list li { position: relative; padding-left: 1.6rem; color: rgba(247, 246, 242, 0.88); font-size: 0.98rem; }
.final__list li::before { content: '+'; position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 500; color: #D8C48A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(247, 246, 242, 0.7); font-size: 0.88rem; border-top: 1px solid rgba(247, 246, 242, 0.12); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { color: rgba(247, 246, 242, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__seal { display: flex; align-items: center; gap: 0.8rem; }
.site-footer__seal img { height: 40px; width: auto; opacity: 0.9; }

/* ---------- Mobile Sticky-Bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(247, 246, 242, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .btn { padding: 0.8rem 0.6rem; font-size: 0.92rem; }
@media (min-width: 960px) { .sticky-bar { display: none; } }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 960px) { body.has-sticky { padding-bottom: 0; } }

/* ---------- Consent-Banner ---------- */
.consent-banner {
  position: fixed; left: 1rem; bottom: 1rem;
  z-index: 200; width: min(calc(100vw - 2rem), 420px);
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  padding: 1.2rem 1.3rem; font-size: 0.9rem; color: var(--ink-soft);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin-bottom: 0.9rem; }
.consent-banner strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent-banner .btn { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
@media (max-width: 959px) { .consent-banner { bottom: 86px; } }

/* ---------- Danke-Seite ---------- */
.thanks { padding-block: clamp(3rem, 8vw, 6rem); }
.thanks__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(46, 107, 79, 0.1); color: var(--ok); display: grid; place-items: center; margin-bottom: 1.5rem; }
.thanks__check svg { width: 32px; height: 32px; }
.thanks__box { margin-top: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: clamp(1.4rem, 3vw, 2rem); }
.thanks__box h2 { font-size: 1.3rem; }
.thanks__box ol { padding-left: 1.3rem; color: var(--ink-soft); }
.thanks__box li { margin-bottom: 0.5rem; }
.thanks__download { display: none; }
.thanks__download.is-visible { display: block; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
