/* Layout: Bahnen. Inhalte laufen in klaren Spuren; Navy/Türkis-Bänder markieren das Training,
   helle Flächen tragen Schule und Text. Bewusst nur ein helles Farbschema („ruhig & hell“). */
:root {
  --bg: #F6F9FA;
  --bg-alt: #EAF1F4;
  --surface: #FFFFFF;
  --ink: #0F2336;
  --ink-soft: #4A5D6E;
  --line: #D3DFE6;
  --navy: #13325B;
  --navy-deep: #0B213F;
  --teal: #22B8B2;
  --teal-ink: #0A7676;
  --teal-tint: #DCF2F1;
  --on-navy: #EEF5F8;
  --on-navy-soft: #A8BFD0;
  --draft: #8A4F00;
  --draft-bg: #FFF3DC;
  --draft-line: #E9A23B;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-quote: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.3vw, 4.2rem);

  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 35, 54, 0.06), 0 10px 28px rgba(15, 35, 54, 0.07);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 0.6em;
  color: var(--ink);
  /* Lange deutsche Wörter auf schmalen Handys trennen statt überstehen lassen */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 105%; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li + li { margin-top: 0.3em; }
strong, b { font-weight: 650; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.prose { max-width: 66ch; }
.prose--wide { max-width: 75ch; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 0.9rem;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Entwurfsleiste & Redaktionsnotizen ---------- */
.draftbar { background: var(--draft-bg); border-bottom: 1px solid var(--draft-line); color: var(--draft); font-size: var(--step--1); }
.draftbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 8px; }
.draftbar__label {
  font-family: var(--font-display); font-stretch: 120%; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--draft); color: var(--draft-bg); padding: 2px 9px; border-radius: 99px;
}
.draftbar__text { flex: 1 1 320px; min-width: 0; }
.draftbar__btn {
  font: inherit; font-weight: 600; color: var(--draft); background: transparent; cursor: pointer;
  border: 1px solid var(--draft-line); border-radius: 99px; padding: 4px 12px;
}
.draftbar__btn:hover { background: var(--surface); }

