/* =====================================================================
   Albis Leas — Fragen zu Handel & Markt
   Institutionelles Cool-Slate-Layout: einspaltiger Q&A-Akkordeon-Strom
   mit Kategorie-Chips. Sans-Display für Fragen, Monospace für Zeiten.
   KEINE Card-Masonry, KEINE Sidebar, KEINE Treppen-Grids.
   ===================================================================== */

:root {
  --bz-bg: #f5f6f8;         /* kühler Hintergrund */
  --bz-surface: #ffffff;    /* Kartenfläche */
  --bz-ink: #1c2430;        /* Tinte */
  --bz-muted: #586172;      /* gedämpfter Text */
  --bz-accent: #3a5a8c;     /* Schieferblau (einziger Akzent) */
  --bz-accent-deep: #2c476d;/* dunkleres Schieferblau für Hover */
  --bz-tint: #eef2f7;       /* Kategorie-Tönung */
  --bz-hairline: #e0e5ec;   /* Haarlinie */
  --bz-shade: #141a24;      /* dunkler Overlay-Ton */

  /* Sans-Display + Monospace für Zeiten */
  --bz-sans: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --bz-mono: ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;

  --bz-maxprose: 70ch;
  --bz-maxwide: 1080px;
  --bz-radius: 10px;
  --bz-radius-lg: 14px;

  /* CMP-Variablen (Verhalten identisch, nur Farben/Radius angepasst) */
  --accent: #3a5a8c;
  --cmp-bg: #ffffff;
  --cmp-fg: #1c2430;
  --cmp-bd: #e0e5ec;
  --cmp-radius: 10px;
  --muted: #586172;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bz-bg);
  color: var(--bz-ink);
  font-family: var(--bz-sans);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Skip-Link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 16px;
  background: var(--bz-accent);
  color: #fff;
  border-radius: 0 0 var(--bz-radius) 0;
  z-index: 1200;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--bz-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

a { color: var(--bz-accent); }
a:hover { color: var(--bz-accent-deep); }

img { max-width: 100%; height: auto; display: block; }

/* ---- Layout-Container ---- */
.wrap {
  width: 100%;
  max-width: var(--bz-maxwide);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.prose { max-width: var(--bz-maxprose); }

/* =====================================================================
   Kopfzeile / Hauptnavigation (breadcrumb-first: schlanke Topbar)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--bz-hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bz-ink);
  text-decoration: none;
  font-size: 1.02rem;
}
.brand .brand-mark {
  width: 30px; height: 30px;
  flex: none;
  color: var(--bz-accent);
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--bz-muted);
  letter-spacing: 0;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-main a {
  color: var(--bz-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav-main a:hover { background: var(--bz-tint); color: var(--bz-ink); }
.nav-main a[aria-current="page"] {
  color: var(--bz-accent-deep);
  background: var(--bz-tint);
}

/* Mobile / tablet nav toggle */
.nav-toggle {
  display: none;
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--bz-ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* 7-item nav needs ~970px on one line; switch to the drawer below that so it
   never wraps to two rows on tablets (iPad portrait/landscape ≤ 1024px). */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-main {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bz-surface);
    border-bottom: 1px solid var(--bz-hairline);
    padding: 10px clamp(16px, 4vw, 32px) 16px;
    box-shadow: 0 18px 40px -24px rgba(20, 26, 36, 0.5);
  }
  .nav-main.is-open { display: flex; }
  .nav-main a { padding: 12px 12px; }
}

/* =====================================================================
   Hero — Kernfrage-Einstieg mit Quick-Jump-Chips
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(20, 26, 36, 0.86) 0%, rgba(20, 26, 36, 0.62) 46%, rgba(20, 26, 36, 0.30) 100%),
    url("../img/home-hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--bz-hairline);
}
.hero .wrap {
  padding-block: clamp(64px, 12vh, 140px);
}
.hero-inner { max-width: 680px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cdd8ea;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
  text-wrap: balance;
}
.hero .standfirst {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  line-height: 1.55;
  color: #e6ecf5;
  margin: 0 0 24px;
  max-width: 60ch;
}
.hero-preview {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bz-radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(4px);
  max-width: 560px;
}
.hero-preview p { margin: 0 0 6px; }
.hero-preview .q { font-weight: 600; color: #fff; }
.hero-preview .a { color: #dbe3ef; font-size: 0.95rem; }

/* Quick-Jump-Chip-Reihe */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--bz-hairline);
  background: var(--bz-surface);
  color: var(--bz-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.chip:hover { background: var(--bz-tint); border-color: var(--bz-accent); }
.chip[aria-pressed="true"] {
  background: var(--bz-accent);
  border-color: var(--bz-accent);
  color: #fff;
}
.hero .chip-row .chip {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.hero .chip-row .chip:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #fff;
}

/* =====================================================================
   Abschnitte
   ===================================================================== */
.section { padding-block: clamp(48px, 8vh, 88px); }
.section--tint { background: var(--bz-tint); }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bz-accent);
  margin: 0 0 12px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  font-weight: 700;
}
.section-head p { color: var(--bz-muted); margin: 0; max-width: 60ch; }

