:root {
  --navy: #0b2545;
  --blue: #2e74b5;
  --blue-dark: #245f96;
  --ink: #14233a;
  --muted: #526177;
  --green: #347a6b;
  --pale-blue: #eaf2f8;
  --band: #f4f7fa;
  --line: #cbd7e3;
  --warning: #f7e8b6;
  --error: #b42318;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(11, 47, 85, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #73b7e7; outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(calc(-100% - 24px));
  background: #fff;
  padding: 12px 16px;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(790px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: 14px; font-weight: 750; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 750; letter-spacing: 0; }
h1 { hyphens: none; overflow-wrap: normal; word-break: normal; }
h2, h3 { hyphens: auto; overflow-wrap: break-word; }
h1 { max-width: 13ch; font-size: 48px; line-height: 1.08; }
.page-hero h1 { max-width: 16ch; font-size: 42px; line-height: 1.1; }
h2 { font-size: 30px; line-height: 1.18; }
h3 { font-size: 21px; line-height: 1.28; }
p { margin: 0 0 18px; }
.lead { max-width: 64ch; color: #2c3d55; font-size: 20px; line-height: 1.48; }
.section-intro { max-width: 66ch; color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; line-height: 1.45; }
.nowrap { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #dbe4ec; background: rgba(255,255,255,.97); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { flex: 0 0 234px; }
.brand img { width: 234px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-left: auto; }
.main-nav a { color: #47566b; font-size: 15px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.header-cta { margin-left: 4px; white-space: nowrap; }
.menu-button { display: none; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); padding: 0 14px; font-weight: 700; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 6px; padding: 11px 19px; font-size: 16px; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--blue); background: #fff; color: var(--blue-dark); }
.button-secondary:hover { background: #f2f8fc; }
.button-quiet { border-color: var(--line); background: #fff; color: var(--navy); }
.button:disabled { cursor: not-allowed; opacity: .58; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 17px; }

.hero { background: var(--pale-blue); }
.hero-grid { min-height: 530px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 54px; padding-block: 38px; }
.hero-copy { padding-block: 18px; }
.hero-copy .lead { margin-top: 22px; }
.trust-line { display: flex; align-items: flex-start; gap: 10px; max-width: 620px; color: #33465f; font-size: 14px; font-weight: 650; line-height: 1.5; }
.trust-mark { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.hero-media { position: relative; min-width: 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.image-caption { margin-top: 10px; color: var(--muted); font-size: 13px; }

.section { padding-block: 84px; }
.section-soft { background: var(--band); }
.section-blue { background: var(--pale-blue); }
.section-head { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-head > div { max-width: 760px; }
.section-head p { margin: 12px 0 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { margin: 0; color: #48596f; font-size: 16px; }
.card a.stretched { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 750; text-decoration: none; }
.number { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 750; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--green); font-weight: 800; }
.two-col { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }
.portrait { width: min(420px, 100%); height: auto; max-height: 560px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 8px; }
.quote { margin: 0; border-left: 4px solid var(--blue); padding: 4px 0 4px 20px; color: #2e4058; font-size: 18px; }
.quote cite { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; font-style: normal; }

.page-hero .hero-grid { min-height: 480px; }
.page-hero .hero-media img { aspect-ratio: 16 / 10; }
.page-hero .hero-media--portrait { width: min(420px, 100%); justify-self: center; }
.page-hero .hero-media--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.content-band { border-top: 1px solid #e0e7ee; }
.content-prose { max-width: 760px; }
.content-prose h2 { margin: 42px 0 14px; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 { margin: 28px 0 8px; }
.content-prose ul { padding-left: 22px; }
.content-prose li { margin-bottom: 8px; }
.legal-page h1 { max-width: none; }
.article-page h1 { max-width: 22ch; margin-bottom: 16px; font-size: 44px; hyphens: auto; }
.article-page .content-prose > p:not(.eyebrow, .breadcrumb, .article-meta, .article-note) { margin-bottom: 22px; }
.article-meta { margin-bottom: 34px; color: var(--muted); }
.article-note { margin-top: 24px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: 28px; font-size: 15px; }
.notice { border-left: 4px solid #d2a52b; background: #fff8df; padding: 20px 22px; }
.notice p:last-child { margin-bottom: 0; }
.mail-warning { margin-top: 20px; }
.scope-line { border-bottom: 1px solid var(--line); background: #f8fbfd; }
.scope-line .shell { padding-block: 22px; }
.scope-line p { max-width: 980px; margin: 0; color: #40536a; font-size: 16px; }
.scope-line strong { color: var(--navy); }
.success { border-left: 4px solid var(--green); background: #eef8f5; padding: 20px 22px; }
.submission-confirmation { display: grid; gap: 10px; border: 1px solid #b9d9cf; border-left: 4px solid var(--green); border-radius: 6px; }
.submission-confirmation .success-kicker { width: fit-content; border-radius: 999px; background: #dcefe9; color: #256353; padding: 4px 9px; font-size: 13px; font-weight: 750; }
.submission-confirmation > strong { color: var(--navy); font-size: 22px; line-height: 1.3; }
.submission-confirmation p { margin: 0; }
.submission-confirmation .case-reference { color: var(--muted); font-size: 14px; }

.cta-band { background: var(--navy); color: #fff; }
.cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 50px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 8px 0 0; color: #dce8f2; }

.assistant-wrap { background: var(--band); padding-block: 72px; }
.assistant { width: min(780px, calc(100% - 48px)); margin: 0 auto; scroll-margin-top: 92px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.assistant-top { padding: 20px 28px; border-bottom: 1px solid var(--line); background: #f9fbfd; }
.assistant-stage { color: var(--blue-dark); font-size: 14px; font-weight: 750; }
.progress { height: 6px; margin-top: 10px; border-radius: 3px; background: #dbe6ef; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--blue); transition: width .2s ease; }
.assistant-body { min-height: 430px; padding: 38px 42px; }
.assistant-body h1 { max-width: 18ch; font-size: 34px; }
.assistant-body .lead { margin-top: 13px; font-size: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.choice { min-height: 76px; display: flex; align-items: center; border: 2px solid var(--line); border-radius: 7px; background: #fff; color: var(--navy); padding: 14px 16px; font-weight: 700; text-align: left; cursor: pointer; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--blue); background: #f1f7fb; }
.field { margin-top: 22px; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); padding: 10px 12px; }
.field textarea { min-height: 150px; resize: vertical; }
.field fieldset, fieldset.field { min-width: 0; border: 0; padding: 0; }
.field legend, fieldset.field legend { margin-bottom: 10px; color: var(--navy); font-weight: 700; }
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.segmented label { display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; border: 2px solid var(--line); border-radius: 6px; padding: 9px 12px; }
.segmented input { width: 18px; min-height: auto; margin: 0; }
.speech-tools { margin-top: 12px; border: 1px solid var(--line); border-radius: 7px; background: #f7fafc; padding: 14px; }
.speech-tools .consent-line { margin-top: 0; }
.speech-tools .button { min-height: 42px; margin-top: 10px; padding-block: 8px; }
.field-hint { margin-top: 6px; color: var(--muted); font-size: 14px; }
.field-error { min-height: 24px; margin-top: 4px; color: var(--error); font-size: 14px; font-weight: 650; }
.assistant-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.autosave-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 20px; }
.autosave { margin: 0; color: var(--green); font-size: 13px; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.upload-zone { margin-top: 22px; border: 2px dashed #87a9c4; border-radius: 8px; background: #f5f9fc; padding: 28px; text-align: center; }
.upload-label { display: block; margin-bottom: 9px; color: var(--navy); font-size: 21px; font-weight: 750; line-height: 1.28; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.file-input:focus-visible + .upload-picker { outline: 3px solid rgba(47, 126, 184, .34); outline-offset: 3px; }
.upload-picker { margin-top: 8px; cursor: pointer; }
.file-status { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.review-list { display: grid; gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.review-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.review-list > div:last-child { border-bottom: 0; }
.review-list strong { color: var(--navy); }
.review-list span { min-width: 0; color: #48596f; overflow-wrap: anywhere; }
.review-list + .notice { margin-top: 22px; }

.review-feature blockquote { margin: 26px 0 16px; border-left: 4px solid var(--blue); padding: 8px 0 8px 24px; color: var(--navy); font-size: 26px; font-weight: 650; line-height: 1.42; }

.guide-tools { max-width: 920px; margin: 0 0 34px; }
.guide-tools label { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 750; }
.guide-tools input { width: 100%; min-height: 52px; border: 2px solid var(--line); border-radius: 6px; padding: 11px 14px; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guide-filter { min-height: 40px; border: 1px solid #a9bdd2; border-radius: 999px; background: #fff; color: #29435f; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.guide-filter:hover, .guide-filter:focus-visible, .guide-filter.active { border-color: var(--blue); background: var(--pale-blue); color: var(--navy); }
#guide-empty { margin-top: 24px; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.contact-portrait { margin-top: 34px; max-width: 290px; }
.form-card { padding: 32px; }
.form-card h2 { margin-bottom: 10px; }
.form-card > .button { margin-top: 18px; }
.form-card .success { margin-top: 22px; }
.consent-line { display: flex; min-width: 0; max-width: 100%; gap: 10px; align-items: flex-start; margin-top: 22px; color: #33465f; font-size: 15px; overflow-wrap: anywhere; }
.consent-line a { overflow-wrap: anywhere; }
.consent-line input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; }

.portal { min-width: 0; display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.portal > * { min-width: 0; }
.portal-nav { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px; }
.portal-nav a { display: block; border-radius: 6px; padding: 11px 12px; color: #41536a; font-size: 15px; font-weight: 650; text-decoration: none; }
.portal-nav a.active { background: var(--pale-blue); color: var(--navy); }
.portal-logout { width: 100%; margin-top: 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--muted); padding: 16px 12px 8px; font-size: 14px; text-align: left; cursor: pointer; }
.portal-card { margin-top: 20px; }
.portal-card .button { margin-top: 8px; }
.portal-feedback { margin-top: 22px; }
.portal-note { margin-top: 22px; }
.portal-security { grid-column: 2; border-top: 1px solid var(--line); padding-top: 20px; }
.portal-security h2 { font-size: 18px; }
.portal-security p { color: var(--muted); font-size: 14px; }
.module-feedback { min-height: 24px; margin: 12px 0 0; }
.damage-workspace > p { max-width: 76ch; }
.damage-progress { display: grid; gap: 8px; margin: 24px 0; }
.damage-progress > span { display: block; height: 8px; overflow: hidden; border-radius: 4px; background: #e4ebf1; }
.damage-progress i { display: block; height: 100%; background: var(--blue); }
.damage-module { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.damage-module > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; color: var(--navy); font-size: 18px; font-weight: 750; cursor: pointer; }
.damage-module > summary::marker { color: var(--blue); }
.damage-module[open] > summary { border-bottom: 1px solid var(--line); background: var(--pale-blue); }
.damage-module > form { padding: 22px 20px; }
.module-intro { max-width: 78ch; margin-bottom: 24px !important; }
.damage-group { min-width: 0; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 8px; }
.damage-group > summary { padding: 15px 17px; color: var(--navy); font-size: 17px; font-weight: 750; cursor: pointer; }
.damage-group[open] > summary { border-bottom: 1px solid var(--line); }
.damage-group > .damage-grid { padding: 18px; }
.damage-intro { margin: 16px 18px 0 !important; }
.damage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-wide, .period-block, .household-table, .calculation { grid-column: 1 / -1; }
.period-block { border-top: 1px solid var(--line); padding-top: 18px; }
.period-block:first-child { border-top: 0; padding-top: 0; }
.period-block h4 { margin: 0 0 14px; color: var(--navy); font-size: 16px; }
.calculation { border-left: 4px solid var(--blue); background: var(--pale-blue); padding: 14px 16px; }
.calculation p { margin: 5px 0 0; }
.module-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.module-file-input { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 12px; }
.household-row { display: grid; grid-template-columns: minmax(180px, 1.6fr) minmax(120px, .8fr) minmax(100px, .7fr) minmax(100px, .7fr); gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 10px 0; }
.household-head { border-top: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.household-row input { width: 100%; }
.input-suffix { display: flex; align-items: center; gap: 6px; }
.household-row output { color: var(--navy); font-weight: 700; }
.message { border-left: 4px solid var(--blue); background: var(--pale-blue); padding: 18px 20px; }
.message > span { float: right; }
.message p { clear: both; margin: 8px 0 0; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 17px 0; }
.status-row:last-child { border-bottom: 0; }
.status-pill { border-radius: 999px; background: #e9f5f1; color: #256353; padding: 4px 10px; font-size: 13px; font-weight: 750; white-space: nowrap; }

.consent-card { padding-block: 8px; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.consent-option:last-child { border-bottom: 0; }
.consent-option p, .consent-option small { display: block; margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.consent-option input { flex: 0 0 auto; width: 22px; height: 22px; }

.site-footer { background: #092541; color: #d8e3ed; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr .8fr; gap: 46px; padding-block: 62px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 17px; }
.site-footer a { display: block; margin-bottom: 8px; color: #d8e3ed; text-decoration: none; }
.site-footer p { margin-bottom: 14px; }
.footer-brand img { width: 290px; max-width: 100%; margin-bottom: 18px; }
.footer-small { color: #aac0d2; font-size: 14px; }
.mobile-action { display: none; }
body[data-page="fall-pruefen"] .mobile-action,
body[data-page="mein-fall"] .mobile-action { display: none; }

@media (max-width: 1060px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 14px; }
  .brand { flex-basis: 205px; }
  .brand img { width: 205px; }
  .header-cta { padding-inline: 13px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .menu-button { display: inline-flex; align-items: center; margin-left: auto; }
  .main-nav { position: absolute; left: 0; right: 0; top: 70px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 12px 24px 20px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; font-size: 16px; }
  .header-cta { display: none; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 30px; padding-block: 38px 50px; }
  .hero-copy { padding: 0; }
  .hero-media { max-width: 680px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .portal { grid-template-columns: 1fr; }
  .portal-nav { width: 100%; max-width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .portal-nav a { white-space: normal; }
  .portal-logout { width: 100%; margin: 0; border-top: 1px solid var(--line); border-left: 0; padding: 11px 12px; text-align: center; }
  .portal-security { grid-column: 1; }
  .damage-grid { grid-template-columns: 1fr; }
  .household-head { display: none; }
  .household-row { grid-template-columns: 1fr 1fr; }
  .household-row label { grid-column: 1 / -1; }
  .household-row output { text-align: right; }
  .damage-module > summary, .module-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  body { padding-bottom: 72px; font-size: 16px; }
  .shell, .narrow { width: min(100% - 32px, 1180px); }
  .brand { flex-basis: 194px; }
  .brand img { width: 194px; }
  h1, .page-hero h1 { font-size: 34px; line-height: 1.08; }
  .article-page h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  h3 { font-size: 19px; }
  .lead { font-size: 18px; }
  .section { padding-block: 60px; }
  .section-head { display: block; margin-bottom: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .cta-band .shell { display: block; padding-block: 42px; }
  .cta-band .button { width: 100%; margin-top: 20px; }
  .assistant { width: calc(100% - 24px); }
  .assistant-top { padding: 17px 20px; }
  .assistant-body { min-height: 440px; padding: 28px 20px; }
  .assistant-body h1 { font-size: 30px; }
  .choice-grid { grid-template-columns: 1fr; }
  .assistant-actions { flex-direction: column-reverse; }
  .assistant-actions .button { width: 100%; }
  .autosave-row { display: block; }
  .text-button { margin-top: 10px; }
  .review-list > div { grid-template-columns: 1fr; gap: 5px; }
  .upload-zone input { max-width: 100%; }
  .review-feature blockquote { padding-left: 18px; font-size: 21px; }
  .status-row { flex-wrap: wrap; }
  .segmented { grid-template-columns: 1fr; }
  .consent-option { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
  .mobile-action { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: block; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); padding: 10px 16px; }
  .mobile-action .button { width: 100%; }
  body[data-page="fall-pruefen"], body[data-page="mein-fall"] { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Reserve the application viewport while the server fallback is replaced. */
#main { min-height: calc(100svh - 84px); }
