/* CVSI – Canine Vehicle Safety Institute
   Gestaltung: zurückhaltend, wissenschaftlich, Navy aus dem Logo.
   Leitmotiv: die Crashtest-Messmarke, genau einmal (Einstiegsbild). */

/* ---------- Schriften (selbst gehostet, keine Anfragen an Dritte) ---------- */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben (Kontraste gemessen, siehe DESIGN.md) */
  --navy: #041f41;        /* Logo */
  --navy-2: #123a66;      /* Hover, sekundäre Flächen */
  --navy-3: #2b5687;      /* Linien auf Navy */
  --ink: #14202e;         /* Fließtext 16.5:1 auf Weiß */
  --muted: #4a5a6e;       /* Nebentext 7.0:1 auf Weiß */
  --paper: #ffffff;
  --surface: #eef2f6;     /* getönter Abschnitt */
  --surface-2: #dde6ef;   /* Karten auf getöntem Grund */
  --line: #c3cfdb;
  --signal: #f2b705;      /* Crashtest-Gelb: nur Grafik, nie Text auf Weiß */
  --link: #0f4c8a;        /* 8.7:1 auf Weiß */
  --on-navy: #ffffff;
  --on-navy-muted: #c4d3e4; /* 10.8:1 auf Navy */
  --focus: #f2b705;

  /* Schrift */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 1.0625rem;            /* 17px */
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --lh: 1.65;

  /* Abstände */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --maxw: 76rem;
  --measure: 42rem;
  --radius: 4px;
  --header-h: 4.75rem;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 650; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p, ul, ol { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
abbr[title] { text-decoration: underline dotted; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); border-radius: 2px; }
.on-navy :focus-visible, .site-footer :focus-visible { box-shadow: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.skip-link:hover { color: #fff; background: var(--navy-2); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }

/* ---------- Messmarke (Leitmotiv) ---------- */
.mark {
  display: inline-block; flex: none;
  width: var(--mark-size, 1.25rem); height: var(--mark-size, 1.25rem);
  border-radius: 50%;
  background: conic-gradient(var(--signal) 0 25%, var(--navy) 0 50%, var(--signal) 0 75%, var(--navy) 0);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--navy);
}
.on-navy .mark { box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--signal); background: conic-gradient(var(--signal) 0 25%, #fff 0 50%, var(--signal) 0 75%, #fff 0); }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; padding: 0.25rem 0; }
.brand img { width: 128px; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-top { display: flex; align-items: center; }
.nav-link {
  display: block; padding: 0.6rem 0.65rem; color: var(--navy); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border-radius: var(--radius); white-space: nowrap;
}
.nav-link:hover { background: var(--surface); text-decoration: none; }
.nav-link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2.75rem; margin-left: -0.4rem; padding: 0; border: 0; background: none; color: var(--navy);
  border-radius: var(--radius); cursor: pointer;
}
.sub-toggle:hover { background: var(--surface); }
.sub-toggle svg { width: 0.8rem; height: 0.8rem; transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.subnav {
  display: none; list-style: none; margin: 0; padding: 0.5rem;
  position: absolute; left: 0; top: calc(100% + 0.35rem); min-width: 19rem;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  box-shadow: 0 18px 40px -18px rgba(4,31,65,0.35);
}
.nav-item.is-open > .subnav { display: block; }
.subnav a { display: block; padding: 0.55rem 0.75rem; color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.35; border-radius: var(--radius); }
.subnav a:hover { background: var(--surface); color: var(--navy); }
.lang-switch { display: flex; align-items: center; gap: 0.15rem; margin-left: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 0.45rem 0.5rem; border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.lang-switch span[aria-current] { background: var(--navy); color: #fff; }
.lang-switch a:hover { background: var(--surface); }
.menu-toggle { display: none; }

@media (max-width: 64rem) {
  :root { --header-h: 4rem; }
  .brand img { width: 108px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto;
    min-height: 2.75rem; padding: 0.5rem 0.9rem; border: 1px solid var(--navy); border-radius: var(--radius);
    background: #fff; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer;
  }
  .menu-toggle svg { width: 1.1rem; height: 1.1rem; }
  .lang-switch { margin-left: 0; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem; box-shadow: 0 20px 30px -20px rgba(4,31,65,0.4);
  }
  .site-header.menu-open .primary-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--surface-2); }
  .nav-top { justify-content: space-between; }
  .nav-link { padding: 0.85rem 0; font-size: 1.05rem; flex: 1; }
  .nav-link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--signal); padding-left: 0.75rem; }
  .sub-toggle { width: 2.75rem; margin: 0; }
  .subnav { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0.75rem 0.75rem; border-left: 2px solid var(--surface-2); margin-bottom: 0.75rem; }
}

/* ---------- Startseite: Einstieg ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) 0; }
.hero-text { padding-bottom: clamp(1rem, 3vw, 3rem); }
.hero h1 { max-width: 14ch; margin-bottom: 0.45em; }
.hero .lead { max-width: 36rem; }
.hero-figure { margin: 0; position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-figure .mark { --mark-size: 3.25rem; position: absolute; left: 1rem; bottom: 1rem; }
@media (min-width: 56rem) { .hero-figure .mark { left: -1.625rem; bottom: 2rem; } }
.hero-meta { margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); max-width: 36rem; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
  .hero-text { align-self: center; padding-bottom: 4rem; }
  .hero-figure img { aspect-ratio: 1 / 1; max-height: 34rem; }
}

/* ---------- Buttons und Pfeil-Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.9rem; padding: 0.7rem 1.3rem;
  font-weight: 650; font-size: 1rem; text-decoration: none; border-radius: var(--radius); border: 2px solid var(--navy);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; text-decoration: none; }
.on-navy .btn-ghost { color: #fff; border-color: #fff; }
.on-navy .btn-ghost:hover { background: #fff; color: var(--navy); }
.arrow-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; text-decoration: none; color: var(--link); }
.arrow-link::after { content: "→"; transition: transform 0.15s ease; }
.arrow-link:hover { text-decoration: underline; }
.on-navy .arrow-link { color: #fff; }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--surface); }
.section-navy, .on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy a:not(.btn) { color: #fff; }
.on-navy p { color: var(--on-navy); }
.on-navy .muted, .on-navy .meta { color: var(--on-navy-muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 34rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Themen-Index: ruhige Liste statt Feature-Spalten */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.index-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem 3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.index-list h3 { margin: 0; font-size: var(--fs-h3); }
.index-list h3 a { color: var(--navy); text-decoration: none; }
.index-list h3 a:hover { text-decoration: underline; }
.index-list p { margin: 0; color: var(--muted); max-width: 40rem; }
@media (min-width: 56rem) { .index-list li { grid-template-columns: 22rem minmax(0, 1fr); } }
.intro { max-width: 44rem; margin: 0 0 2rem; }

/* Forschungsfrage-Band */
.question > * { max-width: 52rem; }
.question h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--on-navy-muted); margin-bottom: 1rem; }
.question-text { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3; font-weight: 500; color: #fff; margin: 0 0 1.5rem; text-wrap: balance; }
.on-navy .question-text { color: #fff; }

/* Karten: Studien, Interviews, Meldungen */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem;
  transition: border-color 0.15s ease;
}
.section-tint .card { border-color: transparent; }
.card:hover { border-color: var(--navy); }
.card h3 { margin: 0; font-size: 1.125rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.card .meta { font-size: 0.875rem; color: var(--muted); font-weight: 600; letter-spacing: 0.01em; }
.card .card-foot { margin-top: auto; padding-top: 0.75rem; font-weight: 650; color: var(--link); font-size: 0.95rem; }
.tag { display: inline-block; font-size: 0.8125rem; font-weight: 650; color: var(--navy); background: var(--surface-2); padding: 0.15rem 0.55rem; border-radius: 2px; }

/* Literaturliste */
.refs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); max-width: 58rem; }
.refs li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.3rem; }
.refs .ref-head { font-weight: 700; color: var(--navy); }
.refs .ref-title { margin: 0; }
.refs .ref-meta { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.refs .ref-meta a { font-weight: 600; }
.section-tint .refs li { border-bottom-color: var(--surface-2); }

/* Zwei Spalten: Interviews und Aktuelles */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 4rem; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split h2 { font-size: var(--fs-h3); font-family: var(--font-serif); font-weight: 600; font-size: 1.625rem; }

/* Hinweisfeld */
.notice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.section-tint .notice { border-color: var(--surface-2); }
.notice h2, .notice h3 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: 0.35rem; }
.notice p:last-child { margin-bottom: 0; }

