/* ==========================================================================
   LENG-TOOLS — Haupt-Stylesheet (Design-System design/DESIGN-SYSTEM.md)
   Mobile-first. Nutzt ausschließlich Tokens aus tokens.css.
   ========================================================================== */

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--r-1); }
::selection { background: var(--blue-tint); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-head);
  margin: 0 0 var(--sp-4);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, ul, ol { margin: 0 0 var(--sp-4); max-width: var(--measure); }
.mono, .dim { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink); padding: var(--sp-3) var(--sp-4);
}
.skip-link:focus { left: var(--sp-3); }

/* Bemaßungs-Motiv: Linie mit Endticks */
.dimline {
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--ink-3); font-family: var(--font-mono); font-size: var(--fs-label);
}
.dimline::before, .dimline::after {
  content: ""; flex: 1; height: 1px; background: var(--line-strong);
  box-shadow: 0 -4px 0 -0.5px var(--line-strong) inset;
}
.dimline::before { border-right: 1px solid var(--line-strong); }
.dimline::after  { border-left: 1px solid var(--line-strong); }

/* ---- Layout -------------------------------------------------------------- */
.wrap   { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.stage  { max-width: var(--stage-max);   margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section-tight { padding-block: calc(var(--section-pad) * .6); }
.section-navy {
  background: var(--navy); color: var(--navy-text);
}
.section-navy h2, .section-navy h3 { color: #ffffff; }
.section-navy a { color: var(--blue-light); }

.grid { display: grid; gap: var(--gutter); }
@media (min-width: 860px) {
  .grid-7-5  { grid-template-columns: 7fr 5fr; align-items: start; }
  .grid-5-7  { grid-template-columns: 5fr 7fr; align-items: start; }
  .grid-8-4  { grid-template-columns: 8fr 4fr; align-items: start; }
  .grid-half { grid-template-columns: 1fr 1fr; }
}

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  box-shadow: var(--shadow-sticky);
}
.header-inner {
  max-width: var(--stage-max); margin-inline: auto;
  display: flex; align-items: center; gap: var(--sp-5);
  padding: var(--sp-3) var(--gutter);
}
.brand img { width: 150px; height: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-2); }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: var(--sp-3) var(--sp-3);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-small);
  border-bottom: 2px solid transparent;
}
.nav-list > li > a:hover,
.nav-list > li > a[aria-current] { border-bottom-color: var(--blue); color: var(--blue-deep); }

.has-sub > .sub {
  position: absolute; left: 0; top: 100%; min-width: 300px;
  background: var(--surface); border: var(--hairline); box-shadow: var(--shadow-pop);
  padding: var(--sp-4); display: none;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub-hint {
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3);
  border-bottom: var(--hairline); padding-bottom: var(--sp-2); margin-bottom: var(--sp-2);
}
.sub ul { list-style: none; margin: 0; padding: 0; }
.sub a { display: block; padding: var(--sp-2) var(--sp-1); color: var(--ink); text-decoration: none; font-size: var(--fs-small); }
.sub a:hover { color: var(--blue); }

.header-utils { display: flex; align-items: center; gap: var(--sp-4); }
.header-phone {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: var(--fs-small);
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue); }
.lang-switch {
  font-size: var(--fs-small); color: var(--ink-2); text-decoration: none;
  border: var(--hairline); padding: var(--sp-1) var(--sp-2); border-radius: var(--r-1);
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.cart-link { color: var(--ink); position: relative; display: flex; }
.cart-link:hover { color: var(--blue); }
.cart-link[data-count]::after {
  content: attr(data-count);
  position: absolute; top: -8px; right: -10px;
  background: var(--blue); color: #fff; font-size: 11px; font-family: var(--font-mono);
  min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 8px;
  padding-inline: 3px;
}
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .main-nav { margin-left: 0; order: 4; }
  .nav-toggle {
    display: flex; align-items: center; gap: var(--sp-2);
    background: none; border: var(--hairline); border-radius: var(--r-1);
    padding: var(--sp-2) var(--sp-3); font: inherit; font-size: var(--fs-small); color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; display: block; width: 16px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before { position: absolute; top: -5px; }
  .nav-toggle-bars::after  { position: absolute; top: 5px; }
  .header-inner { flex-wrap: wrap; }
  .nav-list {
    display: none; flex-direction: column; width: 100%;
    border-top: var(--hairline); margin-top: var(--sp-2); padding-top: var(--sp-2);
  }
  .nav-list.open { display: flex; }
  .has-sub > .sub { position: static; display: block; border: none; box-shadow: none; padding: 0 0 var(--sp-2) var(--sp-4); min-width: 0; }
  .header-phone span { display: none; }
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block; padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-text); font-weight: 600; font-size: var(--fs-small);
  border-radius: var(--r-2); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.section-navy .btn-outline { color: var(--navy-text); border-color: var(--ink-3); }
.section-navy .btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }

/* ---- Breadcrumb ----------------------------------------------------------- */
.breadcrumb {
  font-size: var(--fs-small); color: var(--ink-3);
  padding-block: var(--sp-4); margin: 0; max-width: none;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; max-width: none; }
.breadcrumb li + li::before { content: "›"; margin-right: var(--sp-2); color: var(--line-strong); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--blue); }

/* ==========================================================================
   v2 — Cinematic Hero (jede Seite) & Parallax-Bänder (Design-Direction Apple)
   ========================================================================== */

/* Full-bleed Hero: Bild ODER Video als Bühne, Scrim, Overlay-Text.
   Kein CLS: feste min-height; Medien absolut positioniert. */
.hero-cine {
  position: relative;
  min-height: var(--hero-min-h);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  background: var(--navy);           /* Fallback bis Bild lädt */
  color: #fff;
}
.page-home .hero-cine { min-height: var(--hero-min-h-home); }
.hero-cine-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-cine-media img,
.hero-cine-media video {
  position: absolute; inset: 0;
  width: 100%; height: 116%;         /* Überhöhe für Parallax-Shift */
  object-fit: cover;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-cine-media img, .hero-cine-media video { height: 100%; }
}
.hero-cine::after {                   /* Scrim: Lesbarkeit des Overlays */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--scrim-side);
}
.hero-cine.hero-align-bottom::after { background: var(--scrim-bottom); }
.hero-cine-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--stage-max);
  margin-inline: auto;
  padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(48px, 7vh, 88px);
}
.hero-cine .hero-claim { color: var(--blue-light); margin-bottom: var(--sp-3); }
.hero-cine h1 {
  font-size: var(--fs-hero);
  color: #fff;
  max-width: 17ch;
  letter-spacing: -0.02em;
  font-stretch: 108%;
  font-weight: 650;
  text-wrap: balance;
  margin-bottom: var(--sp-4);
}
.page-home .hero-cine h1 { font-size: var(--fs-display); max-width: 14ch; }
.hero-cine .hero-sub {
  font-size: var(--fs-lead);
  color: #d7dfe6;
  max-width: 52ch;
  margin-bottom: var(--sp-5);
}
.hero-cine .hero-actions { margin-top: 0; }
.hero-cine .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-cine .btn-outline:hover { border-color: #fff; color: #fff; }
.hero-cine .quick-answer {           /* Quick-Answer bleibt GEO-Objekt, unterhalb im Content */
  margin-top: 0;
}
/* Fakten-Leiste unten im Hero (Glas-Optik, dezent) */
.hero-cine .hero-facts {
  margin-top: var(--sp-6);
  border: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--r-2);
  overflow: hidden;
}
@media (min-width: 720px) { .hero-cine .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.hero-cine .hero-facts > div {
  background: rgba(13, 22, 31, .55);
  border: 0;
  padding: var(--sp-4) var(--sp-5);
}
.hero-cine .fact-value { color: #fff; }
.hero-cine .fact-label { color: #b7c4cf; }

/* Scroll-Cue (nur Startseiten) */
.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; z-index: 2;
  width: 1px; height: 44px; background: rgba(255, 255, 255, .5);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { display: none; } }

/* ---- Parallax-Band: full-width Bild-Zwischensektion ---------------------- */
.band {
  position: relative;
  overflow: clip;
  min-height: clamp(340px, 52vh, 560px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--navy);
}
.band-media { position: absolute; inset: 0; z-index: 0; }
.band-media img {
  position: absolute; left: 0; top: -12%;
  width: 100%; height: 124%;         /* Überhöhe = Parallax-Spielraum, kein Reveal-Rand */
  object-fit: cover;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .band-media img { top: 0; height: 100%; }
}
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--scrim-band); }
.band-content {
  position: relative; z-index: 2;
  max-width: var(--content-max); margin-inline: auto;
  padding: var(--sp-9) var(--gutter);
  text-align: center;
}
.band-content .dimline { color: #b7c4cf; justify-content: center; margin-bottom: var(--sp-4); }
.band-content .dimline::before, .band-content .dimline::after { background: rgba(255,255,255,.35); border-color: rgba(255,255,255,.35); }
.band-content h2, .band-content p.band-quote {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: #fff;
  max-width: 26ch;
  margin-inline: auto;
  text-wrap: balance;
}
.band-content .band-fact {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #fff; display: block; margin-bottom: var(--sp-2);
}
.band-content .btn { margin-top: var(--sp-5); }

/* ---- Hero (Startseite) ---------------------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; overflow: clip; }
.hero-grid { display: grid; gap: var(--gutter); align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 6fr 6fr; } }
.hero-claim {
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--blue-deep);
  margin-bottom: var(--sp-4);
}
.hero h1 { font-size: var(--fs-display); font-stretch: 112%; font-weight: 650; max-width: 14ch; }
.hero-sub { font-size: 1.125rem; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  margin-bottom: calc(-1 * var(--sp-7));   /* ragt über die Sektionskante — Layering */
}
.hero-facts {
  margin-top: var(--sp-8); border-top: var(--hairline-strong); border-bottom: var(--hairline-strong);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.hero-facts > div { padding: var(--sp-5) var(--sp-4); border-left: var(--hairline); }
.hero-facts > div:first-child { border-left: none; }
.fact-value { font-family: var(--font-mono); font-size: 1.375rem; color: var(--ink); display: block; }
.fact-label { font-size: var(--fs-small); color: var(--ink-3); }

/* ---- Zahlen-Band (Navy) ---------------------------------------------------- */
.stats-band { background: var(--navy); color: var(--navy-text); }
.stats-band .fact-value { color: #fff; font-size: 1.75rem; }
.stats-band .fact-label { color: #9db0c0; }

/* ---- Produktfelder: Katalog-Register (kein Card-Grid) ----------------------- */
.register { border-top: var(--hairline-strong); }
.register-row {
  display: grid; grid-template-columns: 72px 1fr auto auto; gap: var(--sp-5);
  align-items: center; padding: var(--sp-5) 0; border-bottom: var(--hairline);
  text-decoration: none; color: var(--ink);
  transition: background var(--t-fast) var(--ease);
}
.register-row:hover { background: var(--surface); }
.register-row img { width: 72px; height: 72px; object-fit: cover; }
.register-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); margin: 0 0 2px; }
.register-desc { display: block; color: var(--ink-2); font-size: var(--fs-small); margin: 0; max-width: 52ch; }
.register-dim { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); white-space: nowrap; }
.register-row::after { content: "→"; color: var(--blue); font-size: 1.25rem; }
@media (max-width: 640px) {
  .register-row { grid-template-columns: 56px 1fr; }
  .register-row img { width: 56px; height: 56px; }
  .register-dim, .register-row::after { display: none; }
}

