/* ==========================================================================
   Theme "tino" – Tino Scrascia, Para-Triathlet
   Fonts lokal (Barlow Condensed, Inter – SIL OFL). Keine externen Ressourcen.
   ========================================================================== */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); }

:root {
  /* Farben aus dem Deutschland-Einteiler: Schwarz, Rot, Orange, Gold */
  --dark: #18181b;
  --dark-2: #26262b;
  --dark-3: #3a3a40;
  --red: #d62a1f;
  --red-dark: #a91f17;
  --orange: #f0661c;
  --gold: #ffc828;
  --jersey: linear-gradient(90deg, #d62a1f 0%, #f0661c 50%, #ffc828 100%);
  --flag: linear-gradient(90deg, #18181b 0 33.3%, #d62a1f 33.3% 66.6%, #ffc828 66.6% 100%);
  --header: #2b2b30;
  --paper: #ffffff;
  --tint: #fff6ea;
  --ink: #1f1f24;
  --muted: #55555e;
  --line: #efe4d3;
  --radius: 14px;
  --wrap: 1180px;
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 18px 40px -18px rgba(70, 35, 10, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--dark); text-decoration-color: var(--orange); }
:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold); border-radius: 4px; }
main:focus { outline: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--dark);
  margin: 0 0 .5em;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.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: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--dark); padding: .6rem 1rem; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list--inline { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.clear { clear: both; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  padding: .6em 1.25em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: var(--dark); color: var(--dark); }
.btn--ghost:hover { background: var(--dark); color: #fff; }
.btn--lg { font-size: 1.25rem; padding: .75em 1.6em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 0; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-dark);
  margin: 0 0 1rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 3px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header); color: #fff;
  transition: box-shadow .2s ease;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--flag); z-index: 1; pointer-events: none; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; line-height: 1; text-transform: uppercase; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.brand__tag { margin-top: .3rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #c8c8d0; }

.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__item > a:not(.btn) {
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .55rem .8rem; border-radius: 8px;
}
.main-nav__item > a:not(.btn) { white-space: nowrap; }
.main-nav__item > a:not(.btn):hover,
.main-nav__item > a.is-active { color: var(--gold); }
.main-nav__item--cta { margin-left: .75rem; }
.main-nav__item--cta .btn { font-size: 1.05rem; padding: .5em 1.15em; }

.sub-toggle { display: none; }
.sub-nav {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0;
  min-width: 260px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 5; /* über dem Farbstreifen der Kopfzeile */
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--dark); text-decoration: none; font-weight: 600; font-size: 1rem; }
.sub-nav a:hover, .sub-nav a.is-active { background: var(--tint); }
.sub-nav a.is-active { box-shadow: inset 4px 0 0 var(--red); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem; background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4); border-radius: 999px; padding: .45rem .95rem;
  font: 700 1.05rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--header); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 30px -12px rgba(0,0,0,.35);
    max-height: calc(100vh - 76px); overflow-y: auto; padding: .75rem clamp(16px, 4vw, 32px) 1.5rem;
  }
  .nav-open .main-nav { display: block; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav__item > a:not(.btn) { flex: 1; font-size: 1.4rem; padding: .85rem 0; }
  .main-nav__item--cta { margin: 1.25rem 0 0; border: 0; }
  .main-nav__item--cta .btn { width: 100%; font-size: 1.2rem; padding: .8em; }
  .sub-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; background: transparent;
    border: 0; color: #fff; cursor: pointer; border-radius: 8px;
  }
  .sub-toggle span { width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
  .sub-open .sub-toggle span { transform: rotate(-135deg); }
  .sub-nav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; display: none; width: 100%; padding: 0 0 .75rem 1rem; min-width: 0;
  }
  .has-sub:hover > .sub-nav { display: none; }
  .sub-open > .sub-nav, .sub-open:hover > .sub-nav { display: block; }
  .sub-nav a { color: #e6e6ea; font-size: 1.1rem; }
  .sub-nav a:hover, .sub-nav a.is-active { background: rgba(255,255,255,.08); color: var(--gold); }
}
@media (max-width: 420px) { .brand__tag { display: none; } }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    #fff;
}
.home-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--flag);
}
.home-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem);
}
.home-hero__title { color: var(--dark); font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .95; margin-bottom: 1.5rem; }
.home-hero__title span { display: block; }
.home-hero__title .accent { color: var(--red); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .home-hero__title .accent { background: linear-gradient(90deg, #c4241a, #e0560f); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.home-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #4a4a52; max-width: 38ch; margin: 0; }
.home-hero__photo { margin: 0; position: relative; justify-self: center; max-width: 440px; width: 100%; }
.home-hero__photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 4px solid var(--red); border-radius: 24px;
}
.home-hero__photo img { position: relative; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
/* Startseite: kleine Galerie aus 3 Bildern (eins groß, zwei klein) */
.home-hero__photo--gallery {
  max-width: 540px; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
}
.home-hero__photo--gallery img { position: relative; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.home-hero__photo--gallery .hg--main { grid-row: 1 / 3; aspect-ratio: 72 / 100; border-radius: 24px; }
@media (max-width: 820px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__photo { max-width: min(360px, calc(100% - 20px)); order: -1; }
  .home-hero__photo::before { inset: 16px -16px -16px 16px; }
  .home-hero__photo--gallery { max-width: min(460px, calc(100% - 20px)); gap: 8px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--tint); color: var(--dark); padding-block: 2rem 2.5rem; }
.stats__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1.25rem; }
.stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem 1.5rem; }
.stats__item { display: flex; flex-direction: column; border-left: 3px solid var(--dark); padding-left: 1rem; }
.stats__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; }
.stats__label { font-weight: 600; font-size: 1rem; line-height: 1.35; margin-top: .4rem; }
/* Erfolge: farbige Leiste, Punkte ohne Zeitstrahl */
.stats--achievements { background: var(--gold); padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.achievements { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem 2rem; }
.achievement { position: relative; display: flex; flex-direction: column; padding-left: 1.75rem; }
.achievement::before { content: ""; position: absolute; top: .2rem; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff; }
.achievement__date { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.achievement__title { font: 800 clamp(1.45rem, 2.2vw, 1.7rem)/1.08 var(--font-head); text-transform: uppercase; margin-top: .3rem; }
.achievement__text { font-weight: 600; font-size: 1rem; line-height: 1.35; margin-top: .4rem; }

/* Nächstes Ziel: Road to WM */
.goal-band { background: var(--dark); color: #fff; border-bottom: 6px solid var(--red); border-image: var(--jersey) 1; padding-block: clamp(1.75rem, 4vw, 2.5rem); }
.goal-band__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.goal-band__title { margin: 0; font: 800 clamp(1.9rem, 4.2vw, 3rem)/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.goal-band__title span { color: var(--gold); }
.goal-band__meta { margin: 0; font: 700 clamp(1.1rem, 2vw, 1.4rem)/1.1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--tint); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.section-title::after { content: ""; display: block; width: 84px; height: 5px; background: var(--jersey); margin-top: .6rem; border-radius: 3px; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: var(--ink); background: var(--tint); overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
}
.page-hero--image { min-height: clamp(340px, 46vw, 520px); display: flex; align-items: flex-end; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,249,240,.96) 0%, rgba(255,249,240,.86) 42%, rgba(255,249,240,.1) 100%),
              linear-gradient(0deg, rgba(255,249,240,.65) 0%, transparent 45%);
}
/* Hochformat-Titelbild: Foto rechts, Text links */
@media (min-width: 721px) {
  .page-hero--portrait .page-hero__img { left: auto; width: 50%; object-position: 50% 22%; }
  .page-hero--portrait::before { background: linear-gradient(90deg, var(--tint) 0%, var(--tint) 50%, rgba(255,246,234,0) 62%); }
}
/* Schmale Bildschirme: Foto über dem Text, damit es nicht hinter dem Verlauf verschwindet */
@media (max-width: 720px) {
  .page-hero--portrait { display: block; min-height: 0; padding-top: 0; }
  .page-hero--portrait .page-hero__img { position: static; display: block; height: auto; aspect-ratio: 16 / 10; }
  .page-hero--portrait::before { content: none; }
  .page-hero--portrait .page-hero__inner { padding-top: 1.75rem; }
}
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--flag); z-index: 2; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--dark); font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 16ch; margin-bottom: .35em; }
.page-hero__lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: #3d3d45; max-width: 46ch; margin: 0; }
.page-hero--compact { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.35em; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.8em; }
.prose strong { color: var(--dark); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.75rem; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 12px; background: var(--orange); border-radius: 3px; transform: rotate(45deg); }
.prose blockquote {
  margin: 2em 0; padding: 1.25rem 1.5rem; border-left: 6px solid var(--red); background: var(--tint);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.7rem; line-height: 1.2; text-transform: uppercase; color: var(--dark);
}
.prose blockquote p { margin: 0; }
.result-box { margin: 2em 0; padding: 1.5rem 1.75rem .4rem; background: var(--gold); border-radius: var(--radius); color: var(--dark); }
.result-box__title { font: 800 1.6rem/1 var(--font-head); text-transform: uppercase; margin-bottom: .9rem !important; }
.prose .result-box ul li::before { background: var(--red); }
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2em 0; clear: both; }
.photo-row p { margin: 0; }
.photo-row img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose hr { border: 0; height: 3px; background: var(--line); margin: 2.5em 0; }
.prose--intro { font-size: 1.2rem; }
.prose--intro h2 { margin-top: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.prose--legal { font-size: 1.05rem; }
.prose--legal h2 { font-size: 1.6rem; margin-top: 1.8em; }

/* Steckbrief als Zettel, sitzt in der Bildspalte unter dem Foto */
.note-card {
  position: relative; float: right; clear: right; width: min(42%, 340px); margin: .5rem 0 2rem 2rem; padding: 2rem 1.25rem 1.1rem 2rem;
  background: linear-gradient(90deg, transparent 1.15rem, rgba(214, 42, 31, .45) 1.15rem, rgba(214, 42, 31, .45) calc(1.15rem + 1px), transparent calc(1.15rem + 1px)), #fff9e8;
  color: var(--ink); box-shadow: var(--shadow); transform: rotate(1.5deg);
}
.note-card::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 112px; height: 27px;
  background: rgba(255, 200, 40, .8); box-shadow: 0 1px 2px rgba(70, 35, 10, .2); transform: translateX(-50%) rotate(-2.5deg);
}
.prose .note-card__title { margin: 0 0 .6rem; font: 800 1.6rem/1 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
.note-card dl { margin: 0; }
.note-card__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .75rem; padding: .5rem 0; border-bottom: 1px solid rgba(31, 31, 36, .22); }
.note-card__row:last-child { border-bottom: 0; }
.note-card dt { font-size: .95rem; }
.note-card dd { margin: 0; font-weight: 700; }
@media (max-width: 640px) {
  .note-card { float: none; width: auto; max-width: 360px; margin: 2rem auto; }
}
.prose img.float-figure { float: right; width: min(42%, 340px); margin: .35rem 0 1.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose img.float-figure--left { float: left; margin: .35rem 2rem 1.5rem 0; }
@media (max-width: 640px) {
  .prose img.float-figure, .prose img.float-figure--left { float: none; width: 100%; max-width: 420px; margin: 0 auto 1.5rem; }
}

.steps { list-style: none; counter-reset: s; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 1.1rem 1.25rem 1.1rem 4.25rem; margin-bottom: .9rem; background: var(--tint); border-radius: var(--radius); }
.steps li::before {
  content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font: 800 1.3rem/1 var(--font-head);
}

.class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.class-card { background: var(--dark); color: #e6e6ea; border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 1.4rem; font-size: 1rem; line-height: 1.55; }
.class-card h3 { color: #fff; font-size: 1.45rem; margin: .4rem 0 .5rem; }
.class-card p { margin: 0; }
.class-card em { color: #c4c4cc; }
.class-code { display: inline-block; background: var(--gold); color: var(--dark); font: 800 1.15rem/1 var(--font-head); letter-spacing: .08em; padding: .35em .6em; border-radius: 6px; }

.support-box {
  margin: 2.5rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 55%, #e2501a 100%); color: #fff;
}
.support-box__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; text-transform: uppercase; color: #fff; margin: 0 0 1.25rem !important; }
.support-box__note { font-size: .9rem; margin: 1.1rem 0 0 !important; color: #fff1e4; }
.support-box .btn--primary, .cta-band .btn--primary { background: #fff; color: var(--red-dark); }
.support-box .btn--primary:hover, .cta-band .btn--primary:hover { background: var(--gold); color: var(--dark); }
.support-box__note a { color: #fff; }
.download-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.35em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .card-grid--2 { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  color: var(--ink); text-decoration: none; box-shadow: 0 2px 0 var(--line), var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); color: var(--ink); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.35rem 1.5rem 1.6rem; flex: 1; border-top: 5px solid var(--orange); border-image: var(--jersey) 1; }
.card__title { font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; color: var(--dark); }
.card__text { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.card__more { margin-top: auto; padding-top: .6rem; font: 700 1.05rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark); }

/* ---------- Quote & CTA ---------- */
.quote-band { background: var(--dark); color: #fff; border-top: 6px solid var(--red); border-image: var(--jersey) 1; padding-block: clamp(3.5rem, 8vw, 6rem); }
.quote-band figure { margin-block: 0; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  margin: 0; font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; max-width: 22ch;
}
.quote-band blockquote p::before { content: "„"; color: var(--gold); }
.quote-band blockquote p::after { content: "“"; color: var(--gold); }
.quote-band figcaption { margin-top: 1.25rem; color: var(--gold); font: 700 1.2rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }

.cta-band { position: relative; color: #fff; background: var(--red); overflow: hidden; }
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(169,31,23,.96) 0%, rgba(205,40,28,.88) 55%, rgba(230,90,25,.55) 100%); }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.cta-band p { max-width: 52ch; font-size: 1.2rem; color: #fff4ea; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c8c8d0; font-size: 1rem; border-top: 6px solid var(--red); border-image: var(--jersey) 1; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer__brand { font: 800 1.9rem/1 var(--font-head); text-transform: uppercase; color: #fff; margin: 0 0 .3rem; }
.site-footer__tag { color: var(--gold); font: 700 .95rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer__h { color: #fff; font-size: 1.15rem; letter-spacing: .12em; margin-bottom: .9rem; }
.site-footer .plain-list li { margin-bottom: .45rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem 1.75rem; font-size: .95rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

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

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.news-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 0 var(--line), var(--shadow); transition: transform .2s ease; }
.news-card:hover { transform: translateY(-4px); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.news-card__link:hover { color: var(--ink); }
.news-card__media { display: block; aspect-ratio: 16 / 10; background: var(--jersey); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--dark); font: 800 3rem/1 var(--font-head); }
.news-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 1.5rem 1.5rem; flex: 1; border-top: 5px solid var(--orange); border-image: var(--jersey) 1; }
.news-card__date { font: 700 1rem/1 var(--font-head); letter-spacing: .12em; color: var(--red-dark); }
.news-card__title { font-size: 1.65rem; margin: 0; }
.news-card__text { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.section--tint .news-card { background: #fff; }
.page-hero__meta { font: 700 1.1rem/1 var(--font-head); letter-spacing: .12em; color: var(--red-dark); margin: 0 0 1rem; }
.back-link { margin-top: 3rem; font-weight: 600; }
.more-link { margin: 2rem 0 0; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--red-dark); color: #fff; }
.empty-note { font-size: 1.2rem; max-width: 60ch; padding: 1.5rem; background: var(--tint); border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.prose figure { margin: 2rem 0; }
.prose img { border-radius: var(--radius); }
.prose video, .prose iframe { max-width: 100%; border-radius: var(--radius); }

/* ---------- Instagram ---------- */
.icon { display: inline-block; vertical-align: middle; flex: none; }
.main-nav__item--social > a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; padding: .55rem .6rem; border-radius: 8px; text-decoration: none; font: 700 1.15rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.main-nav__item--social > a:hover { color: var(--gold); }
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; margin-left: .35rem; }
.lang-switch a { color: #fff; padding: .55rem .4rem; border-radius: 8px; text-decoration: none; font: 700 1.05rem/1 var(--font-head); letter-spacing: .06em; }
.lang-switch a:hover { color: var(--gold); }
.lang-switch a.is-active { color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 960px) {
  .main-nav__item--lang { padding: .6rem 0; }
  .lang-switch { margin-left: 0; gap: .75rem; }
  .lang-switch a { font-size: 1.4rem; padding: .6rem .5rem; }
}
.main-nav__item--social .social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 960px) {
  .main-nav__item--social > a { font-size: 1.4rem; padding: .85rem 0; }
  .main-nav__item--social .social-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.icon-link { display: inline-flex; align-items: center; gap: .45rem; }
.insta-band { background: var(--tint); padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.insta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.insta-band .eyebrow { color: var(--red-dark); }
.insta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.insta-band p { margin: 0; max-width: 52ch; }
.site-footer a.credit { color: #a2a2ac; text-decoration-color: rgba(162,162,172,.4); }
.site-footer a.credit:hover { color: var(--gold); }

/* ==========================================================================
   Bestzeiten
   ========================================================================== */
.records { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.record { background: var(--dark); color: #e6e6ea; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; border-top: 6px solid var(--orange); display: flex; flex-direction: column; }
.record__name { color: #fff; font-size: 1.7rem; margin: 0 0 .3rem; }
.record__distance { font-size: .95rem; line-height: 1.45; color: #c4c4cc; margin: 0 0 1.2rem; }
.record__time { font: 800 clamp(2.6rem, 5vw, 3.4rem)/1 var(--font-head); color: var(--gold); margin: auto 0 0; font-variant-numeric: tabular-nums; }
.record__time--pending { font-size: 1.6rem; color: #c4c4cc; letter-spacing: .04em; text-transform: uppercase; }
.record__event { font-size: .95rem; margin: .5rem 0 0; }

/* ==========================================================================
   Sichtfeld-Demo (Zentralausfall)
   ========================================================================== */
.vision__intro { max-width: 68ch; font-size: 1.15rem; margin: -.5rem 0 1.5rem; }
.vision__figure { margin: 0; }
.vision__stage { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--dark); aspect-ratio: 16 / 10; cursor: crosshair; }
.vision__svg { display: block; width: 100%; height: 100%; }
.vision__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.25rem; }
.vision__range { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-weight: 600; }
.vision__range input { width: min(320px, 70vw); accent-color: var(--red); }
.vision__range output { font: 800 1.3rem/1 var(--font-head); min-width: 3.2em; font-variant-numeric: tabular-nums; }
.vision__caption { max-width: 68ch; margin-top: 1rem; color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   Galerie + Lightbox
   ========================================================================== */
.section--compact { padding-bottom: 0; }
.gallery__intro { max-width: 68ch; margin: -.75rem 0 1.5rem; }
.gallery__grid { list-style: none; margin: 0; padding: 0; columns: 4 230px; column-gap: 12px; }
.gallery__item { break-inside: avoid; margin-bottom: 12px; }
.gallery__link { display: block; border-radius: 12px; overflow: hidden; background: var(--tint); }
/* Bilder im Originalformat, nichts wird abgeschnitten */
.gallery__link img { width: 100%; height: auto; transition: transform .3s ease, opacity .3s ease; }
.gallery__link:hover img { transform: scale(1.04); opacity: .92; }
@media (max-width: 520px) { .gallery__grid { columns: 2; column-gap: 8px; } .gallery__item { margin-bottom: 8px; } }

.lightbox { border: 0; padding: 0; margin: auto; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(16, 16, 18, .94); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox__caption { color: #dfe7f5; font-size: .98rem; max-width: 70ch; text-align: center; margin: .9rem 16px 0; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font: 400 2.2rem/1 var(--font-body); }
.lightbox__btn:hover { background: var(--gold); color: var(--dark); }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 16px; top: 16px; }
@media (max-width: 640px) {
  .lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 170px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
}

/* ==========================================================================
   Verein & Partner
   ========================================================================== */
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.75rem; }
.partner { display: flex; flex-direction: column; }
.partner__group { font: 700 1rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 .7rem; }
.partner__card {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.75rem 1.5rem 1.4rem;
  background: #fff; border-radius: 18px; box-shadow: 0 2px 0 var(--line), var(--shadow); color: var(--dark); text-decoration: none;
  border-bottom: 5px solid var(--orange); border-image: var(--jersey) 1; transition: transform .2s ease;
}
a.partner__card:hover { transform: translateY(-4px); color: var(--dark); }
.partner__logo { display: grid; place-items: center; height: 150px; width: 100%; }
.partner__logo img { max-height: 150px; max-width: 100%; width: auto; object-fit: contain; }
.partner__name { font: 800 1.35rem/1.1 var(--font-head); text-transform: uppercase; text-align: center; }
.partner__text { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: .8rem 0 0; }
