/* =========================================================
   Skateclub Burgau e.V. – Stylesheet
   Look: Hellblau, Weiß & Himmel – freundlich und luftig
   ========================================================= */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f0f7ff;
  --bg-3: #e2f0fe;
  --ink: #0f2c4a;
  --muted: #557089;
  --line: rgba(15, 44, 74, .12);
  --accent: #1f86f0;
  --accent-strong: #0d6bd0;
  --accent-ink: #ffffff;
  --sky: #8fd3ff;
  --sky-soft: #cfeaff;
  --sun: #ffd23f;

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 22px;
  --shadow: 0 20px 50px -24px rgba(15, 70, 140, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
figure { margin: 0; }
::selection { background: var(--sky); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Overlays: progress, grain, cursor ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--sky), var(--sun));
  transform-origin: 0 50%; transform: scaleX(0);
}
.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--accent); opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s, background .25s;
}
.cursor.is-active { opacity: .85; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(143, 211, 255, .45); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Wolken (Deko) ---------- */
.clouds { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.clouds::before, .clouds::after {
  content: ""; position: absolute; width: 520px; height: 160px; border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 0 40px / 260px 120px no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 120px 0 / 300px 160px no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)) 260px 30px / 260px 130px no-repeat;
  animation: drift 70s linear infinite;
}
.clouds::before { top: 8%; left: -560px; }
.clouds::after { top: 55%; left: -560px; transform: scale(.7); animation-duration: 95s; animation-delay: -40s; opacity: .8; }
@keyframes drift { to { translate: calc(100vw + 1100px) 0; } }

