/* ==========================================================================
   Students' Life e.V. | Theme-Stylesheet (hand-coded, kein Build-Step). 1:1 aus dem freigegebenen Prototyp
   Gliederung: m01 Tokens · m02 Reset/Base · m03 Typo-Utilities · m04 Buttons
   m05 Header/Nav · m06 Social-Rail · m07 Hero · m08 Countdown · m09 Event-Teaser
   m10 Lineup/Slider · m11 Mitglied-Teaser · m12 Social-Sektion · m13 Footer
   m14 Events-Liste · m15 Galerie/Tabs/Lightbox · m16 Ueber uns (Intro/Team/Partner)
   m17 Kontakt/Formular · m18 FAQ · m19 Werde Mitglied · m20 Motion/Responsive · m21 WordPress (Legal, 404, Admin-Bar)
   m22 Custom Cursor (v1.6.8)
   ========================================================================== */

/* m01 Tokens ------------------------------------------------------------- */
:root {
  /* Farben (Kunden-CD, aus Live-Seite ausgelesen). Body #000 ist bewusst so. */
  --c-bg: #000000;
  --c-surface: #0a0a0a;
  --c-surface-2: #141414;
  --c-line: #383838;
  --c-line-soft: #222222;
  --c-text: #DFDFDF;
  --c-white: #FFFFFF;
  --c-muted: #9a9a9a;
  --c-primary: #8F4DC9;
  --c-primary-text: #A66BDB;  /* Primaer als Text in Normalgroesse (Buttons): 5.75:1 auf #000, 5.42:1 auf #0a0a0a (AA) */
  --c-secondary: #F4C7FF;

  /* Lila-Verlaeufe (v1.4.0, Entscheidung 57). Alle Stops aus dem Tokensystem gemischt, kein Stop heller als 4.5:1 gegen Weiss,
     damit weisser Fliesstext (Poppins-Labels, Lead) ueber der GANZEN Flaeche AA erreicht.
     Stops gegen #FFF: #64269A 9.19:1 (Primaer 50 % + Akzent dunkel 50 %), #7536AD 7.27:1 (Primaer 70 % + dunkel 30 %),
     #8F4DC9 5.16:1 (Primaer), #9557CF 4.62:1 (Primaer + 8 % Sekundaer). Glanz: Sekundaer #F4C7FF mit 8 % Deckung ueber Primaer = #9757CD 4.60:1. */
  --grad-primary: linear-gradient(135deg, #7536AD 0%, #8F4DC9 55%, #9557CF 100%);                 /* Buttons (Hover-Fill), Social-Kacheln */
  --grad-primary-deep: radial-gradient(60% 55% at 85% 0%, rgba(244, 199, 255, .08), rgba(244, 199, 255, 0) 70%),
                       linear-gradient(35deg, #64269A 0%, #7536AD 42%, #8F4DC9 100%);              /* grosse Sektionen (.band): dunkle Ecke unten links, Glanz oben rechts */

  /* Schriften */
  --f-display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  --f-body: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
  --f-label: 'Poppins', system-ui, -apple-system, sans-serif;
  --f-num: 'Saira Condensed', Impact, sans-serif;

  /* Type-Scale (Live-Werte als Maximum, fluid nach unten) */
  --fs-body: 20px;
  --lh-body: 1.75;
  --fs-display: clamp(64px, 11vw, 160px);   /* Sub-Hero H1, Unser Team, Kontakt */
  --fs-h1: clamp(52px, 7vw, 100px);         /* Startseite H1, Werde Mitglied */
  --fs-sap: clamp(72px, 8.5vw, 120px);      /* SAP */
  --fs-h2: clamp(32px, 3.6vw, 50px);        /* Sektions-Headlines */
  --fs-h3: clamp(22px, 2vw, 28px);          /* Poppins-800-Labels */
  --fs-name: clamp(26px, 2.5vw, 35px);
  --fs-num: clamp(56px, 7vw, 100px);
  --fs-label: clamp(15px, 1.4vw, 20px);
  --fs-small: 14px;

  /* Spacing-Skala */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 100px;
  --sec-pad: clamp(80px, 10vw, 150px);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 60px);
  --header-h: 96px;

  /* Radius-System: Pill fuer Buttons/Pills, 16px fuer Karten, 30px fuer Panels */
  --r-pill: 50px;
  --r-card: 16px;
  --r-panel: 30px;

  /* Bild-Ratios je Rolle */
  --ar-square: 1 / 1;
  --ar-card: 4 / 3;
  --ar-slide: 3 / 2;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .4s;
}

/* m02 Reset / Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: .35px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--c-primary);
  letter-spacing: 1px;
  line-height: .9;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 4px; }
::selection { background: var(--c-primary); color: var(--c-white); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: var(--sec-pad); }
.section--flush-top { padding-top: 0; }

/* Hintergrund-Tiefe (v1.6.0, Entscheidung 70c) und Hintergrund-Struktur (v1.6.1, Entscheidung 75): weiche Lila-Flaechen plus Korn und
   Linienmuster hinter den schwarzen Sektionen, damit der Hintergrund nicht steril wirkt. Umsetzung ohne filter/backdrop-filter/mix-blend-mode
   (iOS-Compositing, Cookbook 7): zwei statische, absolute Pseudo-Layer je Sektion, z-index -1, pointer-events none.
   ::before = FARBE, 120 px Ueberhang oben/unten (laeuft unter die Nachbarsektion): drei vorgeblurrte Radial-Verlaeufe (Stops 0/28/58/82/100 %
   als Glockenkurve, Zeile 1 Primaer #8F4DC9 als heller Kern, Zeile 2 Dunkellila #39006C als breite Tiefenstufe, Zeile 3 Sekundaer #F4C7FF als
   kleiner Glanz), Groessen max. 1100 x 900 px, per min(…, 100%) nie groesser als die Sektion.
   ::after = STRUKTUR, ohne Ueberhang (Korn wuerde sich sonst in der Ueberlappung verdoppeln): Korn als 160-px-SVG-Kachel (feTurbulence, in der
   Kachel selbst gerastert, kein CSS-Filter, Sekundaer-getoent, Deckung im Mittel ca. 4 %, Spitze ca. 8 %) plus EIN Linienmotiv je Sektion
   (--bg-zig Zickzack aus der schwarzen Bandspitze des CD, --bg-ring Ringe, --bg-lines Diagonalen, --bg-sl Wortmarke „SL“ aus den Archivo-
   Black-Konturen), alle als Data-URI unter 2 KB, Primaer bei 4 bis 11 % Deckung, in der Grafik selbst auslaufend (keine Maske).
   Varianz ueber Custom Properties auf der Sektion (vererben an die Pseudo-Elemente): --ga1/2/3 Deckkraft, --gs1/2/3 Groesse, --gp1/2/3 Position,
   --pat Motiv, --pp Position, --ps Groesse des Motivs. Jede Sektion hat eine eigene Kombination, gerade Sektionen spiegeln als Fallback.
   Spezifitaet: Varianten als .section.section:where(#id) (0,2,0) schlagen nth-of-type per Reihenfolge, der Mobil-Block .section.section.section (0,3,0) schlaegt alle.
   Kontrast: Primaer-Kerne (.42) liegen nie unter Ueberschriften (Primaer #8F4DC9 braucht 3:1, also Hintergrund hoechstens ca. #25143A);
   unter Ueberschriften nur Dunkellila-Rand + Korn (gemessen 1440/390: hellster Punkt <= #2B1D36, 3,04:1 und besser), Fliesstext #DFDFDF ueberall > 8:1.
   Ausgenommen: Sektionen mit eigenem Hintergrund (.band, .lineup, Countdown mit Foto) und der Hero (kein .section). */
:root {
  --bg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .78 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --bg-zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='440'%3E%3Cg fill='none' stroke='%238F4DC9' stroke-width='1.5'%3E%3Cpath d='M0 40 L60 10 L120 40 L180 10 L240 40 L300 10 L360 40 L420 10 L480 40 L540 10 L600 40 L660 10 L720 40' stroke-opacity='0.11'/%3E%3Cpath d='M0 84 L60 54 L120 84 L180 54 L240 84 L300 54 L360 84 L420 54 L480 84 L540 54 L600 84 L660 54 L720 84' stroke-opacity='0.099'/%3E%3Cpath d='M0 128 L60 98 L120 128 L180 98 L240 128 L300 98 L360 128 L420 98 L480 128 L540 98 L600 128 L660 98 L720 128' stroke-opacity='0.088'/%3E%3Cpath d='M0 172 L60 142 L120 172 L180 142 L240 172 L300 142 L360 172 L420 142 L480 172 L540 142 L600 172 L660 142 L720 172' stroke-opacity='0.077'/%3E%3Cpath d='M0 216 L60 186 L120 216 L180 186 L240 216 L300 186 L360 216 L420 186 L480 216 L540 186 L600 216 L660 186 L720 216' stroke-opacity='0.066'/%3E%3Cpath d='M0 260 L60 230 L120 260 L180 230 L240 260 L300 230 L360 260 L420 230 L480 260 L540 230 L600 260 L660 230 L720 260' stroke-opacity='0.054'/%3E%3Cpath d='M0 304 L60 274 L120 304 L180 274 L240 304 L300 274 L360 304 L420 274 L480 304 L540 274 L600 304 L660 274 L720 304' stroke-opacity='0.043'/%3E%3Cpath d='M0 348 L60 318 L120 348 L180 318 L240 348 L300 318 L360 348 L420 318 L480 348 L540 318 L600 348 L660 318 L720 348' stroke-opacity='0.032'/%3E%3Cpath d='M0 392 L60 362 L120 392 L180 362 L240 392 L300 362 L360 392 L420 362 L480 392 L540 362 L600 392 L660 362 L720 392' stroke-opacity='0.021'/%3E%3C/g%3E%3C/svg%3E");
  --bg-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cg fill='none' stroke='%238F4DC9' stroke-width='1.5'%3E%3Ccircle cx='400' cy='400' r='60' stroke-opacity='0.12'/%3E%3Ccircle cx='400' cy='400' r='118' stroke-opacity='0.104'/%3E%3Ccircle cx='400' cy='400' r='176' stroke-opacity='0.089'/%3E%3Ccircle cx='400' cy='400' r='234' stroke-opacity='0.073'/%3E%3Ccircle cx='400' cy='400' r='292' stroke-opacity='0.057'/%3E%3Ccircle cx='400' cy='400' r='350' stroke-opacity='0.041'/%3E%3Ccircle cx='400' cy='400' r='408' stroke-opacity='0.026'/%3E%3C/g%3E%3C/svg%3E");
  --bg-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420'%3E%3Cg fill='none' stroke='%238F4DC9' stroke-width='1.25'%3E%3Cpath d='M0 0L420 420' stroke-opacity='0.105'/%3E%3Cpath d='M36 0L456 420' stroke-opacity='0.098'/%3E%3Cpath d='M72 0L492 420' stroke-opacity='0.091'/%3E%3Cpath d='M108 0L528 420' stroke-opacity='0.085'/%3E%3Cpath d='M144 0L564 420' stroke-opacity='0.078'/%3E%3Cpath d='M180 0L600 420' stroke-opacity='0.071'/%3E%3Cpath d='M216 0L636 420' stroke-opacity='0.064'/%3E%3Cpath d='M252 0L672 420' stroke-opacity='0.058'/%3E%3Cpath d='M288 0L708 420' stroke-opacity='0.051'/%3E%3Cpath d='M324 0L744 420' stroke-opacity='0.044'/%3E%3Cpath d='M360 0L780 420' stroke-opacity='0.037'/%3E%3Cpath d='M396 0L816 420' stroke-opacity='0.03'/%3E%3Cpath d='M432 0L852 420' stroke-opacity='0.024'/%3E%3Cpath d='M468 0L888 420' stroke-opacity='0.017'/%3E%3C/g%3E%3C/svg%3E");
  --bg-sl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -720 1430 760'%3E%3Cg fill='none' stroke='%238F4DC9' stroke-width='6' stroke-opacity='.12'%3E%3Cpath d='M667 -488V-476H460V-480Q460 -510 438 -530Q416 -550 371 -550Q327 -550 304 -537Q280 -524 280 -505Q280 -478 312 -465Q344 -452 415 -438Q498 -421 552 -402Q605 -384 645 -342Q685 -300 686 -228Q686 -106 604 -47Q521 12 383 12Q222 12 132 -42Q43 -96 43 -233H252Q252 -181 279 -164Q306 -146 363 -146Q405 -146 432 -155Q460 -164 460 -192Q460 -217 430 -230Q399 -242 330 -256Q246 -274 191 -294Q136 -313 95 -358Q54 -403 54 -480Q54 -593 142 -646Q229 -700 363 -700Q495 -700 580 -646Q665 -593 667 -488Z'/%3E%3Cpath d='M796 -688H1017V-176H1370V0H796Z'/%3E%3C/g%3E%3C/svg%3E");
}
.section {
  --ga1: .42; --ga2: .5; --ga3: .07;
  --gs1: min(1100px, 100%) min(900px, 100%); --gs2: min(1000px, 100%) min(820px, 100%); --gs3: min(560px, 100%) min(440px, 100%);
  --gp1: 4% 78%; --gp2: 96% 12%; --gp3: 62% 4%;
  --pat: var(--bg-lines); --pp: 100% 0; --ps: 900px auto;
}
.section:nth-of-type(even) { --gp1: 96% 74%; --gp2: 4% 14%; --gp3: 36% 100%; --pat: var(--bg-ring); --pp: -160px 100%; --ps: 700px auto; }
/* Startseite */
.section.teaser { --gp1: 2% 82%; --gp2: 100% 10%; --gs2: min(900px, 100%) min(760px, 100%); --gp3: 74% 42%; --ga3: .09; --pat: var(--bg-ring); --pp: calc(100% + 120px) 55%; --ps: 760px auto; }
.section.text-center { --gp1: 104% 100%; --gs1: min(760px, 100%) min(600px, 100%); --ga1: .38; --gp2: -10% 100%; --gs2: min(820px, 100%) min(640px, 100%); --gp3: 14% 100%; --pat: var(--bg-zig); --pp: -80px calc(100% + 40px); --ps: 640px auto; }
/* Events */
.section.section:where(#events) { --gp1: 100% 18%; --gs1: min(1000px, 100%) min(820px, 100%); --gp2: -6% 72%; --gs2: min(1100px, 100%) min(900px, 100%); --gp3: 30% 100%; --pat: var(--bg-lines); --pp: -120px 0; --ps: 820px auto; }
.section.section:where(#galerie) { --gp1: 0% 42%; --gs1: min(960px, 100%) min(840px, 100%); --ga1: .38; --gp2: 100% 92%; --gp3: 88% 30%; --ga3: .06; --pat: var(--bg-ring); --pp: calc(100% + 200px) calc(100% + 120px); --ps: 800px auto; }
.countdown:not(.countdown--bg) { --gp1: 100% 96%; --gs1: min(800px, 100%) min(640px, 100%); --ga1: .36; --gp2: 50% 100%; --gs2: min(1000px, 100%) min(600px, 100%); --gp3: 6% 6%; --pat: var(--bg-zig); --pp: -60px 100%; --ps: 600px auto; }
/* Ueber uns */
.section.section:where([aria-labelledby="claim-title"]) { --gp1: -12% 112%; --gs1: min(900px, 100%) min(720px, 100%); --gp2: 104% 104%; --gp3: 70% 100%; --pat: var(--bg-sl); --pp: calc(100% + 60px) calc(100% + 20px); --ps: 860px auto; }
.section.section:where(#team) { --gp1: 100% 30%; --gs1: min(900px, 100%) min(1100px, 100%); --ga1: .38; --gp2: 0% 70%; --gs2: min(1000px, 100%) min(1300px, 100%); --ga2: .55; --gp3: 40% 0%; --ga3: .05; --pat: var(--bg-lines); --pp: -200px 42%; --ps: 900px auto; }
.section.section:where(#partner) { --gp1: 50% 100%; --gs1: min(1100px, 100%) min(700px, 100%); --gp2: 0% 0%; --gp3: 96% 20%; --pat: var(--bg-ring); --pp: -240px -200px; --ps: 760px auto; }
.section.contact { --gp1: -8% 62%; --gs1: min(1000px, 100%) min(900px, 100%); --ga1: .4; --gp2: 100% 100%; --ga2: .55; --gp3: 40% 100%; --pat: var(--bg-lines); --pp: 0 calc(100% + 60px); --ps: 760px auto; }
.section.section:where(#faq) { --gp1: 100% 50%; --gs1: min(900px, 100%) min(900px, 100%); --ga1: .36; --gp2: 0% 20%; --gs2: min(1000px, 100%) min(1000px, 100%); --gp3: 50% 100%; --pat: var(--bg-ring); --pp: calc(100% + 240px) calc(100% + 200px); --ps: 800px auto; }
/* Werde Mitglied */
.section.section:where([aria-labelledby="join-title"]) { --gp1: 104% 72%; --gs1: min(1000px, 100%) min(820px, 100%); --gp2: -4% 100%; --gp3: 22% 100%; --pat: var(--bg-zig); --pp: -40px 0; --ps: 640px auto; }
.section.section:where(#vorteile) { --gp1: 0% 90%; --gs1: min(1000px, 100%) min(800px, 100%); --ga1: .38; --gp2: 50% 44%; --gs2: min(1100px, 100%) min(900px, 100%); --gp3: 100% 10%; --pat: var(--bg-lines); --pp: calc(100% + 100px) 100%; --ps: 800px auto; }
/* Rechtsseiten, 404 */
.section.legal { --gp1: 100% 8%; --gs1: min(900px, 100%) min(760px, 100%); --ga1: .32; --gp2: -4% 44%; --gs2: min(1000px, 100%) min(900px, 100%); --ga3: 0; --pat: var(--bg-lines); --pp: calc(100% + 60px) -40px; --ps: 700px auto; }
.section.error404 { --gp1: 50% 100%; --gp2: 90% 0%; --gp3: 10% 10%; --pat: var(--bg-ring); --pp: calc(100% + 200px) 50%; --ps: 700px auto; }
.section:not(.band):not(.lineup):not(.countdown--bg)::before,
.section:not(.band):not(.lineup):not(.countdown--bg)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
.section:not(.band):not(.lineup):not(.countdown--bg)::before {
  top: -120px; bottom: -120px;
  background-image:
    radial-gradient(closest-side, rgb(143 77 201 / var(--ga1)) 0%, rgb(143 77 201 / calc(var(--ga1) * .62)) 28%, rgb(143 77 201 / calc(var(--ga1) * .26)) 58%, rgb(143 77 201 / calc(var(--ga1) * .07)) 82%, rgb(143 77 201 / 0) 100%),
    radial-gradient(closest-side, rgb(57 0 108 / var(--ga2)) 0%, rgb(57 0 108 / calc(var(--ga2) * .62)) 28%, rgb(57 0 108 / calc(var(--ga2) * .26)) 58%, rgb(57 0 108 / calc(var(--ga2) * .07)) 82%, rgb(57 0 108 / 0) 100%),
    radial-gradient(closest-side, rgb(244 199 255 / var(--ga3)) 0%, rgb(244 199 255 / calc(var(--ga3) * .55)) 30%, rgb(244 199 255 / calc(var(--ga3) * .18)) 60%, rgb(244 199 255 / 0) 100%);
  background-size: var(--gs1), var(--gs2), var(--gs3);
  background-position: var(--gp1), var(--gp2), var(--gp3);
}
.section:not(.band):not(.lineup):not(.countdown--bg)::after {
  background-image: var(--bg-noise), var(--pat);
  background-repeat: repeat, no-repeat;
  background-size: 160px 160px, var(--ps);
  background-position: 0 0, var(--pp);
}

/* Anker-Ziele (Ortshinweis aus fwn.manage, Footer-Kontakt): Abschnitt landet unter dem Sticky-Header statt dahinter. main.js liest scroll-margin-top fuer den Lenis-Offset (v1.3.0). */
.section[id], .faq-group[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Skip-Link (v1.5.1, Reviewer W3): erster Tab-Stop, sichtbar nur bei Tastaturfokus, ueber dem Sticky-Header */
.skip-link { position: absolute; top: -100%; left: var(--gutter); z-index: 1001; padding: 12px 20px; background: var(--c-primary); color: var(--c-white); font-family: var(--f-label); font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 0 0 var(--r-card) var(--r-card); }
.skip-link:focus-visible { top: 0; outline-offset: 2px; }
#main:focus { outline: none; }
.divider { height: 1px; background: var(--c-line-soft); }

/* Icon-Sprite */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* m03 Typo-Utilities ----------------------------------------------------- */
.h-display { font-size: var(--fs-display); line-height: .82; letter-spacing: -.1px; }
.h-1 { font-size: var(--fs-h1); line-height: .85; letter-spacing: -.1px; }
.h-2 { font-size: var(--fs-h2); line-height: 1; }
.h-2--light { color: var(--c-text); }
.label {
  font-family: var(--f-label);
  font-size: var(--fs-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.6;
}
.label-h3 {
  font-family: var(--f-label);
  font-size: var(--fs-h3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: 1.2;
  color: var(--c-primary);
}
.label-h3--light { color: var(--c-white); }
.lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--s-3); } .mt-6 { margin-top: var(--s-6); }
.nowrap { white-space: nowrap; }

/* m04 Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 18px 44px;
  border: 1px solid var(--c-primary);
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--c-primary-text);
  background: transparent;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
/* v1.4.0: Hover-Fill = --grad-primary. background-image ist nicht animierbar, deshalb liegt der Verlauf auf ::before (inset -1px deckt den
   Rahmen mit ab, z-index -1 unter dem Text) und blendet in 200 ms ein. Text auf dem Verlauf weiss: hellster Stop 4.62:1 (AA). */
.btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.btn:hover { color: var(--c-white); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--light { border-color: var(--c-text); color: var(--c-text); }
.btn--light::before { display: none; } /* Outline-Buttons auf dem Band bleiben Outline, Hover weiss wie bisher */
/* v1.6.11: Hover-Fill nur bei echtem Hover (kein Kleben nach Tap auf Touch), Tastatur-Fokus bekommt dieselbe Fuellung. */
@media (hover: hover) {
  .btn--light:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
}
.btn--light:focus-visible { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
.btn--sm { min-height: 50px; padding: 14px 30px; font-size: 16px; }
.btn--static { pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* m05 Header / Navigation ------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, .82);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header.is-scrolled { background: rgba(0, 0, 0, .96); border-color: var(--c-line-soft); }
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
}
.header__logo img { width: 72px; height: 72px; }
.nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__link {
  position: relative;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 8px 0;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-primary-text); }
.nav__link:not(:first-child)::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(10px, 1.5vw, 22px));
  top: 50%;
  height: 22px;
  width: 1px;
  background: var(--c-primary);
  transform: translateY(-50%);
}
.header__cta { justify-self: end; }
.burger {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  color: var(--c-text);
  font-size: 30px;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-6) var(--gutter) var(--s-5);
  background: var(--c-bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu__close { position: absolute; top: 24px; right: var(--gutter); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--c-text); }
.menu__list { display: grid; gap: var(--s-2); }
.menu__link {
  display: block;
  padding: 4px 0; /* Touchziel >= 44px (36px Schrift + 8px) */
  font-family: var(--f-display);
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: var(--c-text);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color var(--dur);
}
.menu__link:hover, .menu__link.is-active { color: var(--c-primary); }
.menu.is-open .menu__link { transform: none; opacity: 1; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .18s; }
.menu__foot { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.menu__social { display: flex; gap: var(--s-2); }
.menu__social a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 50%; color: var(--c-text); font-size: 22px; }

/* m06 Social-Rail (Desktop, fixiert rechts) ------------------------------ */
.social-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}
.social-rail a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: var(--c-text);
  font-size: 18px;
  transition: color var(--dur), background-color var(--dur), transform .25s var(--ease);
}
.social-rail a:hover { color: var(--c-white); background: var(--c-primary); transform: translateX(-3px); }

/* m07 Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero--home {
  height: var(--vph, 100svh);
  min-height: 620px;
  margin-top: calc(-1 * var(--header-h));
  display: grid;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  /* v1.5.2 (Reviewer W-A): Boden ab ca. 30 % auf 82 bis 90 % Schwarz, Lichtshow oben bleibt bei 55 %. Titelblock (38 bis 49 % bei 1440,
     31 bis 40 % bei 390) liegt damit auf einem Hintergrund, auf dem Primaer #8F4DC9 gemessen >= 3:1 erreicht (vorher 39 % der H1-Flaeche darunter). */
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.5) 18%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.85) 60%, rgba(0,0,0,.9) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: var(--header-h); }
.hero__title { color: var(--c-primary); text-shadow: 0 2px 24px rgba(0,0,0,.7); } /* v1.5.2 (W-A): weicher Schatten stuetzt die Lesbarkeit ueber Fotos */
.hero__cta { margin-top: var(--s-4); }

/* Sub-Hero (Events, Ueber uns, Werde Mitglied): Bild rechts, H1 ragt links darueber */
.hero--sub { min-height: clamp(460px, 46vw, 680px); display: grid; align-items: end; padding-bottom: clamp(40px, 6vw, 88px); }
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 72%;
  z-index: 0;
  /* v1.6.14 (Entscheidung 92, Korni 29.09.): Das Intro skaliert das Bild von 1.12 auf 1 (main.js). Ohne Clip ragte es dabei ueber die
     linke Kante des Rahmens hinaus, und genau dieser Streifen lag ausserhalb des Verlaufs (::after deckt nur den Rahmen): eine
     unabgedunkelte blaue Saeule links, bis das Bild bei 1 ankam. overflow: hidden haelt Zoom und Parallax im Rahmen. */
  overflow: hidden;
  background: var(--c-bg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  /* v1.5.2 (Reviewer W-A): zweiter Verlauf von unten (84 % Schwarz bis 40 % Hoehe, aus bei 60 %) hinter dem Titelblock; Gesichter im oberen Bilddrittel bleiben. */
  background:
    linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.84) 40%, rgba(0,0,0,0) 60%),
    linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.75) 12%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.15) 100%); /* v1.6.14: linke Kante laeuft in Schwarz (--c-bg) aus, keine sichtbare Bildkante mehr (vorher 75 %, dunkelblaue Kante bei 28 %) */
}
.hero--sub .hero__content { padding-top: 0; }
.hero__claim { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); margin-top: var(--s-2); color: var(--c-text); font-family: var(--f-label); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .1em; } /* v1.6.10: Claim UNTER der H1, Label-Typografie direkt hier (alte Hilfsklasse entfernt, Optik unveraendert) */
.hero--home .hero__claim { margin-top: var(--s-3); } /* Startseite: Claim als <p>, Abstand wie bisher */
.hero__claim li + li::before { content: '\00b7'; margin-right: var(--s-2); color: var(--c-primary); }

