/* ====================================================================
   ÖSG VIKTORIA 08 — Startseite
   Design system: matchday energy, Tradition seit 1908, sponsorenfest.
   Display: Oswald (condensed). Body: Hanken Grotesk.
   ==================================================================== */

:root {
  /* --- Base neutrals (warm-cool, very low chroma) --- */
  --paper:      #f4f3ef;   /* page background */
  --paper-2:    #ffffff;   /* cards */
  --ink:        #15171c;   /* near-black text */
  --ink-soft:   #4b4f57;
  --ink-faint:  #8b8f97;
  --line:       #e3e1da;   /* hairlines */
  --line-2:     #d4d1c8;

  /* --- Club colours --- */
  --red:        #d81f2a;
  --red-deep:   #9a1118;
  --blue:       #15327f;
  --blue-deep:  #0c1f54;

  /* --- Semantic roles (overridden per palette) --- */
  --brand:      var(--red);     /* primary */
  --brand-ink:  #ffffff;        /* text on brand */
  --brand-2:    var(--blue);    /* secondary */
  --brand-2-ink:#ffffff;
  --accent:     var(--blue);    /* small accents */
  --hero-tint:  #0c1124;        /* hero overlay base */

  /* --- Type --- */
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;

  /* --- Shape --- */
  --radius:   4px;
  --radius-lg: 8px;

  /* --- Rhythm --- */
  --maxw: 1240px;
  --gut:  clamp(20px, 5vw, 72px);
}

/* ===== Palette directions ===========================================*/
[data-palette="rotblau"] {
  --brand: var(--red);  --brand-2: var(--blue); --accent: var(--blue);
  --hero-tint: #0c1124;
}
[data-palette="rot"] {
  --brand: var(--red);  --brand-2: var(--red-deep); --accent: var(--red);
  --hero-tint: #2a0608;
}
[data-palette="blau"] {
  --brand: var(--blue); --brand-2: var(--red); --accent: var(--red);
  --hero-tint: #08112e;
}
[data-palette="dezent"] {
  --brand: #1d1f25; --brand-ink: #ffffff;
  --brand-2: #2a2d35; --accent: var(--red);
  --hero-tint: #0d0f14;
  --paper: #f7f6f3;
}

/* ===== Headline font swap ===========================================*/
[data-headline="anton"]   { --display: "Anton", "Oswald", sans-serif; }
[data-headline="archivo"] { --display: "Archivo", "Oswald", sans-serif; }

/* ===== Reset ========================================================*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* Display helpers */
.kicker {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: clamp(11px, 1vw, 13px);
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 28px; height: 2px; background: var(--brand);
  display: inline-block;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: -0.01em; }
