/* =========================================================
   Endless Dance – Stylesheet V1.0
   Farben, Schrift, Abstände und Motion als Variablen in :root
   ========================================================= */

/* ---------- Schrift (selbst gehostet, kein Google-Request) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }

:root {
  /* Farben (verbindlich laut Brief) */
  --c-bg: #FBF6EF;            /* Seitenhintergrund */
  --c-text: #3C2616;          /* Text, Buttons */
  --c-btn: #3C2616;
  --c-btn-text: #FFFFFF;
  --c-btn-hover: #64462D;
  --c-accent: #B8814A;        /* nur Linien, Icons, Deko-Zahlen, Marker */
  --c-accent-text: #8A5A2B;   /* Akzent als Text: nur auf --c-bg (5,5:1) oder groß */
  --c-sand: #E6D2B5;          /* Abschnitt A */
  --c-clay: #DBC1A6;          /* Abschnitt B */
  --c-text-soft: #5C4330;     /* Sekundärtext: 8,5:1 / 6,2:1 / 5,3:1 */
  --c-line: rgba(60, 38, 22, .12);
  --c-line-strong: rgba(60, 38, 22, .28);
  --c-field-border: #8C735C;  /* Formularrahmen, ≥3:1 auf Feld und Sand */
  --c-error: #8B2E16;
  --c-header-glass: rgba(251, 246, 239, .96);

  /* Typo */
  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  --fs-display-2: clamp(2.5rem, 1.5rem + 3.8vw, 4.75rem);
  --fs-display: clamp(2.75rem, 1.2rem + 5.6vw, 6rem);

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 9vw, 144px);
  --header-h: 76px;

  /* Formen: Buttons/Chips = Pille, Medien/Panels = 18px, Felder = 12px */
  --r-pill: 999px;
  --r-media: 18px;
  --r-field: 12px;

  /* Motion: Takt 120 BPM, Sechzehntel = 125 ms */
  --beat: 125ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* Ebenen */
  --z-header: 50;
  --z-menu: 40;
  --z-skip: 100;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-color: rgba(60, 38, 22, .35) var(--c-bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--c-text); color: var(--c-bg); }
input, textarea { caret-color: var(--c-accent-text); }
:focus-visible { outline: 2px solid var(--c-text); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.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; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
mark.ph {
  background: rgba(184, 129, 74, .16); color: var(--c-text); font-size: .88em; font-weight: 500;
  padding: .1em .4em; border-radius: 4px; outline: 1.5px dashed var(--c-accent-text); outline-offset: -1.5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-y); }
.sec--sand { background: var(--c-sand); }
.sec--clay { background: var(--c-clay); }

/* ---------- Typo ---------- */
.display, .display-2, .h2, .h3 { font-weight: 500; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.04em; }
.display-2 { font-size: var(--fs-display-2); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-text-soft); max-width: 40ch; text-wrap: pretty; }
.lead-s { font-size: 1.125rem; line-height: 1.6; color: var(--c-text-soft); max-width: 46ch; text-wrap: pretty; }
.small { font-size: var(--fs-small); color: var(--c-text-soft); }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose .h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.1; margin-top: 0; }
.prose a, .event-text a, .field-check a, .contact-info dd a, .site-footer a:not(.footer-logo) {
  text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 1.5px; text-underline-offset: .25em;
  transition: text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .prose a:hover, .event-text a:hover, .field-check a:hover, .contact-info dd a:hover, .site-footer a:not(.footer-logo):hover { text-decoration-color: var(--c-text); }
}
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--c-btn); color: var(--c-btn-text); border: 1.5px solid var(--c-btn);
  padding: .85em 1.5em; border-radius: var(--r-pill); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn-lg { padding: 1em 1.8em; font-size: 1.0625rem; }
.btn-sm { padding: .6em 1.15em; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); color: var(--c-btn-text); }
}

.tlink {
  position: relative; display: inline-block; font-weight: 500; text-decoration: none; color: var(--c-text);
  padding-bottom: .2em; background: none; border: 0; padding-inline: 0; cursor: pointer;
}
.tlink::before, .tlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; }
.tlink::before { background: var(--c-accent); }
.tlink::after { background: var(--c-text); transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover::after { transform: scaleX(1); transform-origin: left; }
}
.tlink:active { transform: translateY(1px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center;
  background: transparent; color: var(--c-text); border: 1.5px solid var(--c-text);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out), opacity 200ms ease;
}
.round-btn .icon { width: 20px; height: 20px; }
.round-btn:active { transform: scale(.94); }
.round-btn:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .round-btn:not(:disabled):hover { background: var(--c-text); color: var(--c-bg); }
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: var(--z-skip);
  background: var(--c-btn); color: var(--c-btn-text); padding: .7em 1.2em; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Header ---------- */