.icon { width: 1em; height: 1em; flex: none; }
.icon-inline { vertical-align: -0.14em; }

/* =====================================================================
   Q&A-Digest-Karten (Vorschau auf der Startseite)
   ===================================================================== */
.qa-digest {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qa-digest .digest-card {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.qa-digest .digest-card:hover {
  border-color: var(--bz-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -24px rgba(20, 26, 36, 0.45);
}
.digest-card .cat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bz-accent);
  margin-bottom: 8px;
}
.digest-card .q {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--bz-ink);
}
.digest-card .a {
  margin: 0;
  color: var(--bz-muted);
  font-size: 0.95rem;
}
.digest-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--bz-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =====================================================================
   Themen-Verzeichnis (content_directory)
   ===================================================================== */
.dir-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dir-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.dir-item:hover { border-color: var(--bz-accent); transform: translateY(-2px); }
.dir-item .dir-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bz-tint);
  color: var(--bz-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dir-item .dir-icon svg { width: 22px; height: 22px; }
.dir-item h3 { margin: 0 0 4px; font-size: 1.08rem; font-weight: 600; }
.dir-item p { margin: 0; color: var(--bz-muted); font-size: 0.94rem; }

/* =====================================================================
   Quellen & Methode (source_method)
   ===================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.method-item {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 20px;
}
.method-item .method-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--bz-tint);
  color: var(--bz-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.method-item .method-ico svg { width: 20px; height: 20px; }
.method-item h3 { margin: 0 0 6px; font-size: 1.02rem; }
.method-item p { margin: 0; color: var(--bz-muted); font-size: 0.92rem; }
.source-links {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.source-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bz-accent-deep);
}
.source-links a:hover { border-color: var(--bz-accent); background: var(--bz-tint); }
.source-links svg { width: 15px; height: 15px; }

/* =====================================================================
   Trust / Offenlegung (trust_disclosure)
   ===================================================================== */
.trust-box {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-left: 4px solid var(--bz-accent);
  border-radius: var(--bz-radius);
  padding: 22px 24px;
  max-width: 74ch;
}
.trust-box h2 { margin: 0 0 10px; font-size: 1.2rem; }
.trust-box p { margin: 0 0 12px; color: var(--bz-muted); font-size: 0.95rem; }
.trust-box .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.trust-box .legal-links a { font-weight: 600; font-size: 0.9rem; }

/* =====================================================================
   Fragen & Antworten — Toolbar, Chips-Filter, Akkordeon-Strom
   ===================================================================== */
.qa-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  position: sticky;
  top: 72px;
  z-index: 500;
}
.qa-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qa-toolbar .toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--bz-hairline);
  background: var(--bz-surface);
  color: var(--bz-ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--bz-tint); border-color: var(--bz-accent); }
.btn-primary {
  background: var(--bz-accent);
  border-color: var(--bz-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--bz-accent-deep); border-color: var(--bz-accent-deep); }
