/* tastemaker-stamp: macro=cinematic-long-scroll | nav=transparent-sticky+fullscreen-image-overlay | hero=video-single-focus | mood=technical-sport | palette=brand-fixed(#faca22/#0c0c0d/#fff) contrast=matrix-pass(2026-08-31) | critique: show-dont-tell 4, philosophy 4, hierarchy 5, specificity 5, restraint 4, variety 4
   CREDITS: All photography © OAMC Reinheim e.V. (club archive / oamc-preview.just-motorsport.de).
   Aerial photo Verkehrsübungsplatz: © Gantzert Geoinformation & Vermessung (club-supplied). */

/* ===================== Tokens / base ===================== */
:root {
  --yellow: #faca22;
  --red: #c8102e; /* Vereinsfarbe (Kleidung, Fahnen) – Gelb kommt vom ADAC */
  --black: #0c0c0d;
  --surface: #151517;
  --border: #2a2a2c;
  --white: #ffffff;
  --ink: #111111;
  --muted-dark: #a8a8ad;
  --muted-light: #55555c;
  --border-light: #e4e4e7;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --header-h: 84px;
  --rail-w: 46px;
  --container: 1200px;
  --wide: 1440px;

  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px;
  --s-12: 48px; --s-16: 64px; --s-24: 96px; --s-32: 128px; --s-40: 160px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; } /* height:auto – WordPress setzt width/height-Attribute */
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  margin: 0 0 var(--s-4);
  font-weight: 700;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--yellow); color: var(--ink); padding: 10px 18px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: 13px 26px; border: 0; border-radius: 2px; cursor: pointer;
  transition: background-color .22s var(--ease-out), color .22s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--white); }
.section-light .btn:hover { background: var(--ink); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* ===================== Header ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border-light);
  transition: box-shadow .3s var(--ease-out);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-6);
  height: var(--header-h);
  padding: 0 clamp(16px, 3vw, 40px);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 60px; height: 60px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem;
  text-transform: uppercase; color: var(--ink); letter-spacing: .02em; line-height: 1;
}
.brand-name span { color: inherit; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 16px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  color: var(--ink); text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color .2s var(--ease-out);
}
/* Keep the long "Verkehrsübungsplatz" item from clipping on narrower desktop windows */
@media (min-width: 1101px) and (max-width: 1520px) {
  .main-nav a { font-size: 1.05rem; padding: 10px 10px; letter-spacing: .03em; }
  .header-inner { gap: var(--s-4); }
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.main-nav .caret { font-size: .8em; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--border-light);
  box-shadow: 0 14px 34px rgba(12, 12, 13, .14);
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity .22s var(--ease-out), translate .22s var(--ease-out), visibility .22s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; translate: 0 0;
}
.dropdown ul { display: block; padding: 8px 0; }
.dropdown a { border-bottom: 0; padding: 10px 20px; font-size: 1.1rem; }
.dropdown a:hover { background: #f4f4f5; }
.dropdown .dd-cta a { color: var(--ink); font-weight: 700; }
.dropdown .dd-cta a::after { content: " →"; }

.soon-badge {
  display: inline-block; vertical-align: 2px; margin-left: 8px;
  font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-light); border: 1px solid var(--border-light);
  border-radius: 2px; padding: 1px 6px;
}
.mega-sub .soon-badge { color: var(--muted-dark); border-color: var(--border); }

.adac-logo { display: block; }
.adac-logo img { height: 44px; width: auto; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(12, 12, 13, .12); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}

