/* CSC Stadtwald e.V. — redesign v3 (2026-11-09), from the client's MarkLayer notes: sober, urban, logo-led.
   No illustrations or icons except UI glyphs; the club logo carries the identity. Palette and type come from the logo:
   slate #485557 + green #5CC751; display face Anton (close to the "STADTWALD" lettering, interim until the logo designer
   names the original), labels Montserrat ExtraBold (matches "CANNABIS SOCIAL CLUB"), body Figtree. Motion: assets/js/fx.js. */

@font-face { font-family: "Anton"; src: url(../fonts/anton-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin.woff2) format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --concrete: #ECECE7; --surface: #FFFFFF; --slate: #485557; --slate-d: #2F3839; --slate-dd: #232A2B;
  --green: #5CC751; --green-ink: #2E7426;
  --paper: var(--concrete); --paper-sage: #E2E8DF; --notice-bg: #FBEFD9;
  --ink: #232A2B; --ink-soft: #3E4A4C; --ink-muted: #586466;
  --leaf-ink: var(--green-ink); --leaf-ink-hover: #1F5A19; --rust: #9A4F1C; --error: #A63A2B;
  --rule: #D3D5CF; --rule-control: #7E8A8C; --line-dark: rgb(255 255 255 / .16);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-label: "Montserrat", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.75rem, 1.4rem + 4.6vw, 6rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.1vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-small: .875rem;
  --measure: 66ch;

  --section-y: clamp(64px, 3rem + 5vw, 144px);
  --gutter: clamp(20px, 4vw, 48px);
  --r: 6px; --r-input: 6px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(35 42 43 / .06), 0 8px 24px -16px rgb(35 42 43 / .3);
  --shadow-2: 0 2px 4px rgb(35 42 43 / .08), 0 24px 48px -24px rgb(35 42 43 / .45);

  --z-header: 1000; --z-bubble: 1200; --z-cookie: 1400; --z-skip: 1600;
  --header-h: 68px;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --grid: linear-gradient(rgb(72 85 87 / .07) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, rgb(72 85 87 / .07) 1px, transparent 1px) 0 0 / 72px 72px;
}
@media (min-width: 1024px) { :root { --header-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); font-synthesis: none; }
img, svg { display: block; max-width: 100%; }
h1, h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--slate-dd); line-height: 1; letter-spacing: .005em; margin: 0 0 .45em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h3 { font: 800 var(--fs-h3)/1.25 var(--font-label); color: var(--slate-dd); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
.h2--small { font-size: var(--fs-h3); }
p, li, dd { text-wrap: pretty; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 58ch; }
::selection { background: var(--green); color: var(--slate-dd); }
.fineprint { font-size: var(--fs-small); color: var(--ink-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--slate-dd); outline-offset: 3px; }
main:focus { outline: none; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: var(--z-skip); background: var(--surface); color: var(--ink); padding: 12px 16px; border: 2px solid var(--ink); border-radius: var(--r); font-weight: 600; }
.skip-link:focus { top: 12px; }
.link { color: var(--leaf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .18s; }
.link:hover { color: var(--leaf-ink-hover); }
.link .icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; margin-left: .2em; }
.link--more { display: inline-flex; align-items: center; gap: .45em; font: 700 .9375rem/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--slate-dd); border-bottom: 2px solid var(--green); padding-bottom: 4px; }
.link--more:hover { color: var(--green-ink); }
.link--more .icon { margin: 0; transition: transform .3s var(--ease-expo); }
.link--more:hover .icon { transform: translateX(4px); }
.linkrow { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 700 .8125rem/1.2 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--green); }
.pulse { display: inline-flex; align-items: center; gap: 12px; font: 600 var(--fs-small)/1.4 var(--font-body); color: var(--ink-soft); margin: 0; }
.pulse::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 rgb(92 199 81 / .6); }
@media (prefers-reduced-motion: no-preference) { .pulse::before { animation: pulse 2.2s ease-out infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgb(92 199 81 / 0); } 100% { box-shadow: 0 0 0 0 rgb(92 199 81 / 0); } }