.btn svg { width: 17px; height: 17px; }

/* Kategorie-Gruppe */
.qa-group { margin: 0 0 8px; }
.qa-group.hidden { display: none; }
.qa-group > h2 {
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bz-hairline);
  /* clears BOTH the sticky header (64px) and the sticky .qa-toolbar (~68px)
     so #category anchors are not hidden behind the toolbar on the FAQ page. */
  scroll-margin-top: 150px;
}
.qa-group > h2 .count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bz-muted);
  margin-left: 8px;
}

/* Akkordeon-Strom (native <details>) */
.qa-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
details.qa {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  overflow: hidden;
}
details.qa.hidden { display: none; }
details.qa > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--bz-ink);
  min-height: 40px;
  list-style: none;
}
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary .chev {
  flex: none;
  width: 20px; height: 20px;
  margin-left: auto;
  color: var(--bz-accent);
  transition: transform 0.22s ease;
}
details.qa[open] > summary .chev { transform: rotate(180deg); }
details.qa > summary:hover { background: var(--bz-tint); }
details.qa[open] > summary { border-bottom: 1px solid var(--bz-hairline); background: var(--bz-tint); }
details.qa .answer {
  padding: 16px 18px 18px;
  color: var(--bz-ink);
}
details.qa .answer p { margin: 0 0 10px; }
details.qa .answer p:last-child { margin-bottom: 0; }
details.qa .answer .clock {
  font-family: var(--bz-mono);
  font-weight: 600;
  color: var(--bz-accent-deep);
  background: var(--bz-tint);
  padding: 1px 6px;
  border-radius: 5px;
}
.no-results {
  display: none;
  padding: 22px;
  text-align: center;
  color: var(--bz-muted);
  background: var(--bz-surface);
  border: 1px dashed var(--bz-hairline);
  border-radius: var(--bz-radius);
}
.no-results.show { display: block; }

/* =====================================================================
   TOC / Kategorie-Index
   ===================================================================== */
.toc {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 18px 20px;
  margin: 0 0 24px;
}
.toc h2 { margin: 0 0 10px; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bz-muted); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* =====================================================================
   Breadcrumb
   ===================================================================== */
.breadcrumb { margin: 18px 0 6px; font-size: 0.86rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--bz-muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb [aria-current="page"] { color: var(--bz-ink); font-weight: 600; }

/* =====================================================================
   Artikel (themen/)
   ===================================================================== */
.article-head { max-width: var(--bz-maxprose); margin: 8px 0 28px; }
.article-head .cat-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bz-accent);
  margin-bottom: 10px;
}
.article-head h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
  text-wrap: balance;
}
.article-head .lead {
  font-size: 1.14rem;
  line-height: 1.55;
  color: var(--bz-muted);
  margin: 0 0 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--bz-muted);
  font-size: 0.88rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }

figure.cover {
  margin: 0 0 30px;
  border-radius: var(--bz-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bz-hairline);
}
figure.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figure figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--bz-muted);
  background: var(--bz-surface);
}

.article-body { max-width: var(--bz-maxprose); }
.article-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  scroll-margin-top: 84px;
}
.article-body h3 { font-size: 1.18rem; margin: 26px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 1.35em; }
.article-body li { margin: 0 0 8px; }
.article-body figure.timeline { margin: 24px 0; }
.article-body .clock {
  font-family: var(--bz-mono);
  font-weight: 600;
  color: var(--bz-accent-deep);
  background: var(--bz-tint);
  padding: 1px 6px;
  border-radius: 5px;
}
.callout {
  background: var(--bz-tint);
  border: 1px solid var(--bz-hairline);
  border-left: 4px solid var(--bz-accent);
  border-radius: var(--bz-radius);
  padding: 16px 18px;
  margin: 0 0 20px;
}
.callout p { margin: 0; font-size: 0.95rem; }

