/* ==========================================================================
   Helmholtz-Gymnasium Bielefeld — Website 2026
   Dunkles Grün-Theme · CI-Grün als Leuchtakzent · Gold nur fürs Jubiläum
   Schrift: TikTok Sans (Überschriften) · Geist (Text/UI)
   ========================================================================== */

:root {
  /* Flächen: Tannengrün + warmes Creme als Kontrast */
  --grund: #0F2B1D;         /* Body */
  --grund-tief: #081E12;    /* Topbar, Footer, dunkle Sektionen */
  --creme: #F2EEE3;         /* warme Wechselflächen */

  /* Vordergrund */
  --kontrast: #F2F8F4;      /* Überschriften, starke Linien */
  --text: #D5E4DA;
  --text-leise: #9CB9A8;
  --text-hell: rgba(255, 255, 255, 0.85);

  /* Akzente */
  --akzent: #7FDD9F;        /* Links, Labels — helles CI-Grün */
  --akzent-voll: #33AF63;   /* Buttons */
  --gold: #D9BC5F;          /* 130 Jahre */

  --weiss: #FFFFFF;
  --linie: rgba(255, 255, 255, 0.14);
  --linie-stark: rgba(255, 255, 255, 0.38);
  --hinweis-bg: rgba(127, 221, 159, 0.1);
  --hover-flaeche: rgba(127, 221, 159, 0.1);
  --figcap-bg: rgba(255, 255, 255, 0.06);

  --font-head: "TikTok Sans", "Segoe UI", Arial, sans-serif;
  --font-text: "Geist", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 44px);
  --abschnitt: clamp(56px, 8vw, 108px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: var(--akzent); text-decoration: none; }
p a, li a.textlink { text-decoration: underline; text-decoration-color: rgba(127, 221, 159, 0.45); text-underline-offset: 3px; }
p a:hover, li a.textlink:hover { text-decoration-color: var(--akzent); }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
strong { font-weight: 650; color: var(--kontrast); }
::selection { background: var(--akzent); color: #06170D; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 400;
  background: var(--akzent); color: #06170D; padding: 10px 16px; transition: top .2s;
}
.skip-link:focus { top: 10px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--kontrast);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.35; }

.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-hell);
  max-width: 62ch;
}