.header-sentinel { position: absolute; top: 0; left: 0; height: 12px; width: 1px; pointer-events: none; }
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}
.site-header.is-scrolled { background: var(--c-header-glass); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
@media (prefers-reduced-transparency: reduce) { .site-header.is-scrolled { background: var(--c-bg); backdrop-filter: none; } }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex: none; margin-right: auto; border-radius: 6px; }
.brand img { height: 38px; width: auto; }
.nav-main ul { display: flex; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-main a {
  position: relative; display: block; padding: .5rem 0; text-decoration: none; font-weight: 500; font-size: .975rem;
}
.nav-main a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-out);
}
.nav-main a[aria-current="page"]::after, .nav-main a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-main a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.menu-toggle {
  display: none; align-items: center; gap: .7rem; background: none; border: 0; padding: .6rem .2rem .6rem .6rem; font-weight: 500;
  border-radius: var(--r-pill);
}
.menu-icon { position: relative; width: 24px; height: 12px; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--c-text); transition: transform 320ms var(--ease-out); }
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1119px) {
  .nav-main { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 599px) {
  .header-cta { display: none; }
  :root { --header-h: 68px; }
  .brand img { height: 32px; }
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
  background: var(--c-bg); display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 6vh, 56px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); transition: clip-path 480ms var(--ease-drawer);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu[hidden] { display: none; }
.mobile-links a {
  display: block; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2;
  padding: .3rem 0; text-decoration: none;
}
.mobile-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.mobile-links li { opacity: 0; transform: translateY(18px); transition: opacity 360ms ease, transform 520ms var(--ease-out); transition-delay: calc(80ms + var(--i) * 45ms); }
.mobile-menu.is-open .mobile-links li { opacity: 1; transform: none; }
.mobile-menu-foot { display: grid; gap: 1.2rem; justify-items: start; padding-top: 2rem; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 80px); padding-bottom: clamp(64px, 8vw, 128px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: center; }
.hero-copy { grid-column: 1 / 8; display: grid; gap: clamp(20px, 2.4vw, 32px); align-content: center; }
.hero-lead { max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; }
.hero-media { grid-column: 8 / 13; position: relative; padding-left: 14%; padding-bottom: 12%; }
.hero .display { font-size: clamp(2.75rem, .5rem + 5.4vw, 5.5rem); }
@media (min-width: 1024px) { .hero .display .line > span { white-space: nowrap; } }
.hero-img { border-radius: var(--r-media); overflow: hidden; background: var(--c-sand); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img--main { aspect-ratio: 4 / 5; }
.hero-img--main img { object-position: 58% 40%; }
.hero-img--small {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4;
  box-shadow: 0 0 0 8px var(--c-bg), 0 24px 48px -24px rgba(60, 38, 22, .35);
}
.hero-img--small img { object-position: 50% 30%; }
.hero-line {
  position: absolute; left: -4%; top: 8%; width: 1.5px; height: 46%; background: var(--c-accent);
  transform: rotate(-42deg); transform-origin: top center; pointer-events: none;
}
@media (max-width: 1023px) {
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media { padding-left: 0; padding-bottom: 0; }
  .hero-img--main { aspect-ratio: 4 / 3; }
  .hero-img--small { left: auto; right: 6%; bottom: -10%; width: 26%; }
  .hero-line { display: none; }
  .hero { padding-bottom: clamp(80px, 12vw, 120px); }
}
@media (max-width: 599px) {
  .hero-img--main { aspect-ratio: 5 / 4; }
  .hero-img--small { width: 30%; bottom: -14%; right: 5%; box-shadow: 0 0 0 5px var(--c-bg); }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Marquee (einmal pro Seite) ---------- */
.marquee-band { background: var(--c-sand); padding-block: clamp(22px, 3vw, 36px); overflow: hidden; }
.marquee { display: flex; width: max-content; }
.marquee-track { display: flex; flex: none; align-items: center; }
.marquee-track li {
  display: flex; align-items: center; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.2; white-space: nowrap;
}
.marquee-track li::after {
  content: ''; display: inline-block; width: 1.5px; height: .9em; margin-inline: clamp(1.25rem, 2.5vw, 2.5rem);
  background: var(--c-accent); transform: rotate(32deg);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 46s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; justify-content: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee-track li { font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); }
}

/* ---------- Heute im Studio ---------- */
.today-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 32px); align-items: start; }
.today-head { grid-column: 1 / 5; display: grid; gap: 1rem; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.today-label { font-size: var(--fs-h3); font-weight: 500; color: var(--c-accent-text); letter-spacing: -0.015em; }
.today-list { grid-column: 6 / 13; border-top: 1px solid var(--c-line-strong); }
.heute-kurs {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; grid-template-areas: 'zeit stil coach' 'zeit meta coach';
  column-gap: 1.25rem; row-gap: .1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-line);
}
.heute-zeit { grid-area: zeit; font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.2; }
.heute-stil { grid-area: stil; font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.heute-meta { grid-area: meta; color: var(--c-text-soft); font-size: .95rem; }
.heute-coach { grid-area: coach; align-self: center; color: var(--c-text-soft); font-size: .95rem; }
@media (max-width: 1023px) {
  .today-head, .today-list { grid-column: 1 / -1; position: static; }
}
@media (max-width: 599px) {
  .heute-kurs { grid-template-columns: 4.25rem minmax(0, 1fr); grid-template-areas: 'zeit stil' 'zeit meta' 'zeit coach'; column-gap: 1rem; }
  .heute-zeit { font-size: 1.25rem; }
  .heute-stil { font-size: 1.125rem; }
  .heute-coach { align-self: start; }
}

/* ---------- Altersgruppen ---------- */
.ages-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); align-items: center; }
.ages-media { grid-column: 1 / 6; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; }
.ages-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ages-copy { grid-column: 7 / 13; display: grid; gap: 1.25rem; }
.ages-list { margin-top: 1.25rem; border-top: 1px solid var(--c-line-strong); }
.age-link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name arrow' 'count arrow' 'stile arrow';
  padding: 1.4rem 0; text-decoration: none; border-bottom: 1px solid var(--c-line-strong); column-gap: 1.5rem;
}
.age-name { grid-area: name; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; transition: transform 420ms var(--ease-out); }
.age-count { grid-area: count; font-weight: 500; margin-top: .25rem; }
.age-stile { grid-area: stile; color: var(--c-text-soft); font-size: .95rem; }
.age-arrow { grid-area: arrow; align-self: center; width: 28px; height: 28px; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .age-link:hover .age-name { transform: translateX(10px); }
  .age-link:hover .age-arrow { transform: translateX(6px); }
}
.age-link:active .age-arrow { transform: translateX(10px); }
@media (max-width: 1023px) {
  .ages-media, .ages-copy { grid-column: 1 / -1; }
  .ages-media { aspect-ratio: 4 / 3; }
}

