/* ==========================================================================
   TC Chemie Greiz – site.css
   Unterwasser-Design: Glas-Karten über dem Wasser-Canvas (ocean.js / ocean.css)

    1. Design-Tokens
    2. Reset & Basis
    3. Typografie
    4. Layout-Helfer (wrap, section, grid, split)
    5. Basis-Komponenten (glass, card, buttons, tags, chips, links)
    6. Header & Navigation
    7. Footer
    8. Startseite
    9. Unterseiten-Komponenten
   10. Galerie & Lightbox
   11. News
   12. Termine
   13. Partner, Kontakt & Formulare
   14. Fehlerseiten & Platzhalter
   15. Reveal-Animationen & Reduced Motion
   16. Responsive Anpassungen
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens  (Vertrag: Ocean-Agent darf diese lesen)
   -------------------------------------------------------------------------- */
:root {
  --c-navy:  #041421;
  --c-deep:  #062a43;
  --c-ocean: #0b4f75;
  --c-aqua:  #19b8d2;
  --c-foam:  #e9f8fc;
  --c-coral: #ff6b3d;
  --c-sun:   #ffd166;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* abgeleitete Farben */
  --c-aqua-light: #7fe6f4;
  --c-coral-light: #ff8a63;
  --c-text: #f2fbfd;
  --c-text-soft: rgba(233, 248, 252, .86);
  --c-text-mute: rgba(233, 248, 252, .82);
  --c-line: rgba(233, 248, 252, .14);

  /* Glas */
  --glass-bg: rgba(5, 30, 50, .62);
  --glass-bg-strong: rgba(4, 20, 33, .78);
  --glass-bg-soft: rgba(5, 30, 50, .42);
  --glass-tile: rgba(233, 248, 252, .07);
  --glass-border: rgba(233, 248, 252, .15);
  --glass-sheen: linear-gradient(160deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 38%);
  --glass-blur: 14px;

  /* Schatten, Radien, Abstände */
  --shadow-soft: 0 12px 32px -14px rgba(1, 8, 15, .6), 0 2px 6px rgba(1, 8, 15, .22);
  --shadow-lift: 0 26px 54px -20px rgba(1, 8, 15, .75), 0 4px 12px rgba(1, 8, 15, .25);
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --gauge-room: 0px;   /* Platz für das Tiefenmeter rechts (nur 1024–1365 px, siehe unten) */
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-deep);           /* Fallback, falls das Canvas fehlt */
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* :where() hält die Spezifität bei 0, damit Komponenten-Klassen eigene Abstände setzen können */
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
code { font-size: .9em; background: rgba(233, 248, 252, .1); padding: .1em .35em; border-radius: 6px; }

a { color: var(--c-aqua-light); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s; }
a:hover { color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c-sun); outline-offset: 3px; border-radius: 8px; }
/* Auf hellen Flächen (helle Glasleiste über Wasser, Korallen-Band) wäre Gelb unsichtbar → Navy */
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .site-header :focus-visible,
.cta-band :focus-visible { outline-color: var(--c-navy); }

::selection { background: var(--c-coral); color: var(--c-navy); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.18em;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--c-sun);
  color: var(--c-navy);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--c-navy); }

/* Inhaltsebene über dem Canvas (Vertrag: z-index 1) */
.page { position: relative; z-index: 1; display: block; }
.page:focus { outline: none; }

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .h3, .h4 {
  margin: 0 0 .55em;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: #fff;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; }
h3, .h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); font-weight: 700; }
h4, .h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: #fff; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--c-text-soft); max-width: 46rem; }
.small { font-size: .9rem; color: var(--c-text-mute); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .9rem;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-aqua-light);
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-coral);
}
.kicker--dark { color: var(--c-navy); }
.kicker--dark::before { background: var(--c-navy); }

/* --------------------------------------------------------------------------
   4. Layout-Helfer
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter) - var(--gauge-room), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter) - var(--gauge-room), 820px); }
/* Laptops (1024–1365 px): das senkrechte Tiefenmeter von ocean.js braucht rechts Platz, sonst liegt es über den Karten */
@media (min-width: 1024px) and (max-width: 1365px) { :root { --gauge-room: 88px; } }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--first { padding-top: clamp(2rem, 4vw, 3rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 3rem); }