/* m08 Countdown ------------------------------------------------------------ */
.countdown { text-align: center; }
.countdown__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.countdown__bg img { width: 100%; height: 130%; object-fit: cover; transform: translateY(-12%); will-change: transform; }
.countdown__bg::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .78); }
.countdown .container { position: relative; z-index: 1; }
.countdown__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 5vw, 72px); margin-top: var(--s-4); }
.countdown__item { min-width: 90px; }
.countdown__num { display: block; font-family: var(--f-num); font-weight: 700; font-size: var(--fs-num); line-height: 1; letter-spacing: 2.5px; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.countdown__label { display: block; margin-top: 6px; }
.countdown__num > span { display: inline-block; will-change: transform; }

/* Deko-Linien (Grafik der Live-Seite), rein dekorativ */
.deco { position: absolute; z-index: 0; pointer-events: none; opacity: .55; height: min(70%, 700px); width: auto; }
.deco--left { left: 0; top: 50%; transform: translateY(-50%); }
.deco--right { right: 0; top: 50%; transform: translateY(-50%); }

/* m09 Event-Teaser (Startseite): Text links, Ortsbild 4:3 rechts (Entscheidung 20) ---- */
.teaser__grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "main figure" "cta figure"; gap: var(--s-4) clamp(32px, 6vw, 96px); align-items: center; }
.teaser__main { grid-area: main; }
.teaser__cta { grid-area: cta; align-self: start; }
.teaser__title { font-size: var(--fs-sap); line-height: .85; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-4); margin-top: var(--s-4); }
.fact__head { display: flex; align-items: center; gap: 12px; }
.fact__head .icon { font-size: 30px; color: var(--c-primary); stroke-width: 1.4; }
.fact__value { margin-top: 10px; white-space: nowrap; }
.teaser__text { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.teaser__figure { grid-area: figure; margin: 0; }
.teaser__figure img { width: 100%; aspect-ratio: var(--ar-card); object-fit: cover; border-radius: var(--r-card); }
.teaser__figure figcaption { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--c-muted); }