.section-title {
  font-size: clamp(34px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Buttons */
.btn {
  --bg: var(--brand); --fg: var(--brand-ink);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 15px;
  background: var(--bg); color: var(--fg);
  padding: 15px 26px; border: 2px solid var(--bg); border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,.08); box-shadow:none; }
.btn--ink { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--outline-ink { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--outline-ink:hover { border-color: var(--ink); background: transparent; box-shadow:none; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* Image placeholders */
.ph {
  position: relative; overflow: hidden;
  background-color: #e9e7e0;
  background-image: repeating-linear-gradient(
    -45deg, #e9e7e0 0 11px, #e2e0d8 11px 22px);
}
.ph[data-dark] {
  background-color: #1b1e26;
  background-image: repeating-linear-gradient(
    -45deg, #1b1e26 0 11px, #21242e 11px 22px);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.ph[data-dark]::after { color: rgba(255,255,255,.5); }

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.crest {
  width: 44px; height: 50px; flex: none; position: relative;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}
.crest b { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: .8; letter-spacing: .02em; }
.crest small { font-family: var(--display); font-size: 9px; letter-spacing: .14em; opacity: .9; margin-top: 1px; }
.brand-name b {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: .01em; display: block; line-height: .95;
}
.brand-name span {
  font-family: var(--display); font-weight: 500; font-size: 10.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
  white-space: nowrap;
}
.crest-img { width: 46px; height: 52px; flex: none; object-fit: contain; display: block; }
.footer-brand .crest-img { width: 64px; height: 72px; margin-bottom: 18px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; font-size: 13.5px; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 20px; font-size: 13px; }
.burger { display: none; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative; color: #fff;
  min-height: min(880px, 92vh);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  background: var(--blue-deep);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .ph { position: absolute; inset: 0; }
.hero__media .ph::after { align-items: flex-start; padding-top: 26px; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--hero-tint) 35%, transparent) 0%,
                    color-mix(in srgb, var(--hero-tint) 55%, transparent) 45%,
                    color-mix(in srgb, var(--hero-tint) 92%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--hero-tint) 80%, transparent), transparent 62%);
}
/* diagonal brand slash */
.hero__slash {
  position: absolute; top: 0; bottom: 0; right: -8%; width: 30%;
  background: var(--brand); opacity: .92; z-index: -1;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  mix-blend-mode: normal;
}
.hero__slash::before{
  content:""; position:absolute; inset:0; left:-14px; width:10px;
  background: var(--brand-2);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__inner { padding-block: clamp(40px, 7vw, 90px); position: relative; }
.hero .kicker { color: #fff; }
.hero .kicker::before { background: var(--brand); }
.hero h1 {
  font-size: clamp(58px, 13vw, 168px);
  line-height: .84; text-transform: uppercase; margin-top: 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero h1 .yr { color: var(--brand); -webkit-text-stroke: 0; }
.hero__sub {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .04em; font-size: clamp(16px, 2.4vw, 26px);
  margin-top: 22px; color: rgba(255,255,255,.92);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__strip {
  margin-top: clamp(34px, 5vw, 56px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px);
}
.hero__strip div { display: flex; flex-direction: column; gap: 2px; }
.hero__strip b { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; }
.hero__strip span { font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.72); text-transform: uppercase; font-family: var(--display); font-weight: 500; }

/* ====================================================================
   TICKER
   ==================================================================== */
.ticker {
  background: var(--ink); color: #fff; overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
}
.ticker__track { display: flex; gap: 0; white-space: nowrap; animation: ticker 32s linear infinite; }
.ticker__track span {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; padding: 13px 28px;
  display: inline-flex; align-items: center; gap: 28px;
}
.ticker__track span::after { content: "●"; color: var(--brand); font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ====================================================================
   GENERIC SECTION
   ==================================================================== */
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head p { max-width: 46ch; color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; }
.eyebrow-link { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--brand); display: inline-flex; gap: 8px; align-items: center; }
.eyebrow-link .arr { transition: transform .2s ease; }
.eyebrow-link:hover .arr { transform: translateX(4px); }

/* ===== Stats band ===================================================*/
.stats { background: var(--brand); color: var(--brand-ink); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid color-mix(in srgb, var(--brand-ink) 22%, transparent);
}
.stat {
  padding: clamp(34px, 4vw, 52px) clamp(18px,2.4vw,34px);
  border-right: 1px solid color-mix(in srgb, var(--brand-ink) 22%, transparent);
}
.stat b { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 5.4vw, 72px); line-height: .9; display: block; }
.stat span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; opacity: .86; font-family: var(--display); font-weight: 500; }

/* ===== Abteilungen ==================================================*/
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.dept:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.4); border-color: var(--line-2); }
.dept__img { aspect-ratio: 4 / 3.3; }
.dept__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dept__num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--brand); letter-spacing: .1em; }
.dept h3 { font-size: 27px; text-transform: uppercase; }
.dept p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.dept__link { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.dept:hover .dept__link { color: var(--brand); }
.dept__link .arr { transition: transform .2s ease; }
.dept:hover .dept__link .arr { transform: translateX(4px); }

/* ===== Join CTA =====================================================*/
.join { background: var(--brand-2); color: var(--brand-2-ink); position: relative; overflow: hidden; }
.join::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.join__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.join h2 { font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; }
.join p { margin-top: 18px; font-size: 17px; max-width: 42ch; color: color-mix(in srgb, var(--brand-2-ink) 86%, transparent); }
.join__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.join .btn--solidlight { --bg:#fff; --fg: var(--brand-2); border-color:#fff; }
.steps { display: flex; flex-direction: column; gap: 4px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--brand-2-ink) 26%, transparent);
}
.step:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brand-2-ink) 26%, transparent); }
.step b { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .8; opacity: .55; }
.step div strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; display: block; }
.step div span { font-size: 14.5px; color: color-mix(in srgb, var(--brand-2-ink) 80%, transparent); }