/* Abschnittsköpfe stehen direkt über dem Wasser: weiches Glas für Lesbarkeit */
.section-head {
  position: relative;
  max-width: 48rem;
  width: fit-content;
  min-width: min(100%, 32rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: 1.15rem 1.5rem 1.25rem;
  border-left: 3px solid var(--c-coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(4, 20, 33, .58), rgba(4, 20, 33, .3));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.section-head h2 { margin-bottom: .35em; text-shadow: 0 2px 18px rgba(1, 8, 15, .35); }
.section-head p:not(.kicker) { color: var(--c-text-soft); }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  width: auto;
  max-width: none;
}
.section-head--row h2 { margin-bottom: 0; }

.section-foot { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--reverse > :first-child { order: 2; }
.split--reverse.split--wide-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }

.stack { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }

/* --------------------------------------------------------------------------
   5. Basis-Komponenten
   -------------------------------------------------------------------------- */
.glass {
  background: var(--glass-sheen), var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .section-head { background: rgba(4, 22, 37, .9); }
}

.card { padding: clamp(1.4rem, 3vw, 2.25rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.45rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn .icon--arrow { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { background: var(--c-coral); color: var(--c-navy); box-shadow: 0 10px 26px -10px rgba(255, 107, 61, .75); }
.btn--primary:hover { background: var(--c-coral-light); color: var(--c-navy); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(255, 107, 61, .85); }

.btn--ghost {
  background: rgba(233, 248, 252, .08);
  border-color: rgba(233, 248, 252, .38);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(233, 248, 252, .18); border-color: #fff; color: #fff; transform: translateY(-2px); }

.btn--dark { background: var(--c-navy); color: #fff; box-shadow: 0 12px 26px -12px rgba(1, 8, 15, .7); }
.btn--dark:hover { background: var(--c-deep); color: #fff; transform: translateY(-2px); }

.btn--sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Pfeil-Links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-aqua-light);
  text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { font-size: .93rem; }
.prose .link-arrow, .card .link-arrow { margin-top: .5rem; }

/* Tags & Chips */
.tag {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: rgba(25, 184, 210, .18);
  border: 1px solid rgba(127, 230, 244, .3);
  color: var(--c-aqua-light);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--accent { background: rgba(255, 107, 61, .2); border-color: rgba(255, 138, 99, .45); color: #ffb79f; }
.tag--lg { padding: .4rem .9rem; font-size: .88rem; white-space: normal; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 248, 252, .25);
  background: rgba(233, 248, 252, .07);
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { background: rgba(233, 248, 252, .16); border-color: rgba(233, 248, 252, .5); color: #fff; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--c-aqua); border-color: var(--c-aqua); color: var(--c-navy); }
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* Listen */
.plain-list { list-style: none; margin: 0; padding: 0; }
.check-list { display: grid; gap: .6rem; margin: 1.25rem 0 0; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { color: var(--c-aqua); margin-top: .3em; }

/* Fließtext in Glas-Karten */
.prose p, .prose li { color: var(--c-text-soft); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prose--columns .prose__cols { columns: 2 22rem; column-gap: 2.5rem; }
.prose--columns .prose__cols p { break-inside: avoid; }

/* Foto-Karten */
.photo { overflow: hidden; padding: .6rem; }
.photo img { width: 100%; border-radius: calc(var(--radius) - .5rem); aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { padding: .7rem .5rem .2rem; font-size: .88rem; color: var(--c-text-mute); }

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  isolation: isolate;
}
/* Verlauf für Lesbarkeit, solange der Header transparent ist (Startseite oben) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(4, 20, 33, .55), rgba(4, 20, 33, 0));
  pointer-events: none;
  transition: opacity .4s;
}
/* Glas-Leiste: liegt im Pseudo-Element, damit der Header selbst keinen Containing Block
   für das fixierte Mobile-Menü erzeugt (backdrop-filter würde das tun). */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 20, 33, .84);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(233, 248, 252, .1);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
html.is-underwater .site-header::after,
html.is-scrolled .site-header::after,
html:not(.js) .site-header::after,
html.ocean-off .site-header::after,
body.nav-open .site-header::after { opacity: 1; }
html.is-underwater .site-header::before,
html.is-scrolled .site-header::before { opacity: 0; }

/* Startseite über Wasser: Halle und Himmel sind hell → helle Glasleiste mit dunkler Schrift.
   Sobald ocean.js html.is-underwater setzt (Kamera unter der Oberfläche), greift wieder die dunkle Leiste. */
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .site-header::before { opacity: 0; }
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .site-header::after {
  opacity: 1;
  background: rgba(238, 249, 252, .66);
  border-bottom-color: rgba(4, 20, 33, .08);
  box-shadow: 0 10px 28px -22px rgba(4, 20, 33, .5);
}
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .brand { color: var(--c-navy); }
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .brand__sub { color: var(--c-ocean); }
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .brand__mark { filter: drop-shadow(0 3px 8px rgba(4, 20, 33, .18)); }
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .nav-toggle {
  border-color: rgba(4, 20, 33, .16);
  background: rgba(255, 255, 255, .55);
}
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .nav-toggle__bars::before,
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .nav-toggle__bars::after,
html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"]:not(.nav-open) .nav-toggle__bars > span { background: var(--c-navy); }
@media (min-width: 1101px) {
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .nav-link,
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-toggle { color: var(--c-navy); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .nav-link:hover,
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-toggle:hover { background: rgba(4, 20, 33, .07); color: var(--c-navy); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .nav-item.is-active > .nav-link { color: var(--c-ocean); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu { background: rgba(238, 249, 252, .94); border-color: rgba(4, 20, 33, .1); box-shadow: 0 22px 44px -22px rgba(4, 20, 33, .45); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu a { color: var(--c-navy); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu a .icon { color: var(--c-ocean); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu a:hover { background: rgba(4, 20, 33, .07); color: var(--c-navy); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu a[aria-current="page"] { background: rgba(11, 79, 117, .12); color: var(--c-ocean); }
  html.js:not(.is-underwater):not(.ocean-off) body[data-ocean="home"] .sub-menu :focus-visible { outline-color: var(--c-navy); }
}
.site-header::after { transition: opacity .4s, background-color .4s, border-color .4s; }
.brand, .brand__sub { transition: color .4s; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  text-decoration: none;
  flex: none;
}
.brand:hover { color: #fff; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 12px rgba(1, 8, 15, .35)); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand__sub { margin-top: .32rem; font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--c-aqua-light); }

.nav-list { display: flex; align-items: center; gap: .2rem; }
.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-link:hover { background: rgba(233, 248, 252, .12); color: #fff; }
.nav-item.is-active > .nav-link { color: var(--c-aqua-light); }
.nav-item.is-active > .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .15rem;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--c-coral);
}
.has-sub > .nav-link { padding-right: .35rem; }

.sub-toggle {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-right: .2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  transition: background-color .2s, transform .3s var(--ease);
}
.sub-toggle:hover { background: rgba(233, 248, 252, .12); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-sub.is-open > .sub-toggle .icon { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + .6rem);
  left: -.25rem;
  z-index: 5;
  min-width: 250px;
  padding: .5rem;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: rgba(4, 20, 33, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.sub-menu::before { content: ""; position: absolute; inset: -.7rem 0 auto 0; height: .7rem; }
.sub-menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .8rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.sub-menu a .icon { color: var(--c-aqua); }
.sub-menu a:hover { background: rgba(233, 248, 252, .1); color: #fff; }
.sub-menu a[aria-current="page"] { background: rgba(25, 184, 210, .16); color: var(--c-aqua-light); }

.has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-item--cta { margin-left: .5rem; }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(255, 209, 102, .55); }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid rgba(233, 248, 252, .25);
  border-radius: 14px;
  background: rgba(4, 20, 33, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after,
.nav-toggle__bars > span {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  margin-left: -11px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; background: transparent; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle__bars > span { top: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: Untermenüs zusätzlich per Hover */
@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover:not(.is-dismissed) > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover:not(.is-dismissed) > .sub-toggle .icon { transform: rotate(180deg); }
}

/* --------------------------------------------------------------------------
   7. Footer  (sitzt auf dem Beckenboden, den ocean.js zeichnet)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(1.25rem, 3vw, 2rem);
}
.footer-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(233, 248, 252, .12);
  border-radius: var(--radius-l);
  /* etwas dichter als die Karten: dahinter liegt der helle, gekachelte Beckenboden */
  background: linear-gradient(180deg, rgba(4, 20, 33, .64), rgba(4, 20, 33, .82));
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 -10px 40px -30px rgba(127, 230, 244, .4), var(--shadow-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-claim { margin: 1.25rem 0 .5rem; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.footer-claim strong { color: var(--c-aqua-light); }
.footer-text { max-width: 26rem; color: var(--c-text-mute); font-size: .95rem; }
.footer-title {
  margin-bottom: 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-aqua-light);
}
.footer-links { display: grid; gap: .5rem; }
.footer-links a, .footer-legal a { color: var(--c-text-soft); text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: .9rem; font-size: .95rem; color: var(--c-text-soft); }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .25em; color: var(--c-aqua); }
.footer-contact a { word-break: break-word; }

.social-list { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-link {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(233, 248, 252, .2);
  background: rgba(233, 248, 252, .07);
  color: #fff;
  transition: background-color .2s, transform .25s var(--ease), color .2s;
}
.social-link .icon { width: 22px; height: 22px; }
.social-link:hover { background: var(--c-coral); color: var(--c-navy); transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
  font-size: .88rem;
  color: var(--c-text-mute);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   8. Startseite
   -------------------------------------------------------------------------- */
.home-welcome { padding-top: clamp(3rem, 8vw, 6rem); }

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.6rem, 4.5vw, 3.5rem);
  border-radius: var(--radius-l);
}
.welcome h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.stat {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--glass-border);
  background: var(--glass-tile);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #fff 10%, var(--c-aqua-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat:nth-child(4) .stat__num { background: linear-gradient(120deg, var(--c-sun), var(--c-coral)); -webkit-background-clip: text; background-clip: text; }
.stat__label { font-size: .88rem; line-height: 1.4; color: var(--c-text-soft); }

/* Video mit Zwei-Klick-Lösung */
.video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  border: 1px solid var(--glass-border);
  background: var(--c-navy);
  box-shadow: var(--shadow-lift);
}
.video-embed__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.video-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 33, 0) 40%, rgba(4, 20, 33, .75));
  pointer-events: none;
}
.video-embed__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding-bottom: 2.4rem; /* Platz für den Datenschutz-Hinweis unten */
  color: #fff;
  text-decoration: none;
}
.video-embed__btn {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--c-coral);
  color: var(--c-navy);
  box-shadow: 0 0 0 10px rgba(255, 107, 61, .25), 0 16px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.video-embed__btn .icon { width: 34px; height: 34px; margin-left: 4px; }
.video-embed__label { font-family: var(--font-head); font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.video-embed__play:hover .video-embed__btn { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255, 107, 61, .2), 0 16px 40px -10px rgba(0, 0, 0, .6); }
.video-embed__play:hover ~ .video-embed__thumb, .video-embed:hover .video-embed__thumb { transform: scale(1.04); }
.video-embed__play:focus-visible { outline-offset: -6px; border-radius: var(--radius-l); }
.video-embed__note {
  position: absolute;
  left: 1rem; right: 1rem; bottom: .8rem;
  z-index: 2;
  margin: 0;
  font-size: .78rem;
  color: var(--c-text-soft);
  text-align: center;
  pointer-events: none;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-embed.is-playing::after { display: none; }

/* Trainingskarten */
.training-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.training-card:hover { transform: translateY(-4px); border-color: rgba(127, 230, 244, .45); box-shadow: var(--shadow-lift); }
.training-card__short {
  position: absolute;
  top: -.7rem; right: .4rem;
  font-family: var(--font-head);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(127, 230, 244, .12);
  pointer-events: none;
}
.training-card__day { margin-bottom: .9rem; font-size: 1.5rem; }
.training-card__time, .training-card__place { display: flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; }
.training-card__time { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: #fff; }
.training-card__time .icon { color: var(--c-coral); }
.training-card__place { color: var(--c-text-soft); font-size: .95rem; }
.training-card__place .icon { color: var(--c-aqua); }
.training-card--large { padding: 2rem 1.75rem 1.75rem; }
.training-card--large .training-card__day { font-size: 1.8rem; }
.training-card--large .training-card__time { font-size: 1.5rem; }

/* Feature-Karten (Sportarten-Teaser) */
.feature-card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(127, 230, 244, .45); }
.feature-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover .feature-card__media img { transform: scale(1.06); }
.feature-card__body { position: relative; padding: 2.1rem 1.5rem 1.6rem; }
.feature-card__icon, .teaser-card__icon, .link-card__icon, .contact-card__icon, .step__icon, .empty-state__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-aqua), var(--c-ocean));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(25, 184, 210, .7);
}
.feature-card__icon .icon, .teaser-card__icon .icon, .link-card__icon .icon, .contact-card__icon .icon, .step__icon .icon, .empty-state__icon .icon { width: 26px; height: 26px; }
.feature-card__icon { position: absolute; top: -26px; left: 1.5rem; }
.feature-card h3 a { color: #fff; text-decoration: none; }
.feature-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature-card h3 a:focus-visible { outline: none; }
.feature-card:has(h3 a:focus-visible) { outline: 3px solid var(--c-sun); outline-offset: 3px; }
.feature-card p { color: var(--c-text-soft); }

/* Mitmachen-Band (Korallen-Akzent) */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 209, 102, .55), rgba(255, 209, 102, 0) 55%),
    linear-gradient(120deg, #ff6b3d, #ff8a5c);
  color: var(--c-navy);
  box-shadow: 0 30px 60px -30px rgba(255, 107, 61, .8);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}
.cta-band h2 { color: var(--c-navy); }
.cta-band p { color: rgba(4, 20, 33, .85); }
.cta-band strong { color: var(--c-navy); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band--compact { grid-template-columns: minmax(0, 1fr) auto; }
.cta-band .btn-row { margin-top: 0; }

.cta-steps { display: grid; gap: .65rem; }
.cta-steps li { display: flex; align-items: center; gap: .8rem; font-weight: 600; line-height: 1.35; }
.cta-steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}

/* Logo-Band */
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 190px)); justify-content: center; gap: 1rem; }
.logo-tile {
  display: grid;
  place-items: center;
  width: 100%; height: 104px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.logo-tile img { max-height: 70px; width: auto; object-fit: contain; filter: saturate(.9); }
.logo-tile:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-lift); }

/* Teaser-Karten (Kontakt / Social) */
.teaser-card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.teaser-card__icon { margin-bottom: 1.25rem; }
.teaser-card p { color: var(--c-text-soft); }
.teaser-card--social .teaser-card__icon { background: linear-gradient(135deg, var(--c-coral), #ff9a5c); box-shadow: 0 10px 24px -10px rgba(255, 107, 61, .7); }
.teaser-card .btn-row { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   9. Unterseiten-Komponenten
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  width: min(100% - 2 * var(--gutter) - var(--gauge-room), var(--wrap));
  /* unten ein echtes Wasserband: hier taucht der Schwimmer von ocean.js unter dem Hero durch */
  margin: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) auto clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 5vw, 3.75rem);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-l);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(25, 184, 210, .28), rgba(25, 184, 210, 0) 60%),
    var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-lift);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(127, 230, 244, .18);
  box-shadow: 0 0 0 30px rgba(127, 230, 244, .05), 0 0 0 60px rgba(127, 230, 244, .03);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .35em; text-shadow: 0 4px 30px rgba(1, 8, 15, .35); hyphens: manual; overflow-wrap: break-word; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--article h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .88rem;
  color: var(--c-text-mute);
}
.breadcrumb a { color: var(--c-text-soft); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* Link-Karten (Verein-Übersicht) */
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.75rem 1.6rem 1.5rem;
  color: var(--c-text);
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.link-card:hover { color: var(--c-text); transform: translateY(-5px); border-color: rgba(127, 230, 244, .45); box-shadow: var(--shadow-lift); }
.link-card__icon { margin-bottom: 1rem; }
.link-card h2, .link-card h3 { margin-bottom: .3em; }
.link-card p { color: var(--c-text-soft); }
.link-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-weight: 600; color: var(--c-aqua-light); }
.link-card__more .icon { transition: transform .25s var(--ease); }
.link-card:hover .link-card__more .icon { transform: translateX(4px); }
.link-card--accent {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c-coral), #ff9a5c);
  color: var(--c-navy);
  box-shadow: 0 24px 50px -26px rgba(255, 107, 61, .9);
}
.link-card--accent:hover { color: var(--c-navy); }
.link-card--accent h2, .link-card--accent p, .link-card--accent .link-card__more { color: var(--c-navy); }
.link-card--accent .link-card__icon { background: var(--c-navy); box-shadow: none; }

/* Info-Karten (Disziplinen, Kurse) */
.info-card { position: relative; padding: 1.6rem 1.5rem 1.5rem; transition: transform .35s var(--ease), border-color .35s; }
.info-card:hover { transform: translateY(-4px); border-color: rgba(127, 230, 244, .4); }
.info-card__badge {
  display: inline-grid;
  place-items: center;
  min-width: 54px; height: 40px;
  margin-bottom: 1rem;
  padding: 0 .8rem;
  border-radius: 12px;
  background: rgba(25, 184, 210, .16);
  border: 1px solid rgba(127, 230, 244, .32);
  color: var(--c-aqua-light);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .04em;
}
.info-card h3 { font-size: 1.15rem; }
.info-card p { color: var(--c-text-soft); font-size: .98rem; }
.info-card--highlight { border-color: rgba(255, 138, 99, .5); background: linear-gradient(160deg, rgba(255, 107, 61, .18), rgba(255, 107, 61, 0) 60%), var(--glass-bg); }
.info-card--highlight .info-card__badge { background: var(--c-coral); border-color: var(--c-coral); color: var(--c-navy); }

/* Zeitstrahl (Geschichte) */
.timeline { position: relative; display: grid; gap: 1rem; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  top: .5rem; bottom: .5rem;
  left: 41px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-aqua), rgba(25, 184, 210, .1));
}
.timeline__item { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; align-items: start; }
.timeline__year {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: .7rem;
  border-radius: 999px;
  background: var(--c-navy);
  border: 2px solid var(--c-aqua);
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(4, 20, 33, .55);
}
.timeline__card { padding: 1rem 1.25rem; border-radius: var(--radius-s); }
.timeline__card h3 { margin-bottom: .25rem; font-size: 1.08rem; }
.timeline__card p { margin: 0; color: var(--c-text-soft); font-size: .96rem; }
.timeline__date { font-size: .85rem !important; color: var(--c-aqua-light) !important; font-weight: 600; }

/* Foto-Streifen */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .9rem; }
.photo-strip--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.photo-strip__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  background: var(--c-deep);
}
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.photo-strip__item:hover img { transform: scale(1.07); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; overflow: hidden; }
.step__num {
  position: absolute;
  top: -.4rem; right: 1rem;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 107, 61, .2);
}
.step__icon { margin-bottom: 1.1rem; }
.step p { color: var(--c-text-soft); }