body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===================== Fullscreen overlay menu ===================== */
.mega-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--black);
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility .35s;
}
body.menu-open .mega-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mega-tiles { flex: 1; display: flex; min-height: 0; }
.mega-tile {
  position: relative; flex: 1; display: flex; align-items: flex-end;
  text-decoration: none; overflow: hidden;
  border-right: 1px solid var(--border);
  transition: flex-grow .45s var(--ease-out);
}
.mega-tile:last-child { border-right: 0; }
.mega-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.65) brightness(.55);
  transform: scale(1.04);
  transition: filter .45s var(--ease-out), transform .6s var(--ease-out);
}
.mega-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,13,.92) 0%, rgba(12,12,13,.25) 55%, rgba(12,12,13,.35) 100%);
}
@media (hover: hover) and (pointer: fine) {
  .mega-tile:hover { flex-grow: 1.35; }
  .mega-tile:hover img { filter: grayscale(0) brightness(.75); transform: scale(1); }
}
.mega-tile:focus-visible img { filter: grayscale(0) brightness(.75); transform: scale(1); }
.mega-tile-body { position: relative; z-index: 1; padding: clamp(20px, 3vw, 44px); width: 100%; }
.mega-tile-num {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--yellow); letter-spacing: .2em;
}
.mega-tile-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem); line-height: .95; color: var(--white);
  display: block; margin: 6px 0 0; text-decoration: none;
  overflow-wrap: break-word; hyphens: auto;
}
/* Horizontal tile layout: all titles start on the same top line (flex-start);
   the title box reserves room for 2 wrapped lines and the submenu box for 7
   items, so titles AND submenu entries align across all columns. */
@media (min-width: 901px) {
  .mega-tile-title { min-height: 2.6em; }
  .mega-sub { min-height: 248px; }
}
/* Narrow horizontal tiles: smaller title keeps "Verkehrsübungsplatz" at 2 lines */
@media (min-width: 901px) and (max-width: 1150px) {
  .mega-tile-title { font-size: 1.7rem; min-height: 2.9em; }
}
.mega-tile-title::after {
  content: ""; display: block; width: 72px; height: 4px; background: var(--yellow);
  margin-top: 12px; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.mega-tile:hover .mega-tile-title::after, .mega-tile:focus-visible .mega-tile-title::after { transform: scaleX(1); }
.mega-sub { list-style: none; margin: 14px 0 0; padding: 0; }
.mega-sub li { margin: 2px 0; }
.mega-sub a {
  color: var(--muted-dark); text-decoration: none;
  font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em;
}
.mega-sub a:hover { color: var(--yellow); }
.mega-sub .dd-cta a { color: var(--yellow); font-weight: 700; }
.mega-sub .dd-cta a::after { content: " →"; }

.mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-6);
  padding: 18px clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--border);
  color: var(--muted-dark); font-size: .95rem;
}
.mega-foot a { color: var(--muted-dark); text-decoration: none; }
.mega-foot a:hover { color: var(--yellow); }

/* ===================== Hero (video) ===================== */
.hero {
  position: relative; height: calc(100svh - var(--header-h)); min-height: 540px;
  margin-top: var(--header-h);
  display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero-video, .hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-fallback { display: none; }
.hero.no-video .hero-video { display: none; }
.hero.no-video .hero-fallback { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero.no-video .hero-fallback { animation: kenburns 22s var(--ease-out) infinite alternate; }
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.12) translateX(-2.5%); }
}
/* RB-Leipzig-style image overlay: top shadow strip + dark 210° gradient +
   club-red 25° gradient rising from the bottom-left corner. */
.hero::after, .page-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg,
      rgba(12,12,13,0) 0%, rgba(12,12,13,.03) 20%, rgba(12,12,13,.13) 40%,
      rgba(12,12,13,.27) 60%, rgba(12,12,13,.37) 80%, rgba(12,12,13,.4) 100%)
      top center / 100% 130px no-repeat,
    linear-gradient(25deg,
      rgb(200,16,46) -1%, rgba(200,16,46,.92) 4.5%, rgba(200,16,46,.77) 8%,
      rgba(200,16,46,.56) 11.5%, rgba(200,16,46,.33) 15%, rgba(200,16,46,.15) 18.5%,
      rgba(200,16,46,.04) 22%, rgba(200,16,46,0) 26%),
    linear-gradient(205deg,
      rgb(200,16,46) -1%, rgba(200,16,46,.92) 2.2%, rgba(200,16,46,.77) 4%,
      rgba(200,16,46,.56) 5.7%, rgba(200,16,46,.33) 7.5%, rgba(200,16,46,.15) 9.2%,
      rgba(200,16,46,.04) 11%, rgba(200,16,46,0) 13%),
    linear-gradient(210deg,
      rgba(12,12,16,0) 26%, rgba(12,12,16,.06) 43%, rgba(12,12,16,.23) 59%,
      rgba(12,12,16,.39) 70%, rgba(12,12,16,.54) 81%, rgba(12,12,16,.64) 92%,
      rgba(12,12,16,.7) 108%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wide); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(72px, 12vh, 128px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 14px; border-radius: 2px; margin-bottom: var(--s-6);
}
.hero-badge::before, .eyebrow::before {
  content: ""; flex: none; width: 24px; height: 12px;
  background: repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%) 0 0 / 6px 6px;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  margin: 0 0 var(--s-4); max-width: 14ch;
  text-shadow: 0 2px 28px rgba(12, 12, 13, .40), 0 1px 6px rgba(12, 12, 13, .22);
}
.hero h1 em { font-style: italic; color: var(--yellow); }
.hero-sub { max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #e7e7ea; margin: 0 0 var(--s-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0;
  color: var(--white); opacity: .85; text-decoration: none;
}
.scroll-cue svg { width: 26px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue-bob 1.8s ease-in-out infinite; }
}
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===================== Stat ticker ===================== */
.stats-strip { background: var(--yellow); color: var(--ink); position: relative; }
.stats-strip::before {
  content: ""; display: block; height: 24px; width: 100%;
  background: repeating-conic-gradient(var(--ink) 0% 25%, var(--white) 0% 50%) 0 0 / 24px 24px;
}
.stats-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
  padding: clamp(24px, 3.5vw, 44px) clamp(20px, 4vw, 56px);
}
.stat-num {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1;
}
.stat-label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1rem; margin-top: 4px;
}

