/* Mietono – eigener Code. Nur Volltonfarben, keine Verläufe.
   Schriftgrößen-Skala (nur diese Werte): 48 / 36 / 30 / 24 / 18 / 16 / 14 / 13 px. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/fonts/nunito-sans-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }

:root {
  --brand: #1b9aff;
  --brand-ink: #187fc2;
  --btn: #248edc;
  --btn-hover: #187fc2;
  --brand-light: #e8f5ff;
  --navy: #04324d;
  --ink: #101828;
  --text: #344054;
  --muted: #526075;
  --line: #e2e7f0;
  --soft: #eef1f8;
  --tint: #f7f9fc;
  --white: #fff;
  --flow: #1c4ed8;
  --shade: rgba(4, 22, 36, .74);
  --display: "Inter", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --r: 8px;
  --r-sm: 8px;
  --r-md: 8px;
  --r-lg: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .07);
  --section: 80px;
  --gutter: 16px;
  --s-48: 48px; --s-36: 36px; --s-30: 30px; --s-24: 24px; --s-18: 18px; --s-16: 16px; --s-14: 14px; --s-13: 13px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--s-16)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2 { font-family: var(--display); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: var(--s-48); line-height: 1.14; font-weight: 600; letter-spacing: -.006em; }
h2 { font-size: var(--s-30); line-height: 1.2; font-weight: 700; letter-spacing: -.008em; }
h3 { font-family: var(--body); font-size: var(--s-18); line-height: 1.4; font-weight: 700; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; color: var(--text); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(27, 154, 255, .45); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; max-width: 640px; margin-inline: auto; }
.section-head p { margin-top: 12px; font-size: var(--s-18); line-height: 1.55; color: var(--muted); }
.lead { font-size: var(--s-18); line-height: 1.55; color: var(--muted); }
.small { font-size: var(--s-13); color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--r); border: 1px solid transparent; font: 600 var(--s-16)/1.25 var(--body); text-decoration: none; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease; }
.btn-primary { background: var(--btn); color: var(--white); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.btn-primary:hover { background: var(--btn-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(4, 50, 77, .22); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--btn); color: var(--btn-hover); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--brand-light); color: var(--navy); transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: var(--s-14); }

/* Header (Nunito Sans 14,4 px / 600) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 65px; padding-top: 12px; padding-bottom: 12px; }
.brand .logo { height: 24px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a, .header-link { font: 600 .9rem/1.2 var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .15s; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--btn); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-nav { display: none; }

/* Hero Startseite */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 64px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-start; }
.hero-rating { display: flex; align-items: center; flex-wrap: wrap; align-self: flex-start; gap: 8px 10px; margin: -4px 0 18px; color: var(--ink); font-size: var(--s-16); line-height: 1.5; text-decoration: none; }
.hero-rating:hover { color: var(--ink); }
.hero-rating .rating-word { font-weight: 600; }
.hero-rating .rating-stars { display: inline-flex; gap: 2px; }
.hero-rating .rating-stars svg { display: block; width: 22px; height: 22px; }
.hero-rating .rating-source { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-rating .rating-logo { height: 24px; width: auto; position: relative; top: -4px; }
@media (max-width: 600px) {
  .hero-rating { gap: 6px 8px; font-size: var(--s-14); }
  .hero-rating .rating-stars svg { width: 17px; height: 17px; }
  .hero-rating .rating-logo { height: 19px; }
}
.hero-copy h1 { max-width: 560px; font-size: 44px; }
.hero-copy .lead { max-width: 500px; margin-top: 18px; font-size: var(--s-16); }
.hero .checks { margin: 22px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: var(--s-14); color: var(--muted); }
.hero-media { position: relative; border-radius: var(--r); overflow: hidden; min-height: 430px; box-shadow: 0 16px 32px rgba(15, 23, 42, .1); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 14px; font: 700 var(--s-14)/1.3 var(--body); color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-card small { display: block; font: 400 var(--s-13)/1.3 var(--body); color: var(--muted); }
.float-card .dot { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); background: var(--brand-light); color: var(--btn); }
.float-card .dot svg { width: 18px; height: 18px; }
.float-card.one { top: 20px; left: 20px; }
.float-card.two { bottom: 20px; right: 20px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-7px); } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.hero .checks strong { font-weight: 400; color: var(--text); }
.checks svg { flex: none; width: 22px; height: 22px; padding: 2px; margin-top: 1px; border-radius: var(--r); background: rgba(27, 154, 255, .11); color: var(--brand); }