.signup-card { padding: clamp(1.5rem, 3vw, 2.25rem); align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.signup-card .teaser-card__icon { margin-bottom: 1rem; background: linear-gradient(135deg, var(--c-coral), #ff9a5c); }
.signup-card p { color: var(--c-text-soft); margin-bottom: 1.25rem; }
.signup-card .btn { white-space: normal; word-break: break-all; }

/* Hinweis-Box */
.notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-color: rgba(255, 209, 102, .4);
}
.notice__icon { width: 26px; height: 26px; color: var(--c-sun); margin-top: .1rem; }
.notice__title { margin-bottom: .25rem; font-family: var(--font-head); font-weight: 700; color: #fff; }
.notice p { color: var(--c-text-soft); }
.notice--inline { margin: 1.5rem 0; border: 1px solid rgba(255, 209, 102, .35); border-radius: var(--radius-s); background: rgba(255, 209, 102, .08); }

.contact-line { display: flex; gap: .8rem; align-items: flex-start; margin: 1rem 0; }
.contact-line .icon { margin-top: .3em; color: var(--c-aqua); }
.contact-line a { word-break: break-all; }

.mini-training { padding: 1.5rem; }
.mini-training h2 { display: flex; align-items: center; gap: .6rem; }
.mini-training h2 .icon { color: var(--c-coral); }
.mini-training ul { display: grid; gap: .5rem; }
.mini-training li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--c-line); }
.mini-training li:last-child { border-bottom: 0; }
.mini-training span { color: var(--c-text-soft); }

/* Link-Panels (VDST, Ausschreibungen) */
.link-panel { padding: clamp(1.5rem, 3vw, 2.25rem); }
.link-panel .link-card__icon { margin-bottom: 1rem; }
.link-list { display: grid; gap: .6rem; margin-top: .5rem; }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--glass-border);
  background: var(--glass-tile);
  color: var(--c-text);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