.label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--voll { background: var(--akzent-voll); color: #04150B; }
.btn--voll:hover { background: #3DC272; }
.btn--rahmen { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--rahmen:hover { border-color: #fff; background: rgba(255,255,255,.1); }
/* Rahmen-Variante auf Flächen (historischer Name aus dem hellen Theme) */
.btn--rahmen-dunkel { border-color: var(--linie-stark); color: var(--kontrast); }
.btn--rahmen-dunkel:hover { border-color: var(--akzent); color: var(--akzent); }

/* ---------- Topbar ---------- */
.topbar { background: var(--grund-tief); color: rgba(255,255,255,.75); font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__links { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar__links a { color: rgba(255,255,255,.75); padding: 4px 10px; transition: color .2s; }
.topbar__links a:hover { color: var(--akzent); }
.topbar__links a.extern::after { content: " ↗"; font-size: .78em; opacity: .7; }
.topbar__tel { color: var(--akzent); font-weight: 600; white-space: nowrap; }

/* ---------- Masthead / Navigation ---------- */
.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13, 37, 25, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 84px;
}
.brand {
  display: flex; align-items: center; flex-shrink: 0;
  background: var(--weiss);
  padding: 8px 14px;
  border-radius: 6px;
}
.brand img { height: 40px; width: auto; }

.mainnav { display: flex; gap: clamp(4px, 1vw, 10px); flex-wrap: wrap; }
.mainnav a {
  position: relative;
  font-size: 0.97rem; font-weight: 500;
  color: rgba(255,255,255,.82);
  padding: 8px 10px;
}
.mainnav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2.5px; background: var(--akzent);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.mainnav a:hover { color: #fff; }
.mainnav a:hover::after { transform: scaleX(1); }
.mainnav a[aria-current="page"] { color: var(--akzent); font-weight: 650; }
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 12px 8px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.burger.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.offen span:nth-child(2) { opacity: 0; }
.burger.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobilnav {
  display: none;
  position: fixed; inset: 0; z-index: 150;
  background: var(--grund-tief);
  padding: 150px var(--pad) 40px;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobilnav.offen { display: flex; }
.mobilnav a {
  font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 650; color: #fff;
  padding: 12px 0; border-bottom: 1px solid var(--linie);
}
.mobilnav a[aria-current="page"] { color: var(--akzent); }
.mobilnav__meta { margin-top: 28px; color: var(--text-leise); font-size: .95rem; }
.mobilnav__meta a { color: var(--akzent); font-weight: 600; }

/* ---------- Abschnitte / Sektionsköpfe ---------- */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--dunkel { background: var(--grund-tief); color: var(--text-hell); }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }

/* Creme-Flächen: alle Farb-Tokens werden im Scope auf „dunkel auf hell" umgeschaltet */
.abschnitt--flaeche, .schnell, .vorfuss {
  --kontrast: #16281C;
  --text: #333D33;
  --text-leise: #5F6E60;
  --text-hell: #333D33;
  --akzent: #177A43;
  --gold: #8F731D;
  --linie: rgba(22, 40, 28, 0.16);
  --linie-stark: rgba(22, 40, 28, 0.42);
  --hinweis-bg: rgba(23, 122, 67, 0.09);
  --hover-flaeche: rgba(23, 122, 67, 0.07);
  --figcap-bg: rgba(22, 40, 28, 0.06);
  background: var(--creme);
  color: var(--text);
}

.kopf {
  border-top: 2px solid var(--kontrast);
  padding-top: 18px;
  margin-bottom: clamp(30px, 4.5vw, 52px);
}
.kopf__zeile {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; margin-bottom: 14px;
}
.kopf__mehr { font-size: 0.95rem; font-weight: 600; white-space: nowrap; color: var(--akzent); }
.kopf__mehr:hover { text-decoration: underline; text-underline-offset: 3px; }
.kopf h2 { max-width: 24ch; }
.kopf .lead { margin-top: 18px; }

/* ---------- Raster ---------- */
.g { display: grid; gap: clamp(24px, 3.5vw, 48px); }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-schmal-breit { grid-template-columns: 5fr 7fr; }
.g-breit-schmal { grid-template-columns: 7fr 5fr; }
.g--mittig { align-items: center; }

/* ---------- Bilder / Figuren ---------- */
figure img { width: 100%; height: 100%; object-fit: cover; }
figure { border-radius: 4px; }
figure img, .video-figur video { border-radius: 4px; }
figcaption {
  font-size: 0.85rem; color: var(--text-leise);
  padding-top: 10px;
  border-bottom: 1px solid var(--linie);
  padding-bottom: 12px;
}
.bild-rahmen img { aspect-ratio: 3 / 2; }
.bild-rahmen--hoch img { aspect-ratio: 3 / 4; }
.bild-rahmen--breit img { aspect-ratio: 16 / 9; }
.bild-rahmen--quadrat img { aspect-ratio: 1 / 1; }

.fotoband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Video ---------- */
.video-figur { background: #000; border-radius: 4px; }
.video-figur video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-figur figcaption {
  border: 0; padding: 12px 14px;
  background: var(--figcap-bg);
  border-radius: 0 0 4px 4px;
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; background: var(--grund-tief); overflow: hidden; }
.hero video, .hero__bild {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,30,18,.35) 0%, rgba(8,30,18,.08) 40%, rgba(8,30,18,.88) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  min-height: clamp(480px, 72vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(36px, 6vh, 64px); padding-top: 120px;
}
.hero__dach {
  color: var(--akzent); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { color: #fff; max-width: 14ch; text-wrap: balance; }
.hero__satz { color: rgba(255,255,255,.9); font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 52ch; margin-top: 18px; }
.hero__aktionen { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__quelle {
  position: absolute; right: var(--pad); bottom: 14px; z-index: 2;
  font-size: 0.75rem; color: rgba(255,255,255,.55);
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf {
  border-bottom: 1px solid var(--linie);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(127, 221, 159, 0.08), transparent 65%),
    var(--grund);
}
.seitenkopf .label { margin-bottom: 14px; }
.seitenkopf h1 { max-width: 18ch; }
.seitenkopf .lead { margin-top: 20px; }
.seitenkopf__pfad { font-size: 0.85rem; color: var(--text-leise); margin-bottom: 24px; }
.seitenkopf__pfad a { color: var(--text-leise); }
.seitenkopf__pfad a:hover { color: var(--akzent); }

/* ---------- Schnellzugriff ---------- */
.schnell { border-bottom: 1px solid var(--linie); }
.schnell ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.schnell li { border-left: 1px solid var(--linie); }
.schnell li:first-child { border-left: 0; }
.schnell a {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 18px 20px;
  color: var(--text-hell); font-size: 0.92rem; font-weight: 550;
  transition: background .2s, color .2s;
  height: 100%;
}
.schnell a:hover { background: var(--hover-flaeche); color: var(--kontrast); }
.schnell svg { width: 22px; height: 22px; stroke: var(--akzent); }
.schnell a span small { display: block; font-weight: 400; color: var(--text-leise); font-size: 0.8rem; margin-top: 2px; }

/* ---------- „Direkte Wege" (Zielgruppen) ---------- */
.wege { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--linie); border-radius: 4px; }
.wege__spalte { padding: clamp(22px, 2.6vw, 34px); border-left: 1px solid var(--linie); }
.wege__spalte:first-child { border-left: 0; }
.wege__spalte h3 { font-size: 1.15rem; margin-bottom: 6px; }
.wege__spalte p { font-size: 0.88rem; color: var(--text-leise); margin-bottom: 16px; }
.wege__spalte ul { display: flex; flex-direction: column; }
.wege__spalte li { border-top: 1px solid var(--linie); }
.wege__spalte li:first-child { border-top: 0; }
.wege__spalte a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 2px; font-size: 0.95rem; color: var(--text);
  transition: color .15s, padding-left .15s;
}
.wege__spalte a::after { content: "→"; color: var(--akzent); font-weight: 600; }
.wege__spalte a:hover { color: var(--akzent); padding-left: 6px; }

/* ---------- Nachrichten ---------- */
.news-lead { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.news-lead__text { display: flex; flex-direction: column; justify-content: center; }
.news-lead h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 12px 0 14px; max-width: 22ch; }
.news-lead p { max-width: 56ch; }
.news-lead .news-meta { margin-bottom: 0; }
.news-lead a.textlink { margin-top: 18px; font-weight: 600; }

.news-meta { display: flex; gap: 12px; align-items: center; font-size: 0.85rem; color: var(--text-leise); margin-bottom: 8px; }
.news-meta .rubrik { color: var(--akzent); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }

.news-liste { border-top: 1px solid var(--linie); margin-top: clamp(28px, 4vw, 44px); }
.news-zeile {
  display: grid; grid-template-columns: 110px 150px 1fr; gap: clamp(16px, 2.5vw, 32px);
  padding: 20px 0; border-bottom: 1px solid var(--linie); align-items: center;
}
.news-zeile time { font-size: 0.88rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.news-zeile__bild img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-zeile h3 { font-size: 1.18rem; font-weight: 650; }
.news-zeile h3 a { color: var(--kontrast); }
.news-zeile h3 a:hover { color: var(--akzent); }
.news-zeile p { font-size: 0.93rem; color: var(--text-leise); margin-top: 4px; max-width: 70ch; }

/* Aktuelles-Seite: grosse Zeilen */
.artikel-zeile {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--linie);
}
.artikel-zeile figure img { aspect-ratio: 4 / 3; }
.artikel-zeile h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 8px 0 10px; }

/* ---------- Termine ---------- */
.termine { border-top: 1px solid var(--linie); }
.termin {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--linie); align-items: baseline;
}
.termin time { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--akzent); white-space: nowrap; }
.termin h3, .termin strong.t { font-size: 1.05rem; font-weight: 650; color: var(--kontrast); font-family: var(--font-text); }
.termin p { font-size: 0.9rem; color: var(--text-leise); margin-top: 2px; }
.termin .ort { font-size: 0.85rem; color: var(--text-leise); white-space: nowrap; }

/* ---------- Tabellen ---------- */
.tabelle { width: 100%; border-collapse: collapse; border-top: 2px solid var(--kontrast); }
.tabelle th, .tabelle td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-leise); font-weight: 600; }
.tabelle td { color: var(--text); }
.tabelle td:first-child { font-weight: 650; color: var(--kontrast); }
.tabelle--gross td:first-child { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }

/* ---------- Faktenliste (dl) ---------- */
.fakten { border-top: 2px solid var(--kontrast); }
.fakten div { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--linie); }
.fakten dt { font-weight: 650; color: var(--kontrast); }
.fakten dd { color: var(--text); }

/* ---------- Zeitleiste ---------- */
.zeit { border-left: 2px solid var(--linie); padding-left: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); }
.zeit__punkt { position: relative; }
.zeit__punkt::before {
  content: ""; position: absolute; left: calc(-1 * clamp(24px, 3vw, 40px) - 7px); top: 10px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--akzent); border: 2px solid var(--grund);
}
.zeit__jahr { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--akzent); }
.zeit__punkt p { max-width: 60ch; margin-top: 4px; }
.zeit__punkt--gold .zeit__jahr { color: var(--gold); }
.zeit__punkt--gold::before { background: var(--gold); }