/* ===================== Sparten full-bleed panels ===================== */
.sparten { display: flex; min-height: 82vh; background: var(--black); }
.sparten-panel {
  position: relative; flex: 1; display: flex; align-items: flex-end;
  overflow: hidden; text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: flex-grow .5s var(--ease-out);
}
.sparten-panel:last-child { border-right: 0; }
.sparten-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.5) brightness(.6);
  transform: scale(1.05);
  transition: filter .5s var(--ease-out), transform .7s var(--ease-out);
}
.sparten-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,13,.92) 0%, rgba(12,12,13,.15) 60%);
}
@media (hover: hover) and (pointer: fine) {
  .sparten-panel:hover { flex-grow: 1.45; }
  .sparten-panel:hover img { filter: grayscale(0) brightness(.78); transform: scale(1); }
}
.sparten-panel:focus-visible img {
  filter: grayscale(0) brightness(.78); transform: scale(1);
}
.sparten-body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 48px); width: 100%; color: var(--white); }
.sparten-num {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .25em;
  color: var(--yellow); font-size: 1.05rem;
}
.sparten-body h3 { font-size: clamp(2rem, 3.4vw, 3.6rem); margin: 8px 0 10px; }
.sparten-body p { margin: 0 0 16px; max-width: 42ch; color: #d6d6da; font-size: 1rem; }
.sparten-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.15rem; color: var(--yellow);
}
.sparten-more svg { width: 20px; height: 20px; transition: translate .25s var(--ease-out); }
.sparten-panel:hover .sparten-more svg { translate: 6px 0; }

/* ===================== Sections ===================== */
.section-light { background: var(--white); color: var(--ink); }
.section-dark { background: var(--black); color: var(--white); }
.section-pad { padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 56px); }
.section-pad-lg { padding: clamp(96px, 11vw, 176px) clamp(20px, 4vw, 56px); }
.container { max-width: var(--container); margin: 0 auto; }
.container-wide { max-width: var(--wide); margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: 5px 12px; border-radius: 2px;
  margin: 0 0 var(--s-4);
}

.section-head h2, .prose h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted-light); font-size: 1.15rem; margin: 0; }
.section-dark .section-head p { color: var(--muted-dark); }