/* m10 Lineup + Slider --------------------------------------------------------- */
.lineup { text-align: center; }
.lineup__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lineup__bg img { width: 100%; height: 130%; object-fit: cover; filter: grayscale(1); transform: translateY(-12%); will-change: transform; }
.lineup__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.85) 50%, #000 100%); } /* v1.5.2 (Reviewer W-A): Mitte 85 statt 70 % Schwarz, Primaer-Text auf dem grauen Crowd-Foto >= 3:1 */
.lineup .container { position: relative; z-index: 1; }
.lineup__meta { margin-top: var(--s-2); color: var(--c-primary); font-weight: 700; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.3; }
.lineup__acts { margin-top: var(--s-4); }
.lineup__acts + .lineup__acts { margin-top: var(--s-3); } /* v1.6.22: Leerzeile im Portal = Abstand zwischen Bloecken (z. B. Buehnen) */
.lineup__acts li { color: var(--c-primary); font-weight: 800; font-size: clamp(19px, 1.6vw, 22px); } /* fett + >= 18.66px = Grosstext, 4.07:1 (AA) */

.slider { position: relative; margin-top: var(--s-5); --spv: 3; --gap: 24px; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: var(--gap); will-change: transform; cursor: grab; }
.slider__track:active { cursor: grabbing; }
.slider__slide { flex: 0 0 calc((100% - (var(--spv) - 1) * var(--gap)) / var(--spv)); }
.slider__slide img { width: 100%; aspect-ratio: var(--ar-slide); object-fit: cover; border-radius: var(--r-card); user-select: none; -webkit-user-drag: none; }
.lineup .slider__slide img { object-position: 50% 30%; } /* v1.6.10: Hochformat-Fotos im Querformat-Slot, Gesichter sitzen im oberen Drittel (vorher Mitte = Koepfe angeschnitten) */
.slider__btn {
  position: absolute;
  top: 50%;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--c-primary);
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: var(--c-primary);
  font-size: 24px;
  transform: translateY(-50%);
  transition: background-color var(--dur), color var(--dur);
  z-index: 2;
}
.slider__btn:hover { background: var(--c-primary); color: var(--c-white); }
.slider__btn--prev { left: -26px; }
.slider__btn--next { right: -26px; }