/* Unterseiten-Hero mit abgedunkeltem Hintergrundbild */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); padding: 56px 0; }
.page-hero > img, .shade-section > img, .cta-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after, .shade-section::after, .cta-banner::after { content: ""; position: absolute; inset: 0; background: var(--shade); z-index: -1; }
.page-hero h1 { max-width: 760px; font-size: var(--s-36); line-height: 1.18; color: var(--white); }
.page-hero p { max-width: 640px; margin-top: 14px; font-size: var(--s-18); line-height: 1.55; color: #dbe6ef; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; font-size: var(--s-14); color: #b9cbd9; }

/* Abschnitt mit abgedunkeltem Bild */
.shade-section { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); padding: var(--section) 0; color: #dbe6ef; }
.shade-section h2, .shade-section h3, .shade-section strong { color: var(--white); }
.shade-section p { color: #dbe6ef; }
.shade-section a:not(.btn) { color: #9fd3ff; }
.shade-section .small { color: #b9cbd9; }

/* Kennzahlen (wie MailClaim) */
.stats-band { background: var(--tint); border-block: 1px solid var(--line); padding: 48px 0; }
.stats-inner { max-width: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.figure b { display: block; font: 600 var(--s-30)/1.1 var(--display); color: var(--navy); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: 10px; font-size: var(--s-14); line-height: 1.45; color: var(--text); }
.stats-note { margin-top: 18px; font-size: var(--s-13); color: var(--muted); }

/* Ablauf(zentriert, Karten erscheinen nacheinander) */
.process-intro { max-width: 620px; margin: 0 auto; text-align: center; }
.process-intro p { margin-top: 12px; font-size: var(--s-18); line-height: 1.55; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 44px 30px 46px; min-height: 300px; text-align: center; transition: box-shadow .38s ease, border-color .38s ease; }
.step:hover { border-color: #cfe5f7; box-shadow: 0 14px 30px rgba(4, 50, 77, .08); }
.step-icon { width: 56px; height: 56px; margin: 0 auto; border-radius: var(--r); background: var(--brand-light); color: var(--brand); display: grid; place-items: center; }
.step-icon svg { width: 26px; height: 26px; }
.step-icon path, .step-icon circle, .step-icon rect { stroke-dasharray: 120; stroke-dashoffset: 0; }
.step-num { display: block; margin: 20px 0 6px; font-size: var(--s-13); font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: var(--s-14); line-height: 1.6; color: var(--muted); }
.center-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.center-actions small { color: var(--muted); font-size: var(--s-14); }

/* Zweispalter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.split-media { border-radius: var(--r); overflow: hidden; position: relative; min-height: 360px; box-shadow: 0 16px 32px rgba(15, 23, 42, .1); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: flex-start; }
.split-copy > h2 { margin-bottom: 14px; }

.numbered { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: n; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 18px 0; }
.numbered > li + li { border-top: 1px solid var(--line); }
.numbered > li::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font: 600 var(--s-14)/1.75 var(--display); color: var(--brand); }
.numbered p { font-size: var(--s-16); color: var(--muted); margin: 0; }
.shade-section .numbered > li + li { border-color: rgba(255, 255, 255, .16); }
.shade-section .numbered > li::before { color: #9fd3ff; }

/* Kosten */
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); color: var(--ink); }
.calc h3 { margin-bottom: 2px; }
.calc .calc-sub { font-size: var(--s-14); color: var(--muted); margin-bottom: 16px; }
.calc table { width: 100%; border-collapse: collapse; font-size: var(--s-16); }
.calc td { padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--text); }
.calc td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); padding-left: 16px; }
.calc tr.total td { color: var(--navy); font-weight: 700; }
.calc .calc-foot { margin-top: 14px; font-size: var(--s-13); color: var(--muted); }
.facts-list { list-style: none; margin: 20px 0 0; padding: 0; }
.facts-list li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; color: var(--text); }
.facts-list li + li { border-top: 1px solid var(--line); }
.facts-list b { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Rechtslage im Bildabschnitt */
.law-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.law-grid .lead-strong { font-size: var(--s-18); line-height: 1.55; font-weight: 700; color: var(--white); margin-top: 16px; }
.source-line { font-size: var(--s-13); color: var(--muted); margin-top: 14px; }

/* FAQ (ein Kasten, Trennlinien) */
.faq-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.faq-head p { margin-top: 10px; color: var(--muted); }
.faq-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 var(--s-16)/1.45 var(--body); color: var(--ink); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--navy); }
.faq-item summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--brand); transition: transform .3s cubic-bezier(.65, 0, .35, 1); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: var(--s-16); line-height: 1.6; color: var(--muted); max-width: 900px; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--s-14); color: var(--text); }
table.data th, table.data td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 700; color: var(--navy); background: var(--tint); }
table.data tr:last-child td { border-bottom: 0; }
.tag { white-space: nowrap; }