/* ---------- Gründer / Meilensteine ---------- */
.founder-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px clamp(16px, 2vw, 32px); align-items: start; }
.founder-copy { grid-column: 1 / 6; display: grid; gap: 1.25rem; justify-items: start; }
.founder-copy p { color: var(--c-text-soft); max-width: 44ch; }
.milestones { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(20px, 3vw, 48px); }
.milestones li { position: relative; padding-top: 1.25rem; display: grid; gap: .5rem; }
.milestones li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--c-accent); }
.ms-num { font-size: clamp(3rem, 2rem + 3.6vw, 5.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; color: var(--c-accent-text); font-variant-numeric: tabular-nums; }
.ms-text { font-weight: 500; max-width: 24ch; }
@media (max-width: 1023px) {
  .founder-copy, .milestones { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .milestones { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Teaser-Köpfe & Tracks ---------- */
.teaser-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.teaser-head .lead-s { margin-top: .75rem; }
.track-nav { display: flex; gap: 10px; }
.teaser-more { margin-top: clamp(28px, 4vw, 44px); }
.chip-track, .gallery-track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; border-radius: var(--r-media);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.chip-track::-webkit-scrollbar, .gallery-track::-webkit-scrollbar { display: none; }
.coach-chip { flex: 0 0 clamp(210px, 22vw, 260px); scroll-snap-align: start; }
.coach-chip a {
  display: grid; gap: .35rem; padding: 22px; height: 100%; border-radius: var(--r-media); background: var(--c-bg);
  text-decoration: none; transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.chip-mono {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .9rem;
  background: var(--c-clay); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em;
}
.chip-name { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.chip-stile { font-size: .925rem; color: var(--c-text-soft); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .coach-chip a:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -28px rgba(60, 38, 22, .45); }
}
.coach-chip a:active { transform: scale(.98); }

/* ---------- Event ---------- */
.next-event .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.event-list { display: grid; gap: clamp(20px, 3vw, 32px); }
.event {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-media); background: var(--c-sand);
}
.events-sec .event, .next-event .event { background: var(--c-sand); }
.archive .event { background: var(--c-bg); }
.event-datum { display: grid; justify-items: start; align-content: start; min-width: 5ch; padding-right: clamp(20px, 3vw, 48px); border-right: 1.5px solid var(--c-accent); }
.event-tag { font-size: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); font-weight: 500; line-height: .95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.event-monat { font-size: var(--fs-h3); font-weight: 500; }
.event-body { display: grid; gap: 1.25rem; justify-items: start; align-content: start; }
.event-titel { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.event-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: .5rem clamp(20px, 3vw, 48px); }
.event-fakten dt { font-size: var(--fs-small); color: var(--c-text-soft); }
.event-fakten dd { font-weight: 500; }
.event-adresse { font-weight: 400; color: var(--c-text-soft); font-size: .95rem; }
.event-text { max-width: 60ch; }
@media (max-width: 767px) {
  .event { grid-template-columns: 1fr; }
  .event-datum { display: flex; align-items: baseline; gap: .75rem; border-right: 0; padding-right: 0; border-bottom: 1.5px solid var(--c-accent); padding-bottom: 1rem; }
  .event-fakten { grid-template-columns: 1fr; }
}
.empty { font-size: 1.125rem; color: var(--c-text-soft); }
.archive-details summary { display: flex; align-items: baseline; gap: 1rem; cursor: pointer; list-style: none; padding: .5rem 0; }
.archive-details summary::-webkit-details-marker { display: none; }
.archive-details summary::before { content: '+'; font-size: 1.5rem; font-weight: 400; width: 1ch; transition: transform 300ms var(--ease-out); }
.archive-details[open] summary::before { transform: rotate(45deg); }
.archive-count { color: var(--c-text-soft); }
.event-list--archiv { margin-top: 1.5rem; }

/* ---------- Abschluss / CTA ---------- */
.close-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); align-items: center; }
.close-copy { grid-column: 1 / 6; display: grid; gap: 1.5rem; justify-items: start; }
.close-media { grid-column: 7 / 13; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 3; }
.close-media img { width: 100%; height: 100%; object-fit: cover; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
@media (max-width: 1023px) { .close-copy, .close-media { grid-column: 1 / -1; } }
.cta-band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta-band-inner .h2 { max-width: 18ch; }

/* ---------- Seitenkopf ---------- */
.page-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head .wrap { display: grid; gap: clamp(16px, 2vw, 24px); justify-items: start; }
.page-head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .5rem; }
.page-head--404 { padding-block: clamp(56px, 10vw, 140px); }
.big-404 { font-size: clamp(6rem, 3rem + 14vw, 14rem); font-weight: 600; line-height: .85; letter-spacing: -0.06em; color: var(--c-accent); }

/* ---------- Kursplan ---------- */
.filters { display: grid; gap: 1.25rem; margin-bottom: clamp(28px, 4vw, 48px); }
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: start; gap: .75rem; }
.filter-group legend { float: left; font-weight: 500; padding-top: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5em 1em; border-radius: var(--r-pill); border: 1.5px solid var(--c-line-strong);
  background: transparent; font-size: .95rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
.chip input:focus-visible + span { outline: 2px solid var(--c-text); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .chip input:not(:checked):hover + span { border-color: var(--c-text); }
}
.filter-foot { display: flex; align-items: center; gap: 1.5rem; padding-top: .5rem; flex-wrap: wrap; }
.filter-status { font-weight: 500; font-size: 1.125rem; }
.tlink-btn { font-size: 1rem; }
@media (max-width: 767px) {
  .filter-group { grid-template-columns: 1fr; gap: .5rem; }
  .filter-group legend { padding-top: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
}

.plan-track { display: grid; grid-template-columns: repeat(var(--tage, 5), minmax(0, 1fr)); gap: 14px; align-items: start; }
.plan-tabs { display: none; }
.tag-panel { background: var(--c-bg); border-radius: var(--r-media); padding: 22px 20px 10px; min-width: 0; }
.tag-name { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; padding-bottom: .75rem; border-bottom: 1.5px solid var(--c-accent); }
.kurs { padding: 1rem 0; border-bottom: 1px solid var(--c-line); display: grid; gap: .2rem; }
.kurs:last-child { border-bottom: 0; }
.kurs-zeit { font-variant-numeric: tabular-nums; }
.kurs-zeit time { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.kurs-zeit span { font-size: .875rem; color: var(--c-text-soft); }
.kurs-stil { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; }
.kurs-meta { font-size: .875rem; color: var(--c-text-soft); }

.kurs-coach { font-size: .9rem; color: var(--c-text-soft); }
.kurs-coach a { color: var(--c-text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.kurs-raum { margin-left: .5rem; }
.tag-leer { padding: 1rem 0 1.25rem; color: var(--c-text-soft); font-size: .95rem; }
.plan-hinweis { margin-top: 1.5rem; color: var(--c-text-soft); }
.plan-hinweis:empty { display: none; }
.kurs.is-new { animation: kursIn 420ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 30ms); }
@keyframes kursIn { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1023px) {
  .plan-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 1rem; padding: 2px var(--gutter) 4px; }
  .plan-tabs::-webkit-scrollbar { display: none; }
  .tag-tab {
    flex: 1 0 auto; min-width: 64px; display: grid; justify-items: center; gap: .1rem; padding: .6rem .8rem; border-radius: var(--r-media);
    border: 1.5px solid var(--c-line-strong); background: transparent; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  }
  .tag-kurz { font-weight: 600; font-size: 1rem; }
  .tag-anzahl { font-size: .8rem; color: var(--c-text-soft); }
  .tag-tab[aria-selected="true"] { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
  .tag-tab[aria-selected="true"] .tag-anzahl { color: var(--c-sand); }
  .plan-track {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .plan-track::-webkit-scrollbar { display: none; }
  .tag-panel { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .tag-panel { padding: 26px 28px 12px; }
}

/* ---------- Coaches ---------- */
.coaches-sec { padding-top: 0; }
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.coach--feature { grid-column: span 2; grid-row: span 2; }
.coach-open { display: grid; gap: 1rem; width: 100%; height: 100%; text-align: left; background: none; border: 0; padding: 0; border-radius: var(--r-media); align-content: start; }
.coach-bild {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--c-sand);
  transition: transform 520ms var(--ease-out);
}
.coach:nth-child(3n+2) .coach-bild { background: var(--c-clay); }
.coach-bild img { width: 100%; height: 100%; object-fit: cover; }
.coach-bild::after {
  content: ''; position: absolute; width: 1.5px; height: 70%; background: var(--c-accent); transform: rotate(38deg); opacity: .8;
  transition: transform 700ms var(--ease-out);
}
.coach-monogramm { position: relative; z-index: 1; font-size: clamp(3.5rem, 2rem + 4vw, 5rem); font-weight: 500; letter-spacing: -0.05em; color: var(--c-text); }
.coach--feature .coach-monogramm { font-size: clamp(5rem, 3rem + 7vw, 9rem); }
.coach--feature .coach-bild { aspect-ratio: auto; height: 100%; min-height: 320px; }
.coach--feature .coach-open { grid-template-rows: 1fr auto; }
.coach-text { display: grid; gap: .15rem; }
.coach-name { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.coach--feature .coach-name { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.coach-rolle { font-weight: 500; color: var(--c-accent-text); }
.coach-stile { font-size: .925rem; color: var(--c-text-soft); }
@media (hover: hover) and (pointer: fine) {
  .coach-open:hover .coach-bild { transform: translateY(-6px); }
  .coach-open:hover .coach-bild::after { transform: rotate(52deg); }
}
.coach-open:active .coach-bild { transform: scale(.98); }
@media (max-width: 599px) {
  .coach-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .coach--feature { grid-column: 1 / -1; grid-row: auto; }
  .coach--feature .coach-bild { min-height: 0; aspect-ratio: 4 / 3; }
  .coach-name { font-size: 1.125rem; }
  .coach-stile { font-size: .85rem; }
}

/* Modal */
.modal {
  border: 0; padding: 0; width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  border-radius: 24px; background: var(--c-bg); color: var(--c-text); overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.modal.is-open { opacity: 1; transform: none; }
.modal::backdrop { background: rgba(60, 38, 22, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-inner { display: grid; grid-template-columns: 2fr 3fr; position: relative; }
.modal-media { background: var(--c-sand); display: grid; place-items: center; min-height: 260px; }
.modal-media .coach-monogramm { font-size: clamp(4rem, 3rem + 4vw, 7rem); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 1rem; justify-items: start; align-content: start; }
.modal-stile { color: var(--c-text-soft); font-weight: 500; margin-top: -.5rem; }
.modal-content { display: grid; gap: 1rem; }
.coach-vollname { font-weight: 500; }
.coach-kurse-titel { font-size: 1.125rem; font-weight: 500; margin-top: .5rem; }
.coach-kurse { border-top: 1px solid var(--c-line-strong); }
.coach-kurse li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.ck-tag { font-weight: 500; }
.ck-zeit { color: var(--c-text-soft); font-variant-numeric: tabular-nums; }
.ck-stil { grid-column: 2; font-weight: 500; }
.ck-meta { grid-column: 2; color: var(--c-text-soft); font-size: .875rem; }
.ck-zeit { grid-column: 2; grid-row: 1; }
.ck-tag { grid-row: 1 / span 3; }
.coach-links { display: flex; gap: 1.5rem; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--c-bg); z-index: 2; }
@media (max-width: 699px) {
  .modal-inner { grid-template-columns: 1fr; }
  .modal-media { min-height: 160px; }
}

/* ---------- Über uns ---------- */
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); align-items: center; }
.story-media { grid-column: 1 / 7; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 5 / 4; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { grid-column: 8 / 13; }
.story-copy .h2 { margin-bottom: 1.5rem; }
.story-copy p { color: var(--c-text-soft); }
.story { padding-top: 0; }
@media (max-width: 1023px) { .story-media, .story-copy { grid-column: 1 / -1; } }
.values .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.value-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); }
.value-list li { position: relative; padding-top: 1.5rem; display: grid; gap: .75rem; align-content: start; }
.value-list li::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 1.5px; background: var(--c-accent); }
.value-list li:nth-child(1) { grid-column: 1 / 6; }
.value-list li:nth-child(2) { grid-column: 7 / 12; margin-top: clamp(0px, 6vw, 96px); }
.value-list li:nth-child(3) { grid-column: 3 / 8; }
.value-list h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.value-list p { color: var(--c-text-soft); max-width: 40ch; font-size: 1.0625rem; }
@media (max-width: 767px) {
  .value-list li:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}
.gallery-item { flex: 0 0 clamp(260px, 42vw, 560px); scroll-snap-align: start; }
.gallery-item.is-portrait { flex-basis: clamp(200px, 26vw, 360px); }
.gallery-item a { display: block; border-radius: var(--r-media); overflow: hidden; height: clamp(300px, 34vw, 520px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery-item a:hover img { transform: scale(1.035); } }
.gallery-item a:active img { transform: scale(.985); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(251, 246, 239, .97); color: var(--c-text); overflow: hidden;
  opacity: 0; transition: opacity 260ms ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lb-stage { position: absolute; inset: 72px 88px 72px; display: grid; place-items: center; touch-action: pan-y; }
.lb-stage img { object-fit: contain; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.lb-stage img.is-swap { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); }
.lb-counter { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }
@media (max-width: 699px) {
  .lb-stage { inset: 72px 12px 88px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev:active, .lb-next:active { transform: scale(.94); }
  .lb-counter { bottom: 26px; }
}

/* ---------- Kontakt ---------- */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); align-items: start; }
.contact-info { grid-column: 1 / 5; display: grid; gap: 2rem; }
.info-list { display: grid; gap: 1.5rem; }
.info-list dt { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-small); color: var(--c-text-soft); }
.info-list dt .icon { color: var(--c-accent); width: 20px; height: 20px; }
.info-list dd { font-size: 1.125rem; font-weight: 500; padding-left: calc(20px + .6rem); margin-top: .2rem; }
.social { display: grid; gap: .6rem; }
.social a { display: inline-flex; align-items: center; gap: .6rem; }
.social .icon { width: 20px; height: 20px; color: var(--c-text); }
.social--inline { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.social--inline a { font-weight: 500; text-decoration: none; }
.form-panel { grid-column: 6 / 13; background: var(--c-sand); border-radius: 24px; padding: clamp(24px, 4vw, 52px); display: grid; gap: 1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.form-intro { color: var(--c-text-soft); }
.form { display: grid; gap: 1.25rem; margin-top: .75rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-weight: 500; font-size: .975rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--r-field);
  background: var(--c-bg); border: 1.5px solid var(--c-field-border); color: var(--c-text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%233C2616' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--c-text); box-shadow: 0 0 0 3px rgba(60, 38, 22, .2); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: .9rem; font-weight: 500; }
.field-error:empty { display: none; }
.field-hint { font-size: .9rem; color: var(--c-text-soft); }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; accent-color: var(--c-text); padding: 0; }
.field-check label { font-weight: 400; font-size: .95rem; line-height: 1.55; }
.field-check .field-error { grid-column: 2; }
.form .btn { justify-self: start; margin-top: .25rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1023px) { .contact-info, .form-panel { grid-column: 1 / -1; } }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }
.directions-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); align-items: end; }
.directions-grid > div:first-child { grid-column: 1 / 7; display: grid; gap: 1rem; }
.directions-actions { grid-column: 8 / 13; display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 1023px) { .directions-grid > div:first-child, .directions-actions { grid-column: 1 / -1; } }

/* ---------- Launch-Onepage (V1.1) ---------- */
[hidden] { display: none !important; }
.gala .event { background: var(--c-sand); }
.gala-intro { font-size: 1.125rem; color: var(--c-text-soft); max-width: 46ch; }
.gala .close-actions .small { max-width: 26ch; }
.plan-head { display: grid; gap: 1rem; margin-bottom: clamp(32px, 4vw, 52px); }
.plan .chip span { border-color: rgba(60, 38, 22, .32); }
.plan-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(32px, 4vw, 52px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--c-line-strong); }
.plan-cta p { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.015em; margin-right: auto; }
.kurs-coach-name { color: var(--c-text); font-weight: 500; }
.about-gallery-head { margin-top: clamp(64px, 8vw, 120px); }
.probe-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); align-items: center; }
.count-in { grid-column: 1 / 6; display: flex; gap: clamp(1rem, 3vw, 2.75rem); font-size: clamp(4rem, 2rem + 8vw, 10rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.count-in span { color: var(--c-accent-text); opacity: .28; }
.count-in span:last-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .count-in span { animation: count 2000ms steps(1, end) infinite; }
  .count-in span:nth-child(1) { animation-delay: 0ms; }
  .count-in span:nth-child(2) { animation-delay: 500ms; }
  .count-in span:nth-child(3) { animation-delay: 1000ms; }
  .count-in span:nth-child(4) { animation-delay: 1500ms; }
}
@keyframes count { 0% { opacity: 1; } 25%, 100% { opacity: .28; } }
.probe-copy { grid-column: 7 / 13; display: grid; gap: 1.25rem; justify-items: start; }
@media (max-width: 1023px) { .count-in, .probe-copy { grid-column: 1 / -1; } }
.contact-title { margin-bottom: clamp(36px, 5vw, 64px); }
.zeiten { display: grid; gap: .3rem; margin-top: .2rem; }
.zeiten li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; font-weight: 400; font-size: 1rem; }
.zeiten li span:first-child { font-weight: 500; }
@media (max-width: 479px) { .zeiten li { grid-template-columns: 1fr; gap: 0; margin-bottom: .35rem; } }
.page-launch .contact { padding-top: var(--sec-y); }
.page-launch .form-panel .h2 { font-size: var(--fs-h2); }

/* ---------- Rechtliches ---------- */
.legal { padding-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg); border-top: 1px solid var(--c-line); padding-top: clamp(56px, 7vw, 96px); }
.site-footer--sand { background: var(--c-sand); border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 40px clamp(16px, 3vw, 48px); }
.footer-brand { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.footer-logo img { height: 92px; width: auto; }
.footer-brand p { color: var(--c-text-soft); max-width: 26ch; }
.footer-h { font-size: var(--fs-small); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .5rem; }
.footer-col address p + p { margin-top: .75rem; }
.site-footer .social a { text-decoration: none; }
.site-footer .social a span { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 28px; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--c-line); font-size: var(--fs-small); }
.footer-bottom ul { display: flex; gap: 1.5rem; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   MOTION – Leitmotiv „Takt“
   Zeilen, Bilder und Listen kommen im 16tel-Takt (125 ms).
   Nur transform, opacity, clip-path. Ohne JS bleibt alles sichtbar.
   ========================================================= */

/* Hero-Auftakt: reines CSS, startet sofort */
html.motion .hero [data-split] .line > span { animation: lineUp 1000ms var(--ease-out) both; }
html.motion .hero [data-split] .line:nth-child(2) > span { animation-delay: var(--beat); }
html.motion .hero [data-hero-step="3"] { animation: fadeUp 900ms var(--ease-out) both; animation-delay: calc(var(--beat) * 3); }
html.motion .hero [data-hero-step="4"] { animation: fadeUp 900ms var(--ease-out) both; animation-delay: calc(var(--beat) * 4); }
html.motion .hero [data-hero-img] { animation: curtain 1200ms var(--ease-in-out) both; animation-delay: calc(var(--beat) * 1); }
html.motion .hero [data-hero-img] img { animation: settle 1600ms var(--ease-out) both; animation-delay: calc(var(--beat) * 1); }
html.motion .hero [data-hero-img="2"] { animation-delay: calc(var(--beat) * 5); }
html.motion .hero [data-hero-img="2"] img { animation-delay: calc(var(--beat) * 5); }
html.motion .hero .hero-line { animation: drawLine 900ms var(--ease-in-out) both; animation-delay: calc(var(--beat) * 8); }

@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0 round var(--r-media)); } to { clip-path: inset(0 0 0 0 round var(--r-media)); } }
@keyframes settle { from { transform: scale(1.14); } }
@keyframes drawLine { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Scroll-Einblendungen (JS setzt .is-in) */
html.motion:not(.reveal-all) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }
html.motion [data-reveal] { transition: opacity 800ms var(--ease-soft), transform 1000ms var(--ease-soft); transition-delay: calc(var(--d, 0) * var(--beat)); }