/* m11 Mitglied-Teaser (violettes Band) ------------------------------------- */
.band { position: relative; background: var(--c-primary); background-image: var(--grad-primary-deep); color: var(--c-white); } /* v1.4.0: Verlauf statt Flaeche, Primaer als Fallback-Farbe; schwarze Spitze (::before) bleibt */
.band::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  border: 22px solid transparent;
  border-top-color: var(--c-bg);
  border-bottom: 0;
  transform: translateX(-50%);
}
.band h2, .band h3, .band h4 { color: var(--c-white); }
.band .btn--light { border-color: var(--c-white); color: var(--c-white); }
/* v1.6.11 (Reviewer 28.09.): .band .btn--light hat dieselbe Spezifitaet wie .btn--light:hover und steht spaeter, dadurch war der Hover
   Weiss auf Weiss. Hover und Fokus im Band-Kontext deshalb explizit auf Weiss mit Primaer-Text (5,16:1). */
@media (hover: hover) {
  .band .btn--light:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
}
.band .btn--light:focus-visible { background: var(--c-white); border-color: var(--c-white); color: var(--c-primary); }
.member__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.member__grid img { width: 100%; aspect-ratio: var(--ar-card); object-fit: cover; border-radius: var(--r-card); }
.member__list { display: grid; gap: 10px; margin-top: var(--s-4); }
.member__list li { display: flex; align-items: center; gap: 14px; }
.member__list .icon { font-size: 26px; }
.member__grid .btn { margin-top: var(--s-4); }

/* m12 Social-Sektion --------------------------------------------------------- */
.social-tiles { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.social-tile {
  width: 120px; height: 120px;
  display: grid; place-items: center;
  border-radius: var(--r-card);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-secondary); /* Hover-Farbe liegt unten, der Verlauf (::before) blendet beim Hover aus */
  color: var(--c-white); /* Icon auf dem Verlauf: dunkelster Stop 7.27:1, hellster 4.62:1 (AA) */
  font-size: 60px;
  transition: transform .3s var(--ease), color .2s var(--ease);
}
.social-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-primary); transition: opacity .2s var(--ease); }
.social-tiles { align-items: flex-start; }
@media (hover: hover) { .social-tile:hover { transform: translateY(-6px); color: var(--c-bg); } .social-tile:hover::before { opacity: 0; } }