/* Feature rows */
.feature-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 120px); }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-media::before {
  content: ""; position: absolute; inset: -14px auto auto -14px;
  width: 45%; height: 45%;
  border-left: 4px solid var(--yellow); border-top: 4px solid var(--yellow);
  pointer-events: none;
}
.feature-media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 45%; height: 45%;
  border-right: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow);
  pointer-events: none;
}
.feature-text h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.feature-text p { color: var(--muted-light); margin: 0 0 1em; }
.section-dark .feature-text p { color: var(--muted-dark); }
.feature-text .btn { margin-top: var(--s-2); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s-6) 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--ink); padding: 8px 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.chip svg { width: 18px; height: 18px; color: #8a6d00; }
.section-dark .chip { border-color: var(--yellow); color: var(--white); }
.section-dark .chip svg { color: var(--yellow); }

/* Notice */
.notice {
  display: flex; gap: var(--s-4); align-items: flex-start;
  background: var(--yellow); color: var(--ink);
  padding: var(--s-6); margin-top: var(--s-4);
}
.notice svg { width: 30px; height: 30px; flex: none; margin-top: 3px; }
.notice h3 { font-size: 1.5rem; margin-bottom: 6px; }
.notice p { margin: 0; font-weight: 500; }

/* Historie band */
.band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; min-height: 62vh;
  color: var(--white);
}
.band-bg {
  position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover;
  filter: brightness(.42) grayscale(.35);
}
.band-inner { position: relative; z-index: 1; width: 100%; }
.band h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 18ch; }
.band .num-xl {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(4rem, 9vw, 8rem); line-height: 1; color: var(--yellow);
  display: block;
}
.band p { max-width: 52ch; color: #d6d6da; }

/* ===================== Page banner (subpages) ===================== */
.page-banner {
  position: relative; min-height: 56vh;
  margin-top: var(--header-h);
  display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.page-banner-bg {
  position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover;
}
/* Same horizontal metrics as .section-pad + .container, so banner headlines
   align with the content below them. */
.page-banner-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 6vh, 72px);
}
.page-banner-inner > .container { max-width: var(--container); margin: 0 auto; }
.page-banner h1 {
  font-size: clamp(3rem, 7.5vw, 6.4rem); margin: 10px 0 0;
  text-shadow: 0 2px 28px rgba(12, 12, 13, .40), 0 1px 6px rgba(12, 12, 13, .22);
}
.page-banner h1::after {
  content: ""; display: block; width: 88px; height: 5px; background: var(--yellow); margin-top: 18px;
}
.breadcrumb { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; }
.breadcrumb a { color: var(--muted-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { margin: 0 8px; color: var(--muted-dark); }
.breadcrumb .current { color: var(--yellow); }

/* ===================== Prose / article ===================== */
.prose { max-width: 820px; }
.prose h2 { margin-top: var(--s-12); }
.prose h2:first-of-type { margin-top: 0; }
.prose h2::after {
  content: ""; display: block; width: 64px; height: 4px; background: var(--yellow); margin-top: 14px;
}
.prose p { color: #3c3c42; }
.prose .lead { font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.prose img { margin: var(--s-6) 0; }
.prose a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2.5px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { background: var(--yellow); text-decoration: none; }

.article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.side-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  border: 2px solid var(--ink); border-radius: 2px; overflow: hidden;
}
.side-card-head { background: var(--ink); color: var(--white); padding: 14px 20px; }
.side-card-head h3 { margin: 0; font-size: 1.4rem; color: var(--white); }
.side-card-body { padding: 20px; display: grid; gap: 16px; }
.side-item { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.side-item svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #8a6d00; }
.side-item strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--muted-light); font-weight: 600; }
.side-card .btn { width: 100%; justify-content: center; margin: 4px 0 0; }

/* Photo strip on subpages */
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-8); }
.photo-duo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

/* ===================== Timeline ===================== */
/* Mobil/Tablet: Linie links, Einträge untereinander. */
.timeline { position: relative; margin-top: var(--s-12); padding-left: clamp(28px, 4vw, 56px); max-width: 1100px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px;
  background: var(--border-light);
}
.timeline-item { position: relative; padding-bottom: clamp(40px, 5vw, 64px); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 56px) + 1px); top: 10px;
  width: 17px; height: 17px; background: var(--yellow); border: 3px solid var(--ink);
}
.timeline-item .year {
  font-style: italic; color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  font-size: 1.35em; margin-right: 6px;
}
.timeline-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 0; }
.timeline-item img { max-width: 560px; width: 100%; margin: var(--s-6) 0; }
.timeline-item p { color: #3c3c42; max-width: 70ch; }

/* Desktop: Linie in der Mitte, Einträge abwechselnd links / rechts. */
@media (min-width: 901px) {
  .timeline { padding-left: 0; margin-left: auto; margin-right: auto; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: 50%; box-sizing: border-box; padding-right: clamp(32px, 4vw, 64px); }
  .timeline-item::before { left: auto; right: 0; transform: translateX(50%); }
  .timeline-item:nth-child(odd) { text-align: right; }
  .timeline-item:nth-child(odd) img { margin-left: auto; }
  .timeline-item:nth-child(odd) p { margin-left: auto; }
  .timeline-item:nth-child(even) {
    margin-left: 50%; padding-right: 0; padding-left: clamp(32px, 4vw, 64px);
  }
  .timeline-item:nth-child(even)::before { right: auto; left: 0; transform: translateX(-50%); }
  .timeline-item img { max-width: 100%; }
}

/* ===================== Kontakt ===================== */
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.info-item { display: flex; gap: 14px; margin-top: var(--s-6); }
.info-item svg { width: 24px; height: 24px; flex: none; margin-top: 4px; color: #8a6d00; }
.info-item address { font-style: normal; }
.info-key {
  display: block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--muted-light);
}
.info-item a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2.5px; text-underline-offset: 3px; }