/* CTA-Banner mit Bild */
.cta-section { padding: var(--section) 0; }
.cta-banner { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; box-shadow: 0 14px 34px rgba(16, 24, 40, .12); }
.cta-banner h2 { color: var(--white); max-width: 620px; }
.cta-banner p { max-width: 560px; margin: 8px auto 20px; color: #dbe6ef; }

/* Ratgeber-Karten */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.post-card .post-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta { font-size: var(--s-13); color: var(--muted); }
.post-card .post-title { font: 700 var(--s-18)/1.4 var(--body); color: var(--ink); margin: 0; }
.post-card p { font-size: var(--s-14); color: var(--muted); }
.post-card .more { margin-top: auto; font-weight: 700; font-size: var(--s-14); color: var(--brand-ink); }

/* Zeitachse (So funktioniert's) */
.timeline { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .22); }
.timeline li { position: relative; padding-top: 32px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: var(--r); background: var(--brand); box-shadow: 0 0 0 4px rgba(27, 154, 255, .25); }
.timeline .when { display: block; font-weight: 700; color: #9fd3ff; font-size: var(--s-14); margin-bottom: 6px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { font-size: var(--s-14); line-height: 1.6; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.duo > div { padding: 32px; }
.duo > div + div { border-left: 1px solid var(--line); background: var(--tint); }
.duo h3 { margin-bottom: 14px; }

/* Artikel */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.prose { font-size: var(--s-16); line-height: 1.75; color: var(--text); }
.prose p { color: var(--text); }
.prose h2 { font-size: var(--s-24); line-height: 1.3; margin: 44px 0 14px; scroll-margin-top: 90px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose .table-wrap { margin: 22px 0; }
.prose blockquote { margin: 22px 0; padding: 18px 22px; background: var(--tint); border-radius: var(--r); border-left: 4px solid var(--brand); }
.prose .faq-list { margin-top: 8px; }
.answer-box { background: var(--brand-light); border-radius: var(--r); padding: 22px 26px; margin-bottom: 36px; font-size: var(--s-16); line-height: 1.7; }
.answer-box strong:first-child { display: block; color: var(--navy); margin-bottom: 6px; }
.aside-box { position: sticky; top: 92px; display: grid; gap: 20px; }
.toc, .aside-cta { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--white); }
.toc .toc-title, .aside-cta .toc-title { font: 700 var(--s-16)/1.4 var(--body); color: var(--ink); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: var(--s-14); display: grid; gap: 8px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); }
.aside-cta { background: var(--navy); border: 0; }
.aside-cta .toc-title { color: var(--white); }
.aside-cta p { color: #dbe6ef; font-size: var(--s-14); }
.aside-cta .btn { width: 100%; margin-top: 14px; }
.sources { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--s-14); color: var(--muted); }
.sources .toc-title { font: 700 var(--s-16)/1.4 var(--body); color: var(--ink); margin-bottom: 10px; }
.sources ol { padding-left: 1.2em; }
.sources p { color: var(--muted); font-size: var(--s-14); }
.legal-text { font-size: var(--s-16); }
.legal-text > * { max-width: 820px; }
.legal-text h2 { font-size: var(--s-24); margin: 36px 0 10px; }
.legal-text h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: var(--s-14); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-grid .footer-title { font: 700 var(--s-14)/1.4 var(--body); color: var(--ink); margin: 0 0 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--btn); }
.footer-brand .logo { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text); max-width: 300px; font-size: var(--s-14); }
.footer-legal { display: flex; gap: 16px; margin-top: 4px; }
.footer-note { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--s-13); color: var(--muted); }
.footer-copy { font-size: var(--s-13); color: var(--muted); }