/* m13 Footer ------------------------------------------------------------------ */
/* Kompakt seit Entscheidung 45 (v1.2.1): Logo 80px, Links 40px hoch, Abstaende eine Stufe kleiner */
.footer { border-top: 1px solid var(--c-line-soft); padding-top: var(--s-4); }
.footer__grid { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: var(--s-3) var(--s-5); align-items: center; }
.footer__brand { display: flex; align-items: center; gap: var(--s-3); }
.footer__brand img { width: 80px; height: 80px; }
.footer__claim { max-width: 15ch; line-height: 1.5; font-size: 15px; }
.footer__links { display: grid; }
.footer__links a { display: flex; align-items: center; min-height: 40px; transition: color var(--dur); }
.footer__links a:hover, .footer__links a.is-active { color: var(--c-secondary); }
/* v1.5.4: Complianz-Button „Cookie-Einstellungen“ in der Optik der Footer-Links (kein Button-Look, Fokus-Ring wie Links) */
.footer__links .footer__consent { display: flex; align-items: center; min-height: 40px; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; text-align: left; transition: color var(--dur); }
.footer__links .footer__consent:hover { color: var(--c-secondary); }
/* WordPress-Klasse, die Complianz im Banner nutzt (gleiches Muster wie .sr-only) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* v1.6.10 Complianz-Banner 426 bis 1199 px (Reviewer/Datenschutz-Vorcheck 28.09.): ab 1024 setzt Complianz jeden Button auf
   min-width 250 px in einer Reihe (3 x 250 + Abstaende laufen bis ca. 1140 px aus dem Banner, „Einstellungen“ abgeschnitten),
   769 bis 1023 px sind „Alle akzeptieren“ und „Ablehnen“ unterschiedlich breit. FWN-Regel: Zustimmen und Ablehnen gleichrangig
   (gleiche Farbe, gleiche Groesse). Jetzt: beide nebeneinander gleich breit, „Einstellungen“ bzw. „Speichern“ eigene volle Zeile.
   Die Banner-CSS von Complianz laedt NACH main.css, deshalb die ID des stabilen Containers fuer die Spezifitaet.
   Bis 425 px (gestapelt) und ab 1200 px (drei Buttons in einer Reihe) bleibt die Complianz-Optik unveraendert. */
@media (min-width: 426px) and (max-width: 1199px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { flex: 1 1 160px; width: auto; min-width: 0; } /* 160 statt 180: auch im schmalen Banner bei 769 bis 800 px (Innenbreite ca. 343 px) nebeneinander */
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences { flex-basis: 100%; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Button-Spalte (Grid-Spalte 3) fest statt max-content, sonst bleiben die drei Buttons in einer Reihe */
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { width: 400px; }
}
.footer__bottom { margin-top: var(--s-3); padding: var(--s-2) 0 var(--s-3); border-top: 1px solid var(--c-line-soft); text-align: center; font-family: var(--f-label); font-size: var(--fs-small); letter-spacing: .02em; color: var(--c-muted); }
.fwn-credit {
  color: inherit; text-decoration: none; font-weight: 600;
  background: linear-gradient(110deg, #9ccf92, #6ab775, #4fb373, #21874a, #6ab775, #9ccf92);
  background-size: 220% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-position: 0 0; transition: background-position .5s ease;
}
.fwn-credit:hover { background-position: -110% 0; }

/* m14 Events-Liste ------------------------------------------------------------ */
.events { display: grid; grid-auto-rows: 1fr; gap: var(--s-3); margin-top: var(--s-4); } /* auto-rows 1fr: alle Karten (und damit Datumsboxen) gleich hoch */
.event { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: var(--s-3); }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--s-3);
  border: 1px solid var(--c-primary);
  border-radius: var(--r-card);
  text-align: center;
}
.event__day { font-family: var(--f-display); font-size: clamp(64px, 9vw, 140px); line-height: .8; color: var(--c-primary); letter-spacing: -1px; white-space: nowrap; }
.event__month { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 5.5vw, 84px); line-height: .85; color: var(--c-primary); text-transform: uppercase; margin-top: 8px; white-space: nowrap; } /* v1.5.2 (Reviewer W-B): font-weight 900 = der eine Archivo-Black-Schnitt (fonts.css deklariert 400 900, keine Synthese), Pruefwerkzeuge werten fett >= 18,66 px als Grosstext */
/* Datumsspanne (Entscheidung 43): EIN Token "18/19" im grossen Schnitt, Schraegstrich kleiner und leichter, darunter der Monat */
.event__date--range { padding-inline: var(--s-2); } /* v1.5.1 (Reviewer W1): Kasten bleibt 265 px, Innenbreite reicht fuer "18/19" bei 0,7 der Einzelgroesse */
.event__date--range .event__day { font-size: clamp(44px, 5.7vw, 90px); letter-spacing: -.02em; } /* 0,63 x Einzeldatum (1440: 82 px statt 66); 0,7 (89 px) fuellt den 265er-Kasten randlos, gemessen */
.event__slash { font-size: .5em; color: var(--c-muted); margin-inline: .04em; }
.event__month--dual { font-size: clamp(24px, 3.2vw, 44px); }
.event__body {
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--c-primary);
  border-radius: var(--r-card);
  display: grid;
  gap: var(--s-3);
  align-content: center;
}
.event__title { padding-bottom: 14px; border-bottom: 1px solid var(--c-text); max-width: 700px; }
.event__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.event__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); flex: 1 1 0; min-width: 0; } /* v1.6.13: lange Orte umbrechen in der Meta-Zeile, Button bleibt rechts */
.event__foot > .btn { flex: 0 0 auto; margin-left: auto; }
.event__meta li { display: flex; align-items: center; gap: 8px; }
.event__meta .icon { color: var(--c-primary); font-size: 18px; }

/* m15 Galerie / Tabs / Lightbox -------------------------------------------------- */
/* Tab-Leiste wie die Live-Galerie (Entscheidung 46): zentrierte Reihe, Poppins 20/400, 7px 14px, Unterstrich-Pointer von 0 auf 100 % */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--s-4); } /* margin-top v1.5.1 (N4): sichtbare H2 "Vergangene Events" darueber */
.tab {
  position: relative;
  padding: 7px 14px;
  font-family: var(--f-label);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1.15px;
  color: var(--c-text);
  transition: color var(--dur);
}
.tab::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tab:hover::after, .tab:focus-visible::after { transform: scaleX(1); }
.tab[aria-selected="true"] { color: var(--c-primary-text); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
/* Ab 1024 px EINE Reihe (v1.2.2, Reviewer 2b: 7 + 1 Waise bei 1024 und 1440): 8 Labels „SAP 03/2026“ brauchen bei 20 px 1364 px, der Container hat 1200.
   Deshalb fluid 16 bis 18 px (1,2vw), Spacing .06em (= 1,15 px bei 20 px), 6px 10px, Gap 6; passt ab ca. 1180 px ohne Scroll, darunter scrollt die Reihe wie mobil (safe center: zentriert, bei Ueberlauf linksbuendig). */
@media (min-width: 1024px) {
  .tabs { flex-wrap: nowrap; justify-content: safe center; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 2px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; font-size: clamp(16px, 1.2vw, 18px); letter-spacing: .06em; padding: 6px 10px; }
}
/* Auslauf-Fade der scrollenden Tab-Reihe (v1.2.3, Reviewer: 8. Tab zwischen 1024 und ca. 1180 px hart abgeschnitten, ohne Fade/Scrollbar).
   main.js setzt is-overflow / is-start / is-end; die Mask liegt nur an der Seite, in die noch gescrollt werden kann, deshalb bleibt der
   aktive Tab am Ende (is-end) und am Anfang (is-start) ungedimmt. Breite = Gutter + 8 px, hoechstens 56 px: der per Snap/scrollTo an
   den Gutter gezogene Tab beginnt nach dem Gutter, sein Text (Padding 10 bzw. 12 px) liegt damit immer im voll deckenden Bereich
   (390 px: Gutter 19,5 → Fade 27,5 px; 1024: 51,2 → 56 px). Unterstrich-Pointer und Snap sind davon unberuehrt. */
.tabs { --tabs-fade: min(56px, calc(var(--gutter) + 8px)); }
.tabs.is-overflow:not(.is-end) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--tabs-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--tabs-fade)), transparent); }
.tabs.is-overflow:not(.is-start) { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--tabs-fade)); mask-image: linear-gradient(to right, transparent, #000 var(--tabs-fade)); }
.tabs.is-overflow:not(.is-start):not(.is-end) { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--tabs-fade), #000 calc(100% - var(--tabs-fade)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--tabs-fade), #000 calc(100% - var(--tabs-fade)), transparent); }
.gallery { columns: 3; column-gap: 12px; margin-top: var(--s-3); }
.gallery[hidden] { display: none; }
.gallery button { position: relative; display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: var(--r-card); cursor: zoom-in; isolation: isolate; }
.gallery button::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--c-primary); transition: box-shadow .35s var(--ease); pointer-events: none; }
.gallery button:hover::after, .gallery button:focus-visible::after { box-shadow: inset 0 0 0 3px var(--c-primary); }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .94);
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-card); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 50%; color: var(--c-text); font-size: 26px; background: rgba(0,0,0,.6); transition: background-color var(--dur), color var(--dur); }
.lightbox__btn:hover { background: var(--c-primary); color: var(--c-white); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--f-label); font-size: var(--fs-small); letter-spacing: .1em; color: var(--c-muted); }