.link-list a:hover { background: rgba(233, 248, 252, .13); border-color: rgba(127, 230, 244, .45); transform: translateX(3px); color: #fff; }
.link-list strong { display: block; font-family: var(--font-head); }
.link-list small { display: block; margin-top: .15rem; color: var(--c-text-mute); font-size: .86rem; line-height: 1.45; }
.link-list .icon { color: var(--c-aqua); }

.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.quick-links a {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-s);
  background: var(--glass-tile);
  border: 1px solid var(--glass-border);
  color: #fff; text-decoration: none; font-weight: 500;
}
.quick-links a:hover { background: rgba(233, 248, 252, .14); color: #fff; }
.quick-links .icon { color: var(--c-aqua); }

/* --------------------------------------------------------------------------
   10. Galerie & Lightbox
   -------------------------------------------------------------------------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}
.gallery-toolbar__title { margin: 0; font-size: 1.2rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: .5rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .9rem; }
.gallery-grid__item[hidden] { display: none; }
.gallery-grid__link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-s);
  border: 1px solid var(--glass-border);
  background: var(--c-deep);
  box-shadow: var(--shadow-soft);
}
.gallery-grid__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery-grid__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 33, 0) 50%, rgba(4, 20, 33, .6));
  opacity: 0;
  transition: opacity .3s;
}
.gallery-grid__zoom {
  position: absolute;
  right: .75rem; bottom: .75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(4, 20, 33, .7);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery-grid__link:hover img, .gallery-grid__link:focus-visible img { transform: scale(1.06); }
.gallery-grid__link:hover::after, .gallery-grid__link:focus-visible::after { opacity: 1; }
.gallery-grid__link:hover .gallery-grid__zoom, .gallery-grid__link:focus-visible .gallery-grid__zoom { opacity: 1; transform: none; }

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(2, 10, 18, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__inner {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 4.5rem 1.5rem;
}
.lightbox__img { max-width: 100%; max-height: calc(100vh - 9rem); border-radius: var(--radius-s); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); object-fit: contain; }
.lightbox__caption { margin: 1rem 0 0; text-align: center; color: var(--c-text-soft); font-size: .95rem; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(233, 248, 252, .25);
  border-radius: 50%;
  background: rgba(4, 20, 33, .6);
  color: #fff;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: var(--c-coral); color: var(--c-navy); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.5rem; font-size: .9rem; color: var(--c-text-mute); }

/* --------------------------------------------------------------------------
   11. News
   -------------------------------------------------------------------------- */
.news-card { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(127, 230, 244, .45); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-deep); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  background:
    radial-gradient(80% 90% at 20% 10%, rgba(25, 184, 210, .55), rgba(25, 184, 210, 0) 60%),
    linear-gradient(160deg, var(--c-ocean), var(--c-navy));
  color: rgba(233, 248, 252, .55);
}
.news-card__placeholder .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .7rem; font-size: .86rem; color: var(--c-text-mute); }
.news-card__title { font-size: 1.2rem; line-height: 1.25; margin-bottom: .55rem; }
.news-card__title a { color: #fff; text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card__title a:focus-visible { outline: none; }
.news-card:has(.news-card__title a:focus-visible), .featured-news:has(.featured-news__title a:focus-visible) { outline: 3px solid var(--c-sun); outline-offset: 3px; }
.news-card__teaser { color: var(--c-text-soft); font-size: .97rem; }
.news-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--c-aqua-light); }
.news-card__more .icon { transition: transform .25s var(--ease); }
.news-card:hover .news-card__more .icon, .featured-news:hover .news-card__more .icon { transform: translateX(4px); }