/* ---------- Buttons & links ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px;
  font: 700 .95rem/1 var(--body); letter-spacing: .02em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transform: translate(var(--bx), var(--by));
  transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn--sm { padding: .75em 1.2em; font-size: .85rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -12px rgba(31, 134, 240, .7); }
.btn--accent:hover { background: var(--sun); color: var(--ink); box-shadow: 0 12px 34px -10px rgba(255, 190, 0, .7); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }

.link { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.link:hover { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 1.4em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 var(--sun); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 210, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); } }

.h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .95; letter-spacing: .005em;
  margin-bottom: .45em; max-width: 14ch; color: var(--ink);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 62ch; margin-bottom: 2.5em; }
.prose { color: var(--muted); max-width: 56ch; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  transition: transform .45s var(--ease), background .3s, backdrop-filter .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15, 70, 140, .35); }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; color: var(--accent); transform: rotate(-18deg); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(342deg); }
.brand__mark .h { fill: #fff; }
.brand__mark .t { font: 400 10px var(--display); fill: #fff; letter-spacing: .5px; }
.brand__name { font: 600 .72rem/1.05 var(--body); text-transform: uppercase; letter-spacing: .14em; }
.brand__name b { font: 400 1.15rem/1 var(--display); letter-spacing: .06em; color: var(--accent-strong); }

.nav__list { display: flex; gap: 6px; }
.nav__list a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__list a:hover, .nav__list a.is-active { background: rgba(255, 255, 255, .75); color: var(--accent-strong); }
.header.is-scrolled .nav__list a:hover, .header.is-scrolled .nav__list a.is-active { background: var(--bg-3); }
.nav__list a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent);
}

.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; z-index: 102; box-shadow: var(--shadow); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] { background: #fff; }
.burger[aria-expanded="true"] span { background: var(--accent-strong); }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; color: #fff;
  background: linear-gradient(180deg, #2b95f5 0%, #6cc2ff 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  font: 400 clamp(2.4rem, 11vw, 4.5rem)/1.1 var(--display); text-transform: uppercase;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu__list small { font: 700 .8rem var(--body); color: var(--sun); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .25s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .3s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .35s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .4s; }
.menu__foot { display: flex; gap: 24px; margin-top: 40px; font-weight: 700; }
.menu__foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; backdrop-filter: none; border-color: transparent; box-shadow: none; }
body.menu-open .brand, body.menu-open .brand__name b { color: #fff; }
body.menu-open .brand__mark { color: #fff; }
body.menu-open .brand__mark .h, body.menu-open .brand__mark .t { fill: var(--accent); }

/* ---------- Media placeholders (bis echte Bilder da sind) ---------- */
.media { position: relative; overflow: hidden; background:
  radial-gradient(60% 40% at 25% 30%, rgba(255, 255, 255, .9), transparent 70%),
  radial-gradient(50% 35% at 75% 60%, rgba(255, 255, 255, .7), transparent 70%),
  linear-gradient(180deg, #7cc7ff 0%, #cfeaff 100%); }
.media:has(img.is-missing)::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font: 700 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(15, 44, 74, .45);
}
.media.has-img::after { display: none; }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.media img.is-loaded { opacity: 1; }
.media img.is-missing { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 clamp(64px, 10vh, 120px);
}
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img { object-position: 45% 30%; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, .9) 20%, rgba(255, 255, 255, .45) 42%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(90deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 50%);
}
.hero__eyebrow { color: var(--ink); background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .8em 1.1em; border-radius: 999px; box-shadow: var(--shadow); }
.hero__title {
  font-family: var(--display); text-transform: uppercase; color: var(--ink);
  font-size: clamp(4rem, 15.5vw, 15rem); line-height: .86; letter-spacing: -.005em;
  margin: 0 0 .25em;
}
.hero__title .line { display: block; }
.hero__title .line > span { display: inline-block; opacity: 0; transform: translateY(40%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line + .line > span { animation-delay: .12s; }
.line--outline > span { color: var(--accent); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__lead { max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink); font-weight: 500; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; opacity: 0; animation: fade 1s .65s var(--ease) forwards; }
.hero__eyebrow { opacity: 0; animation: fade .8s .2s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .hero__eyebrow { letter-spacing: .1em; font-size: .7rem; } }

.hero__badge { position: absolute; right: var(--gutter); bottom: clamp(64px, 10vh, 120px); width: clamp(110px, 12vw, 170px); aspect-ratio: 1; opacity: 0; animation: fade 1s .9s var(--ease) forwards; }
.hero__badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__badge text { font: 700 12.5px var(--body); fill: var(--ink); }
.hero__badge-core {
  position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font: 400 clamp(1rem, 1.6vw, 1.5rem) var(--display);
  box-shadow: 0 0 0 8px rgba(255, 210, 63, .25);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(15, 44, 74, .45); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker / Marquee ---------- */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-2deg) scale(1.04); margin: -24px 0 0; position: relative; z-index: 2; box-shadow: 0 18px 40px -20px rgba(31, 134, 240, .8); }
.ticker__track, .marquee__track { display: flex; width: max-content; will-change: transform; }
.ticker__track span { font: 400 clamp(1.6rem, 3.4vw, 2.8rem)/1.15 var(--display); text-transform: uppercase; padding: 0 .5em; white-space: nowrap; }
.ticker__track i { font-style: normal; font-size: clamp(1.1rem, 2vw, 1.6rem); align-self: center; color: var(--sun); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 13vw, 170px) 0; }
.section > .wrap, .section > .gallery, .section > .marquee { position: relative; z-index: 1; }
.section--soft { background: var(--bg-2); }
.section--sky { background: linear-gradient(180deg, #a9dcff 0%, #d9efff 55%, #f3f9ff 100%); }
.section--sky .lead, .section--sky .prose { color: #3d5a75; }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.grid-2--rev { grid-template-columns: .95fr 1.05fr; }

.verein__media, .kurse__media { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
.sticker {
  position: absolute; right: -10px; top: 26px; z-index: 2;
  background: var(--sun); color: var(--ink); padding: 12px 18px; border-radius: 12px;
  font: 400 1.15rem/1.1 var(--display); text-transform: uppercase; transform: rotate(6deg);
  box-shadow: 0 10px 30px -10px rgba(15, 44, 74, .35);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(60px, 9vw, 120px); }
.stat { background: var(--bg-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.stat b { display: block; font: 400 clamp(2.8rem, 5.5vw, 4.8rem)/1 var(--display); color: var(--accent); margin-bottom: .2em; }
.stat > span { color: var(--muted); font-size: .92rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 10px 30px -22px rgba(15, 70, 140, .35);
  transition: border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 211, 255, .35), transparent 45%);
}
.card:hover { border-color: rgba(31, 134, 240, .45); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__no { position: absolute; right: 22px; top: 18px; font: 400 1rem var(--display); color: rgba(15, 44, 74, .3); }
.card__icon {
  width: 58px; height: 58px; padding: 12px; border-radius: 16px; background: var(--bg-3);
  fill: none; stroke: var(--accent-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 24px; transition: transform .5s var(--ease), background .3s;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--sun); }
.card h3 { font: 400 1.7rem/1.1 var(--display); text-transform: uppercase; margin-bottom: .5em; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; position: relative; }

.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .1s linear; }

/* Kurse */
.checks { display: grid; gap: 12px; margin: 1.8em 0 2.2em; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Events */
.events__list { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: 1em; }
.event {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center;
  background: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(14px, 1.6vw, 20px); box-shadow: var(--shadow);
}
.event__body { padding: clamp(6px, 1.5vw, 20px); }
.event--alt .event__media { order: 2; }
.event__media { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.event:hover .event__media img { transform: scale(1.05); }
.event__date { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.event__date b { font: 400 3.4rem/1 var(--display); color: var(--accent); letter-spacing: 0; }
.event h3 { font: 400 clamp(1.8rem, 3.2vw, 2.8rem)/1.05 var(--display); text-transform: uppercase; margin-bottom: .55em; }
.event p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--bg-3); color: var(--accent-strong); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tags a { text-decoration: none; }

.gallery { margin-top: clamp(60px, 9vw, 120px); overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 30px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track { display: flex; gap: 16px; padding-inline: var(--gutter); width: max-content; }
.gallery__item { width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 5; border-radius: var(--radius); flex: none; scroll-snap-align: start; box-shadow: var(--shadow); }
.gallery__item:nth-child(even) { margin-top: 48px; }
.gallery__item img { cursor: zoom-in; }
.gallery__item:hover img { transform: scale(1.06); }

.subhead { font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--display); text-transform: uppercase; margin: clamp(48px, 7vw, 90px) 0 24px; color: var(--accent-strong); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eingebettete App (Kurse, Kalender) */
.app-embed { margin-top: clamp(48px, 7vw, 90px); background: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(14px, 1.6vw, 20px); box-shadow: var(--shadow); }
.app-embed__head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; padding: 6px 8px 16px; }
.app-embed__head h3 { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--display); text-transform: uppercase; }
.app-embed__head .link { font-weight: 600; font-size: .92rem; }
.app-embed__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.app-embed__frame.is-fallback { display: grid; place-items: center; gap: 16px; padding: 48px 24px; text-align: center; color: var(--muted); }
.app-embed__frame.is-fallback p { margin: 0; }
.app-embed iframe { display: block; width: 100%; height: 720px; border: 0; }
.app-embed--cal { margin-top: 10px; }
@media (max-width: 560px) { .app-embed iframe { height: 640px; } }

/* Videos (Klick zum Laden) */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video { margin: 0; }
.video__btn, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); cursor: pointer; box-shadow: var(--shadow); }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.video__btn:hover img { transform: scale(1.04); filter: saturate(1.15); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 10px rgba(255, 255, 255, .45); transition: transform .35s var(--ease), background .25s;
}
.video__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video__btn:hover .video__play { transform: scale(1.12); background: var(--sun); }
.video__btn:hover .video__play::after { border-left-color: var(--ink); }
.video figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.video figcaption b { font: 400 1.35rem var(--display); text-transform: uppercase; }
.video figcaption span { color: var(--muted); font-size: .82rem; }

/* Dokumente / PDFs */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; text-decoration: none;
  border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(15, 70, 140, .35);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.doc:hover, .js .doc.is-in:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31, 134, 240, .45); }
.doc__icon { flex: none; width: 58px; height: 72px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent-strong); font: 400 1.2rem var(--display); position: relative; }
.doc__icon::before { content: ""; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 16px 16px 0; border-color: transparent #fff transparent transparent; filter: drop-shadow(-1px 1px 0 rgba(15, 44, 74, .12)); }
.doc__icon--tv::before { display: none; }
.doc:hover .doc__icon { background: var(--sun); color: var(--ink); }
.doc__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc__type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.doc__title { font-weight: 700; line-height: 1.3; }
.doc__meta { font-size: .82rem; color: var(--muted); }
.doc--thumb { flex-direction: column; align-items: stretch; padding: 12px; }
.doc--thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; }
.doc--thumb .doc__body { padding: 4px 6px 6px; }
.docs--member { margin-bottom: 1em; }
.doc--main { background: var(--accent); border-color: var(--accent); }
.doc--main .doc__type, .doc--main .doc__title, .doc--main .doc__meta { color: #fff; }

.pdfview { position: fixed; inset: 0; z-index: 150; background: rgba(15, 44, 74, .45); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .3s; }
.pdfview[hidden] { display: none; }
.pdfview.is-open { opacity: 1; }
.pdfview__panel { width: min(1000px, 100%); height: min(90vh, 1100px); background: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(15, 44, 74, .6); }
.pdfview__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.pdfview__bar b { margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdfview__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-3); color: var(--ink); cursor: pointer; font-size: 1rem; }
.pdfview iframe { flex: 1; width: 100%; border: 0; background: var(--bg-2); }

