/* Zollagentur Mersch – Stylesheet */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --surface-2: #F9F7F2;
  --ink: #15212B;
  --text: #3E4955;
  --muted: #4A5561;
  --line: #CFC8B8;
  --line-2: #DDD7CA;
  --line-3: #E6E1D6;
  --field: #BFB7A6;
  --accent: #1D5B47;
  --accent-hover: #123D30;
  --accent-soft: #E4EEE9;
  --accent-pressed: #EEF4F1;
  --dark: #15212B;
  --darker: #0E171F;
  --dark-line: #34424F;
  --dark-muted: #9AA6B1;
  --dark-text: #C9D1D8;

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: 20px;
  --maxw: 1200px;
  --section: 56px;
  --radius: 16px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --section: 88px; } }
@media (min-width: 1100px) { :root { --section: 112px; --radius: 20px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-bottom: var(--section); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }

/* ---------- Typografie ---------- */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker .num { color: var(--accent); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.028em; }
.h1--md { font-size: clamp(36px, 5.2vw, 68px); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.h4 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); max-width: 680px; }
.text { color: var(--text); }
.small { font-size: 15px; color: var(--muted); }
.mono { font-family: var(--mono); font-weight: 500; }
@media (min-width: 768px) { .kicker { font-size: 13px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 10px; font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; transition: background-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.link-strong { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 54px; height: 40px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 18px; }
.menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.main-nav { display: none; }
.main-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line-2); padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px rgba(21,33,43,.08); }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-3); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav .btn { margin-top: 18px; border-bottom: 0; color: #fff; font-size: 17px; }
@media (min-width: 1100px) {
  .site-header .container { min-height: 88px; }
  .brand img { width: 70px; height: 52px; }
  .brand span { font-size: 21px; }
  .menu-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 32px; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .main-nav a { font-size: 16px; font-weight: 500; min-height: 44px; border: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .main-nav a:hover { color: var(--accent); }
  .main-nav .btn { margin-top: 0; min-height: 44px; padding: 0 22px; font-size: 16px; font-weight: 600; color: #fff; }
  .main-nav .btn:hover { color: #fff; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 var(--section); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 768px) { .hero { padding-top: 88px; } }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; } .hero__copy { gap: 28px; } }
.page-hero { padding: 40px 0 36px; }
.page-hero .stack { gap: 18px; }
@media (min-width: 768px) { .page-hero { padding: 88px 0 56px; } .page-hero .stack { gap: 24px; } }
.split-hero { display: grid; gap: 18px; }
@media (min-width: 1100px) { .split-hero { grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; align-items: end; } }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card--raised { box-shadow: 0 18px 40px rgba(21,33,43,.08); }
.card--featured { border: 2px solid var(--accent); }
.card .btn { margin-top: auto; }
.divider-dashed { border-top: 1px dashed var(--line); padding-top: 16px; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile svg { width: 24px; height: 24px; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--accent); color: #fff; border-radius: 999px; padding: 5px 12px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: #2B3641; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--mono); font-size: 13px; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 4px; padding: 2px 8px; }

/* ---------- Raster ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.side-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .side-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 72px; } }
.head-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; } .head-row > p { max-width: 400px; } }

/* ---------- Listen ---------- */
.check-list, .doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li, .doc-list li { display: flex; gap: 12px; }
.check-list svg, .doc-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.check-list svg { color: var(--accent); }
.doc-list svg { color: var(--muted); }
.doc-list { font-size: 16px; gap: 10px; }
.card .check-list { font-size: 16px; padding-top: 18px; border-top: 1px solid var(--line-3); }

.numbered { border-top: 1px solid var(--line); }
.numbered__item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.numbered__num { font-family: var(--mono); font-size: 15px; color: var(--accent); padding-top: 4px; }
.numbered__item .stack { gap: 8px; }

.steps { display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--accent); }

.rule-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .rule-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.rule-cols > div { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 20px 12px 20px 0; display: flex; flex-direction: column; gap: 2px; }
.stats > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
.stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats strong { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); }
.stats span { font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div { padding: 28px 24px; border-top: 0 !important; }
  .stats > div + div { border-left: 1px solid var(--line); }
  .stats > div:first-child { padding-left: 0; }
}

/* ---------- Beleg / Rechenbeispiel ---------- */
.receipt__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.receipt__rows { border-top: 1px dashed var(--line); }
.receipt__pos { font-family: var(--mono); color: #6A7480; margin-right: 10px; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.receipt__total .mono { font-size: 24px; }
.speed__row { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px dashed var(--line); }
.speed__row:last-child { border-bottom: 1px dashed var(--line); }

/* ---------- Preise ---------- */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__value { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.price__value--sm { font-size: clamp(36px, 3.4vw, 48px); }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.price-table th { background: #EFEBE2; text-align: left; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; }
.price-table td { padding: 18px 20px; border-top: 1px solid var(--line-3); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-family: var(--mono); font-weight: 500; }
.price-table .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.price-table .unit { color: var(--muted); }
@media (max-width: 699px) {
  .price-table thead { display: none; }
  .price-table td:nth-child(2) { display: none; }
  .price-table td:first-child::after { content: attr(data-unit); display: block; font-size: 14px; color: var(--muted); }
}

/* ---------- Leistungen (Detail) ---------- */
.service { display: grid; gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
@media (min-width: 1000px) { .service { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; padding: 88px 0; align-items: start; } }
.service__copy { display: flex; flex-direction: column; gap: 20px; }
.service__copy .check-list { font-size: 17px; }

/* ---------- Geschichte / Personen ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); line-height: 1; color: var(--accent); }
@media (min-width: 700px) { .timeline li { grid-template-columns: 140px minmax(0, 1fr); gap: 32px; } }
.person { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.person__body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.person__photo { width: 140px; height: 175px; flex-shrink: 0; border-radius: 12px; object-fit: cover; object-position: center top; display: block; }
.person picture { flex-shrink: 0; }
.role { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Platzhalter für noch fehlende Fotos – vor dem Livegang ersetzen */
.photo-placeholder { border-radius: var(--radius); background: #E9E4D8; border: 2px dashed #B9B09C; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #5C6570; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 16px; }
.photo-placeholder svg { width: 40px; height: 40px; }
.photo-wide { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius); object-fit: cover; object-position: center 20%; display: block; }
@media (min-width: 1000px) { .photo-wide--hero { aspect-ratio: 21 / 9; } }
.about-teaser { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .about-teaser { grid-template-columns: 560px minmax(0, 1fr); gap: 72px; } }

/* ---------- FAQ ---------- */
.faq-group { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 96px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .answer { padding: 0 0 22px; color: var(--text); display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1000px) { .faq-item summary { font-size: 20px; min-height: 72px; } .faq-item .answer { padding-right: 56px; } }
.toc { display: none; }
@media (min-width: 1000px) {
  .toc { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 112px; align-self: start; }
  .toc a { color: var(--ink); text-decoration: none; font-weight: 500; min-height: 40px; display: flex; align-items: center; }
  .toc a:hover { color: var(--accent); }
}

/* ---------- Formular ---------- */
.form-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .form-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; } }
.form { display: flex; flex-direction: column; gap: 32px; }
.form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 18px; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-option label { display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; background: #fff; cursor: pointer; justify-content: center; }
.type-option label strong { font-size: 16px; }
.type-option label span { font-size: 13px; color: var(--muted); }
.type-option input:checked + label { border: 2px solid var(--accent); background: var(--accent-pressed); padding: 11px 13px; }
.type-option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.sub-fieldset { padding: 18px !important; border: 1px solid var(--line-2) !important; border-radius: 12px; background: var(--surface-2); }
.sub-fieldset legend { padding: 0 6px; font-size: 16px; margin: 0; }
.choice { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; min-height: 32px; }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.choices-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.field-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 10px; padding: 0 14px; height: 50px; width: 100%; }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.dropzone { position: relative; min-height: 140px; border: 2px dashed var(--field); border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; cursor: pointer; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 32px; height: 32px; color: var(--accent); }
.dropzone .u { color: var(--accent); text-decoration: underline; }
.file-list { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-direction: column; gap: 22px; padding-top: 20px; border-top: 1px solid var(--line-3); }
.form-error { background: #FBE7D3; color: #7A3A0C; border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.aside-stack { display: flex; flex-direction: column; gap: 20px; }
.note { padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--muted); }

/* ---------- Dunkler Kontaktbereich & Footer ---------- */
.cta-band { background: var(--dark); color: #fff; padding: 56px 0; }
.cta-band .container { display: grid; gap: 32px; }
@media (min-width: 1000px) { .cta-band { padding: 96px 0; } .cta-band .container { grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; } }
.cta-band .h2 { color: #fff; }
.cta-band p { color: var(--dark-text); font-size: 18px; max-width: 620px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.contact-list > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); }
.contact-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .kicker { color: var(--dark-muted); }
.contact-list a { color: #fff; }
.contact-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-card .h3 { color: #fff; font-size: 24px; }
.site-footer { background: var(--darker); color: var(--dark-muted); font-size: 14px; padding: 26px 0 32px; }
.site-footer .container { display: flex; flex-direction: column-reverse; gap: 14px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--dark-text); display: inline-flex; align-items: center; min-height: 32px; }
@media (min-width: 768px) { .site-footer .container { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; border-bottom: 1px solid var(--line); }
.legal section { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 96px; }
.legal h2 { font-size: 20px; font-weight: 600; }
.legal p { color: var(--text); line-height: 1.65; }
@media (min-width: 1000px) { .legal h2 { font-size: 22px; } }
.legal-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 300px minmax(0, 820px); gap: 88px; } }

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