.featured-news {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-l);
  transition: box-shadow .35s, border-color .35s;
}
.featured-news:hover { box-shadow: var(--shadow-lift); border-color: rgba(127, 230, 244, .45); }
.featured-news__media { min-height: 300px; background: var(--c-deep); overflow: hidden; }
.featured-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured-news:hover .featured-news__media img { transform: scale(1.04); }
.featured-news__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.featured-news__title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.featured-news__title a { color: #fff; text-decoration: none; }
.featured-news__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.featured-news__title a:focus-visible { outline: none; }
.featured-news__body > p:not(.news-card__meta) { color: var(--c-text-soft); }

.highlight-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 0; }
.highlight-chips li {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, .12);
  border: 1px solid rgba(255, 209, 102, .35);
  color: #ffe2a3;
  font-size: .84rem;
  font-weight: 500;
}

.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.pagination__page, .pagination__step {
  display: grid;
  place-items: center;
  min-width: 42px; height: 42px;
  padding: 0 .6rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.pagination__page:hover, .pagination__step:hover { background: rgba(233, 248, 252, .16); color: #fff; }
.pagination__page.is-current { background: var(--c-aqua); border-color: var(--c-aqua); color: var(--c-navy); }
.pagination.is-hidden { display: none; }
.js .pagination--fallback { display: none; }   /* mit JS übernimmt „Weitere Beiträge laden“ */

/* Artikel */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; color: var(--c-text-soft); font-size: .95rem; }
.article-meta time { display: inline-flex; align-items: center; gap: .45rem; }
.article-meta .icon { color: var(--c-aqua); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.article { overflow: hidden; border-radius: var(--radius-l); }
.article__image a { display: block; }
.article__image img { width: 100%; max-height: 560px; object-fit: cover; }
.article__body { padding: clamp(1.5rem, 4vw, 2.75rem); font-size: 1.08rem; }
.article__body p { max-width: 68ch; }
.article__source { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .95rem; }
.article__source a { display: inline-flex; align-items: center; gap: .45rem; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1rem; }
.highlights { padding: 1.5rem; border-color: rgba(255, 209, 102, .35); }
.highlights__title { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; }
.highlights__title .icon { color: var(--c-sun); }
.highlights ul { display: grid; gap: .55rem; }
.highlights li { position: relative; padding-left: 1.3rem; color: var(--c-text-soft); line-height: 1.45; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-coral); }
.aside-card { padding: 1.5rem; display: grid; gap: .75rem; justify-items: start; }
.aside-card h2 { margin: 0; }
.aside-card p { color: var(--c-text-soft); font-size: .96rem; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.article-nav__link { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.3rem; color: #fff; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.article-nav__link:hover { color: #fff; border-color: rgba(127, 230, 244, .45); transform: translateY(-3px); }
.article-nav__link--next { text-align: right; align-items: flex-end; grid-column: 2; }
.article-nav__dir { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--c-aqua-light); font-weight: 600; }
.article-nav__title { font-family: var(--font-head); font-weight: 600; line-height: 1.3; }

/* Wettkampfberichte */
.result-list { display: grid; gap: .9rem; }
.result-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1.25rem 1.5rem; }
.result-item time { font-size: .86rem; color: var(--c-text-mute); }
.result-item h3 { margin: .2rem 0 0; font-size: 1.12rem; }
.result-item h3 a { color: #fff; text-decoration: none; }
.result-item h3 a:hover { color: var(--c-aqua-light); text-decoration: underline; }
.result-item .highlight-chips { margin: 0; justify-content: flex-end; }

/* --------------------------------------------------------------------------
   12. Termine
   -------------------------------------------------------------------------- */
.empty-state { display: flex; gap: 1.25rem; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.25rem); }
.empty-state h3 { margin-bottom: .4rem; }
.empty-state p { color: var(--c-text-soft); }
.empty-state .btn-row { margin-top: 1.1rem; }

.month-group + .month-group { margin-top: 1.75rem; }
.month-group__title {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: rgba(4, 20, 33, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1.05rem;
  text-transform: capitalize;
}
.event-list, .year-list { display: grid; gap: .75rem; }
.year-item { grid-template-columns: 12.5rem minmax(0, 1fr) auto; }
.event, .year-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-s);
}
.event__date {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--c-aqua), var(--c-ocean));
  color: #fff;
  line-height: 1;
}
.event__date strong { font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; }
.event__date span { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: -.6rem; }
.event--past .event__date { background: rgba(233, 248, 252, .1); border: 1px solid var(--glass-border); }
.event h4, .year-item h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0; font-size: .9rem; color: var(--c-text-soft); }
.event__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.event__meta .icon { color: var(--c-aqua); }
.event .link-arrow { margin-top: .4rem; }