/* ===== Next match + news ============================================*/
.match { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.match__head { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.match__head b { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.match__head .lg { font-size: 12px; color: rgba(255,255,255,.6); font-family: var(--display); letter-spacing: .08em; }
.match__body { padding: clamp(26px, 4vw, 40px) 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.team .badge { width: 60px; height: 66px; background: rgba(255,255,255,.08); clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.team.home .badge { background: var(--brand); }
.team strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 16px; letter-spacing: .02em; }
.match__vs { text-align: center; }
.match__vs b { font-family: var(--display); font-weight: 700; font-size: 30px; display: block; }
.match__vs span { font-size: 12px; color: rgba(255,255,255,.6); }
.match__foot { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.match__foot span { font-size: 13px; color: rgba(255,255,255,.72); }
.embed-note { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease; }
.news:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); }
.news__img { aspect-ratio: 16 / 10; }
.news__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news__meta { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--brand); }
.news h3 { font-size: 21px; line-height: 1.05; text-transform: none; letter-spacing: 0; }
.news p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.match-news { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }

/* ===== Sponsors =====================================================*/
.sponsors { background: var(--paper-2); border-block: 1px solid var(--line); }
.sponsors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.sponsor { background: var(--paper-2); aspect-ratio: 3 / 2; display: grid; place-items: center; text-align: center; padding: 18px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); transition: background .2s ease; }
.sponsor:hover { background: var(--paper); }

/* ===== Contact ======================================================*/
.contact { background: var(--ink); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.contact h2 { font-size: clamp(38px, 5vw, 66px); text-transform: uppercase; color:#fff; }
.contact .kicker { color: var(--brand); }
.contact__list { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.cline { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }
.cline:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.cline dt { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: rgba(255,255,255,.55); }
.cline dd { font-size: 15.5px; color: #fff; }
.cline dd a:hover { color: var(--brand); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; }
.contact__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { background: #0c0e13; color: rgba(255,255,255,.7); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand .crest { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,.66); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .match-news { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .sponsors__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .join__grid, .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dept-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__slash { display: none; }
  .cline { grid-template-columns: 1fr; gap: 4px; }
}

/* ====================================================================
   UNTERSEITEN (Router-Views)
   ==================================================================== */
.nav a.active::after { width: 100%; }
.page-head { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 96px) clamp(34px, 4vw, 56px); }
.page-head .kicker { color: #fff; }
.page-head h1 { font-size: clamp(38px, 6.5vw, 88px); text-transform: uppercase; margin-top: 16px; }
.page-head .lead { margin-top: 18px; max-width: 58ch; font-size: clamp(15.5px, 1.5vw, 18px); color: rgba(255,255,255,.78); }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.muted { color: var(--ink-faint); font-size: 14.5px; }
.tag { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.group-title { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--ink-faint); margin: 34px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.group-title:first-child { margin-top: 0; }

.prose-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.prose p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; text-wrap: pretty; max-width: 68ch; }
.prose.narrow p { font-size: 16px; }
.aside-img { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.factbox { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.factbox h4 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--brand); margin-bottom: 8px; }
.fact { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.fact dt { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; color: var(--ink-faint); }
.fact dd { font-size: 15px; }
.fact dd a { color: var(--brand); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.card h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.person { display: flex; gap: 14px; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.person .avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.person strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 16px; display: block; line-height: 1.1; }
.person span { display: block; font-size: 13.5px; color: var(--ink-soft); }
.person a { display: block; font-size: 13px; color: var(--brand); word-break: break-all; }

.dept-list { display: flex; flex-direction: column; gap: 28px; }
.dept-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 44px); align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.dept-row__img { aspect-ratio: 4/3; border-radius: var(--radius); }
.dept-row h2 { font-size: clamp(28px, 3.6vw, 46px); text-transform: uppercase; margin: 6px 0 10px; }
.dept-row p { color: var(--ink-soft); font-size: 16px; }
.mini { display: grid; gap: 2px; margin: 18px 0 20px; }
.mini > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini dt { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; color: var(--ink-faint); }
.mini dd { font-size: 14.5px; }
.row-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.team-card__img { aspect-ratio: 16/10; }
.team-card__body { padding: 20px 22px 24px; }
.team-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }

.panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.panel.light { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.panel__head { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel__head b { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.panel__head .lg { font-size: 12px; color: rgba(255,255,255,.6); font-family: var(--display); letter-spacing: .08em; }
.panel__body { padding: 8px 24px 16px; }
.panel__foot { padding: 15px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font-size: 13px; color: rgba(255,255,255,.72); }
.ev { display: grid; grid-template-columns: 66px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.panel.light .ev { border-color: var(--line); }
.ev:last-child { border-bottom: none; }
.ev__date b { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; line-height: 1; }
.ev__date span { font-size: 12px; opacity: .65; }
.ev__main strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 16px; display: block; }
.ev__main span { font-size: 13px; opacity: .7; }
.embed-hint { font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; margin-top: 14px; }
.news-grid.two { grid-template-columns: 1fr 1fr; }
.news-grid.three { grid-template-columns: repeat(3, 1fr); }
.wrap--wide { max-width: 1480px; }
.news { color: inherit; }

.doc-list { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; transition: border-color .18s ease, transform .18s ease; }
.doc:hover { border-color: var(--brand); transform: translateX(3px); }
.doc__ico { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .1em; background: var(--brand); color: var(--brand-ink); padding: 8px 10px; border-radius: var(--radius); }
.doc__name { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 16.5px; margin-right: auto; }
.doc__name small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--ink-faint); }
.doc .arr { color: var(--brand); }

.form-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.form h3 { font-size: 26px; text-transform: uppercase; }
.form label { display: grid; gap: 7px; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; color: var(--ink-soft); }
.form [hidden] { display: none; }
.form input, .form select, .form textarea { font-family: var(--body); font-size: 15.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 13.5px; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.form .check a { color: var(--brand); text-decoration: underline; }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; min-height: 1em; }
.form-note.ok { color: #1a7f4b; }
.form-note.err { color: var(--red); }
.sponsor img { max-width: 70%; max-height: 60%; object-fit: contain; }

a:not(.btn) { color: var(--brand); }
a:not(.btn):hover { color: var(--brand-2); }
.brand, .nav a, .footer-col a, .dept, .news, .doc, .eyebrow-link, .footer-bottom a { color: inherit; }
.eyebrow-link, .doc .arr { color: var(--brand); }

@media (max-width: 1080px) {
  .prose-grid, .form-grid { grid-template-columns: 1fr; }
  .trio, .people, .team-grid { grid-template-columns: 1fr 1fr; }
  .dept-row { grid-template-columns: 1fr; }
  .news-grid.two { grid-template-columns: 1fr 1fr; }
.news-grid.three { grid-template-columns: repeat(3, 1fr); }
.wrap--wide { max-width: 1480px; }
  .anlage { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__img { order: 0; }
  .split__img { aspect-ratio: 16/10; }
}
@media (max-width: 700px) {
  .trio, .people, .team-grid, .news-grid.two, .news-grid.three, .f2 { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 58px 1fr; }
}

/* ===== Fotos / Medien =============================================== */
.media { position: relative; overflow: hidden; background: #e9e7e0; }
.media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media .media { position: absolute; inset: 0; }
.wide-img { aspect-ratio: 21/9; border-radius: var(--radius-lg); }
.contact__map iframe, .contact__map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; }
.contact__map.tall iframe { height: 420px; }

/* ===== Text/Bild-Wechsel (Verein) =================================== */
.split-list { display: flex; flex-direction: column; gap: clamp(34px, 5vw, 74px); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.split--flip { grid-template-columns: 1.15fr .85fr; }
.split--flip .split__img { order: 2; }
.split__img { aspect-ratio: 1/1; border-radius: var(--radius-lg); }
.split__text h2 { font-size: clamp(30px, 4vw, 54px); text-transform: uppercase; margin: 14px 0 16px; }
.split__text p { font-size: 17px; color: var(--ink-soft); max-width: 52ch; }

/* ===== Anlage ======================================================= */
.anlage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.anlage__img { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact-grid > div { background: var(--paper); padding: 20px 22px; display: grid; gap: 4px; }
.fact-grid span { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--ink-faint); }
.fact-grid b { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1; color: var(--brand); }

/* ===== FAQ ========================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.qa { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 4px 22px; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--display); font-size: 24px; color: var(--brand); line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa p { padding: 0 0 20px; font-size: 16px; color: var(--ink-soft); max-width: 68ch; }
.faq-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.faq-cta p { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 18px; }

/* ===== Kader ========================================================*/
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.player { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; }
.player__nr { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--brand); min-width: 30px; text-align: center; }
.player strong { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 16px; display: block; line-height: 1.1; }
.player span { font-size: 13px; color: var(--ink-faint); }
.avatar--img { object-fit: cover; }
.team-card { color: inherit; display: block; transition: transform .2s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -26px rgba(0,0,0,.35); }
.team-card .dept__link { margin-top: 12px; display: inline-flex; }

/* Burger */
.burger {
  width: 46px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--paper-2); align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff;
  display: none; flex-direction: column; padding: 28px var(--gut);
}
.mobile-menu.open { display: flex; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-menu nav a { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 30px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu .close { background: none; border: none; color: #fff; font-size: 30px; }