.contact-form { border: 2px solid var(--ink); padding: clamp(24px, 3vw, 40px); }
.contact-form h2 { font-size: 2rem; }
.form-intro { color: var(--muted-light); margin-top: -6px; }
.form-field { margin-top: var(--s-4); }
.form-field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin-bottom: 6px;
}
.req { color: #8a6d00; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--border-light); background: var(--white);
  font: inherit; color: var(--ink);
  transition: border-color .2s var(--ease-out);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--ink); outline: none; }
.form-field textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { margin-top: var(--s-6); }

.map-note { margin-top: var(--s-4); color: var(--muted-light); font-size: .95rem; }

/* ===================== FAB rail ===================== */
.fab-rail {
  position: fixed; right: 0; top: 50%; translate: 0 -50%; z-index: 80;
  display: flex; flex-direction: column; gap: 2px;
}
.fab-rail a {
  display: flex; align-items: center; justify-content: flex-end;
  width: var(--rail-w); height: var(--rail-w);
  background: var(--yellow); color: var(--ink); text-decoration: none;
  border-radius: 2px 0 0 2px;
  position: relative; overflow: visible;
  transition: background-color .22s var(--ease-out), color .22s var(--ease-out);
}
.fab-rail .fab-icon { display: grid; place-items: center; width: var(--rail-w); height: var(--rail-w); flex: none; }
.fab-rail svg, .fab-rail .icon-img { width: 22px; height: 22px; object-fit: contain; }
.fab-rail .fab-label {
  position: absolute; right: 100%; top: 0; height: 100%;
  display: flex; align-items: center; padding: 0 14px;
  background: var(--black); color: var(--yellow); white-space: nowrap;
  border-radius: 2px 0 0 2px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; visibility: hidden; translate: 6px 0;
  transition: opacity .22s var(--ease-out), translate .22s var(--ease-out), visibility .22s;
}
@media (hover: hover) {
  .fab-rail a:hover { background: var(--black); color: var(--yellow); border-radius: 0; }
  .fab-rail a:hover .fab-label { opacity: 1; visibility: visible; translate: 0 0; }
}
/* .is-revealed: first tap on touch (see main.js), second tap opens the link. */
.fab-rail a.is-revealed { background: var(--black); color: var(--yellow); border-radius: 0; }
.fab-rail a:focus-visible .fab-label, .fab-rail a.is-revealed .fab-label { opacity: 1; visibility: visible; translate: 0 0; }

/* ===================== Footer ===================== */
.site-footer { background: var(--black); color: var(--white); position: relative; }
.site-footer::before {
  content: ""; display: block; height: 24px; width: 100%;
  background: repeating-conic-gradient(var(--black) 0% 25%, var(--white) 0% 50%) 0 0 / 24px 24px;
}
.footer-inner {
  max-width: var(--wide); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px);
}
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 60px; height: 60px; object-fit: contain; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
.footer-tag { color: var(--muted-dark); font-size: .95rem; max-width: 40ch; }
.footer-adac { margin-top: var(--s-6); height: 52px; width: auto; background: var(--white); padding: 6px; }
.footer-col h4 {
  font-size: 1.2rem; letter-spacing: .1em; color: var(--yellow); margin-bottom: var(--s-4);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block; padding: 5px 0; color: var(--muted-dark); text-decoration: none;
  font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em;
  transition: color .2s var(--ease-out);
}
.footer-links a:hover { color: var(--yellow); }
.footer-contact { color: var(--muted-dark); }
.footer-contact a { color: var(--white); text-decoration: none; border-bottom: 2px solid var(--yellow); }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: var(--wide); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  padding: 20px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--border);
  color: var(--muted-dark); font-size: .95rem;
}
.footer-bottom a { color: var(--muted-dark); }
.footer-bottom a:hover { color: var(--yellow); }