html.motion:not(.reveal-all) main [data-split]:not(.is-in) .line > span { transform: translateY(105%); }
html.motion main [data-split] .line > span { transition: transform 1000ms var(--ease-out); }
html.motion main [data-split] .line:nth-child(2) > span { transition-delay: var(--beat); }
html.motion .hero [data-split] .line > span { transition: none; transform: none; }

/* clip-path liegt auf dem Bild, nicht auf dem beobachteten Rahmen (sonst meldet der IntersectionObserver 0 % Sichtbarkeit) */
html.motion [data-clip] img { clip-path: inset(0 0 0 0); transition: clip-path 1200ms var(--ease-in-out), transform 1600ms var(--ease-out); }
html.motion:not(.reveal-all) [data-clip]:not(.is-in) img { clip-path: inset(100% 0 0 0); transform: scale(1.14); }

html.motion:not(.reveal-all) [data-stagger]:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
html.motion [data-stagger] > * { transition: opacity 700ms var(--ease-soft), transform 900ms var(--ease-soft); transition-delay: calc(min(var(--i, 0), 7) * var(--beat) / 2); }

/* Meilenstein-Linien zeichnen sich im Takt */
html.motion .milestones li::before { transform-origin: left; transition: transform 900ms var(--ease-in-out); transition-delay: calc(min(var(--i, 0), 7) * var(--beat)); }
html.motion:not(.reveal-all) .milestones:not(.is-in) li::before { transform: scaleX(0); }
html.motion .value-list li::before { transform-origin: left; transition: transform 900ms var(--ease-in-out); transition-delay: calc(min(var(--i, 0), 7) * var(--beat)); }
html.motion:not(.reveal-all) .value-list:not(.is-in) li::before { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 160ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none !important; }
  .mobile-menu { transition: none; }
}
.legal .wrap.prose { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.legal .wrap.prose > * { max-width: 68ch; }
.gala--first { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(8px, 2vw, 24px); }