/* Rasterspalten dürfen schmaler als ihr Inhalt werden (Tabellen scrollen in .table-wrap). */
.hero-grid > *, .split > *, .cost-grid > *, .law-grid > *, .article-grid > * { min-width: 0; }

/* Einblenden beim Scrollen (in beide Richtungen) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Ablauf: Karten heben sich nacheinander an (0,6 s, Abstand 0,12 s), Icons ploppen auf, Linien zeichnen sich, am Ende ein kurzer Puls */
.js .reveal-steps .step { opacity: 0; transform: translate3d(0, 26px, 0) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js .reveal-steps.is-visible .step { opacity: 1; transform: none; }
.js .reveal-steps.is-visible .step:nth-child(1) { transition-delay: .08s; }
.js .reveal-steps.is-visible .step:nth-child(2) { transition-delay: .2s; }
.js .reveal-steps.is-visible .step:nth-child(3) { transition-delay: .32s; }
.js .reveal-steps .step-icon { opacity: 0; transform: scale(.72) translateY(8px); transition: opacity .48s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
.js .reveal-steps.is-visible .step-icon { opacity: 1; transform: none; }
.js .reveal-steps.is-visible .step:nth-child(1) .step-icon { transition-delay: .2s; }
.js .reveal-steps.is-visible .step:nth-child(2) .step-icon { transition-delay: .32s; }
.js .reveal-steps.is-visible .step:nth-child(3) .step-icon { transition-delay: .44s; }
.js .reveal-steps .step-icon svg * { stroke-dashoffset: 120; }
.js .reveal-steps.is-visible .step:nth-child(1) .step-icon svg * { animation: draw 1.1s ease forwards .35s; }
.js .reveal-steps.is-visible .step:nth-child(2) .step-icon svg * { animation: draw 1.1s ease forwards .47s; }
.js .reveal-steps.is-visible .step:nth-child(3) .step-icon svg * { animation: draw 1.1s ease forwards .59s; }
.js .reveal-steps.is-visible .step:nth-child(1) .step-icon::after { animation: ring-pulse .9s ease-out 1.45s 1; }
.js .reveal-steps.is-visible .step:nth-child(2) .step-icon::after { animation: ring-pulse .9s ease-out 1.57s 1; }
.js .reveal-steps.is-visible .step:nth-child(3) .step-icon::after { animation: ring-pulse .9s ease-out 1.69s 1; }
.js .reveal-steps .step.redraw .step-icon svg * { animation: draw 1.1s ease forwards !important; animation-delay: 0s !important; }
.js .reveal-steps .step.redraw .step-icon::after { animation: ring-pulse .9s ease-out 1s 1 !important; }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
/* Beim Aufruf: Hero-Inhalte erscheinen ruhig nacheinander */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: none; } }
.js .hero-copy > *, .js .page-hero .wrap > * { animation: rise .8s cubic-bezier(.22, 1, .36, 1) both; }
.js .hero-copy > :nth-child(2), .js .page-hero .wrap > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3), .js .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
.js .hero-copy > :nth-child(5) { animation-delay: .4s; }
.js .hero-media { animation: settle 1s cubic-bezier(.22, 1, .36, 1) .15s both; }
/* Kennzahlen: Spalten von links nach rechts */
.js .reveal-figures .figure { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal-figures.is-visible .figure { opacity: 1; transform: none; }
.js .reveal-figures.is-visible .figure:nth-child(2) { transition-delay: .15s; }
.js .reveal-figures.is-visible .figure:nth-child(3) { transition-delay: .3s; }
.js .reveal-figures.is-visible .figure:nth-child(4) { transition-delay: .45s; }
/* Zeitachse */
.js .reveal-timeline li { opacity: 0; transform: translateX(-24px); transition: opacity .9s ease, transform 1s cubic-bezier(.22, 1, .36, 1); }
.js .reveal-timeline.is-visible li { opacity: 1; transform: none; }
.js .reveal-timeline.is-visible li:nth-child(2) { transition-delay: .35s; }
.js .reveal-timeline.is-visible li:nth-child(3) { transition-delay: .7s; }
.js .reveal-timeline.is-visible li:nth-child(4) { transition-delay: 1.05s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-steps .step, .js .reveal-steps .step-icon, .js .reveal-figures .figure, .js .reveal-timeline li { opacity: 1; transform: none; transition: none; }
  .js .hero-copy > *, .js .page-hero .wrap > *, .js .hero-media { animation: none; }
  .js .reveal-steps .step-icon svg * { stroke-dashoffset: 0 !important; animation: none !important; }
  .js .reveal-steps .step-icon::after { animation: none !important; }
  .float-card { animation: none; }
}

/* Responsiv */
@media (max-width: 1100px) {
  .main-nav { gap: 22px; }
  .header-link { display: none; }
}
@media (max-width: 960px) {
  :root { --section: 64px; --s-48: 38px; --s-36: 30px; --s-30: 26px; }
  .main-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: var(--r); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: var(--r); transition: transform .2s, opacity .2s; }
  .mobile-nav[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-nav[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-nav[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav nav { position: absolute; left: 0; right: 0; top: 65px; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
  .mobile-nav nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 var(--s-16)/1.2 var(--body); color: var(--ink); text-decoration: none; }
  .mobile-nav nav .btn { margin-top: 20px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .split, .cost-grid, .law-grid, .article-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media, .split-media { min-height: 0; aspect-ratio: 1080 / 700; }
  .split.media-first-mobile .split-media { order: -1; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .steps, .post-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 24px; padding-left: 28px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -28px; top: 2px; }
  .duo { grid-template-columns: 1fr; }
  .duo > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .aside-box { position: static; }
  .faq-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --section: 52px; --s-48: 32px; --s-36: 28px; --s-30: 24px; --s-24: 22px; --s-18: 17px; }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 8px 10px; gap: 8px; }
  .float-card .dot { width: 28px; height: 28px; }
  .float-card.one { top: 12px; left: 12px; }
  .float-card.two { bottom: 12px; right: 12px; }
  .figure b { font-size: var(--s-24); }
  .stats-band { padding: 36px 0; }
  .page-hero { padding: 40px 0; }
  .calc { padding: 22px 18px; }
  .cta-banner { padding: 32px 18px; }
  .faq-item summary { padding: 18px 18px; }
  .faq-body { padding: 0 18px 20px; }
  .duo > div { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Ratgeber: Kernaussagen, Zwischen-CTA, Fakten, Muster, Rechner */
.takeaways { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 20px 24px; margin: -16px 0 36px; background: var(--white); }
.takeaways ul { margin: 0; padding-left: 1.2em; font-size: var(--s-16); line-height: 1.6; }
.takeaways li { margin-bottom: 6px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0; padding: 20px 24px; border-radius: var(--r); background: var(--brand-light); }
.inline-cta p { margin: 0; font-size: var(--s-16); }
.inline-cta .btn { flex: none; }
.facts-table th { width: 42%; background: var(--tint); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.prose blockquote.muster { border-left-color: var(--navy); font-size: var(--s-16); }
.prose blockquote.muster p { margin-bottom: 10px; }
.calc-tool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--tint); }
.calc-tool label { display: flex; flex-direction: column; gap: 6px; font-size: var(--s-14); font-weight: 700; color: var(--ink); }
.calc-tool input { height: 42px; border: 1px solid #d0d5dd; border-radius: var(--r); padding: 0 12px; font: 400 var(--s-16)/1.2 var(--body); color: var(--ink); background: var(--white); }
.calc-tool input:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(36, 142, 220, .15); }
.calc-tool output { grid-column: 1 / -1; font-size: var(--s-16); line-height: 1.6; color: var(--text); }
.calc-tool output strong { color: var(--navy); }
@media (max-width: 560px) {
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .calc-tool { grid-template-columns: 1fr; }
}
.takeaways .toc-title { font: 700 var(--s-16)/1.4 var(--body); color: var(--navy); margin-bottom: 10px; }
.page-hero .meta a { color: #dbe6ef; text-decoration-color: rgba(219, 230, 239, .5); }
.page-hero .meta a:hover { color: var(--white); }
.city-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: var(--s-14); }

/* Kompakter Zweispalter („Wann sich die Prüfung lohnt“): volle Breite, geringere Höhe */
.split-compact .split-media { min-height: 0; }
.split-compact .numbered > li { padding: 12px 0; }
.split-compact .numbered p { font-size: var(--s-14); }

/* Ratgeber-Liste ohne Bilder (Startseite) */
.post-links { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 40px; }
.post-links a { color: var(--ink); text-decoration: none; font-size: var(--s-14); line-height: 1.5; }
.post-links a:hover { color: var(--btn-hover); text-decoration: underline; }
@media (max-width: 760px) { .post-links { grid-template-columns: 1fr; } }

/* Ablauf: Puls am Ende */
.step-icon { position: relative; }
.step-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; pointer-events: none; }
@keyframes ring-pulse { from { opacity: .55; transform: scale(.85); } to { opacity: 0; transform: scale(1.4); } }

/* Kreise bleiben Kreise */
.step-icon, .checks svg, .timeline li::before, .post-card .dot { border-radius: 50%; }
@media (max-width: 560px) { .calc td:last-child { white-space: normal; } .calc table { font-size: var(--s-14); } }

/* Rechtsprechung: redaktionelle Liste statt Kacheln */
.case { padding: 22px 0; border-top: 1px solid var(--line); }
.case + h2 { margin-top: 36px; }
.case-meta { font-size: var(--s-14); color: var(--muted); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.case h3 { margin: 0 0 8px; }
.case-source { font-size: var(--s-14); }
.section-compact { padding: 56px 0; }
.norm-table td:first-child { min-width: 150px; }

/* Entscheidungsanalysen */
.prose ol.kern { padding-left: 1.3em; }
.prose ol.kern li { margin-bottom: 10px; }
.rn { color: var(--muted); font-size: var(--s-14); white-space: nowrap; }
.prose .quote-src { margin: 8px 0 0; font-size: var(--s-14); color: var(--muted); }
.prose .cite { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); font-variant-numeric: tabular-nums; }
.related-links { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--s-14); }