/* ===================== Team (Ansprechpartner) ===================== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--s-6); margin-top: var(--s-12);
}
.team-card { border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.team-body { padding: var(--s-4) var(--s-6) var(--s-6); }
.team-body h3 { font-size: 1.45rem; margin: 0; }
.team-role {
  margin: 4px 0 0; color: var(--muted-light);
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .95rem;
}

/* ===================== Downloads ===================== */
.download-list { display: grid; gap: var(--s-3); margin-top: var(--s-8); max-width: 720px; }
.download-item {
  display: flex; align-items: center; gap: var(--s-4);
  border: 2px solid var(--ink); border-radius: 2px;
  padding: var(--s-4) var(--s-6); text-decoration: none; color: var(--ink);
  transition: background-color .2s var(--ease-out);
}
.download-item:hover { background: var(--yellow); }
.download-item svg { width: 26px; height: 26px; flex: none; color: #8a6d00; }
.download-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; }
.download-meta { margin-left: auto; color: var(--muted-light); font-size: .95rem; white-space: nowrap; }
.download-item:hover .download-meta { color: var(--ink); }

/* ===================== Steps (Mitglied werden) ===================== */
.steps { list-style: none; counter-reset: step; margin: var(--s-8) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.steps li {
  counter-increment: step; position: relative;
  border: 2px solid var(--ink); border-radius: 2px;
  padding: var(--s-6) var(--s-6) var(--s-6) 96px; min-height: 84px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 50%; translate: 0 -50%;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.steps p { margin: 0; color: #3c3c42; }

/* ===================== Reveal base (JS adds .js-motion on <html>) ===================== */
.js-motion [data-reveal] { opacity: 0; }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
  .main-nav { display: none; }
}
/* Touch devices (phone/tablet): burger-only navigation, hide the menubar links */
@media (hover: none), (pointer: coarse) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}
/* Desktop with mouse at full width: menubar links only, burger hidden (code stays) */
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .nav-toggle { display: none; }
}
@media (max-width: 900px) {
  .sparten { flex-direction: column; min-height: 0; }
  .sparten-panel { min-height: 46vh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .feature-row, .kontakt-grid, .article-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .side-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
  .footer-inner { grid-template-columns: 1fr; }
  .mega-tiles { flex-direction: column; overflow-y: auto; }
  .mega-tile { min-height: 120px; flex: 1 0 auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .mega-tile-title { font-size: 1.8rem; display: inline-block; }
  .mega-tile-title::after { display: none; }
  .mega-tile-body { padding: 18px 22px; }
  /* Submenu opens on first tap of the title, second tap navigates */
  .mega-tile .mega-sub { display: none; }
  .mega-tile.is-open .mega-sub { display: block; }
  /* Open state: keep the photo dark and the links bright so they stay readable */
  .mega-tile.is-open img { filter: grayscale(.3) brightness(.35); transform: scale(1); }
  .mega-tile.is-open::after {
    background: linear-gradient(to top, rgba(12,12,13,.95) 0%, rgba(12,12,13,.6) 100%);
  }
  .mega-tile.is-open .mega-sub a { color: #ececef; }
  .mega-sub li { margin: 8px 0; }
  .mega-tile-body::after {
    content: "▾"; float: right; color: var(--yellow);
    font-size: 1.3rem; line-height: 1.8;
    transition: rotate .25s var(--ease-out);
  }
  .mega-tile.is-open .mega-tile-body::after { rotate: 180deg; }
  .page-banner { min-height: 48vh; }
  .band { min-height: 0; }
}
@media (max-width: 640px) {
  .fab-rail { top: auto; bottom: 16px; translate: 0 0; }
  .fab-rail a:not(.is-revealed) .fab-label { display: none; }
  .photo-duo { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .brand-name { font-size: 1.25rem; }
}