/* m16 Ueber uns: Intro, Team, Partner ---------------------------------------------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) clamp(32px, 6vw, 96px); }
.intro p { margin-top: var(--s-3); max-width: 62ch; }

.team-title { margin-left: calc(-1 * var(--gutter)); padding-left: var(--gutter); white-space: nowrap; }
.team-title--frei { white-space: normal; } /* v1.6.17: eigene Ueberschrift aus dem Portal darf umbrechen (der Standard „Unser Team“ bleibt einzeilig wie bisher) */
.panel { background: var(--c-surface); border-radius: var(--r-panel); }
.board { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); margin-top: var(--s-4); }
.pill-box {
  display: grid; place-items: center;
  min-width: 200px; min-height: 150px;
  padding: var(--s-3);
  border: 1px solid var(--c-primary);
  border-radius: var(--r-panel);
  text-align: center;
}
.board__members { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.person { text-align: center; }
.person__img { width: 140px; height: 140px; aspect-ratio: var(--ar-square); object-fit: cover; border-radius: 50%; margin: 0 auto var(--s-3); }
.person__img--lg { width: 250px; height: 250px; }
.person__name { font-family: var(--f-display); font-size: var(--fs-name); line-height: 1.05; color: var(--c-white); text-transform: uppercase; letter-spacing: 1px; }
.person__role { display: block; margin-top: 8px; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--c-muted); }
.person__role::after { content: ''; display: block; width: 40px; height: 1px; margin: 12px auto 0; background: var(--c-line); }
.team-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: center; padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 56px); margin-top: var(--s-3); }
.team-row .pill-box { min-height: 240px; max-width: 560px; width: 100%; justify-self: center; }
.team-row .person { justify-self: center; }
.team-row--flip .person { order: 2; }
.team-row--flip .pill-box { order: 1; }
.person__ressort { display: none; margin: 0 0 var(--s-3); font-family: var(--f-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-text); } /* Entscheidung 44: unter 900px statt der Ressort-Box */
@media (max-width: 899px) {
  .team-row { grid-template-columns: 1fr; padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 40px); }
  .team-row .pill-box, .board .pill-box { display: none; } /* v1.5.1 (Reviewer W2): Vorstand mobil im selben Muster wie die Ressorts (Eyebrow statt Box) */
  .team-row .person, .team-row--flip .person { order: 0; }
  .person__ressort { display: block; }
  .board .person__img, .person__img--lg { width: 200px; height: 200px; } /* alle Teamfotos unter 900 px gleich gross */
}

/* v1.6.6: Logo-Box mit fester Hoehe (2x --logo-h = Platz fuer Skala bis 2, Customizer-Maximum), Bild skaliert ueber
   max-height statt transform. Breite Logos bleiben in der Spaltenbreite (max-width 100 %), --logo-scale steuert die
   Hoehe (und unter 1 auch die Breite); nichts wird mehr abgeschnitten, alle Zeilen gleich hoch. */
.partners { --logo-h: 80px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc(var(--logo-h) * 2); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: var(--s-5); }
.partners > a, .partners > span { display: flex; align-items: center; justify-content: center; height: calc(var(--logo-h) * 2); min-width: 0; transition: transform .3s var(--ease); }
.partners > a:hover { transform: scale(1.05); }
.partners img { display: block; width: auto; height: auto; max-width: min(100%, calc(100% * var(--logo-scale, 1))); max-height: calc(var(--logo-h) * var(--logo-scale, 1)); object-fit: contain; } /* --logo-scale je Logo: optische Masse angleichen */

/* m17 Kontakt / Formular ------------------------------------------------------------ */
.contact { overflow: hidden; }
.contact__lead { margin-top: var(--s-3); max-width: 40ch; }
.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-5) clamp(32px, 6vw, 120px); align-items: start; margin-top: var(--s-5); position: relative; z-index: 1; }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-label); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .1em; color: var(--c-text); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-text);
  border-radius: 0;
  color: var(--c-white);
  transition: border-color var(--dur);
}
.field input:not([type=checkbox]):focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-primary); box-shadow: 0 1px 0 0 var(--c-primary); } /* 2px sichtbare Fokuslinie */
.field--check input:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 4px; }
.field textarea { min-height: 140px; resize: vertical; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 8px; accent-color: var(--c-primary); }
.field--check label { font-family: var(--f-body); font-size: var(--fs-body); text-transform: none; letter-spacing: .35px; line-height: 1.6; }
.field--check label a { color: var(--c-secondary); border-bottom: 1px solid var(--c-primary); transition: color var(--dur); } /* v1.5.1 (Reviewer M1): Datenschutz-Link als Link erkennbar, Muster .legal-body a */
.field--check label a:hover { color: var(--c-white); }
.form__note { display: none; padding: var(--s-2) var(--s-3); border: 1px solid var(--c-primary); border-radius: var(--r-card); }
.form__note.is-visible { display: block; }
.contact__info { display: grid; gap: var(--s-4); padding-top: var(--s-2); }
.info { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.info .icon { font-size: 36px; color: var(--c-primary); stroke-width: 1.3; }
.info p { margin-top: 6px; }
.info a { color: var(--c-secondary); border-bottom: 1px solid var(--c-primary); transition: color var(--dur); } /* v1.5.1 (Reviewer M1): mailto-Adresse im gleichen Link-Muster */
.info a:hover { color: var(--c-white); }

/* m18 FAQ --------------------------------------------------------------------------- */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) clamp(32px, 5vw, 80px); margin-top: var(--s-5); }
.faq-group__title { margin-bottom: var(--s-3); }
.faq { border-top: 1px solid var(--c-line-soft); }
.faq__h { margin: 0; font: inherit; color: inherit; text-transform: none; letter-spacing: normal; line-height: inherit; } /* v1.5.1 (N2): Heading-Huelle um den Button, optisch neutral */
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: 20px 0;
  text-align: left;
  border-bottom: 1px solid var(--c-line-soft);
  transition: color var(--dur);
}
.faq__q:hover, .faq__q[aria-expanded="true"] { color: var(--c-secondary); }
.faq__q .icon { font-size: 22px; color: var(--c-primary); transition: transform .35s var(--ease); }
.faq__q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul { color: var(--c-muted); padding: 4px 0 20px; }
.faq__a ul { display: grid; gap: 6px; padding-top: 0; }
.faq__a li { padding-left: 18px; position: relative; }
.faq__a li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--c-primary); }
.faq__a a { color: var(--c-text); border-bottom: 1px solid var(--c-primary); }
.faq__a.is-open { grid-template-rows: 1fr; } /* v1.5.1 (N2): Panel wird per aria-controls geoeffnet (main.js), nicht mehr per Nachbar-Selektor */