/* ---- Quick-Answer (GEO-Objekt) ---------------------------------------------- */
.quick-answer {
  background: var(--blue-tint); border: var(--hairline); border-left: 3px solid var(--blue);
  padding: var(--sp-5); margin-block: var(--sp-5) var(--sp-7);
  font-size: 1.0625rem; max-width: 75ch;
}
.quick-answer p { margin: 0; max-width: none; }

/* ---- Tabellen als gestaltete Objekte ----------------------------------------- */
.table-wrap { overflow-x: auto; margin-block: var(--sp-5); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
caption { text-align: left; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); padding-bottom: var(--sp-2); }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: var(--hairline); }
thead th {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label);
  color: var(--ink-3); border-bottom: var(--hairline-strong); text-transform: none;
}
td.num, th.num { text-align: right; font-family: var(--font-mono); }

/* ---- Prozess-Strecke (Maßlinie) ---------------------------------------------- */
.process { list-style: none; margin: var(--sp-7) 0; padding: 0; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-strong);
}
.process li { position: relative; padding: 0 0 var(--sp-6) 64px; counter-increment: step; max-width: 60ch; }
.process li:last-child { padding-bottom: 0; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--surface); border: var(--hairline-strong); border-radius: var(--r-1);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--blue-deep);
}
.process h3 { margin-bottom: var(--sp-1); }
.process p { margin: 0; color: var(--ink-2); }

/* ---- FAQ (natives details) ----------------------------------------------------- */
.faq { border-top: var(--hairline-strong); margin-block: var(--sp-6); }
.faq details { border-bottom: var(--hairline); }
.faq summary {
  cursor: pointer; padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue); font-size: 1.25rem; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 var(--sp-2) var(--sp-5); }