/* Aktuelles-Leiste */
.news-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 3rem; align-items: center; }
.news-strip time { font-weight: 650; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 56rem) { .news-strip { grid-template-columns: 14rem minmax(0, 1fr) auto; } }
.news-strip h2 { font-size: var(--fs-h3); margin: 0; }

/* ---------- Unterseiten ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); position: relative; overflow: clip; }
.page-hero h1 { color: #fff; margin-bottom: 0.4em; }
.page-hero .lead { color: var(--on-navy); max-width: 46rem; margin: 0; }
.page-stand { margin: 1.5rem 0 0; font-size: 0.875rem; color: var(--on-navy-muted); }
.breadcrumb { font-size: 0.9rem; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; }
.breadcrumb a { color: var(--on-navy-muted); }
.breadcrumb a:hover { color: #fff; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section); }
@media (min-width: 64rem) { .page-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: 4.5rem; } }
@media (min-width: 64rem) { .page-layout-single { grid-template-columns: minmax(0, 1fr); } }
.toc { font-size: 0.95rem; }
.toc h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-bottom: 0.75rem; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--surface-2); }
.toc a { display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--navy); border-left-color: var(--navy-3); }
.toc a[aria-current="true"] { color: var(--navy); font-weight: 650; border-left-color: var(--signal); }
@media (min-width: 64rem) { .toc-inner { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 63.99rem) {
  .toc { background: var(--surface); padding: 1.25rem 1.25rem 0.75rem; border-radius: var(--radius); }
  .toc ol { border: 0; columns: 2 14rem; }
  .toc a { padding: 0.35rem 0; border: 0; }
}

.content > section { padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--line); }
.content > section:last-child { border-bottom: 0; margin-bottom: 0; }
.content p, .content ul, .content ol { max-width: var(--measure); }
.content ul { padding-left: 1.2rem; }
.content li { margin-bottom: 0.5em; }
.content li::marker { color: var(--navy-3); }

.callout { border-left: 0; background: var(--surface); padding: 1.25rem 1.5rem; border-radius: var(--radius); max-width: var(--measure); margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-strong { background: var(--navy); color: #fff; }
.callout-strong p { color: #fff; }
.callout .label { display: block; font-weight: 700; margin-bottom: 0.25rem; }

/* Ansatz / offene Fragen: nummerierte Strecke */
.steps { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; counter-reset: s; max-width: var(--measure); position: relative; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.4rem 3.75rem; margin: 0; min-height: 2.75rem; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -0.1rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.875rem; font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.6rem; bottom: 0.2rem; width: 2px; background: var(--surface-2); }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }

/* Zwei Bewertungsebenen */
.levels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 2rem 0; max-width: 52rem; }
.level { padding: 1.5rem 1.6rem; border: 2px solid var(--navy); border-radius: var(--radius); background: #fff; }
.level-b { background: var(--navy); color: #fff; }
.level-b h3, .level-b p { color: #fff; }
.level h3 { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.5rem; }
.level-letter { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-serif); font-size: 1.25rem; }
.level-b .level-letter { background: var(--signal); color: var(--navy); }
.level p { margin: 0; font-size: var(--fs-small); max-width: none; }
.level-gap { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.6rem; font-weight: 650; color: var(--navy); font-size: 0.95rem; }
.level-gap::before { content: ""; width: 0; height: 2.25rem; border-left: 2px dashed var(--navy); margin-left: 1rem; }
@media (min-width: 56rem) {
  .levels { grid-template-columns: minmax(0, 1fr) 9rem minmax(0, 1fr); align-items: stretch; }
  .level-gap { flex-direction: column; text-align: center; padding: 1rem 0.75rem; justify-content: center; font-size: 0.875rem; }
  .level-gap::before { width: 100%; height: 0; border-left: 0; border-top: 2px dashed var(--navy); margin: 0; }
}

/* Tabelle */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.95rem; }
caption { text-align: left; padding: 0.9rem 1rem; font-weight: 700; color: var(--navy); background: var(--surface); border-bottom: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); line-height: 1.45; }
thead th { background: var(--navy); color: #fff; font-weight: 650; }
tbody th { font-weight: 650; color: var(--navy); }
tbody tr:nth-child(even) { background: #f7f9fb; }
tbody tr:last-child > * { border-bottom: 0; }
.table-note { font-size: var(--fs-small); color: var(--muted); }

/* Studien */
.study { display: grid; gap: 0.25rem; }
.study-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.study dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem 1.25rem; margin: 0 0 1.25rem; max-width: var(--measure); font-size: 0.95rem; }
@media (min-width: 40rem) { .study dl { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.study dt { font-weight: 700; color: var(--navy); }
.study dd { margin: 0 0 0.5rem; }
.study .limits, .content > section > .limits { border-top: 1px solid var(--line); padding-top: 1rem; }
.source-links { list-style: none; padding: 0 !important; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.source-links li { margin: 0; }
.ext::after { content: " ↗"; font-size: 0.85em; }

/* Kontakt */
/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 64rem) { .contact-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 5rem; align-items: start; } }
.contact-main > p { max-width: var(--measure); }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.contact-form { display: grid; gap: 1.5rem; margin-top: 2rem; max-width: 46rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 650; color: var(--navy); }
.req { color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea, .form-result textarea {
  font: inherit; color: var(--ink); background: var(--paper); width: 100%;
  border: 1px solid #6b7d92; border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: 2.9rem; }
.contact-form textarea, .form-result textarea { resize: vertical; line-height: 1.5; }
.contact-form select { appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23041f41' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.9rem center; }
.contact-form :is(input, select, textarea):hover { border-color: var(--navy); }
.contact-form :is(input, select, textarea):focus-visible, .form-result textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.contact-form [aria-invalid="true"] { border: 2px solid #b3261e; }
.field-hint { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.field-error { margin: 0; font-size: var(--fs-small); font-weight: 600; color: #b3261e; }
.field-error::before { content: "! "; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.form-actions .btn { cursor: pointer; font: inherit; font-weight: 650; }
.form-privacy { margin: 0; font-size: var(--fs-small); color: var(--muted); max-width: 26rem; }
.btn-link { font: inherit; background: none; border: 0; padding: 0.5rem 0; color: var(--link); text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--navy); }
.form-result { margin-top: 2rem; max-width: 46rem; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.form-result:focus { outline: none; }
.form-result:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-result h3 { margin-top: 0; }
.form-result textarea { margin: 0.5rem 0 1rem; background: var(--surface); font-size: var(--fs-small); }
.contact-aside { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
@media (min-width: 64rem) { .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-aside h2 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.contact-aside h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin: 1.75rem 0 0.5rem; }
.contact-mail { font-weight: 650; word-break: break-word; }
.contact-aside ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.contact-aside li { margin-bottom: 0.4em; }
.contact-aside .muted { font-size: var(--fs-small); margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--navy-3); }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid img { width: 140px; margin-bottom: 1.25rem; }
.footer-grid h2 { font-family: var(--font-sans); color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-note { color: var(--on-navy-muted); max-width: 30rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: var(--on-navy-muted); font-size: 0.875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }

/* Rechtstexte */
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal h3 { margin-top: 1.5rem; }
.placeholder { background: #fff4cc; outline: 1px dashed #8a6d00; padding: 0 0.25rem; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .toc, .site-footer .footer-grid, .skip-link, .hero-figure .mark { display: none !important; }
  .page-hero, .section-navy, .callout-strong, .level-b { background: #fff !important; color: #000 !important; }
  .page-hero h1, .page-hero .lead { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