/* m19 Werde Mitglied ---------------------------------------------------------------- */
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.pill {
  display: grid; place-items: center;
  padding: 22px 28px;
  background: var(--c-surface-2);
  border-radius: var(--r-pill);
  text-align: center;
  color: var(--c-text);
}
.statement { display: grid; gap: var(--s-2); margin-top: var(--s-5); text-align: center; }
.statement__lead { font-family: var(--f-display); font-size: var(--fs-label); letter-spacing: .05em; text-transform: uppercase; color: var(--c-text); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) clamp(32px, 6vw, 96px); margin-top: var(--s-5); }
.benefit { text-align: center; padding: var(--s-4) var(--s-3); border-radius: var(--r-card); }
.benefit__title { color: var(--c-white); }
.benefit__title::after { content: ''; display: block; width: min(100%, 360px); height: 1px; margin: 18px auto 0; background: var(--c-text); }
.benefit p { margin-top: var(--s-3); max-width: 46ch; margin-inline: auto; }
.benefit--highlight { border: 1px solid var(--c-primary); background: var(--c-surface); }
.benefit--highlight .benefit__title { color: var(--c-primary); }
.benefit--highlight .benefit__title::after { background: var(--c-primary); }
.cta-band { text-align: center; }
.cta-band .btn { margin-top: var(--s-4); }

/* m20 Motion + Responsive ---------------------------------------------------------- */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; }

@media (max-width: 1280px) {
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }
}

@media (max-width: 1100px) {
  .social-rail { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__cta { grid-column: 1 / -1; justify-self: start; }
}

/* Footer Tablet (v1.2.2): Button direkt unter die Rechtslinks in die rechte Spalte statt als eigene Zeile; die Hauptlinks spannen links ueber beide Zeilen, Spalten oben buendig */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__grid { align-items: start; }
  .footer__grid > ul:first-of-type { grid-column: 1; grid-row: 2 / span 2; }
  .footer__grid > ul:last-of-type { grid-column: 2; grid-row: 2; }
  .footer__cta { grid-column: 2; grid-row: 3; }
}

@media (max-width: 1023px) {
  :root { --header-h: 80px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; justify-self: end; }
  .header__inner { grid-template-columns: auto 1fr; }
  .header__logo img { width: 60px; height: 60px; }
  .slider { --spv: 2; }
  .teaser__grid, .member__grid, .intro, .contact__grid, .faq-groups, .benefits { grid-template-columns: 1fr; }
  .teaser__grid { grid-template-areas: "main" "figure" "cta"; }
  .teaser__figure { max-width: 640px; }
  .board { grid-template-columns: 1fr; justify-items: center; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__media { width: 100%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.84) 42%, rgba(0,0,0,0) 62%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.5)); } /* v1.5.2 (W-A): Boden hinter dem Titel, Basis-Verlauf leichter (vorher .35 bis .75) */
  .pills { grid-template-columns: 1fr; }
  .deco { display: none; }
  .team-title { white-space: normal; }
  .event__month { color: var(--c-primary-text); } /* v1.5.2 (Reviewer W-B): unter 1024 px ist der Monat kleiner als 24 px, #A66BDB = 5,75:1 auf #000 (Primaer 4,07:1) */
}

@media (max-width: 767px) {
  :root { --fs-body: 18px; }
  .partners { --logo-h: 60px; } /* v1.6.6: Logo-Box mobil 120 px (2 Spalten) */
  .slider { --spv: 1; }
  /* Event-Karten bleiben zweispaltig (Entscheidung 43): Datumsbox ca. 30 %, Inhaltskarte rechts */
  .events { gap: var(--s-2); grid-auto-rows: auto; } /* mobil folgt jede Karte ihrem Inhalt (sonst leere Flaeche in der kuerzeren Karte) */
  .event { grid-template-columns: 30% minmax(0, 1fr); gap: 10px; }
  .event__date { padding: var(--s-2) 6px; }
  .event__day { font-size: clamp(40px, 12vw, 56px); }
  .event__month { font-size: clamp(20px, 5.6vw, 28px); margin-top: 6px; }
  .event__date--range { padding-inline: 4px; }
  .event__date--range .event__day { font-size: clamp(26px, 7.6vw, 36px); } /* 0,63 x Einzeldatum wie Desktop (390: 29,6 px statt 27,3; 0,7 = 33,5 px stiess im 105er-Kasten fast an den Rand) */
  .event__month--dual { font-size: clamp(14px, 4vw, 20px); }
  /* v1.6.1 (Entscheidung 75): mobil zwei kleinere Flaechen je Sektion (Primaer-Kern + Dunkellila, Hoehe hoechstens 60 bzw. 70 % der Sektion,
     damit kurze Sektionen wie Social/Countdown ihre Ueberschrift frei lassen), kein Glanz, Motiv auf 70 % der Breite skaliert */
  .section.section.section { --gs1: min(680px, 100%) min(560px, 60%); --ga1: .4; --gs2: min(760px, 100%) min(640px, 70%); --ga2: .5; --ga3: 0; --ps: 70% auto; }
  .section:not(.band):not(.lineup):not(.countdown--bg)::before { top: -80px; bottom: -80px; }
  /* v1.6.0 (Entscheidung 70d): Karte kompakt wie auf der Live-Seite. Beschreibung 14 px / 1,45 statt 18 px / 1,75 (Body), Titel 18 px,
     Meta 13 px, Innenabstaende und Button eine Stufe kleiner; die Karte folgt dem Inhalt statt gestreckt zu wirken. Datums-Token unveraendert. */
  .event__body { padding: 16px 14px; gap: 12px; }
  .event__title { padding-bottom: 10px; font-size: 18px; }
  .event__text { font-size: 14px; line-height: 1.45; letter-spacing: .2px; }
  .event__foot { gap: 12px; }
  .event__meta { gap: 6px var(--s-3); font-size: 13px; letter-spacing: .08em; line-height: 1.5; }
  .event__meta .icon { font-size: 16px; }
  .event__foot .btn { width: 100%; min-height: 48px; padding: 12px 20px; font-size: 15px; }
  /* Tabs mobil als EINE scrollbare Reihe mit Snap (Sichtpruefung: 8 gleich lange Labels wirken umgebrochen wie ein Zwei-Spalten-Raster) */
  .tabs { flex-wrap: nowrap; justify-content: flex-start; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; font-size: 16px; padding: 10px 12px; } /* v1.5.2 (Reviewer N-5): 44 px Touchziel (16 px Schrift x 1,5 + 2 x 10) statt 36 */
  .gallery { columns: 2; }
  .facts { grid-template-columns: 1fr; }
  .board__members { grid-template-columns: 1fr; }
  .social-tiles { gap: var(--s-2); }
  .social-tile { width: 88px; height: 88px; font-size: 44px; }
  .footer__grid { grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-3) var(--s-3); align-items: start; }
  .footer__brand { flex-direction: row; }
  .footer__brand img { width: 72px; height: 72px; }
  .footer__links { font-size: 13px; letter-spacing: .06em; }
  .footer__links a, .footer__links .footer__consent { min-height: 36px; white-space: nowrap; }
  .footer__cta { width: auto; }
  .footer__bottom { margin-top: var(--s-2); }
  .hero--home { min-height: 560px; }
  .hero__cta .btn { width: 100%; }
  .countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .countdown__item { min-width: 0; }
  .countdown__num { font-size: clamp(40px, 11vw, 56px); letter-spacing: 1px; }
  .countdown__label { font-size: 13px; letter-spacing: .08em; }
  .btn { padding: 16px 28px; font-size: 16px; }
}

/* v1.5.2 (Reviewer W-D): Reflow bis 320 px. Bis 374 px Schriftgroessen der breitesten Einzelwoerter kappen ("MITGLIED", "KONTAKT",
   "MITGLIEDSCHAFT", Menue "WERDE MITGLIED"), unter 360 px Innenabstaende 16 auf 12 px. 390 px bleibt exakt wie bisher. */