/* ---- CTA-Blöcke ------------------------------------------------------------------ */
.cta-block {
  background: var(--navy); color: var(--navy-text);
  padding: var(--sp-7); margin-block: var(--sp-8);
}
.cta-block h2 { color: #fff; }
.cta-block .btn-primary { margin-right: var(--sp-3); }
.cta-note { font-family: var(--font-mono); font-size: var(--fs-label); color: #9db0c0; margin-top: var(--sp-4); }

/* Zubehör-Modul (Fachseite → Shop, INTERNAL-LINKING §3) */
.accessory-module {
  border: var(--hairline-strong); background: var(--surface);
  padding: var(--sp-5); margin-block: var(--sp-6);
}
.accessory-module .dimline { margin-bottom: var(--sp-4); }
.accessory-module ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
}
.accessory-module li { margin: 0; }

/* ---- Formulare ---------------------------------------------------------------------- */
.form { max-width: 720px; }
.form fieldset { border: none; margin: 0 0 var(--sp-5); padding: 0; }
.form legend { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); padding-bottom: var(--sp-3); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 500; font-size: var(--fs-small); margin-bottom: var(--sp-1); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: var(--sp-3); font: inherit; color: var(--ink);
  background: var(--surface); border: var(--hairline-strong); border-radius: var(--r-1);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: var(--focus-ring); outline-offset: 0; border-color: var(--blue);
}
.field-hint { font-size: var(--fs-label); color: var(--ink-3); margin-top: var(--sp-1); }
.field.error input, .field.error textarea, .field.error select { border-color: var(--err); }
.field-error { color: var(--err); font-size: var(--fs-label); margin-top: var(--sp-1); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-msg { padding: var(--sp-4); border-radius: var(--r-1); margin-bottom: var(--sp-5); font-size: var(--fs-small); }
.form-msg.ok  { background: #e8f4ec; border: 1px solid var(--ok); color: #14532d; }
.form-msg.err { background: #fbeaea; border: 1px solid var(--err); color: #7f1d1d; }
/* Honeypot: visuell + für Screenreader raus, für Bots da */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- Shop-Elemente (auch vom Woo-Theme genutzt) -------------------------------------- */
.product-card {
  background: var(--surface); border: var(--hairline);
  display: flex; flex-direction: column;
  transition: border-color var(--t-fast) var(--ease);
}
.product-card:hover { border-color: var(--line-strong); }
.product-card a { text-decoration: none; color: var(--ink); }
.product-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; }
.product-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0; }
.product-spec { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); }
.product-price { font-weight: 600; font-size: 1.0625rem; margin-top: auto; }
.product-unit-price { font-size: var(--fs-label); color: var(--ink-3); }
.product-tax { font-size: var(--fs-label); color: var(--ink-3); }
.delivery-badge {
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-label);
  padding: 2px var(--sp-2); border-radius: var(--r-1); margin-top: var(--sp-2);
}
.delivery-badge.in-stock { background: #e8f4ec; color: var(--ok); }
.delivery-badge.longer   { background: #f8efe2; color: var(--warn); }
.delivery-badge.na       { background: #fbeaea; color: var(--err); }
.product-grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---- Wissen/Artikel -------------------------------------------------------------------- */
.article-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); margin-bottom: var(--sp-5); }
.article-body h2 { margin-top: var(--sp-8); }
.article-body h3 { margin-top: var(--sp-6); }
.article-body figure { margin: var(--sp-6) 0; }
.article-body figcaption { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); padding-top: var(--sp-2); border-top: var(--hairline); }

/* ---- Footer ------------------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: var(--navy-text); margin-top: var(--section-pad); }
.footer-inner {
  max-width: var(--content-max); margin-inline: auto; padding: var(--sp-8) var(--gutter) var(--sp-6);
  display: grid; gap: var(--sp-6);
}
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: var(--sp-3); }
.footer-head {
  font-family: var(--font-mono); font-size: var(--fs-label); color: #9db0c0;
  border-bottom: 1px solid #2c3c4c; padding-bottom: var(--sp-2); margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { color: var(--navy-text); text-decoration: none; font-size: var(--fs-small); }
.site-footer a:hover { color: var(--blue-light); }
.site-footer address { font-style: normal; font-size: var(--fs-small); line-height: 1.7; }
.footer-iso { font-size: var(--fs-label); color: #9db0c0; margin-top: var(--sp-4); }
.footer-base { border-top: 1px solid #2c3c4c; }
.footer-base p {
  max-width: var(--content-max); margin-inline: auto; padding: var(--sp-4) var(--gutter);
  font-size: var(--fs-label); color: #9db0c0;
}
/* E-Mail-Spamschutz: CSS-reverse (ohne CSS trotzdem entzifferbar, ohne JS funktional) */
.email-guard { unicode-bidi: bidi-override; direction: rtl; }

/* ---- Utilities ----------------------------------------------------------------------------- */
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
.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;
}
.update-stamp { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); }