/* ---------- buttons: square-cut, the arrow carries the motion ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r);
  font: 700 .9375rem/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; white-space: nowrap; color: var(--slate-dd); background: transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease-expo); }
.btn:hover .icon { transform: translateX(5px); }
.btn--primary { background: var(--green); color: var(--slate-dd); }
.btn--primary:hover { background: var(--slate-dd); color: #fff; }
.btn--outline, .btn--secondary { border-color: var(--slate-dd); background: transparent; }
.btn--outline:hover, .btn--secondary:hover { background: var(--slate-dd); color: #fff; }
.btn--secondary { background: var(--surface); }
.btn--dark { background: var(--slate-dd); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--slate-dd); }
.btn--compact { min-height: 44px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.linkbtn { text-align: left; background: none; border: 0; padding: 0; font: inherit; color: var(--leaf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); color: var(--ink); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, transform .45s var(--ease-expo); }
.site-header.is-solid { background: rgb(236 236 231 / .88); border-bottom-color: var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 42px; } }
.menu-sheet .brand img { height: 46px; } /* a touch larger in the open mobile menu (client 2026-11-13) */
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 0; color: inherit; text-decoration: none; font: 700 .8125rem/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-expo); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 2px solid var(--slate-dd); border-radius: var(--r); background: var(--surface); color: var(--slate-dd); cursor: pointer; flex: none; }
.menu-toggle .icon { width: 24px; height: 24px; }
@media (max-width: 1119.98px) { .nav { display: none; } .menu-toggle { display: inline-flex; } .header-cta { margin-left: auto; } }
@media (max-width: 479.98px) { .header-cta { display: none; } .menu-toggle { margin-left: auto; } }
.menu-sheet { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(440px, 100vw); border: 0; padding: 0 var(--gutter) 32px; background: var(--slate-dd); color: #fff; }
.menu-sheet::backdrop { background: rgb(35 42 43 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu-sheet[open] { display: flex; flex-direction: column; animation: sheet-in .45s var(--ease-expo); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.menu-sheet__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-sheet .menu-toggle { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
.menu-sheet ul { list-style: none; margin: 24px 0 32px; padding: 0; }
.menu-sheet li a { display: flex; align-items: center; min-height: 64px; font: 400 2.25rem/1 var(--font-display); text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.menu-sheet[open] li { animation: rise-in .5s var(--ease-expo) backwards; }
.menu-sheet[open] li:nth-child(2) { animation-delay: .04s; } .menu-sheet[open] li:nth-child(3) { animation-delay: .08s; } .menu-sheet[open] li:nth-child(4) { animation-delay: .12s; } .menu-sheet[open] li:nth-child(5) { animation-delay: .16s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
.menu-sheet li a[aria-current="page"] { color: var(--green); }
.menu-sheet .btn--block { margin-top: auto; }
html.is-locked { overflow: hidden; }

/* ---------- entrance (fx.js adds html.fx on start and html.fx-in once the age gate is answered) ---------- */
.fx .rise { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.fx-in .rise { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease-expo) var(--d, 0s), transform 1.2s var(--ease-expo) var(--d, 0s), filter 1s var(--ease-expo) var(--d, 0s); }
.fx .hand-note--write { clip-path: inset(-10% 100% -10% 0); }
.fx-in .hand-note--write { clip-path: inset(-10% -4% -10% 0); transition: clip-path 1.3s cubic-bezier(.6, 0, .2, 1) .1s; }
/* split headings: words mask-rise (chars on the home title); words with a soft hyphen only fade, so they can still break */
[data-split] .w { display: inline-block; overflow: clip; overflow-clip-margin: .08em; vertical-align: top; padding-top: .2em; margin-top: -.2em; } /* room above caps for umlaut dots (Ä in PRÄVENTION was clipped); bottom clip unchanged for the rise-in */
[data-split] .c { display: inline-block; }
.fx [data-split] .c, .fx [data-split] .wi { transform: translateY(105%); }
.fx [data-split] .ws { opacity: 0; filter: blur(10px); }
.fx-in [data-split]:not([data-split-scroll]) .c, .fx-in [data-split]:not([data-split-scroll]) .wi, .fx [data-split-scroll].is-in .c, .fx [data-split-scroll].is-in .wi { transform: none; transition: transform 1.1s var(--ease-expo) calc(var(--d0, .15s) + var(--ci, 0) * 32ms); }
.fx-in [data-split]:not([data-split-scroll]) .ws, .fx [data-split-scroll].is-in .ws { opacity: 1; filter: none; transition: opacity 1s var(--ease-expo) calc(var(--d0, .15s) + var(--ci, 0) * 32ms), filter 1s var(--ease-expo) calc(var(--d0, .15s) + var(--ci, 0) * 32ms); }
.wi { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .fx .rise, .fx [data-split] .c, .fx [data-split] .wi, .fx [data-split] .ws, .fx .hand-note--write { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; scale: none !important; translate: none !important; } }

/* page-to-page: cross-document view transition (Chromium; other browsers just navigate) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .5s var(--ease-expo) both; }
  ::view-transition-new(root) { animation: vt-in .8s var(--ease-expo) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(32px); } }

/* ---------- section reveal (motion S1); armed only under html.js, failsafe class after 3s if JS died ---------- */
.js:not(.no-reveal) [data-reveal] {
  opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity .9s var(--ease-expo), transform 1.1s var(--ease-expo), filter .9s var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* a negative horizontal inset on a full-width .wrap counts as scrollable overflow (measured +4px at 390); only inset cards get room for their shadow */
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } }


.fx .hero__logo { opacity: 0; scale: 1.06; filter: blur(12px); }
.fx-in .hero__logo { opacity: var(--lo, 1); scale: 1; filter: blur(var(--lb, 0px)); transition: opacity 1.2s var(--ease-expo), scale 1.6s var(--ease-expo), filter 1.2s var(--ease-expo); }
.fx-in.is-scrolling .hero__logo { transition: none; }
.fx .hero__bar { opacity: 0; translate: 0 16px; }
.fx-in .hero__bar { opacity: calc(1 - var(--p, 0) * 3); translate: 0 0; transition: opacity .9s var(--ease-expo) .6s, translate .9s var(--ease-expo) .6s; }
.fx-in.is-scrolling .hero__bar { transition: none; }
@media (prefers-reduced-motion: reduce) { .fx .hero__logo, .fx .hero__bar { opacity: 1 !important; scale: none !important; filter: none !important; translate: none !important; } }

/* ---------- layout ---------- */
.wrap { --wmax: 960px; max-width: var(--wmax); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { --wmax: 1320px; }
.prose > * { max-width: var(--measure); }
.prose:not(.legal) > p, .prose > .band { max-width: 54rem; } /* body text as wide as the section headings (client 2026-11-13) */
.section { padding-block: calc(var(--section-y) / 2) calc(var(--section-y) / 2 + 8px); }
.section + .section { padding-top: calc(var(--section-y) / 3); }
.section__title { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.75rem); line-height: .95; margin-bottom: .4em; }

/* ---------- home hero: the logo, full screen; it recedes (scale, blur, fade) behind the content as you scroll ---------- */
.hero { position: relative; background: var(--concrete); } /* no grid pattern (client note 2026-11-13) */
.hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; z-index: 0; }
.hero__logo { width: auto; height: min(64svh, 92vw); max-width: 86vw; object-fit: contain; margin-top: calc(var(--header-h) * .5 - 36px);
  transform: scale(var(--ls, 1)); opacity: var(--lo, 1); filter: blur(var(--lb, 0px)); will-change: transform, filter, opacity; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); padding-right: max(var(--gutter), 160px); /* clear of the fixed contact bubble */ display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.hero__cue { position: absolute; left: 50%; bottom: 0; width: 2px; height: clamp(24px, 5vh, 48px); background: var(--rule); overflow: hidden; }
.hero__cue::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: translateY(-100%); }
@media (prefers-reduced-motion: no-preference) { .hero__cue::after { animation: cue 2s var(--ease-expo) infinite; } }
@keyframes cue { 60%, 100% { transform: translateY(100%); } }
@media (max-width: 639.98px) { .hero__bar { flex-direction: column; align-items: flex-start; padding-right: 88px; } .hero__bar .btn { display: none; } .hero__cue { display: none; } }
.hero__content { position: relative; z-index: 1; padding-block: clamp(24px, 6svh, 72px) clamp(80px, 14svh, 160px); } /* no negative margin: it covered the hero bar's button at load (client bug 2026-11-09) */
.hero.is-past .hero__bar { visibility: hidden; } /* faded out on scroll: must not catch clicks either */
.hero__content { container-type: inline-size; }
.hero__title { font-size: min(11rem, calc(100cqi / 7.7)); line-height: .9; margin-bottom: .3em; hyphens: manual; text-transform: none; white-space: nowrap; } /* "CSC Stadtwald e.V." in mixed case, always one line (client 2026-11-13); 7.7 = measured width/font-size (7.36) + margin */
.hero__cols { display: grid; gap: 8px 64px; align-items: end; }
@media (min-width: 900px) { .hero__cols { grid-template-columns: minmax(0, 1fr) auto; } .hero__cols .btnrow { margin: 0; } }
.hero__cols .lead { margin: 0; color: var(--ink); }

/* ---------- subpage openers: the emblem as a large watermark that recedes on scroll ---------- */
.page-intro { position: relative; overflow: hidden; background: var(--concrete); padding-block: calc(var(--header-h) + clamp(40px, 9vh, 112px)) clamp(48px, 9vh, 112px); border-bottom: 1px solid var(--rule); }
.page-intro__text { position: relative; z-index: 1; max-width: 900px; }
.page-intro__text .lead { max-width: none; } /* lets the client's first lead sentence sit on one line (Mitgliedschaft, 2026-11-13); still capped by the 900px text column */
.page-intro h1 { font-size: clamp(2.75rem, 1.2rem + 5vw, 6.5rem); line-height: .95; }
.page-intro__mark { position: absolute; z-index: 0; right: -6%; top: 50%; width: min(48vw, 620px); height: auto; opacity: calc(.1 * var(--mo, 1)); transform: translateY(calc(-50% + var(--my, 0px))) rotate(-4deg); filter: grayscale(.2) blur(var(--mb, 0px)); pointer-events: none; }
@media (max-width: 767.98px) { .page-intro__mark { width: 70vw; right: -24%; top: 40%; opacity: calc(.07 * var(--mo, 1)); } }
.page-intro--legal .page-intro__mark { display: none; }

/* ---------- home: status board (dark slate, like an information board) ---------- */
.board { background: var(--slate-dd); color: #fff; padding-block: var(--section-y) 0; overflow: hidden; }
.section + .board { padding-top: var(--section-y); }
.board h2 { color: #fff; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem); margin-top: 20px; text-wrap: wrap; }
.br-m { display: none; } @media (max-width: 767.98px) { .br-m { display: inline; } .br-d { display: none; } } /* br-m: phone-only break, br-d: desktop-only break */
.pulse-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board .lead { color: #D4D9D9; }
.board .pulse { color: #fff; }
/* region map (home status board): non-interactive Google embed + our own pins placed by Web-Mercator offset from the centre */
.region-map { margin: clamp(32px, 5vw, 56px) 0 0; }
.region-map__frame { position: relative; height: 440px; border-radius: var(--r); overflow: hidden; border-top: 4px solid var(--green); background: var(--concrete); }
.region-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.region-map__hit { position: absolute; inset: 0; } /* whole map opens Google Maps (iframe itself is inert so the pins cannot drift); caption link is the keyboard route */
.region-map__pin { position: absolute; left: calc(50% + var(--x)); top: calc(50% + var(--y)); transform: translate(-50%, -100%); pointer-events: none;
  padding: 6px 10px; margin-top: -10px; background: var(--slate-dd); color: #fff; border: 2px solid var(--green); border-radius: 6px; white-space: nowrap;
  font: 800 .8125rem/1 var(--font-label); letter-spacing: .04em; box-shadow: 0 4px 10px rgb(0 0 0 / .25); }
.region-map__pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; background: var(--green); border: 2px solid var(--slate-dd);
  border-radius: 50%; transform: translate(-50%, 4px); } /* dot = exact location, label floats above it */
.region-map figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; margin-top: 14px; color: #D4D9D9; font-size: var(--fs-small); }
.region-map figcaption .link { color: #fff; }
.board__grid { display: grid; gap: 0; margin: clamp(32px, 5vw, 64px) 0 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 768px) { .board__grid { grid-template-columns: repeat(3, 1fr); } .board__grid > div + div { border-left: 1px solid var(--line-dark); } }
.board__grid > div { padding: 28px 28px 32px 0; }
@media (min-width: 768px) { .board__grid > div + div { padding-left: 28px; } }
@media (max-width: 767.98px) { .board__grid > div + div { border-top: 1px solid var(--line-dark); } }
.board__grid dt { font: 700 .8125rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.board__grid dd { margin: 0; font-size: 1.125rem; color: #fff; max-width: 32ch; }
.board__ticker { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-dark); padding: 18px 0 22px; overflow: hidden; }
.board__track { display: flex; width: max-content; align-items: center; gap: 40px; padding-right: 40px; font: 400 clamp(3rem, 2rem + 4vw, 6.5rem)/1 var(--font-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .38); white-space: nowrap; }
.board__track i { width: 14px; height: 14px; background: var(--green); flex: none; }
@media (prefers-reduced-motion: no-preference) { .board__track { animation: ticker 40s linear infinite; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- home: who we are ---------- */
.about { padding-block: var(--section-y); }
.about__grid { display: grid; gap: 24px 72px; align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.about__lead { font: 500 clamp(1.375rem, 1rem + 1.3vw, 2.125rem)/1.35 var(--font-body); color: var(--slate-dd); letter-spacing: -.01em; max-width: 34ch; margin-bottom: 1.2em; }

/* ---------- home: membership route ---------- */
.join { background: var(--surface); padding-block: var(--section-y); }
.section + .join { padding-top: var(--section-y); }
.join__head { display: grid; gap: 0 72px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .join__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .join__head .section__title { margin: 0; } }
.route { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 32px; }
@media (min-width: 768px) { .route { grid-template-columns: repeat(3, minmax(0, max-content)); gap: 40px clamp(32px, 5vw, 72px); } } /* columns sized to their two-line text, so 01/02/03 sit closer (client 2026-11-13) */
.route li { counter-increment: r; position: relative; padding-top: 28px; }
.route li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule); }
.route li::after { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: -2px; height: 6px; width: 0; background: var(--green); font-size: 0; transition: width 1.2s var(--ease-expo) calc(var(--i, 0) * 150ms + .2s); }
.js .route li.is-in::after, html:not(.js) .route li::after, .no-reveal .route li::after { width: 100%; }
.route li p { margin: 0; font: 500 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.4 var(--font-body); color: var(--slate-dd); }
.route li p::before { content: counter(r, decimal-leading-zero); display: block; font: 400 clamp(3rem, 2rem + 3vw, 5rem)/1 var(--font-display); color: var(--green); margin-bottom: 14px; }
.join__foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--rule); }
.join__foot .fineprint { margin: 0 0 4px; }

/* ---------- panels (Jugendschutz / Prävention) ---------- */
.duo { display: grid; gap: 20px; }
@media (min-width: 768px) { .duo { grid-template-columns: 1fr 1fr; gap: 24px; } }
.panel { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(28px, 3.5vw, 48px); background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: background-color .35s, color .35s, transform .35s var(--ease-out), box-shadow .35s; }
.panel h3 { font: 400 clamp(2rem, 1.4rem + 1.8vw, 3rem)/1 var(--font-display); text-transform: uppercase; color: inherit; margin-bottom: .5em; }
.panel p { color: var(--ink-soft); transition: color .35s; max-width: 46ch; }
.panel__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font: 700 .875rem/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .06em; color: var(--green-ink); }
.panel__more .icon { width: 20px; height: 20px; transition: transform .35s var(--ease-expo); }
.panel:hover { background: var(--slate-dd); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-2); }
.panel:hover p { color: #D4D9D9; }
.panel:hover .panel__more { color: var(--green); }
.panel:hover .panel__more .icon { transform: translateX(6px); }
.js .panel[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ---------- ask: brand-green band ---------- */
.ask { background: var(--green); padding-block: var(--section-y); }
.section + .ask { padding-top: var(--section-y); }
.ask__grid { display: grid; gap: 16px 72px; align-items: end; container-type: inline-size; }
@media (min-width: 900px) { .ask__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.ask__title { font-size: clamp(3rem, 1.2rem + 6vw, 8rem); line-height: .92; color: var(--slate-dd); margin: 0; }
.ask__body p { color: var(--slate-dd); }
.ask .btn--outline:hover { background: var(--slate-dd); }
.btn[href^="mailto:"] { text-transform: none; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; } /* an e-mail address must stay readable and may wrap on phones */

/* ---------- subpage blocks ---------- */
/* Verein: locations with consent-gated Google Maps */
.locations__head { margin-bottom: 32px; } /* same centred column as the prose sections above (client 2026-11-21) */
.maps { display: grid; gap: 20px; }
@media (min-width: 768px) { .maps { grid-template-columns: 1fr 1fr; gap: 24px; } }
.map { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--green); border-radius: var(--r); overflow: hidden; }
.map__frame { position: relative; aspect-ratio: 4 / 3; background: var(--grid), var(--concrete); display: grid; place-items: center; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 20px; }
.map__town { font: 800 1.125rem/1.2 var(--font-label); color: var(--slate-dd); }
.map__state { font-size: var(--fs-small); color: var(--ink-muted); }
.map figcaption .link { margin-left: auto; font-size: .9375rem; }

.band { background: var(--surface); border-left: 4px solid var(--green); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); }
.status { display: grid; gap: 24px; }
.facts { margin: 24px 0 0; display: grid; gap: 0; }
.facts > div { padding: 14px 0; border-top: 1px solid var(--rule); }
.facts dt { font: 700 .8125rem/1.2 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 4px; }
.facts dd { margin: 0; }
.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 16px 0 20px; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 64px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 400 2rem/1 var(--font-display); color: var(--green-ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding: 4px 0 8px 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 14px; height: 8px; border-left: 2.5px solid var(--green-ink); border-bottom: 2.5px solid var(--green-ink); transform: rotate(-45deg); }
.card { background: var(--surface); border-radius: var(--r); padding: 28px 32px; border: 1px solid var(--rule); }
.person__name { font: 800 1.25rem/1.2 var(--font-label); color: var(--slate-dd); margin-bottom: 4px; }
.closing { text-align: left; }
.prose h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }

/* notices (unresolved client input) */
.notice { display: flex; gap: 12px; background: var(--notice-bg); border-left: 4px solid var(--rust); border-radius: var(--r-input); padding: 14px 16px; margin: 0 0 1.25em; color: var(--ink); }
.notice .icon { width: 22px; height: 22px; color: var(--rust); flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice__label { font-weight: 600; color: var(--rust); }
.legal h2 { font: 800 1.125rem/1.3 var(--font-label); text-transform: none; letter-spacing: 0; margin-top: 1.8em; color: var(--slate-dd); }
.legal > :first-child { margin-top: 0; }

/* ---------- Cannanas embed (consent-gated) ---------- */
/* QA m6: reserve height only once loading starts (measured iframe: 583px at 1440, 790px at 390, 858px at 320) */
.embed.is-loaded .embed__slot { min-height: 600px; }
@media (max-width: 767.98px) { .embed.is-loaded .embed__slot { min-height: 800px; } }
.embed__error { background: var(--notice-bg); border-left: 4px solid var(--rust); border-radius: var(--r-input); padding: 12px 16px; }
.embed__fallback { margin-top: 16px; }

/* ---------- forms ---------- */
.contact-grid { display: grid; gap: 32px; max-width: 1040px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.form { padding: clamp(20px, 3vw, 32px); }
.field { margin-bottom: 18px; }
.field label:not(.check) { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field input:not([type=checkbox]), .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--rule-control); border-radius: var(--r-input); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: var(--fs-small); margin: 6px 0 0; }
.field__error .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 4px 0; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--rule-control); border-radius: 4px; background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--green); border-color: var(--slate-dd); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--slate-dd); border-bottom: 2.5px solid var(--slate-dd); transform: translateY(-1px) rotate(-45deg); }
.check input:disabled { opacity: .7; cursor: default; }
.ways { list-style: none; padding: 0; margin: 0; }
.ways li { display: flex; gap: 12px; align-items: center; }
.ways .icon { width: 22px; height: 22px; flex: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate-dd); color: #C9CFCF; padding: clamp(56px, 7vw, 96px) 0 0; overflow: hidden; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.footer-col a, .footer-col .linkbtn { color: #fff; display: inline-block; padding: 6px 0; text-decoration: none; background: linear-gradient(var(--green), var(--green)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-expo); }
.footer-col a:hover, .footer-col .linkbtn:hover { background-size: 100% 2px; }
.footer-title { font: 700 .8125rem/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.footer-col--club .footer-title { color: #fff; font-size: 1rem; letter-spacing: .04em; }
.footer-col--club p { font-size: .9375rem; }
.footer-emblem { width: 104px; height: auto; margin-bottom: 18px; }
.footer-social { margin-top: 40px; }
.social { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 14px; border: 1px solid rgb(255 255 255 / .3); border-radius: var(--r); color: #fff; text-decoration: none; font: 700 .875rem/1 var(--font-label); text-transform: uppercase; letter-spacing: .08em; transition: background-color .25s, color .25s, border-color .25s; }
.social .icon { width: 22px; height: 22px; }
.social:hover { background: var(--green); border-color: var(--green); color: var(--slate-dd); }
.ways .link .icon { display: none; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); }
.footer-bottom p { margin: 0; }
.footer-bottom .link { color: var(--green); }
.footer-giant { margin: 24px 0 -0.12em; text-align: center; font: 400 clamp(5rem, 24vw, 26rem)/.85 var(--font-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .12); white-space: nowrap; user-select: none; overflow: hidden; }
@media (max-width: 1099.98px) { .site-footer { padding-bottom: 72px; } }
/* QA m8: without JS these controls cannot work; the mailto link and the direct Cannanas link remain */
html:not(.js) .bubble { display: none; }

/* ---------- contact bubble (bottom-right) ---------- */
.bubble { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-bubble); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity .2s, visibility .2s; }
body.overlay-open .bubble, body.footer-in-view .bubble:not(.is-open) { opacity: 0; visibility: hidden; }
.bubble__btn { display: inline-flex; align-items: center; gap: 8px; min-width: 56px; height: 56px; padding: 0 16px; justify-content: center; border-radius: var(--r-pill); background: var(--green); color: var(--slate-dd); border: 0; box-shadow: var(--shadow-2); font: 700 .9375rem/1 var(--font-label); cursor: pointer; transition: transform .18s var(--ease-out); }
.bubble__btn:hover { transform: translateY(-2px); }
.bubble__btn .icon { width: 26px; height: 26px; }
@media (max-width: 767.98px) { .bubble__label { display: none; } .bubble__btn { padding: 0; width: 56px; } }
.bubble__panel { width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px 8px 10px; transform-origin: bottom right; animation: pop .2s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.bubble__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 4px 12px; }
.bubble__title { margin: 0; font: 700 1.0625rem/1.2 var(--font-display); }
.bubble__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 10px; }
.bubble__close .icon { width: 20px; height: 20px; }
.bubble__panel ul { list-style: none; margin: 0; padding: 0; }
.bubble__panel a { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: 10px; font-size: .9375rem; overflow-wrap: anywhere; }
.bubble__panel a:hover { background: var(--paper-sage); }
.bubble__panel a .icon { width: 22px; height: 22px; flex: none; }

/* ---------- cookie / consent ---------- */
.consent { position: fixed; z-index: var(--z-cookie); background: var(--surface); border-top: 1.5px solid var(--rule); box-shadow: var(--shadow-2); padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); left: 0; right: 0; bottom: 0; max-height: 85dvh; overflow-y: auto; border-radius: var(--r) var(--r) 0 0; font-size: .9375rem; }
@media (min-width: 768px) { .consent { left: auto; right: 24px; bottom: 24px; max-width: 420px; border: 1.5px solid var(--rule); border-radius: var(--r); padding: 24px; } }
.consent__title { font-size: 1.25rem; }
.consent p { margin-bottom: .7em; }
.consent__btns { display: grid; gap: 10px; }
.consent__btns .btn { width: 100%; }
.consent__title:focus { outline: none; box-shadow: none; }
/* Phones: the sheet may grow to nearly full height so the "Externe Inhalte" checkbox is never hidden.
   Round 3 (QA m3): the buttons are no longer sticky. A sticky row always covers whatever sits directly above it,
   which is the category checkboxes. On very short screens (<= ~600px tall) the sheet scrolls in reading order. */
@media (max-width: 767.98px) {
  .consent { padding-top: 16px; padding-bottom: 0; max-height: calc(100dvh - 12px); font-size: .875rem; }
  .consent p { margin-bottom: .5em; }
  .consent .check { min-height: 0; }
  .consent__btns { padding: 10px 0 calc(14px + env(safe-area-inset-bottom)); gap: 8px; border-top: 1px solid var(--rule); }
  .consent__btns .btn { min-height: 44px; }
}

/* ---------- age gate ---------- */
.agegate { border: 0; border-top: 4px solid var(--green); border-radius: var(--r); background: var(--surface); color: var(--ink); padding: 32px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); text-align: center; box-shadow: var(--shadow-2); }
.agegate::backdrop { background: rgb(35 42 43 / .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.agegate[open] { animation: rise-in .7s var(--ease-expo); }
.agegate__logo { width: 116px; height: auto; margin: 0 auto 16px; }
.agegate h2 { font-size: 1.625rem; }
.agegate h2:focus { outline: none; box-shadow: none; }
.agegate__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 16px; }
.agegate__btns:has(> :only-child) { grid-template-columns: 1fr; }
.agegate__small { font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: .4em; }
.agegate__legal { margin: 16px 0 0; font-size: var(--fs-small); }
@media (max-width: 399.98px) { .btn { white-space: normal; text-align: center; padding: 10px 16px; letter-spacing: .02em; } .ask__grid > * { min-width: 0; } }

/* client notes 2026-11-13: section titles on one line at desktop; size follows the title column (container units) */
.about__grid, .join__head { container-type: inline-size; }
@media (min-width: 900px) {
  .about__grid .section__title { white-space: nowrap; font-size: min(clamp(2.5rem, 1.2rem + 4.4vw, 5.75rem), calc((100cqi - 72px) * 5 / 12 / 5.5)); }
  .join__head .section__title { white-space: nowrap; font-size: min(clamp(2.5rem, 1.2rem + 4.4vw, 5.75rem), calc((100cqi - 72px) * 7 / 12 / 8.7)); }
  .ask__title { white-space: nowrap; font-size: min(clamp(3rem, 1.2rem + 6vw, 8rem), calc((100cqi - 72px) * 7 / 12 / 9.6)); }
  .ask__grid { align-items: center; } /* one-line title and the text/buttons block sit on one level */
}
@media (min-width: 1024px) { .nowrap-d { white-space: nowrap; } } /* client-set line break on desktop (Verein, 2026-11-13) */

/* FAQ (client FAQ.docx, 2026-11-21): native <details> accordion */
.faq { border-top: 1px solid var(--rule); max-width: 54rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary :is(h2, h3) { margin: 0; font: 600 1.1875rem/1.35 var(--font-body); text-transform: none; letter-spacing: 0; }
.faq__item summary::after { content: "+"; flex: none; font: 400 1.75rem/1 var(--font-body); color: var(--ink-soft); transition: transform .25s var(--ease-expo); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__a { padding: 0 0 24px; }
.faq__a > :first-child { margin-top: 0; }
.fees { border-collapse: collapse; width: 100%; max-width: 32rem; }
.fees th, .fees td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.fees td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }
.faq__more { margin: 28px 0 0; }