/* Zeittabelle (Monospace) */
.time-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.95rem;
}
.time-table caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--bz-muted);
  margin-bottom: 8px;
}
.time-table th, .time-table td {
  border: 1px solid var(--bz-hairline);
  padding: 9px 12px;
  text-align: left;
}
.time-table thead th { background: var(--bz-tint); }
.time-table td.t { font-family: var(--bz-mono); white-space: nowrap; }

/* Prev/Next + Zurück */
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--bz-hairline);
  max-width: var(--bz-maxprose);
}
.article-nav a {
  flex: 1 1 220px;
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease;
}
.article-nav a:hover { border-color: var(--bz-accent); }
.article-nav .dir-label { font-size: 0.78rem; color: var(--bz-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.article-nav .a-title { font-weight: 600; margin-top: 3px; }
.article-nav a.next { text-align: right; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  font-weight: 600;
  text-decoration: none;
}
.back-link svg { width: 16px; height: 16px; }

/* Artikel-Hinweis (legal boilerplate aside) */
.article-note {
  background: var(--bz-tint);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 14px 16px;
  margin: 24px 0;
  font-size: 0.88rem;
  color: var(--bz-muted);
  max-width: var(--bz-maxprose);
}
.article-note p { margin: 0; }

/* =====================================================================
   Generische Seiten (Legal, Über uns, Kontakt)
   ===================================================================== */
.page-head {
  background: var(--bz-tint);
  border-bottom: 1px solid var(--bz-hairline);
  padding-block: clamp(30px, 6vh, 56px);
}
.page-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
  font-weight: 700;
}
.page-head p { margin: 0; color: var(--bz-muted); max-width: 62ch; }

.doc { padding-block: clamp(36px, 6vh, 64px); }
.doc .prose h2 {
  font-size: 1.35rem;
  margin: 30px 0 10px;
  letter-spacing: -0.01em;
  scroll-margin-top: 84px;
}
.doc .prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.doc .prose p { margin: 0 0 14px; }
.doc .prose ul, .doc .prose ol { margin: 0 0 16px; padding-left: 1.35em; }
.doc .prose li { margin: 0 0 8px; }
.doc .prose a { font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 22px 24px;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--bz-hairline);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--bz-tint);
  color: var(--bz-accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list .label { font-size: 0.78rem; color: var(--bz-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-list a, .contact-list .val { font-weight: 600; color: var(--bz-ink); text-decoration: none; }
.contact-list a:hover { color: var(--bz-accent); }

/* Formular */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--bz-hairline);
  border-radius: 8px;
  background: var(--bz-bg);
  color: var(--bz-ink);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--bz-accent);
  box-shadow: 0 0 0 3px rgba(58, 90, 140, 0.18);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--bz-muted); margin: 4px 0 16px; }
.mailto-fallback { font-size: 0.9rem; margin-top: 14px; }

/* Map click-to-load */
.map-shell {
  margin-top: 20px;
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  overflow: hidden;
  background: var(--bz-surface);
}
.map-placeholder {
  padding: 26px 22px;
  text-align: center;
}
.map-placeholder p { color: var(--bz-muted); font-size: 0.9rem; margin: 10px 0 16px; }
.map-shell iframe { width: 100%; height: 340px; border: 0; display: block; }

/* =====================================================================
   Über uns Werte
   ===================================================================== */
.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.value-list li {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-radius: var(--bz-radius);
  padding: 18px 20px;
}
.value-list h3 { margin: 0 0 6px; font-size: 1.02rem; }
.value-list p { margin: 0; color: var(--bz-muted); font-size: 0.92rem; }

/* =====================================================================
   Kurz-Disclaimer aside
   ===================================================================== */
.disclaimer-aside {
  background: var(--bz-surface);
  border: 1px solid var(--bz-hairline);
  border-left: 4px solid var(--bz-accent);
  border-radius: var(--bz-radius);
  padding: 16px 18px;
  margin: 24px 0;
  max-width: 74ch;
}
.disclaimer-aside p { margin: 0; font-size: 0.92rem; color: var(--bz-muted); }