/* ---------- Nummerierte Stationen (Lehramt) ---------- */
.station { display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 3vw, 44px); padding: clamp(30px, 4vw, 48px) 0; border-top: 1px solid var(--linie); }
.station:last-of-type { border-bottom: 1px solid var(--linie); }
.station__nr { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--akzent); line-height: 1; }
.station h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.station__dach { font-size: 0.88rem; color: var(--text-leise); margin-bottom: 14px; }
.station p { max-width: 68ch; }
.station .fakten { margin-top: 20px; border-top-width: 1px; border-top-color: var(--linie); }
.station .fakten div { grid-template-columns: 170px 1fr; padding: 10px 0; }

/* ---------- FAQ (details) ---------- */
.faq { border-top: 2px solid var(--kontrast); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 4px; cursor: pointer;
  font-weight: 650; color: var(--kontrast); font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; color: var(--akzent); font-weight: 600; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; max-width: 72ch; color: var(--text); }

/* ---------- Logoleiste (weiße Chips für farbige Partnerlogos) ---------- */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.logos figure {
  display: grid; place-items: center;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: 16px 14px;
  min-height: 92px;
  transition: transform .2s;
}
.logos figure:hover { transform: translateY(-3px); }
.logos img { max-height: 58px; width: auto; object-fit: contain; }