/* Mitglied */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1200px; }
.price.price--family { background: var(--sun); }
.price.price--family .price__note { color: rgba(15, 44, 74, .75); }
@media (max-width: 820px) { .prices { grid-template-columns: 1fr; } }
.price { display: flex; flex-direction: column; gap: 8px; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.price--hot { background: var(--accent); color: #fff; }
.price__label { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.price__value { font: 400 1.6rem var(--display); }
.price__value b { font-size: clamp(4rem, 8vw, 6rem); line-height: 1; font-weight: 400; }
.price__value small { font: 600 .9rem var(--body); }
.price__note { color: var(--muted); }
.price--hot .price__note { color: rgba(255, 255, 255, .85); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: clamp(40px, 6vw, 70px) 0 2.4em; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.steps b { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent-strong); font: 400 1.4rem var(--display); box-shadow: 0 8px 20px -10px rgba(15, 70, 140, .45); }
.fine { margin-top: 2.2em; font-size: .82rem; color: #4f6a83; max-width: 80ch; }

/* Sponsoren */
.marquee { display: grid; gap: 14px; overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { gap: 14px; }
.marquee__track li { flex: none; }
.marquee__track a {
  display: block; padding: 22px 34px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: #fff;
  font: 400 clamp(1.3rem, 2.4vw, 2rem)/1.1 var(--display); text-transform: uppercase; text-decoration: none; color: var(--muted);
  transition: color .25s, background .25s, border-color .25s;
}
.marquee__track span { display: block; padding: 22px 34px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: #fff; font: 400 clamp(1.3rem, 2.4vw, 2rem)/1.1 var(--display); text-transform: uppercase; color: var(--muted); }
.marquee__track a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* FAQ */
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent-strong); border: 1px solid var(--line); font-size: 1.3rem; transition: transform .35s var(--ease), background .25s, color .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__list details p { color: var(--muted); padding-bottom: 24px; max-width: 60ch; }
.faq__list details[open] p { animation: fade .45s var(--ease); }

/* Kontakt */
.kontakt__title { font-size: clamp(3.6rem, 13vw, 12rem); max-width: none; }
.kontakt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); margin-top: 2em; }
.big-link { display: block; width: fit-content; max-width: 100%; font: 700 clamp(1.3rem, 2.8vw, 2.3rem)/1.2 var(--body); text-decoration: none; overflow-wrap: anywhere; color: var(--accent-strong);
  background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 6px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; margin-bottom: 10px; }
.big-link:hover { background-size: 100% 6px; }
.big-link--sm { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--ink); }
address { font-style: normal; color: var(--muted); margin: 1.6em 0; }
.socials { display: flex; gap: 12px; }
.social { --bx: 0px; --by: 0px; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-3); color: var(--accent-strong); display: grid; place-items: center; transform: translate(var(--bx), var(--by)); transition: transform .3s var(--ease), background .25s, color .25s; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social svg .fill { fill: currentColor; stroke: none; }
.social:hover { background: var(--accent); color: #fff; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: start; }
.person { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.person:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.person__role { color: var(--accent-strong); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.person__name { font: 400 1.5rem/1.1 var(--display); text-transform: uppercase; }
.person a { color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.person a:hover { color: var(--accent-strong); }

/* Footer */
.footer { position: relative; background: linear-gradient(180deg, #ffffff 0%, #bfe5ff 100%); padding: 0 0 calc(30px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__big {
  position: relative; z-index: 1;
  font: 400 clamp(3rem, 12.4vw, 13rem)/1 var(--display); text-transform: uppercase; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(31, 134, 240, .35); padding: .15em 0 .05em; margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), #5fbcff, var(--sun)); -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1.4s var(--ease);
}
.footer__big.is-in { background-size: 100% 100%; }
.footer__row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; color: #3d5a75; font-size: .88rem; }
.footer__row p { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-strong); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(225, 241, 255, .95); backdrop-filter: blur(6px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 16px; box-shadow: var(--shadow); }
.lightbox__cap { font-weight: 600; color: var(--ink); text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__prev:hover, .lightbox__next:hover { background: var(--sun); color: var(--ink); transform: scale(1.08); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { visibility: hidden; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
}

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font: 600 .9rem var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter span { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--bg-3); color: var(--accent-strong); font-size: .75rem; }
.filter:hover { border-color: var(--accent); }
.filter.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }
.g-grid { columns: 4 240px; column-gap: 14px; }
.g-item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; box-shadow: 0 10px 26px -20px rgba(15, 70, 140, .5); }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.05); filter: saturate(1.15); }
@media (max-width: 560px) { .g-grid { columns: 2; column-gap: 8px; } .g-item { margin-bottom: 8px; border-radius: 12px; } }
.g-more { text-align: center; margin-top: 18px; }
.g-more[hidden] { display: none; }

/* Mitglied: Vorteile */
.perks { margin-bottom: clamp(40px, 6vw, 70px); }
.perks__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.perks__list li { position: relative; padding: 14px 16px 14px 52px; background: rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: 0 8px 20px -16px rgba(15, 70, 140, .5); }
.perks__list li::before { content: "✓"; position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem; }

/* Vorstand & Skatepark */
.spot { color: var(--muted); margin: -0.6em 0 1.6em; }
.spot b { color: var(--ink); }
.docs--press { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tilt[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
/* Wörter blenden einzeln ein – ohne overflow-Clipping, damit Umlaut-Punkte sichtbar bleiben */
.js [data-split][data-reveal] { opacity: 1; transform: none; }
.split-word { display: inline-block; }
.split-word > span { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(3deg); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.is-in .split-word > span { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal .h2 { max-width: none; }
.legal h3 { font: 400 1.5rem var(--display); text-transform: uppercase; margin: 2em 0 .6em; color: var(--accent-strong); }
.legal p, .legal li { color: var(--muted); max-width: 75ch; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal a { color: var(--accent-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list a { padding: 8px 10px; }
  .header { gap: 14px; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .grid-2, .grid-2--rev, .event, .kontakt__grid { grid-template-columns: 1fr; }
  .grid-2--rev > figure { order: 2; }
  .event--alt .event__media { order: 0; }
  .verein__media, .kurse__media { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .videos, .docs { grid-template-columns: 1fr; }
  .hero__badge { width: 96px; top: calc(var(--header-h) + 20px); bottom: auto; }
}
@media (max-width: 560px) {
  .cards, .prices, .team { grid-template-columns: 1fr; }
  .hero { padding-bottom: 80px; }
  .hero__img { object-position: 50% 20%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .sticker { right: 10px; }
  .stat > span { font-size: .82rem; }
  .gallery__item:nth-child(even) { margin-top: 24px; }
  .brand__name { display: none; }
  .clouds::before { transform: scale(.6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain, .clouds { display: none; }
}