/* =====================================================================
   Fußzeile (minimal_legal)
   ===================================================================== */
.site-footer {
  background: var(--bz-ink);
  color: #c8d1de;
  padding-block: 40px 32px;
  margin-top: 8px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 40px;
  justify-content: space-between;
}
.site-footer .foot-brand { max-width: 42ch; }
.site-footer .foot-brand strong { color: #fff; font-size: 1.02rem; }
.site-footer .foot-disc { margin: 10px 0 0; font-size: 0.86rem; line-height: 1.55; color: #a9b4c4; }
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer nav a { color: #d6dde8; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-cmp {
  background: transparent;
  border: 1px solid #3a465a;
  color: #d6dde8;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.footer-cmp:hover { border-color: #5a6a84; color: #fff; }
.foot-legal-nav h4, .foot-links h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

/* =====================================================================
   Utilities
   ===================================================================== */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =====================================================================
   CMP (aus COMMON §3 — Verhalten identisch, nur Palette über Vars)
   ===================================================================== */
.cmp-root{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;
  justify-content:center;padding:12px;pointer-events:none}
.cmp-bar,.cmp-panel{pointer-events:auto;background:var(--cmp-bg,#ffffff);
  color:var(--cmp-fg,#1c1f26);border:1px solid var(--cmp-bd,#d9dde3);
  border-radius:var(--cmp-radius,14px);box-shadow:0 12px 40px -18px rgba(20,24,32,.45);
  width:100%;max-width:960px}
.cmp-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;
  justify-content:space-between;padding:14px 18px}
.cmp-bar-text{margin:0;font-size:.92rem;line-height:1.5;flex:1 1 320px}
.cmp-bar-actions,.cmp-actions{display:flex;flex-wrap:wrap;gap:8px}
.cmp-panel{padding:20px 22px;max-height:80vh;overflow:auto}
.cmp-title{margin:0 0 8px;font-size:1.15rem}
.cmp-text{margin:0 0 14px;font-size:.9rem;line-height:1.6}
.cmp-row{border-top:1px solid var(--cmp-bd,#e4e7ec);padding:12px 0}
.cmp-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cmp-row-title{font-weight:600}
.cmp-row-desc{margin:6px 0 0;font-size:.85rem;line-height:1.5;color:var(--muted,#5b626e)}
.cmp-switch{position:relative;display:inline-block;width:44px;height:24px;flex:none}
.cmp-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.cmp-slider{position:absolute;inset:0;background:#c3c8d0;border-radius:999px;transition:.2s}
.cmp-slider::before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;
  background:#fff;border-radius:50%;transition:.2s}
.cmp-switch input:checked+.cmp-slider{background:var(--accent,#1f7a5a)}
.cmp-switch input:checked+.cmp-slider::before{transform:translateX(20px)}
.cmp-switch input:disabled+.cmp-slider{opacity:.6}
.cmp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cmp-actions{justify-content:flex-end;margin-top:16px}
.cmp-btn{font:inherit;font-size:.88rem;padding:9px 15px;border-radius:10px;
  border:1px solid var(--cmp-bd,#c9ced6);cursor:pointer;background:#f3f5f8;color:#1c1f26}
.cmp-btn-primary{background:var(--accent,#1f7a5a);border-color:var(--accent,#1f7a5a);color:#fff}
.cmp-btn:active{transform:translateY(1px)}
@media(max-width:640px){.cmp-bar{flex-direction:column;align-items:stretch}
  .cmp-bar-actions,.cmp-actions{justify-content:stretch}
  .cmp-btn{flex:1 1 auto;text-align:center}}

/* footer audit-compat: heading->p, cmp button->a (added post-build) */
.foot-col-title{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .55rem;opacity:.9}
a.footer-cmp{display:inline;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.foot-strong{font-weight:700}

/* mobile hardening (added post-audit): prevent image + long-German-word overflow on small screens */
img { max-width: 100%; height: auto; }
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }

.site-footer .foot-col-title{color:#fff}