.year-item__month {
  min-width: 128px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--c-aqua-light);
  line-height: 1.25;
}
.year-item.is-next { border-color: rgba(255, 138, 99, .55); background: linear-gradient(90deg, rgba(255, 107, 61, .2), rgba(255, 107, 61, 0) 55%), var(--glass-bg); }
.year-item.is-next .year-item__month { color: #ffb79f; }
.year-item.is-next .tag { background: var(--c-coral); border-color: var(--c-coral); color: var(--c-navy); }

/* --------------------------------------------------------------------------
   13. Partner, Kontakt & Formulare
   -------------------------------------------------------------------------- */
.partner-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.partner-card:hover { transform: translateY(-4px); border-color: rgba(127, 230, 244, .4); }
.partner-card__logo {
  display: grid;
  place-items: center;
  height: 150px;
  margin: .6rem .6rem 0;
  padding: 1.25rem;
  border-radius: calc(var(--radius) - .4rem);
  background: rgba(255, 255, 255, .95);
}
.partner-card__logo img { max-height: 110px; width: auto; object-fit: contain; }
.partner-card__initials {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-aqua), var(--c-ocean));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
}
.partner-card__initials .icon { width: 40px; height: 40px; }
.partner-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.partner-card__body h3 { margin: .35rem 0 .25rem; font-size: 1.12rem; }
.partner-card__address { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .5rem; font-size: .92rem; color: var(--c-text-soft); }
.partner-card__address .icon { margin-top: .25em; color: var(--c-aqua); }
.partner-card .link-arrow { margin-top: auto; padding-top: .5rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.contact-channels { display: grid; gap: .9rem; }
.contact-channels__head { width: auto; min-width: 0; margin-bottom: .1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; }
.contact-card__icon { width: 44px; height: 44px; border-radius: 14px; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.contact-card p { margin-bottom: .35rem; font-size: .93rem; color: var(--c-text-soft); }
.contact-card a { word-break: break-word; font-weight: 500; }
.contact-card > div { min-width: 0; }

.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); position: sticky; top: calc(var(--header-h) + 1.25rem); }
.form-intro { color: var(--c-text-mute); font-size: .92rem; }
.form { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.form-row--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1px solid rgba(233, 248, 252, .25);
  border-radius: var(--radius-s);
  background: rgba(2, 12, 22, .45);
  color: #fff;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.75rem; }
.field select option { background: var(--c-deep); color: #fff; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-mute); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233, 248, 252, .45); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--c-aqua);
  box-shadow: 0 0 0 4px rgba(25, 184, 210, .3);
  background: rgba(2, 12, 22, .6);
}
.field .input-validation-error { border-color: #ff9b7d !important; box-shadow: 0 0 0 3px rgba(255, 107, 61, .22); }
.field-error { font-size: .88rem; color: #ffb39b; }
.field-error:empty { display: none; }
.form-errors { padding: .75rem 1rem; border-radius: var(--radius-s); background: rgba(255, 107, 61, .14); border: 1px solid rgba(255, 138, 99, .45); color: #ffd3c5; font-size: .93rem; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: .75rem; }
.field--check input { width: 22px; height: 22px; margin: .2rem 0 0; accent-color: var(--c-coral); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--c-text-soft); }
.field--check .field-error { grid-column: 2; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-how { margin: .75rem 0 1rem; }
.form-how p { margin: 0; font-size: .93rem; }

.form-success { display: grid; gap: .5rem; justify-items: start; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: .5rem; border-radius: 50%; background: linear-gradient(135deg, #3ddc97, #19b8d2); color: var(--c-navy); }
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.form-success p { color: var(--c-text-soft); }
.form-success .btn { margin: .5rem 0; white-space: normal; word-break: break-all; }

/* --------------------------------------------------------------------------
   14. Fehlerseiten & Platzhalter
   -------------------------------------------------------------------------- */
.page-hero--error { text-align: left; }
.error-code {
  margin: 0 0 .25rem;
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: .9;
  background: linear-gradient(180deg, #fff, rgba(127, 230, 244, .35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.placeholder-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.placeholder-card .tag { margin-bottom: 1rem; }
.placeholder-card p { color: var(--c-text-soft); }
.placeholder-card .btn { margin-top: 1rem; white-space: normal; }
.facts { display: grid; gap: .5rem; margin: 1.25rem 0; }
.facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--c-line); }
.facts dt { color: var(--c-text-mute); }
.facts dd { margin: 0; font-weight: 600; }

/* --------------------------------------------------------------------------
   15. Reveal-Animationen & Reduced Motion
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Notbremse: Läuft site.js nicht (Fehler, altes Safari …), werden die Inhalte nach 3 s trotzdem sichtbar. */
.js [data-reveal] { animation: reveal-failsafe 0s linear 3s forwards; }
.reveal-ready [data-reveal] { animation: none; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  #ocean-canvas, #depth-gauge { display: none !important; }
}
/* Nach dem Einblenden entfernt site.js das data-reveal-Attribut, damit die Hover-Übergänge der Karten wieder greifen. */

body.lightbox-open { overflow: hidden; }
.btn.is-loading { opacity: .7; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   16. Responsive Anpassungen
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; place-items: center; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem var(--gutter) 3rem;
    background: rgba(4, 20, 33, .95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; margin-inline: auto; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid rgba(233, 248, 252, .1); }
  .nav-link { flex: 1; padding: 1rem .25rem; border-radius: 0; font-size: 1.3rem; font-weight: 600; }
  .nav-link:hover { background: transparent; color: var(--c-aqua-light); }
  .nav-item.is-active > .nav-link::after { left: -.6rem; right: auto; bottom: auto; top: 50%; margin: -2.5px 0 0; }
  .has-sub > .nav-link { padding-right: .25rem; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; border: 1px solid rgba(233, 248, 252, .18); }
  .sub-toggle .icon { width: 20px; height: 20px; }

  .sub-menu {
    position: static;
    flex-basis: 100%;
    display: none;
    min-width: 0;
    margin: 0 0 .9rem;
    padding: .35rem;
    border-radius: 16px;
    background: rgba(233, 248, 252, .05);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .sub-menu::before { display: none; }
  .has-sub.is-open > .sub-menu { display: block; }
  .sub-menu a { padding: .8rem .9rem; font-size: 1.05rem; }

  .nav-item--cta { margin: 1.5rem 0 0; border-bottom: 0; }
  .nav-cta { width: 100%; min-height: 54px; font-size: 1.1rem; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .cta-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-band > .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .welcome { grid-template-columns: 1fr; }
  .split, .split--wide-text, .split--reverse.split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .featured-news { grid-template-columns: 1fr; }
  .featured-news__media { min-height: 0; aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .result-item { grid-template-columns: 1fr; }
  .result-item .highlight-chips { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.08rem; }
  .brand__sub { font-size: .6rem; letter-spacing: .2em; }
  .nav-toggle { width: 44px; height: 44px; }

  .section-head { padding: 1rem 1.1rem 1.1rem; }
  .cta-band, .cta-band--compact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .stat { padding: .9rem .85rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .event, .year-item { grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: .9rem 1rem; }
  .event > .tag, .year-item > .tag { grid-column: 2; justify-self: start; }
  .event__date { width: 54px; height: 54px; }
  .event__date strong { font-size: 1.3rem; }
  .year-item { grid-template-columns: 1fr; }
  .year-item > .tag { grid-column: 1; }
  .year-item__month { min-width: 0; }

  .timeline::before { left: 29px; }
  .timeline__item { grid-template-columns: 60px minmax(0, 1fr); gap: .75rem; }
  .timeline__year { font-size: .88rem; height: 34px; }

  .article-nav { grid-template-columns: 1fr; }
  .article-nav__link--next { grid-column: 1; }
  .empty-state { flex-direction: column; }

  .btn { white-space: normal; }
  .btn-row .btn { flex: 1 1 auto; }
  .gallery-grid, .photo-strip, .photo-strip--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }

  .lightbox__inner { padding: 4rem .75rem 1rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__img { max-height: calc(100vh - 11rem); }
  .lightbox__caption { margin-bottom: 4rem; }

  .facts div { grid-template-columns: 1fr; gap: .15rem; }
  .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .logo-strip > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .375rem); }
  .logo-tile { height: 90px; }

  .video-embed__btn { width: 62px; height: 62px; box-shadow: 0 0 0 8px rgba(255, 107, 61, .25), 0 12px 30px -10px rgba(0, 0, 0, .6); }
  .video-embed__btn .icon { width: 26px; height: 26px; margin-left: 3px; }
  .video-embed__play { gap: .45rem; padding-bottom: 2.6rem; }
  .video-embed__label { font-size: .95rem; }
  .video-embed__note { bottom: .5rem; font-size: .7rem; line-height: 1.45; }

  .footer-panel { padding: 1.5rem 1.25rem; }
  .footer-grid { gap: 1.75rem 1.25rem; }
  .quick-links { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
  .stats { grid-template-columns: 1fr; }
}