/* ---------- Hinweiskasten ---------- */
.hinweis {
  border-left: 3px solid var(--akzent);
  background: var(--hinweis-bg);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
}
.hinweis--gold { border-left-color: var(--gold); background: rgba(217, 188, 95, 0.12); }
.hinweis p { max-width: 72ch; }

/* ---------- Personenliste ---------- */
.personen { border-top: 2px solid var(--kontrast); }
.personen li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--linie); }
.personen .name { font-weight: 650; color: var(--kontrast); }
.personen .rolle { color: var(--text-leise); }

/* ---------- Fußbereich ---------- */
.vorfuss { border-top: 1px solid var(--linie); }
.vorfuss .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-block: 30px; }
.vorfuss p { font-size: 0.98rem; color: var(--text); max-width: 62ch; }
.vorfuss p strong { color: var(--gold); }
.vorfuss img { height: 74px; width: auto; }

.fuss { background: var(--grund-tief); color: var(--text-hell); }
.fuss a { color: var(--text-hell); }
.fuss a:hover { color: var(--akzent); text-decoration: underline; text-underline-offset: 3px; }
.fuss__oben { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(44px, 6vw, 72px) clamp(32px, 5vw, 52px); border-bottom: 1px solid var(--linie); }
.fuss h3 { color: var(--akzent); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-text); }
.fuss__spalte { display: flex; flex-direction: column; gap: 9px; font-size: 0.95rem; }
.fuss__adresse { font-style: normal; line-height: 1.7; font-size: 0.98rem; }
.fuss__adresse strong { color: #fff; font-size: 1.05rem; }
.fuss__unten { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: 0.85rem; color: rgba(255,255,255,.5); }
.fuss__unten nav { display: flex; gap: 20px; }
.fuss__unten a { color: rgba(255,255,255,.5); }

/* ---------- Kleinigkeiten ---------- */
.abstand-oben { margin-top: clamp(28px, 4vw, 48px); }
.abstand-oben-klein { margin-top: 18px; }
.max-60 { max-width: 60ch; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin-block: clamp(32px, 5vw, 56px); }

/* ---------- Responsiv ---------- */
@media (max-width: 1120px) {
  .mainnav { display: none; }
  .burger { display: flex; }
  .schnell ul { grid-template-columns: repeat(3, 1fr); }
  .schnell li:nth-child(4) { border-left: 0; }
  .schnell li { border-top: 1px solid var(--linie); }
  .schnell li:nth-child(-n+3) { border-top: 0; }
  .wege { grid-template-columns: 1fr 1fr; }
  .wege__spalte:nth-child(3) { border-left: 0; }
  .wege__spalte { border-top: 1px solid var(--linie); }
  .wege__spalte:nth-child(-n+2) { border-top: 0; }
  .logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .g-2, .g-3, .g-schmal-breit, .g-breit-schmal { grid-template-columns: 1fr; }
  .news-lead { grid-template-columns: 1fr; }
  .fotoband { grid-template-columns: 1fr 1fr; }
  .artikel-zeile { grid-template-columns: 1fr; }
  .artikel-zeile figure { max-width: 460px; }
  .station { grid-template-columns: 1fr; gap: 10px; }
  .fuss__oben { grid-template-columns: 1fr 1fr; }
  .vorfuss .wrap { grid-template-columns: 1fr; }
  .news-zeile { grid-template-columns: 90px 1fr; }
  .news-zeile__bild { display: none; }
  .termin { grid-template-columns: 110px 1fr; }
  .termin .ort { grid-column: 2; }
  .fakten div { grid-template-columns: 1fr; gap: 2px; }
  .station .fakten div { grid-template-columns: 1fr; }
  .personen li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 560px) {
  .schnell ul { grid-template-columns: 1fr 1fr; }
  .schnell li { border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); }
  .schnell li:nth-child(odd) { border-left: 0; }
  .schnell li:nth-child(-n+2) { border-top: 0; }
  .wege { grid-template-columns: 1fr; }
  .wege__spalte { border-left: 0; }
  .wege__spalte:nth-child(-n+2) { border-top: 1px solid var(--linie); }
  .wege__spalte:first-child { border-top: 0; }
  .fotoband { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .topbar__links a.extern:nth-child(n+4) { display: none; }
  .brand { padding: 6px 10px; }
  .brand img { height: 34px; }
}

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