@media (max-width: 374px) {
  :root { --fs-display: clamp(44px, 16.4vw, 64px); }
  .faq-group__title { font-size: clamp(24px, 8.5vw, 32px); }
  .menu__link { font-size: clamp(28px, 9vw, 36px); }
  .faq-groups { grid-template-columns: minmax(0, 1fr); }
  .faq-group, .faq__q { min-width: 0; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event, .event__body, .event__foot, .event__meta { min-width: 0; }
  .event__foot .btn { padding-inline: 16px; }
  .footer__links, .footer__links li { min-width: 0; }
  .footer__links a, .footer__links .footer__consent { white-space: normal; flex-wrap: wrap; letter-spacing: .03em; }
  .legal-body h2, .legal-body h3, .legal-body h4, .legal-body a { overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  .menu { padding-inline: 12px; }
  .menu__close { right: 12px; }
  .faq__q { gap: var(--s-2); padding: 16px 0; }
  .faq__a p, .faq__a ul { padding-bottom: 16px; }
  .footer__grid { gap: var(--s-2) 12px; }
  .event__body { padding: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; }
  .countdown__bg img, .lineup__bg img { transform: none; height: 100%; }
}

/* m21 WordPress-Ergaenzungen: Rechtsseiten, 404, Formular-Honeypot, Admin-Bar --------- */
.form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form__note.is-error { border-color: var(--c-secondary); }
.fact__value { white-space: normal; }
@media (min-width: 768px) { .fact__value { white-space: nowrap; } }
.teaser__grid--nofig { grid-template-columns: 1fr; grid-template-areas: "main" "cta"; }
.countdown__fallback { margin-top: var(--s-4); margin-inline: auto; max-width: 42ch; }

/* Rechtsseiten (Entscheidung 29): sticky Inhaltsverzeichnis links, Inhalt rechts. Anker/IDs entstehen in inc/legal.php. */
/* H1 mobil (v1.2.2): „Datenschutzerklärung“ ist laenger als 375 px. Trennstelle kommt als &shy; aus page-legal.php (hyphens: auto trennte in Chrome „Datenschutzer-klaerung“), overflow-wrap als Notbruch; unter 400 px eine Stufe kleiner als --fs-h2 */
.legal__title { margin-bottom: var(--s-5); font-size: min(var(--fs-h2), 8vw); overflow-wrap: anywhere; hyphens: manual; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-grid--single { grid-template-columns: minmax(0, 1fr); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc__box { background: var(--c-surface); border: 1px solid var(--c-line-soft); border-radius: var(--r-card); padding: 22px 20px; }
.legal-toc__title {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  font-family: var(--f-label); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); list-style: none; cursor: default; margin-bottom: 12px;
}
.legal-toc__title::-webkit-details-marker { display: none; }
.legal-toc__chev { display: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.legal-toc__list { counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal-toc__list li { counter-increment: toc; }
.legal-toc__list a {
  display: flex; gap: 11px; align-items: baseline; padding: 8px 10px; border-radius: 9px;
  font-family: var(--f-label); font-size: 14px; line-height: 1.35; letter-spacing: 0; color: var(--c-text);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.legal-toc__list a::before { content: counter(toc); flex: none; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--c-primary-text); } /* 5.42:1 auf #0a0a0a (AA) */
.legal-toc__list a:hover, .legal-toc__list a:focus-visible { background: rgba(255, 255, 255, .06); color: var(--c-primary-text); }
.legal-toc__list a.is-active { background: rgba(143, 77, 201, .14); color: var(--c-primary-text); }
.legal-toc__list a:focus-visible { outline-offset: 0; }

.legal-body { max-width: 74ch; font-size: 18px; line-height: 1.7; }
.legal-part--lead { font-size: 20px; line-height: 1.6; color: var(--c-white); }
.legal-body h2, .legal-body h3, .legal-body h4 { line-height: 1.15; letter-spacing: .5px; }
.legal-body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: var(--s-5) 0 var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--c-line-soft); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body > .legal-part:first-child > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: clamp(20px, 2vw, 24px); margin: var(--s-4) 0 var(--s-2); color: var(--c-white); font-family: var(--f-label); font-weight: 800; text-transform: none; letter-spacing: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h4 { font-size: 18px; margin: var(--s-3) 0 var(--s-1); color: var(--c-text); font-family: var(--f-label); font-weight: 600; text-transform: none; letter-spacing: 0; }
.legal-body p { margin: 0 0 var(--s-3); }
.legal-body ul, .legal-body ol { margin: 0 0 var(--s-3); padding-left: 22px; list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--c-secondary); border-bottom: 1px solid var(--c-primary); word-break: break-word; }
.legal-body a:hover { color: var(--c-white); }
.legal-body strong { color: var(--c-white); }
.legal-body table { width: 100%; border-collapse: collapse; margin-bottom: var(--s-3); }
.legal-body td, .legal-body th { padding: 8px 10px; border: 1px solid var(--c-line-soft); text-align: left; vertical-align: top; }

@media (max-width: 899px) {
  .legal__title { margin-bottom: var(--s-4); }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .legal-toc { position: static; }
  .legal-toc__box { padding: 16px 18px; }
  .legal-toc__title { cursor: pointer; margin-bottom: 0; padding: 2px 0; }
  .legal-toc__box[open] .legal-toc__title { margin-bottom: 12px; }
  .legal-toc__chev { display: block; }
  .legal-toc__box[open] .legal-toc__chev { transform: rotate(225deg) translateY(-3px); }
  .legal-toc__list a { padding: 10px; min-height: 44px; align-items: center; }
  .legal-body h2 { margin-top: var(--s-4); padding-top: var(--s-3); }
}

.error404 { min-height: calc(var(--vph, 100svh) - var(--header-h)); display: grid; align-items: center; overflow: hidden; }
.error404__text { margin-top: var(--s-4); max-width: 52ch; }
.error404__cta { margin-top: var(--s-4); }
@media (max-width: 480px) { .error404 h1 { font-size: clamp(40px, 13vw, 64px); } } /* "Party woanders" passt bei 375/390 px */

/* Eingeloggt: WordPress-Admin-Bar (32px, mobil 46px) unter dem Sticky-Header beruecksichtigen */
body.admin-bar .header { top: 32px; }
body.admin-bar .menu { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header, body.admin-bar .menu { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header { top: 0; } }

/* m22 Custom Cursor (v1.6.8, Entscheidung 87, wie Korni-Beispiel, nur Desktop/Feinzeiger) ----------
   main.js legt .cursor-dot und .cursor-ring nur bei (hover: hover) and (pointer: fine) an und setzt html.has-cursor erst
   nach der ersten Mausbewegung; html.cursor-on blendet ein (weg beim Verlassen des Dokuments und ueber iframes),
   html.cursor-text blendet in Eingabefeldern aus (dort der native Text-Cursor). Position nur per transform (main.js),
   kein mix-blend-mode, z-index ueber Lightbox (80) und Complianz-Banner. */
:root {
  --cursor-dot: #A66BDB;
  --cursor-ring: rgba(143, 77, 201, .6);
  --cursor-ring-hover: #A66BDB;
  --cursor-fill-hover: rgba(143, 77, 201, .16);
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 2147483000; pointer-events: none;
  border-radius: 50%; opacity: 0; will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--cursor-dot); transition: opacity .25s var(--ease); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid var(--cursor-ring); background: transparent;
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), opacity .25s var(--ease);
}
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--cursor-ring-hover); background: var(--cursor-fill-hover); }
/* v1.6.10: Farbwechsel je Untergrund (main.js setzt die Klassen per pointerover). Kontraste gegen den hellsten Stop:
   cursor-light auf dem Band (#64269A bis Glanz #9757CD): Punkt/Hover-Ring #FFF 4,60:1, Ring 70 % Weiss 3,10:1;
   cursor-pale auf .btn--light-Hover (#FFF) 5,16:1 und .social-tile-Hover (#F4C7FF) 3,55:1. Nur Farben, keine Transition-Aenderung. */
html.cursor-light {
  --cursor-dot: #fff;
  --cursor-ring: rgba(255, 255, 255, .7);
  --cursor-ring-hover: #fff;
  --cursor-fill-hover: rgba(255, 255, 255, .14);
}
html.cursor-pale {
  --cursor-dot: var(--c-primary);
  --cursor-ring: var(--c-primary);
  --cursor-ring-hover: var(--c-primary);
  --cursor-fill-hover: rgba(143, 77, 201, .12);
}
html.cursor-on .cursor-dot, html.cursor-on .cursor-ring { opacity: 1; }
html.cursor-on.cursor-text .cursor-dot, html.cursor-on.cursor-text .cursor-ring { opacity: 0; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input, textarea, select, [contenteditable]:not([contenteditable=false]), [contenteditable]:not([contenteditable=false]) *) { cursor: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .cursor-ring { transition: opacity .25s var(--ease); }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}
/* v1.6.20: Rahmen fuer den Bildausschnitt mit Zoom (sl_bild() focus => true, fwn.manage 1.17): schneidet das vergroesserte Bild ab */
.sl-clip { display: block; overflow: hidden; border-radius: var(--r-card); }
.sl-clip > img { display: block; }