.note {
  background: var(--draft-bg);
  border: 1px dashed var(--draft-line);
  color: var(--draft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: var(--step--1);
  line-height: 1.55;
  margin: 1.2rem 0;
}
.note::before {
  content: "Redaktion";
  display: block;
  font-family: var(--font-display); font-stretch: 120%; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 4px;
}
.note ul { margin: 0.3em 0 0; }
.note p:last-child { margin: 0; }
.notes-off .note, .notes-off .q-tag { display: none; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
/* Monogramm DGB (bilder/logo-dgb.svg), Farbe über color.
   Die Kontur verstärkt die feinen Linien, damit sie in kleiner Größe nicht verblassen. */
.brand__mark { width: 66px; height: 44px; flex-shrink: 0; color: var(--teal-ink); fill: currentColor; stroke: currentColor; stroke-width: 12; stroke-linejoin: round; overflow: visible; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__first { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.brand__last { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.08rem; }
.brand--light { color: var(--on-navy); }
.brand--light .brand__first { color: var(--on-navy-soft); }
.brand--light .brand__mark { color: var(--teal); }

.nav__menu { margin-left: auto; }
.nav__menu ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__menu li + li { margin-top: 0; }
.nav__menu a {
  display: block; padding: 8px 11px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 550; font-size: 0.95rem;
}
.nav__menu a:hover { background: var(--bg-alt); }
.nav__menu a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 8px 8px 0 0; }
.nav__times {
  flex-shrink: 0; text-decoration: none; font-weight: 650; font-size: 0.92rem;
  background: var(--navy); color: var(--on-navy); padding: 9px 15px; border-radius: 99px;
}
.nav__times:hover { background: var(--navy-deep); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

@media (max-width: 1080px) {
  .nav { gap: 10px; }
  .nav__toggle { display: block; }
  .nav__times { margin-left: auto; padding: 8px 13px; font-size: 0.85rem; }
  .nav__menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
  }
  .menu-open .nav__menu { display: block; }
  .nav__menu ul { flex-direction: column; }
  .nav__menu a { padding: 12px 10px; font-size: 1.05rem; }
  .nav__menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); border-radius: 0 8px 8px 0; }
}
.nav__times-short { display: none; }
@media (max-width: 420px) {
  /* Schmale Handys: Name, Knopf und Menü passen ohne seitliches Scrollen nebeneinander */
  .nav { gap: 8px; }
  .brand { gap: 8px; }
  .brand__last { font-size: 0.94rem; }
  .brand__mark { width: 54px; height: 36px; stroke-width: 16; }
  .nav__times { padding: 7px 12px; font-size: 0.82rem; }
  .nav__times-long { display: none; }
  .nav__times-short { display: inline; }
}
@media (max-width: 374px) {
  .nav, .brand { gap: 4px; }
  .brand__last { font-size: 0.8rem; }
  .brand__first { font-size: 0.64rem; }
  .brand__mark { width: 36px; height: 24px; stroke-width: 24; }
  .nav__times { padding: 6px 9px; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--navy .lead, .section--navy .muted { color: var(--on-navy-soft); }
.section--navy .eyebrow { color: var(--teal); }
.section--navy a:not(.btn) { color: #9BE6E2; }
.section__head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p:last-child { margin-bottom: 0; }

/* Bahnlinien als Motiv: sechs Spuren wie auf der 110-Meter-Geraden */
.lanes { position: relative; overflow: hidden; }
.lanes::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16;
  background: repeating-linear-gradient(180deg, transparent 0 46px, var(--teal) 46px 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.lanes > * { position: relative; z-index: 1; }

.page-hero { padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 72px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero--navy { background: var(--navy); color: var(--on-navy); border-bottom: 0; }
.page-hero--navy h1 { color: #FFFFFF; }
.page-hero--navy .lead { color: var(--on-navy-soft); }
.page-hero--navy .eyebrow { color: var(--teal); }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.subnav a {
  text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); background: var(--bg); padding: 6px 13px; border-radius: 99px;
}
.subnav a:hover { border-color: var(--teal); color: var(--teal-ink); }
.page-hero--navy .subnav a { color: var(--on-navy); background: transparent; border-color: rgba(238, 245, 248, 0.3); }
.page-hero--navy .subnav a:hover { border-color: var(--teal); color: #FFFFFF; }

/* ---------- Raster ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--media-left { grid-template-columns: 0.9fr 1.1fr; }
  .split--center { align-items: center; }
}
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.stack { display: grid; gap: 1rem; }
.stack > * { min-width: 0; }
code { overflow-wrap: anywhere; }

/* ---------- Buttons & Chips ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 650; padding: 12px 20px; border-radius: 99px; border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--teal-ink); color: #FFFFFF; }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--teal-ink); color: var(--teal-ink); }
.btn--light { background: #FFFFFF; color: var(--navy); }
.btn--light:hover { background: var(--teal-tint); }
.btn--outline-light { border-color: rgba(238, 245, 248, 0.45); color: #FFFFFF; }
.btn--outline-light:hover { border-color: var(--teal); }
.arrow::after { content: "→"; transition: transform 0.15s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.link-more { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; white-space: nowrap;
}
.card__meta .chip, .chips .chip { white-space: normal; max-width: 100%; }
.chip--now { background: var(--teal-tint); color: var(--teal-ink); }
.chip--plan { border: 1px solid var(--navy); color: var(--navy); }
.chip--past { background: var(--bg-alt); color: var(--ink-soft); }
.chip--idea { border: 1px dashed var(--draft-line); color: var(--draft); background: var(--draft-bg); }
.section--navy .chip--now, .page-hero--navy .chip--now { background: rgba(34, 184, 178, 0.18); color: #9BE6E2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips li + li { margin-top: 0; }
.chips--lang li { font-size: 0.88rem; padding: 4px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.45em; }
.card--flat { background: transparent; border: 0; padding: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.8rem; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card--link:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link .link-more { margin-top: auto; padding-top: 0.6rem; color: var(--teal-ink); }
.entry { display: flex; flex-direction: column; gap: 14px; }
.entry .ph, .entry img { border-radius: var(--radius); }
.entry h3 { margin: 0.2rem 0 0.3rem; }

/* ---------- Platzhalter ---------- */
.ph {
  position: relative; margin: 0; width: 100%; max-width: 100%;
  aspect-ratio: 3 / 2; border-radius: var(--radius);
  border: 2px dashed #9FD3D0;
  background:
    repeating-linear-gradient(135deg, rgba(34, 184, 178, 0.09) 0 12px, rgba(255, 255, 255, 0) 12px 24px),
    var(--teal-tint);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: 18px;
}
.ph::before {
  content: attr(data-kind) " folgt";
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--draft-bg); color: var(--draft); border: 1px solid var(--draft-line);
  padding: 2px 9px; border-radius: 99px;
}
.ph figcaption { display: grid; justify-items: center; gap: 4px; max-width: 34ch; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.45; }
.ph figcaption::before {
  content: ""; width: 44px; height: 44px; margin-bottom: 6px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
}
.ph figcaption b { color: var(--ink); font-size: 0.98rem; }
.ph[data-kind="Video"] figcaption::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.5l5 3.5-5 3.5z'/%3E%3C/svg%3E"); }
.ph[data-kind="Dokument"] figcaption::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4M9.5 12h6M9.5 15.5h6'/%3E%3C/svg%3E"); }
.ph[data-kind="Grafik"] figcaption::before, .ph[data-kind="Screenshot"] figcaption::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M4 17l5-4.5 4 3.5 3-2.5 4 3.5'/%3E%3C/svg%3E"); }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--reel { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.ph--banner { aspect-ratio: 21 / 9; }
.ph--small { aspect-ratio: 4 / 3; }
.section--navy .ph, .page-hero--navy .ph { border-color: rgba(155, 230, 226, 0.5); background: repeating-linear-gradient(135deg, rgba(34, 184, 178, 0.14) 0 12px, rgba(255, 255, 255, 0) 12px 24px), #183D6B; }
.section--navy .ph figcaption, .page-hero--navy .ph figcaption { color: var(--on-navy-soft); }
.section--navy .ph figcaption b, .page-hero--navy .ph figcaption b { color: #FFFFFF; }

.ph-text {
  border: 2px dashed var(--draft-line); background: var(--draft-bg); color: var(--draft);
  border-radius: var(--radius); padding: 16px 18px; font-size: 0.92rem; line-height: 1.5;
}
.ph-text b { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.ph-text p:last-child { margin: 0; }

figure.video { margin: 0; }
figure.video video { width: 100%; border-radius: var(--radius); background: var(--navy-deep); aspect-ratio: 16 / 9; }
figure.video--reel video { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
figure.video figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 8px; }
.section--navy figure.video figcaption { color: var(--on-navy-soft); }
figure.photo { margin: 0; }
figure.photo img { border-radius: var(--radius); width: 100%; }
figure.photo figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 8px; }
/* Hochformat: sonst 4:3 wie die anderen, im dreispaltigen Raster über zwei Zeilen */
figure.photo--hoch img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .grid--3 > figure.photo--hoch { grid-row: span 2; display: flex; flex-direction: column; }
  .grid--3 > figure.photo--hoch img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
  /* gleich hohe Bildunterschriften, damit das hohe Bild unten mit den Nachbarn abschließt */
  .grid--3:has(> .photo--hoch) > figure.photo figcaption { min-height: 2lh; }
}

/* ---------- Zitate ---------- */
.quote { margin: 0; max-width: 34ch; position: relative; }
.quote p {
  font-family: var(--font-quote); font-style: italic; font-weight: 450;
  font-size: var(--step-2); line-height: 1.32; color: var(--navy); margin: 0; text-wrap: pretty;
}
.quote p::before { content: "„"; color: var(--teal); }
.quote p::after { content: "“"; color: var(--teal); }
.quote footer { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quote--big { max-width: 30ch; }
.quote--big p { font-size: var(--step-3); line-height: 1.22; }
.quote--small p { font-size: var(--step-1); }
.section--navy .quote p, .page-hero--navy .quote p { color: #FFFFFF; }
.section--navy .quote footer, .page-hero--navy .quote footer { color: var(--on-navy-soft); }
.q-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--draft); background: var(--draft-bg); border: 1px solid var(--draft-line); padding: 1px 8px; border-radius: 99px; }
.quote-band { padding-block: clamp(48px, 7vw, 88px); }
.quote-band .quote { margin-inline: auto; text-align: left; }

/* ---------- Startseite ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); background: var(--surface); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__grid > * { min-width: 0; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero__name { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: var(--step-1); color: var(--ink); margin-bottom: 0.2rem; }
.hero__role { color: var(--teal-ink); font-weight: 600; margin-bottom: 1.4rem; }
.hero h1 { font-size: var(--step-4); max-width: 15ch; margin-bottom: 0.5em; }
.hero h1 em { font-style: normal; color: var(--teal-ink); }
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: 8% -40% -6% 18%; z-index: 0; border-radius: 24px;
  background: repeating-linear-gradient(180deg, var(--navy) 0 34px, var(--teal) 34px 36px);
  opacity: 0.95;
}
.hero__media > * { position: relative; z-index: 1; }
.hero__badge {
  position: absolute; z-index: 2; left: -12px; bottom: 24px; background: var(--surface); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 16px; font-size: 0.86rem; line-height: 1.3; color: var(--ink-soft);
}
.hero__badge b { display: block; font-family: var(--font-display); font-stretch: 118%; font-size: 1.3rem; color: var(--navy); }
ul.hero__badge { list-style: none; margin: 0; display: grid; gap: 8px; max-width: 250px; }
ul.hero__badge li { margin: 0; }
ul.hero__badge li + li { padding-top: 8px; border-top: 1px solid var(--line); }
ul.hero__badge b { font-size: 1.02rem; }
@media (max-width: 520px) { .hero__badge { left: 10px; bottom: 12px; } ul.hero__badge { gap: 5px; padding: 10px 12px; font-size: 0.8rem; max-width: 210px; } ul.hero__badge li + li { padding-top: 5px; } ul.hero__badge b { font-size: 0.92rem; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 24px; margin: 2rem 0 0; padding: 0; list-style: none; }
.facts li + li { margin-top: 0; }
.facts b { display: block; font-family: var(--font-display); font-stretch: 118%; font-size: var(--step-2); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.facts span { font-size: 0.9rem; color: var(--ink-soft); }
.section--navy .facts b { color: #FFFFFF; }
.section--navy .facts span { color: var(--on-navy-soft); }

/* ---------- Wochenplan ---------- */
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.week li + li { margin-top: 0; }
.week__item {
  display: grid; grid-template-columns: 7.2rem 1fr; gap: 4px 16px; align-items: baseline;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
}
.week__day { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; color: var(--navy); }
/* Angebot immer in der ersten Zeile, Uhrzeit und Ort darunter: gleicher Umbruch auf allen Breiten */
.week__time { font-variant-numeric: tabular-nums; color: var(--teal-ink); font-weight: 650; font-size: 0.92rem; }
.week__what { font-weight: 650; flex: 1 1 100%; }
.week__where { color: var(--ink-soft); font-size: 0.92rem; }
.week__body { display: flex; flex-wrap: wrap; gap: 2px 14px; min-width: 0; }
@media (max-width: 520px) { .week__item { grid-template-columns: 1fr; } }
.section--navy .week__item { background: rgba(255, 255, 255, 0.06); border-color: rgba(238, 245, 248, 0.16); }
.section--navy .week__day { color: #FFFFFF; }
.section--navy .week__time { color: var(--teal); }
.section--navy .week__where { color: var(--on-navy-soft); }
.stand { font-size: var(--step--1); color: var(--ink-soft); margin-top: 12px; }
.section--navy .stand { color: var(--on-navy-soft); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-stretch: 112%; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 650; color: var(--navy); }

/* ---------- Zeitleiste ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 34px; padding-bottom: 22px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); }
.timeline__year { display: block; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; color: var(--teal-ink); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.timeline h3 { margin: 2px 0 4px; font-size: 1.06rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.timeline li.is-now::before { background: var(--teal); }

/* Gesamtchronik: Jahresblöcke mit eigener Zeitleiste */
.chron { border-bottom: 1px solid var(--line); }
.chron__year { display: grid; gap: 10px 40px; padding-block: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.chron__year > * { min-width: 0; }
@media (min-width: 760px) {
  .chron__year { grid-template-columns: 8.5rem 1fr; }
  .chron__label { position: sticky; top: 96px; align-self: start; }
}
.chron__label {
  margin: 0; font-family: var(--font-display); font-stretch: 122%; font-weight: 800; line-height: 1;
  font-size: var(--step-3); color: var(--navy); font-variant-numeric: tabular-nums;
}
.chron__label small { display: block; margin-top: 6px; font-size: 0.82rem; font-weight: 600; font-stretch: 110%; color: var(--ink-soft); }
.chron__tag {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; vertical-align: 1px;
  font-family: var(--font-body); font-stretch: 100%; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); background: var(--bg-alt);
}
.chron .timeline p { max-width: 68ch; }
.chron .timeline li[data-cat="verein"]::before { border-color: var(--navy); }
.chron .timeline li[data-cat="sportpark"]::before { border-color: var(--teal-ink); }
.chron .timeline li[data-cat="projekt"]::before { border-style: double; border-width: 4px; }
.chron .timeline li.is-now::before { background: var(--teal); border-color: var(--teal); }
.chron .timeline li.is-now h3 { color: var(--navy); }

/* ---------- Häufige Fragen: aufklappbar ---------- */
.faq h3 { margin-bottom: 0.6rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 14px 36px 14px 0; cursor: pointer; list-style: none; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; line-height: 1; color: var(--teal-ink); transition: transform 0.15s; }
.faq details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--teal-ink); }
.faq details p { margin: 0 0 14px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Sportpark-Saga: aufklappbare Kapitel ---------- */
.saga { list-style: none; margin: 1.2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.saga > li { margin: 0; border-bottom: 1px solid var(--line); }
.saga summary {
  display: grid; grid-template-columns: 2.4rem 1fr 1.4rem; grid-template-areas: "num when icon" "num title icon";
  column-gap: 12px; align-items: center; padding: 14px 0; cursor: pointer; list-style: none;
}
.saga summary::-webkit-details-marker { display: none; }
.saga summary::after {
  content: "+"; grid-area: icon; justify-self: end; font-size: 1.4rem; line-height: 1; color: var(--teal-ink);
  transition: transform 0.15s;
}
.saga details[open] > summary::after { transform: rotate(45deg); }
.saga summary:hover .saga__title { color: var(--teal-ink); }
.saga__num {
  grid-area: num; font-family: var(--font-display); font-stretch: 122%; font-weight: 800; font-size: 1.7rem;
  line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums;
}
.saga__when { grid-area: when; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.saga__title { grid-area: title; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.saga__body { padding: 0 0 20px calc(2.4rem + 12px); }
.saga__body p { margin: 0 0 0.8em; }
.saga__role { font-size: 0.92rem; color: var(--ink-soft); border-left: 3px solid var(--teal); padding-left: 10px; }
.saga__body .photo { margin-top: 14px; max-width: 520px; }
@media (max-width: 520px) { .saga__body { padding-left: 0; } }

/* ---------- Diagramm (eine Reihe, mit Tooltip und Tabelle) ---------- */
.chart { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px; }
.chart__head b { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 1.05rem; color: var(--ink); }
.chart__head span { display: block; font-size: var(--step--1); color: var(--ink-soft); }
.chart__plot { margin-top: 10px; min-height: 220px; }
.chart__plot svg { display: block; overflow: visible; font-variant-numeric: tabular-nums; }
.chart__hit { cursor: pointer; outline: none; }
.chart__hit:focus-visible { stroke: var(--teal); stroke-width: 3; }
.chart__tip {
  position: absolute; z-index: 3; pointer-events: none; display: grid; gap: 1px; max-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 7px 11px; font-size: 0.82rem; line-height: 1.35; color: var(--ink-soft);
}
.chart__tip b { font-size: 0.98rem; color: var(--ink); }
.chart__table summary { cursor: pointer; margin-top: 8px; font-size: var(--step--1); font-weight: 650; color: var(--teal-ink); }
.chart__table .table-wrap { margin-top: 8px; }
.chart__table table { min-width: 0; font-size: 0.85rem; }
.chart__table th, .chart__table td { padding: 8px 10px; }

/* ---------- Leitsätze ---------- */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 0; }
.principles li { margin: 0; }
.principle { display: grid; gap: 10px 32px; padding-block: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(238, 245, 248, 0.16); }
.principle > * { min-width: 0; }
@media (min-width: 860px) { .principle { grid-template-columns: 5.5rem 1fr 0.9fr; align-items: start; } }
.principle__num {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--teal); font-variant-numeric: tabular-nums;
}
.principle h3 { color: #FFFFFF; font-size: var(--step-2); margin-bottom: 0.4em; }
.principle p { color: var(--on-navy-soft); margin: 0; }
.principle .quote p { font-size: var(--step-1); }

/* ---------- Schritte ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: "Schritt " counter(s); display: block; font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Projekt-Struktur (vier Fragen) ---------- */
.project-qs { display: grid; gap: 18px; }
@media (min-width: 760px) { .project-qs { grid-template-columns: repeat(2, 1fr); } }
.project-qs > div { border-top: 2px solid var(--teal); padding-top: 12px; min-width: 0; }
.project-qs h3 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); font-stretch: 118%; margin-bottom: 0.4em; }
.project-qs p { margin: 0; }

/* ---------- Logos ---------- */
.logo-tile { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 160px; }
.logo-tile img { max-height: 120px; width: auto; }
.logo-compare__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; aspect-ratio: 4 / 3; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
figure.photo .logo-compare__pair img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 0; }
.logo-compare__arrow { color: var(--teal-ink); font-size: 1.5rem; font-weight: 700; }
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; gap: 14px; aspect-ratio: 4 / 3; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
figure.photo .logo-grid img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 0; }
/* ---------- Instagram: Vorschaukacheln mit Link, nichts wird von Instagram nachgeladen ---------- */
.insta-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.insta-head > div { flex: 1 1 420px; min-width: 0; }
.insta-head .lead { max-width: 58ch; margin-bottom: 0; }
.btn--insta { display: inline-flex; align-items: center; gap: 10px; }
.insta-grid { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.insta-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); color: #FFFFFF; text-decoration: none; isolation: isolate; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.insta-tile:hover img, .insta-tile:focus-visible img { transform: scale(1.03); }
.insta-tile:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.insta-tile__type { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(11, 33, 63, 0.78); color: #FFFFFF; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.insta-tile__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 44px 14px 12px; background: linear-gradient(rgba(11, 33, 63, 0), rgba(11, 33, 63, 0.92)); font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.insta-tile__cap small { display: block; margin-top: 4px; font-weight: 400; font-size: 0.8rem; color: var(--on-navy-soft); }
.insta-tile--text { display: flex; flex-direction: column; justify-content: center; padding: 48px 18px 96px; background: var(--navy); }
.insta-tile__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); line-height: 1.1; }
.insta-tile__big em { font-style: normal; color: var(--teal); display: block; }
.insta-tile--lanes { background:
  linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 38%, rgba(19, 50, 91, 0) 62%),
  repeating-linear-gradient(90deg, #A8453A 0 calc(25% - 3px), rgba(255, 255, 255, 0.85) calc(25% - 3px) 25%); }
.insta-line { margin: 18px 0 0; }
.insta-line a { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.insta-line a:hover { color: var(--teal); }

/* Das Logo ist dunkelblau auf transparentem Grund und braucht deshalb eine helle Fläche. */
.team-logo { width: min(260px, 70%); margin-inline: auto; background: #FFFFFF; padding: clamp(14px, 2.4vw, 24px); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); padding: 7px 15px; border-radius: 99px;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery > * { min-width: 0; }

/* ---------- CTA ---------- */
.cta {
  display: grid; gap: 20px 40px; align-items: center; background: var(--navy); color: var(--on-navy);
  border-radius: 22px; padding: clamp(28px, 5vw, 56px);
}
@media (min-width: 820px) { .cta { grid-template-columns: 1fr auto; } }
.cta > * { min-width: 0; }
.cta h2 { color: #FFFFFF; margin-bottom: 0.3em; }
.cta p { color: var(--on-navy-soft); margin: 0; max-width: 56ch; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 650; font-size: 0.94rem; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px var(--teal-tint); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.form__check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal-ink); flex-shrink: 0; }
.form__check label { font-weight: 400; margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { border-radius: 10px; padding: 12px 14px; background: var(--teal-tint); color: var(--teal-ink); font-weight: 600; }
.form__status.is-error { background: var(--draft-bg); color: var(--draft); }
.form__frage input[type="text"] { max-width: 8em; }
.form__frage p { margin: 6px 0 0; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-line a, .contact-line b { font-weight: 650; word-break: break-word; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.legal h3 { margin-top: 1.4rem; }

/* ---------- Fussbereich ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-top: clamp(48px, 6vw, 72px); font-size: 0.95rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__grid > * { min-width: 0; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; } }
.footer__about p { margin-top: 1rem; max-width: 40ch; }
.footer__title { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; font-stretch: 118%; margin-bottom: 0.9rem; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list a { color: var(--on-navy); text-decoration: none; word-break: break-word; }
.footer__list a:hover { color: var(--teal); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(238, 245, 248, 0.14); margin-top: 40px; padding-block: 20px; font-size: 0.85rem; }

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