/* ═══════════════════════════════════════
   SUPER!WEIT D1d — Bootstrapped Grit Layer
   Subtle analog imperfections over D1c base
   ═══════════════════════════════════════ */

/* --- Font Face (self-hosted, no external CDN dependency) --- */
@font-face {
  font-family: "DIN 2014 Extra Bold";
  src: url("fonts/din2014-extrabold.woff2") format("woff2"),
       url("fonts/din2014-extrabold.woff") format("woff");
  /* src: url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.eot");
  src: url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.ttf") format("truetype"),
       url("https://db.onlinewebfonts.com/t/8ac3a2a414b04c47ec7b7cf3a8f2ee0e.svg#DIN 2014 Extra Bold") format("svg");      */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Metrics-matched fallback to reduce FOUT layout shift */
@font-face {
  font-family: "DIN 2014 Fallback";
  src: local("Arial Black"), local("Arial Bold");
  font-weight: 700;
  size-adjust: 95%;
  ascent-override: 95%;
  descent-override: 22%;
}

/* --- Design Tokens --- */
:root {
  color-scheme: light;

  /* Core palette */
  --color-forest: #5b774f;
  --color-crimson: #be3018;
  --color-sun: #fcec50;
  --color-amber: #b9973b;
  --color-dark: #111111;
  --color-light: #ffffff;
  --color-forest-dark: #4a6641;
  --color-bg: #faf8f0;

  /* D1 supplementary tokens */
  --color-mist: #8a9bab;
  --color-golden: #d4a843;

  /* D1b expanded palette (2026 modernization) */
  --color-slate: #3a4a5c;
  --color-terracotta: #c86b4a;
  --color-charcoal: #2a2a28;

  /* CTA / "go" accent */
  --color-forest-bright: #4a8c3f;

  /* Floating-CTA neon green (brighter than forest-bright; paired hover-darker) */
  --color-neon-green: #3dbf2a;
  --color-neon-green-hover: #34a824;

  /* Dot-race drop-shadow glows (brand-color rgba with decorative alpha) */
  --color-sun-glow: rgba(252, 236, 80, 0.4);
  --color-amber-glow: rgba(185, 151, 59, 0.35);

  /* Section background alternation */
  --color-bg-alt: #f3efe3;
  --color-bg-blush: #f2e4df;
  --color-bg-amber: #f5edd4;
  --color-bg-sand: #f0e0d5;

  /* Font stacks */
  --f-display: "DIN 2014 Extra Bold", "DIN 2014", "DIN 2014 Fallback", system-ui, sans-serif;
  --f-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "SF Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-forest);
  color: var(--color-light);
}

img { max-width: 100%; display: block; }

/* Skip-to-content link (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--color-dark);
  color: var(--color-light);
  font-family: var(--f-sans);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Screen-reader only (a11y) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-forest); border-radius: 3px; }

/* --- Typography Helpers --- */
.f-display {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.f-mono {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-forest { color: var(--color-forest); }
.text-crimson { color: var(--color-crimson); }
.brand-super { color: var(--color-forest); text-decoration: none; }
a.brand-super:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Parallax-header drift (shared by warum-heading, detail-heading) */
.parallax-header {
  transition: transform 0.15s linear;
  transform: translateX(var(--header-drift, 0));
  letter-spacing: -0.03em;
}

.link-underline {
  color: var(--color-crimson);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.link-underline:hover {
  border-bottom-color: var(--color-crimson);
}

/* --- Sections base --- */
main, header, footer {
  position: relative;
  z-index: 10;
}

section[id], [id="regeln"] {
  scroll-margin-top: 5rem;
}
.section-spacer {
  padding: 5rem 2rem;
}

.section-cinema {
  padding: 6rem 2rem;
}

.section-bg-alt { background-color: var(--color-bg-alt); }

/* --- Glassmorphism --- */
.glass-warm {
  background: rgba(250, 248, 240, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass-warm {
    background: rgba(250, 248, 240, 0.6);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
  }
}

/* Over photo backgrounds: higher opacity, NO backdrop-filter (parallax moves underneath = jank) */
.section-photo-bg .glass-warm {
  background: rgba(250, 248, 240, 0.88);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav-glass {
  position: fixed;
  top: var(--banner-h, 0px);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(250, 248, 240, 0.9);
  transition: background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav-glass {
    background: rgba(250, 248, 240, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
}

.nav-glass.scrolled {
  background: rgba(250, 248, 240, 0.92);
  border-bottom-color: rgba(17, 17, 17, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.125rem;
  color: var(--color-crimson);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-dark);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }

/* Desktop submenu system */
.nav-item-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link--parent {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-chevron {
  display: inline-block;
  width: 8px;
  height: 5px;
  margin-left: 0.25rem;
  vertical-align: middle;
  transition: transform 0.2s;
}

.nav-item-group:hover .nav-chevron,
.nav-link--parent[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 140px;
  padding: 0.75rem 0 0.5rem;
  background: rgba(250, 248, 240, 0.95);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav-submenu {
    background: rgba(250, 248, 240, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.nav-item-group:hover .nav-submenu,
.nav-link--parent[aria-expanded="true"] + .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu-link {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--color-dark);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-submenu-link:hover {
  opacity: 1;
  background: rgba(17, 17, 17, 0.04);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  font-family: var(--f-mono);
  letter-spacing: 0.05em;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(250, 248, 240, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu:focus {
  outline: none;
}
.mobile-menu:focus-visible {
  outline: 2px solid var(--color-crimson);
  outline-offset: -2px;
}

.mobile-link {
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--color-crimson); }

/* Mobile panel system (sliding sub-navigation) */
.mobile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: absolute;
  inset: 0;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}

.mobile-panel--main {
  transform: translateX(0);
}

.mobile-panel--main.hidden {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-panel--sub {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-panel--sub.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-link--parent {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s;
  padding: 0;
}

.mobile-link--parent:hover { color: var(--color-crimson); }

.mobile-chevron {
  display: inline-block;
  width: 10px;
  height: 7px;
  margin-left: 0.4rem;
  vertical-align: middle;
  transform: rotate(-90deg);
}

.mobile-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  opacity: 0.55;
  font-size: 0.85rem;
  font-family: var(--f-mono);
  padding: 0.5rem 1rem;
  transition: opacity 0.2s;
}

.mobile-back:hover { opacity: 1; }

.mobile-back-chevron {
  display: inline-block;
  width: 8px;
  height: 5px;
  margin-right: 0.3rem;
  vertical-align: middle;
  transform: rotate(90deg);
}

/* Language switcher (desktop + mobile) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

.lang-link {
  color: var(--color-dark);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.3s;
}
.lang-link:hover { opacity: 0.85; }
.lang-link.lang-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-sep {
  opacity: 0.25;
  user-select: none;
}

.lang-switch--mobile {
  margin-top: 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

/* Inline variant for use inside .legal-nav (no left-border separator) */
.lang-switch--inline {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

/* ═══════════════════════════════════════
   HERO — Full-bleed photography
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.15) 0%,
    rgba(250, 248, 240, 0.35) 35%,
    rgba(250, 248, 240, 0.7) 65%,
    rgba(250, 248, 240, 0.95) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title-wrap {
  margin: 0 0 2rem;
  font-weight: inherit;
}

/* Hero entrance animation — keyframes inlined in <head> as critical CSS */
.hero-line {
  display: block;
  overflow: visible;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  margin-top: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero-title {
  display: inline-block;
  position: relative;
  cursor: default;
}

.hero-title-crimson {
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.85;
  color: var(--color-crimson);
  text-shadow:
    0 0 60px rgba(190, 48, 24, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-title-forest {
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.85;
  color: var(--color-forest);
  text-shadow:
    0 0 60px rgba(91, 119, 79, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Glitch effect — crimson + forest pseudo colors */
.glitch-title {
  position: relative;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.glitch-title::before {
  color: var(--color-crimson);
}

.glitch-title::after {
  color: var(--color-forest);
}

.glitch-title.glitching::before {
  opacity: 0.7;
  animation: glitch-1 0.3s linear;
}

.glitch-title.glitching::after {
  opacity: 0.7;
  animation: glitch-2 0.3s linear;
}

@keyframes glitch-1 {
  0% { clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); transform: translate(0); }
  20% { clip-path: polygon(0 15%, 100% 15%, 100% 55%, 0 55%); transform: translate(4px, -2px); }
  40% { clip-path: polygon(0 60%, 100% 60%, 100% 85%, 0 85%); transform: translate(-3px, 2px); }
  60% { clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%); transform: translate(2px, 1px); }
  80% { clip-path: polygon(0 40%, 100% 40%, 100% 70%, 0 70%); transform: translate(-1px, -1px); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
}

@keyframes glitch-2 {
  0% { clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%); transform: translate(0); }
  20% { clip-path: polygon(0 30%, 100% 30%, 100% 60%, 0 60%); transform: translate(-3px, 1px); }
  40% { clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%); transform: translate(3px, -2px); }
  60% { clip-path: polygon(0 70%, 100% 70%, 100% 95%, 0 95%); transform: translate(-2px, 1px); }
  80% { clip-path: polygon(0 10%, 100% 10%, 100% 45%, 0 45%); transform: translate(1px, -1px); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
}

/* Hero title hover wiggle */
@keyframes wiggle {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-1.5deg) scale(1.01); }
  40% { transform: rotate(1.5deg) scale(1.02); }
  60% { transform: rotate(-1deg) scale(1.015); }
  80% { transform: rotate(0.5deg) scale(1.005); }
  100% { transform: rotate(0deg) scale(1); }
}

.hero-title.wiggling {
  animation: wiggle 0.5s ease-in-out;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-accent {
  width: 24px;
  height: 2px;
  margin-bottom: 0.5rem;
}

.bg-crimson { background: var(--color-crimson); }
.bg-forest { background: var(--color-forest); }

.stat-number {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-dark);
  line-height: 1;
}

.stat-label {
  opacity: 0.55;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  opacity: 0.15;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  animation: scroll-float 2.5s ease-in-out infinite;
  transition: opacity 0.5s;
  z-index: 2;
}

.scroll-indicator.hidden { opacity: 0; }

@keyframes scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

/* ═══════════════════════════════════════
   PHOTO STRIPS — Parallax interstitials
   ═══════════════════════════════════════ */
.photo-strip {
  position: relative;
  height: 55vh;
  min-height: 300px;
  max-height: 700px;
  overflow: hidden;
}

/* Dark overlay for night-road photo strip (D1a style — clean, no blur) */
.photo-strip--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.4) 100%
  );
  pointer-events: none;
}

/* Shared parallax image base (photo strips + section backgrounds) */
.photo-strip-image,
.section-bg-image {
  position: absolute;
  width: 100%;
  height: 130%;
  top: -15%;
  left: 0;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0%), 0);
}

/* ═══════════════════════════════════════
   SECTION PHOTO BACKGROUNDS
   ═══════════════════════════════════════ */
.section-photo-bg {
  position: relative;
  overflow: hidden;
}

.section-bg-image {
  z-index: 0;
}

/* Gradient overlay: transparent at edges, opaque center — lets photography bleed through */
/* NO backdrop-filter — causes scroll jank when parallax images move underneath */
.section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 240, 0.45) 0%,
    rgba(250, 248, 240, 0.78) 25%,
    rgba(250, 248, 240, 0.78) 75%,
    rgba(250, 248, 240, 0.45) 100%
  );
  pointer-events: none;
}

.section-photo-bg > .warum-block,
.section-photo-bg > .besondere-block {
  position: relative;
  z-index: 2;
}

/* Topographic contour background — shared by About and Newsletter */
.section-topo {
  position: relative;
}

.section-topo::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%237a9a6c' stroke-width='1.2'%3E%3Cpath d='M-20 580c60-30 140-50 220-80s160-70 240-60 160 50 240 40 120-50 160-70'/%3E%3Cpath d='M-20 520c80-20 160-60 240-90s160-50 240-30 140 60 220 50 120-40 160-60'/%3E%3Cpath d='M-20 460c70-40 150-70 230-100s180-40 260-20 130 50 210 40 110-30 140-50'/%3E%3Cpath d='M-20 400c90-30 170-80 250-110s150-30 230-10 140 40 220 30 120-40 150-55'/%3E%3Cpath d='M-20 340c60-50 140-90 220-120s170-20 250 0 120 30 200 20 130-50 170-65'/%3E%3Cpath d='M-20 280c80-40 160-100 240-130s160-10 240 10 110 30 190 20 140-40 170-55'/%3E%3Cpath d='M-20 220c70-50 150-110 230-140s180-10 260 15 100 35 180 25 130-30 150-45'/%3E%3Cpath d='M-20 160c90-40 170-100 250-135s150 0 230 20 120 40 200 30 110-30 140-40'/%3E%3Cpath d='M-20 100c60-30 140-80 220-110s170 5 250 25 130 35 210 25 120-25 150-35'/%3E%3Cpath d='M-20 50c80-20 160-60 240-80s160 10 240 30 110 25 190 15 130-20 150-30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% auto;
  background-repeat: repeat-y;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════ */
.newsletter-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 2rem;
  text-align: center;
}

.newsletter-heading {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--color-crimson);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.newsletter-text {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-form .form-group--checkbox {
  flex-basis: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.form-message {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  color: var(--color-slate);
  text-align: center;
}

.form-message--highlight {
  color: var(--color-forest);
  font-weight: bold;
  background: rgba(91, 119, 79, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* --- Sketch-style form elements --- */
.input-sketch {
  font-family: var(--f-sans);
  font-size: 0.95rem;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 2px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.3s;
  flex: 1;
}

.input-sketch::placeholder {
  color: var(--color-dark);
  opacity: 0.3;
}

.input-sketch:focus {
  border-bottom-color: var(--color-crimson);
}

.input-sketch:focus-visible {
  outline: 2px solid var(--color-crimson);
  outline-offset: 2px;
}

.btn-sketch:focus-visible {
  outline: 2px solid var(--color-crimson);
  outline-offset: 2px;
}

.input-textarea {
  resize: vertical;
  border-bottom-width: 2px;
  min-height: 8rem;
  width: 100%;
}

.btn-sketch {
  font-family: var(--f-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.7rem 2rem;
  border: 2px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn-sketch:hover {
  background-color: var(--color-dark);
  color: var(--color-bg);
}

.btn-sketch--loading {
  background-color: var(--color-mist);
  color: var(--color-bg);
  border-color: var(--color-mist);
}

.btn-sketch--success {
  background-color: var(--color-forest);
  color: var(--color-bg);
  border-color: var(--color-forest);
}

.btn-sketch--error {
  background-color: var(--color-crimson);
  color: var(--color-bg);
  border-color: var(--color-crimson);
}

.btn-sketch--warning {
  background-color: var(--color-amber);
  color: var(--color-bg);
  border-color: var(--color-amber);
}

/* ═══════════════════════════════════════
   DETAILS — Sub-sections
   ═══════════════════════════════════════ */

/* Warum? — Cinematic centered */
.warum-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.warum-heading {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--color-terracotta);
  margin: 0 0 2rem;
}

.warum-body {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.7;
  font-size: 1.05rem;
  line-height: 1.8;
}

.warum-body p {
  margin: 0 0 1rem;
}

.pull-quote {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--color-forest);
  margin-top: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.warum-closing {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.6;
  margin-top: 1.5rem;
  font-style: italic;
}

/* Detail headings */
.detail-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--color-charcoal);
  margin: 0 0 1.5rem;
}

.detail-body {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0 0 0.75rem;
}


/* Grid 3-column (footer) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   WHO? — Wer-Sektion (Polaroid + Trail-Cards)
   Maximal-Scrapbook-Theming, Topo-Background
   ═══════════════════════════════════════ */
.who-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.who-header {
  text-align: center;
  margin-bottom: 2.8rem;
}
.who-title {
  font-family: var(--f-display);
  color: var(--color-crimson);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

/* Polaroid (groß, zentral, dominant) */
.who-polaroid-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 4.5rem;
}
.who-polaroid {
  background: white;
  padding: 18px 18px 28px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.22),
    0 8px 16px rgba(0,0,0,0.10),
    0 1px 2px rgba(0,0,0,0.05);
  transform: rotate(-2.5deg);
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 2px;
}
.who-polaroid-tape {
  position: absolute;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.who-polaroid-tape--top {
  top: -14px;
  left: 36%;
  width: 110px;
  height: 26px;
  background: rgba(252, 236, 80, 0.62); /* sun yellow */
  transform: rotate(-5deg);
}
.who-polaroid-tape--bl {
  bottom: 14px;
  left: -12px;
  width: 78px;
  height: 22px;
  background: rgba(91, 119, 79, 0.50); /* forest green */
  transform: rotate(-9deg);
}
.who-polaroid-stage {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 aspect via padding-trick */
  height: 0;
  overflow: hidden;
  background: #1a1a1a;
  display: block;
}
.who-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
  filter: grayscale(1) contrast(1.06);
  max-width: none; /* override global "img { max-width: 100% }" */
}
.who-slide.visible {
  opacity: 1;
}
.who-polaroid-caption {
  text-align: center;
  margin-top: 18px;
}
.who-polaroid-title {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--color-charcoal);
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0;
}
.who-polaroid-sub {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--color-charcoal);
  opacity: 0.65;
  letter-spacing: 0.06em;
  margin: 10px 0 0;
  font-style: italic;
}

/* --solo variant: Polaroid ohne Subline (Title zentriert im weißen Streifen).
   Subline-<p> bleibt im Markup drin (canonical text); CSS blendet aus.
   Rollback einer Sprache: einfach `who-polaroid--solo` aus dem <article> entfernen. */
.who-polaroid--solo {
  padding-bottom: 32px;
}
.who-polaroid--solo .who-polaroid-caption {
  margin-top: 28px;
}
.who-polaroid--solo .who-polaroid-sub {
  display: none;
}

/* Trail-Cards (2-spaltig, scrapbook-Stil) */
.who-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin: 0 auto 3.2rem;
  max-width: 900px;
}
.who-card {
  background: white;
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow:
    0 14px 32px rgba(0,0,0,0.11),
    0 4px 8px rgba(0,0,0,0.06);
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.3rem;
  align-items: start;
  transition: transform 260ms cubic-bezier(.2, .8, .3, 1);
}
.who-card--johannes { transform: rotate(-1.8deg); }
.who-card--bilal    { transform: rotate(2.2deg); }
.who-card--johannes:hover { transform: rotate(-1.8deg) translateY(-3px); }
.who-card--bilal:hover    { transform: rotate(2.2deg) translateY(-3px); }

/* Multi-Tape per Card */
.who-tape {
  position: absolute;
  height: 22px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.who-tape--johannes-l { top: -10px;    left: 18%;  width: 78px; background: rgba(190, 48, 24, 0.42);  transform: rotate(-4deg); }
.who-tape--johannes-r { top: -8px;     right: 8%;  width: 48px; background: rgba(252, 236, 80, 0.58); transform: rotate(6deg); }
.who-tape--bilal-bl   { bottom: -8px;  left: 14%;  width: 60px; background: rgba(252, 236, 80, 0.55); transform: rotate(-6deg); }
.who-tape--bilal-tr   { top: -8px;     right: 16%; width: 78px; background: rgba(91, 119, 79, 0.48);  transform: rotate(4deg); }

/* Thumb */
.who-thumb {
  position: relative;
  width: 130px;
  border-radius: 5px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
  background: var(--color-bg-alt);
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.who-thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.06); /* BW match Polaroid */
}
.who-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}
/* Magnify-Icon — Splide-Arrow-Pattern (Site-Image-UI-Vokabular, full DNA-Konsistenz).
   Dark-Capsule `rgba(17,17,17,0.4)` (Splide `__arrow` background) + `--color-sun` Stroke
   + Color-matched Glow `drop-shadow(0 0 Npx rgba(252,236,80, α))`.
   Stroke-Width 2.2 matches Site-Subtle-Stroke-Vokabular (1.0-2.0 Range).
   Mini-Badge: 22px outer, 14px Icon-Inner (padding-Effekt, kompakter als Splide-Arrow's 36×36 / 16-Icon).
   Sprach-neutral, ersetzt `.who-thumb-hint`-Capsule (AD #77 → S21). */
.who-thumb::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcec50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='10.5' cy='10.5' r='5.5'/><line x1='14.5' y1='14.5' x2='19' y2='19'/><line x1='10.5' y1='8' x2='10.5' y2='13'/><line x1='8' y1='10.5' x2='13' y2='10.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  filter: drop-shadow(0 0 3px rgba(252, 236, 80, 0.7));
  pointer-events: none;
  transition: transform 200ms ease, filter 200ms ease, background-color 200ms ease;
}
.who-thumb:hover::after {
  transform: scale(1.12);
  background-color: rgba(17, 17, 17, 0.55);
  filter: drop-shadow(0 0 5px rgba(252, 236, 80, 0.9));
}

/* Bio block */
.who-name {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.who-role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.who-card--johannes .who-role { color: var(--color-terracotta); }
.who-card--bilal    .who-role { color: var(--color-forest); }
.who-role-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.who-bio {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--color-charcoal);
  opacity: 0.84;
  line-height: 1.6;
  margin: 0.85rem 0 0;
}
.who-bio a { color: inherit; opacity: 1; }
.who-bio a.brand-super { color: var(--color-forest); }
.who-bio a.link-underline {
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

/* Motto: kompakt, kein dashed-divider, handwritten-feel */
.who-motto {
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  font-style: italic;
  transform: rotate(-0.6deg);
}
.who-motto .accent {
  color: var(--color-crimson);
  font-style: normal;
}

/* Portrait Modal — top-banner + navbar aware via --banner-h + --navbar-h CSS-vars
   (set in main.js initTopBanner / initNavbar). Backdrop bleibt full-viewport, aber
   das Content-Center wird via padding-top unter den sichtbaren Banner+Navbar-Bereich
   verschoben — sonst wird das Bild oben angeschnitten wenn das Top-Banner offen ist. */
.portrait-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-top: calc(1.5rem + var(--banner-h, 0px) + var(--navbar-h, 0px));
  cursor: pointer; /* tap-anywhere-to-close affordance (no UI) */
}
.portrait-modal.open {
  display: flex;
  animation: whoFadeIn 200ms ease;
}
@keyframes whoFadeIn {
  from { opacity: 0 }
  to   { opacity: 1 }
}
.portrait-modal-inner {
  max-width: min(88vw, 560px);
  max-height: calc(90vh - var(--banner-h, 0px) - var(--navbar-h, 0px));
  max-height: calc(90svh - var(--banner-h, 0px) - var(--navbar-h, 0px)); /* mobile-stable viewport */
  position: relative;
}
.portrait-modal img {
  width: 100%;
  height: auto;
  max-height: calc(90vh - var(--banner-h, 0px) - var(--navbar-h, 0px));
  max-height: calc(90svh - var(--banner-h, 0px) - var(--navbar-h, 0px));
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .who-inner { padding: 0 1.25rem; }
  .who-header { margin-bottom: 2.2rem; }
  .who-polaroid-wrap { margin-bottom: 3rem; }
  .who-polaroid {
    max-width: 360px;
    transform: rotate(-1.5deg);
  }
  .who-polaroid-tape--top { left: 32%; width: 90px; }
  .who-polaroid-title { font-size: 2rem; }
  .who-cards {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    margin-bottom: 2.5rem;
  }
  /* Float-Wrap: Thumb floats left, h3+role+bio fließen drumherum (vertical-min für Mobile) */
  .who-card {
    display: block; /* override desktop grid */
    padding: 1.1rem;
  }
  .who-card::after {
    content: '';
    display: table;
    clear: both;
  }
  .who-thumb {
    float: left;
    width: 100px;
    margin: 0 1rem 0.4rem 0;
  }
  /* Role-Mobile-Override: desktop's `display: inline-flex` ist atomic-inline und springt
     unter den float wenn horizontal-space knapp wird. Inline → wraps mit bio-flow. */
  .who-role {
    display: inline;
  }
  .who-role-dot {
    vertical-align: middle;
    margin-right: 0.45rem;
    margin-top: -1px;
  }
  .who-card--johannes { transform: rotate(-1deg); }
  .who-card--bilal    { transform: rotate(1.2deg); }
  .who-card--johannes:hover { transform: rotate(-1deg) translateY(-2px); }
  .who-card--bilal:hover    { transform: rotate(1.2deg) translateY(-2px); }
  .who-name { font-size: 1.4rem; }
  .who-bio { font-size: 0.76rem; }
}

/* Reduced motion: kill rotation animations + transitions */
@media (prefers-reduced-motion: reduce) {
  .who-polaroid,
  .who-card--johannes,
  .who-card--bilal,
  .who-motto { transform: none !important; }
  .who-card--johannes:hover,
  .who-card--bilal:hover { transform: none !important; }
  .who-slide { transition: none !important; }
}

/* ═══════════════════════════════════════
   TIMELINE (Regeln) — Centered
   ═══════════════════════════════════════ */
.regeln-block {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

.regeln-block .detail-heading {
  text-align: center;
  color: var(--color-amber);
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  opacity: 0.35;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 1.25rem 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 1.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.dot-crimson {
  background: var(--color-crimson);
  box-shadow: 0 0 0 4px rgba(190, 48, 24, 0.15);
}

.dot-forest {
  background: var(--color-forest);
  box-shadow: 0 0 0 4px rgba(91, 119, 79, 0.15);
}

.dot-amber {
  background: var(--color-amber);
  box-shadow: 0 0 0 4px rgba(185, 151, 59, 0.15);
}

.dot-sun {
  background: var(--color-sun);
  box-shadow: 0 0 0 4px rgba(252, 236, 80, 0.25);
}

.timeline-text {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.75;
  margin: 0;
}

/* ═══════════════════════════════════════
   CHECKPOINT BAR (Das Besondere)
   ═══════════════════════════════════════ */
.besondere-block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem;
  text-align: center;
}

.besondere-block .detail-heading {
  color: var(--color-forest-dark);
}

.besondere-block .detail-body {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
}

.checkpoint-bar {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
}

.checkpoint-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.checkpoint-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.checkpoint-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.checkpoint-city {
  font-size: 0.6rem;
  opacity: 0.4;
}

.checkpoint-line {
  flex: 1;
  height: 2px;
  margin: 0 0.75rem;
  border-radius: 2px;
  margin-top: -1.5rem;
  opacity: 0.4;
}

/* Gradient colors now applied via SVG wobble backgrounds in grit layer below */

/* ═══════════════════════════════════════
   LEISTUNGEN — Pills
   ═══════════════════════════════════════ */
.leistungen-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem;
  text-align: center;
}

.leistungen-block .detail-heading {
  text-align: center;
  color: var(--color-slate);
}

.leistungen-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.leistung-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 2px;
  font-size: 0.85rem;
  text-align: left;
  transition: border-color 0.3s;
}

.leistung-pill:hover {
  border-color: rgba(17, 17, 17, 0.35);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55em;
}

/* ═══════════════════════════════════════
   INFO-SLIDER (Instagram-style, Splide)
   ═══════════════════════════════════════ */
.info-slider-section {
  position: relative;
  overflow: hidden;
}

.info-slide {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 360px;
  max-height: 700px;
}

.info-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .info-slide {
    height: 75vh;
    min-height: 400px;
    max-height: none;
  }
}

/* Text overlay — top-left, per-line bg-strips */
.info-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem;
  gap: 0.35rem;
  pointer-events: none;
}

.info-slide-heading {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--color-crimson);
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  margin-bottom: 0.15rem;
}

.info-slide-line {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3em 0.65em;
  border-radius: 2px;
}

.info-slide-stat {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-sun);
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.info-slide-highlight {
  color: var(--color-sun);
}

.info-slide-price {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--color-golden);
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Info-slider Splide overrides */

/* Info-slider pagination (Splide-generated, real position indicator) */
.info-slider-section .splide__pagination {
  display: flex !important;
  position: absolute !important;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.info-slider-section .splide__pagination__page {
  background: var(--color-light) !important;
  opacity: 0.35;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  transition: opacity 0.2s;
}

.info-slider-section .splide__pagination__page.is-active {
  opacity: 0.95;
  background: var(--color-sun) !important;
  filter: drop-shadow(0 0 3px rgba(252, 236, 80, 0.6));
}

/* Swipe hint — pulsing arrow to signal more slides */
.info-slider-hint {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: hintPulse 2s ease-in-out infinite;
  pointer-events: none;
}

.info-slider-hint svg {
  width: 14px;
  height: 14px;
  fill: var(--color-sun);
  filter: drop-shadow(0 0 3px rgba(252, 236, 80, 0.6));
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.7; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

/* Hide hint after first interaction (JS adds .interacted) */
.info-slider-section.interacted .info-slider-hint {
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .info-slider-hint { animation: none; }
}

/* ═══════════════════════════════════════
   PHOTO CAROUSEL (Splide)
   ═══════════════════════════════════════ */
.carousel-section {
  position: relative;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 60vh;
  min-height: 300px;
  max-height: 700px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-image {
    height: 45vh;
    min-height: 240px;
  }
}

/* Splide overrides — arrows overlaid on images, minimal colored buttons */
.splide {
  position: relative;
}

.splide__arrows {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.splide__arrow {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  background: rgba(17, 17, 17, 0.35) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  opacity: 0.6;
  transition: opacity 0.3s;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.splide__arrow:hover {
  opacity: 1;
}

.splide__arrow--prev { left: 1rem; }
.splide__arrow--next { right: 1rem; }

.splide__arrow svg {
  width: 16px !important;
  height: 16px !important;
  fill: var(--color-sun) !important;
  filter: drop-shadow(0 0 4px rgba(252, 236, 80, 0.7));
}

/* Prev arrow: flip the SVG so it points left */
.splide__arrow--prev svg {
  transform: scaleX(-1);
}

/* Hide Splide's auto-generated pagination */
.splide__pagination {
  display: none !important;
}

/* Minimal carousel indicator — 3 static dots, pure CSS */
.carousel-indicator {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.carousel-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-sun);
  opacity: 0.4;
  filter: drop-shadow(0 0 3px rgba(252, 236, 80, 0.6));
}

.carousel-indicator-dot:nth-child(2) {
  opacity: 0.8;
}

/* Pagination styles preserved for future use:
.splide__pagination {
  position: absolute !important;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(250, 248, 240, 0.5);
  border-radius: 20px;
}

.splide__pagination__page {
  background: var(--color-dark) !important;
  opacity: 0.3;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
}

.splide__pagination__page.is-active {
  background: var(--color-crimson) !important;
  opacity: 1;
}
*/

/* ═══════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════ */
.faq-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-list {
  margin-top: 2rem;
}

/* Category heading inside .faq-block — used on registration pages
   where FAQs are split into "Zur Anmeldung" + "Allgemein" subgroups */
.faq-category-heading {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--color-forest);
  margin-top: 2.5rem;
  margin-bottom: 0;
}
.faq-category-heading:first-child { margin-top: 0; }
.faq-category-heading + .faq-list { margin-top: 1rem; }

.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}



.faq-question {
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.faq-question:hover { opacity: 1; }

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-chevron {
  display: inline-block;
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-item[open] > .faq-question .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out-expo);
}

.faq-item[open] > .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.7;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 0 1rem;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-form-wrap {
  padding: 2rem 2rem;
}

.contact-form-wrap .detail-heading {
  color: var(--color-slate);
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Bot protection — visually hidden honeypot field */
.form-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

/* Privacy checkbox */
.form-group--checkbox {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.4;
  cursor: pointer;
  opacity: 0.7;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-forest);
}

.checkbox-label a {
  color: var(--color-crimson);
  text-decoration: underline;
}
/* Form-privacy links (newsletter + contact) use .link-underline for consistency
   with the footer-legal links (same destination, same pattern). The rule above
   has higher specificity than .link-underline, so this guard is needed. */
.checkbox-label a.link-underline {
  text-decoration: none;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.55;
  font-size: 0.65rem;
}

.contact-info {
  padding-top: 4rem;
}

.contact-info-label {
  opacity: 0.55;
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
  display: block;
}

.contact-info-label + .detail-body {
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════
   SVG DOT RACE — Woven mode (only)
   ═══════════════════════════════════════ */
.dot-race-path {
  fill: none;
  stroke: var(--color-crimson);
  stroke-width: 2;
  opacity: 0.18;
  stroke-linecap: round;
}

/* Static glow — no animated filter (major perf win) */
.dot-race-dot {
  filter: drop-shadow(0 0 5px var(--color-sun)) drop-shadow(0 0 10px var(--color-sun-glow));
}

.dot-race-dot--chaser {
  filter: drop-shadow(0 0 4px var(--color-amber)) drop-shadow(0 0 8px var(--color-amber-glow));
}

.dot-race-woven {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
  overflow: visible;
}

/* --- Social Icon --- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.social-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

/* --- Birdie watermark in Details --- */
.birdie-bg {
  position: relative;
  overflow: hidden;
}

.birdie-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -8%;
  width: 55%;
  max-width: 520px;
  aspect-ratio: 1310 / 1394;
  transform: translateY(-50%);
  background-image: url('img/birdie-line.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════
   IMPRINT / FOOTER
   ═══════════════════════════════════════ */
.imprint {
  padding: 4rem 2rem;
  background: var(--color-bg);
}

.imprint-logo {
  font-size: 1.5rem;
  color: var(--color-crimson);
  margin: 0 0 1rem;
}

.imprint-heading {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--color-dark);
  margin: 0 0 0.75rem;
  letter-spacing: 0.1em;
}

.imprint-meta {
  opacity: 0.5;
  margin: 0.25rem 0;
  font-size: 0.7rem;
}

.imprint-tagline {
  font-size: 1rem;
  color: var(--color-forest);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-links li {
  margin: 0.3rem 0;
}

.legal-links a {
  font-size: 0.7rem;
  opacity: 0.5;
}

.legal-links a:hover {
  opacity: 1;
}

/* Photo credits bar */
.photo-credits {
  font-size: 0.65rem;
  opacity: 0.45;
  text-align: center;
  margin-top: 2.5rem;
  line-height: 1.8;
}

.photo-credits-label {
  display: inline-block;
  padding: 0.1em 0.45em 0.05em;
  background: rgba(17, 17, 17, 0.05);
  clip-path: polygon(
    0% 6%, 2.5% 0%, 98% 1.5%, 100% 5%,
    99% 96%, 97% 100%, 1% 98%, 0% 92%
  );
  margin-right: 0.4em;
  letter-spacing: 0.1em;
}

.photo-credit-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
}

.photo-credit-link:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

.photo-credit-sep {
  margin: 0 0.3em;
  opacity: 0.5;
}

/* Photo credit hover capsules on photo elements */
[data-credit] {
  position: relative;
}

[data-credit]::before {
  content: attr(data-credit);
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.25em 0.6em;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 5;
  white-space: nowrap;
}

/* Class-based reveal (set by initCreditAutoHide() in main.js) — auto-hides
   after grace period regardless of input method (Mobile-Sticky-Hover-Fix). */
[data-credit].credit-shown::before {
  opacity: 1;
  transform: translateY(0);
}

.imprint-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.65rem;
  opacity: 0.3;
}

/* ═══════════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz, etc.)
   ═══════════════════════════════════════ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--color-crimson);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  color: var(--color-dark);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.legal-page h3 {
  font-size: 1.05rem;
  color: var(--color-dark);
  margin: 2rem 0 0.75rem;
}

.legal-page p {
  margin: 0 0 1rem;
  opacity: 0.85;
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  opacity: 0.85;
  line-height: 1.7;
}

.legal-page li {
  margin: 0.3rem 0;
}

.legal-page a {
  color: var(--color-crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  opacity: 0.7;
}

/* Back-link in .legal-nav uses the subtle .link-underline pattern (underline
   only on hover via border-bottom). Override .legal-page a's permanent underline
   so the pattern works — otherwise double-line artifact on hover. */
.legal-page a.link-underline {
  text-decoration: none;
}
/* Restore full opacity on .link-underline hover — otherwise .legal-page a:hover
   dims the text to 0.7 while the border-bottom stays full crimson, producing
   dissonance (line brighter than text). Also fixes the opacity-stacking bug
   in .legal-footer: parent opacity 0.5 × hover 0.7 = 0.35 effective, so the
   link would become DIMMER on hover; restoring to 1.0 keeps it at the 0.5
   baseline and lets the border-bottom do the hover-signalling. */
.legal-page a.link-underline:hover {
  opacity: 1;
}

/* Lang-switcher inside .legal-nav: preserve the inactive/active underline
   distinction that .legal-page a would otherwise flatten (all 3 permanently
   underlined, active-state indicator lost). */
.legal-page a.lang-link {
  text-decoration: none;
}
.legal-page a.lang-link.lang-active {
  text-decoration: underline;
}

.legal-page strong {
  color: var(--color-dark);
  opacity: 1;
}

.legal-nav {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 0.75rem;
  opacity: 0.5;
}

.legal-footer p {
  opacity: 1;
  margin: 0.25rem 0;
}

.legal-page--centered {
  text-align: center;
}

.legal-page--centered h1 {
  font-size: 2.5rem;
  color: var(--color-forest);
  margin-bottom: 1.5rem;
}

/* Error pages (404) can restore the base crimson via the .text-crimson utility — higher specificity than the default forest above. See AD #59. */
.legal-page--centered h1.text-crimson {
  color: var(--color-crimson);
}

.legal-page--centered .legal-page-lead {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.legal-page--centered .legal-page-sub {
  opacity: 0.7;
  margin-bottom: 2rem;
}

/* Intro block for legal pages — left-aligned content inside .legal-page--centered (Pretix shopping options info) */
.legal-intro {
  text-align: left;
  margin: 0 auto 2.5rem;
}
.legal-intro p { margin-bottom: 1rem; }
.legal-intro ul { margin: 0.5rem 0 1rem 1.5rem; padding-left: 0; }
.legal-intro ul li { margin-bottom: 0.3rem; opacity: 0.85; line-height: 1.7; }

/* Centered AGB consent note above embedded widgets (e.g. Pretix).
   Scoped under .legal-page to beat .legal-page p (0,1,1) on opacity/margin/line-height. */
.legal-page .consent-note {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.6;
  margin: 0.5rem auto 2rem;
  max-width: 36rem;
}
.legal-page .consent-note a:hover {
  opacity: 0.85;
}

/* Wider variant — for embedded widgets (e.g. Pretix registration) */
.legal-page--wide {
  max-width: 960px;
}

/* ═══════════════════════════════════════
   TOP BANNER (news-flash)
   ═══════════════════════════════════════ */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.4rem 1rem;
  background: var(--color-forest-bright);
  color: var(--color-light);
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out-expo);
}

.top-banner.hidden {
  transform: translateY(-100%);
}

.banner-star {
  vertical-align: 0.1em;
}
.top-banner-text {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.top-banner:hover .top-banner-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-banner-close {
  background: none;
  border: none;
  color: var(--color-light);
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  justify-self: end;
}

.top-banner-close:hover { opacity: 1; }

/* ═══════════════════════════════════════
   FLOATING CTA
   ═══════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 92;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: var(--color-neon-green);
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(61, 191, 42, 0.45), 0 0 12px rgba(61, 191, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s, background-color 0.3s, box-shadow 0.3s;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta:hover {
  background: var(--color-neon-green-hover);
  box-shadow: 0 4px 24px rgba(61, 191, 42, 0.55), 0 0 20px rgba(61, 191, 42, 0.35);
}

/* ═══════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  z-index: 90;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 240, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 50%;
  color: var(--color-dark);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s, background-color 0.3s, border-color 0.3s;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .scroll-top {
    background: rgba(250, 248, 240, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.scroll-top.visible {
  opacity: 0.6;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  opacity: 1;
  border-color: rgba(17, 17, 17, 0.25);
}

/* ═══════════════════════════════════════
   LANGUAGE PILL (floating i18n discovery)
   ═══════════════════════════════════════ */

.lang-pill {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 91;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(250, 248, 240, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s, background-color 0.3s, border-color 0.3s;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .lang-pill {
    background: rgba(250, 248, 240, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.lang-pill.visible {
  opacity: 0.7;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-pill:hover {
  opacity: 1;
  border-color: rgba(17, 17, 17, 0.2);
}

.lang-pill-link {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
  padding: 0.15rem 0.1rem;
}

.lang-pill-link:hover {
  opacity: 1;
  color: var(--color-crimson);
}

.lang-pill-sep {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  opacity: 0.2;
  user-select: none;
}

/* ═══════════════════════════════════════
   LANGUAGE NUDGE (browser-detected prompt)
   ═══════════════════════════════════════ */

.lang-nudge {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 95;
  max-width: 340px;
  width: calc(100% - 2rem);
  padding: 1rem 1.2rem;
  background: rgba(250, 248, 240, 0.8);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .lang-nudge {
    background: rgba(250, 248, 240, 0.55);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
  }
}

.lang-nudge.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.lang-nudge-text {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  opacity: 0.7;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.lang-nudge-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-nudge-link {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--color-crimson);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--color-crimson);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.lang-nudge-link:hover {
  background: var(--color-crimson);
  color: var(--color-light);
}

.lang-nudge-dismiss {
  background: none;
  border: none;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--color-dark);
  opacity: 0.4;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  transition: opacity 0.2s;
}

.lang-nudge-dismiss:hover {
  opacity: 0.8;
}

/* Hide pill when nudge is showing (avoid visual clutter) */
.lang-nudge.visible ~ .lang-pill { opacity: 0 !important; pointer-events: none !important; }

/* Mobile only — desktop nav already shows language switcher */
@media (max-width: 768px) {
  .lang-pill { display: flex; }
  .lang-nudge { display: block; }
}

/* ═══════════════════════════════════════
   D1d GRIT LAYER — Bootstrapped imperfections
   ═══════════════════════════════════════ */

/* --- Technique 1: Paper grain texture overlay --- */
/* Static noise PNG as fixed layer, isolated from scroll repaints */
/* position: fixed already promotes to compositor layer — no will-change needed */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 300; /* Above navbar (200), below future modals */
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAAAAACPAi4CAAAEeUlEQVR42m1X24EjMQhz//VQBEVQBN/+ugGJh7O3d5udJB4bhBCac03vvS5y40euX3O760f51yyune++5RbXeviBS6z0+MZwk8ZFbmX5R2K99w7YROV8N3rGcDMGsXivNyNyxOTGN5L/LlYiUDl5EH9VcOp3mPGOPMZ2Ksrl30UkfOoikszwIqAKngGb8erDS8VXCveeb7ne+6LmhYQ67vTa6vtkIfwld48lgNekihAp8G0GL1WFOzGJVxh2YsWkx1VZ2huHGWDzxO57FdMJJ8soWVu1+7/ac6XeJklGyIrnz+nwCmow4lugtYU8u/uE3xtseuRqwYUXAkZAvMNyftFMrHWWC2yykJ+k8Mm8PRektuImin35P+IgPwCxI0erGPwMbALeFf9Z3tVKuUjxmQgSjA2Q9QeNSUfibB4213ef7uJ1jUw2BgKqNSLMaICYaNW4OjBwoLtrr4lLHNsckyEjPjRJRp1sJakSNy1z02zsvr/bSyqweD1FN5dVu8QKQqIP0bLVrAGyYqJWCRPuSVybRtLUjO+np5VMRJkWpfxSJZ361n3GbKMqsc/RX6Llt7Mf2lfQm6qDN4lxICBWlQKeRrQU90Ei/h6UVNZdHG+85O/ibq1QLGdc96AmjGfd5N4UsOKXluIVFs5mupR2pmzOrihWutXE+Jii0pVnN0Ko3gzNWwj8jggJB0zuBUqceLHd+Y2hF63Xt91SDenx4l2iopPHBOTTDVfe0SZBJH8Ueaan2DrMVR4itUYcMKNulvvqcSOTZfUiO6etYi5EPdF8UiNRZihXsNmp3Fa0LuWLYNSbclmckDo4cpWhUSzENP0on6MNA8+IOCpKwakehhQidkvhxej/QGSzhDHxbDK2resqrF1Obnk0CaosAMf0ocH/Jp2hNtJbOecCJo2JDkyVx2dOUqo8UQzSySOywtGmaB6wxEsAHQ7ARwCToIsdocpslJq79EuLWk+L207VZzo/3oMASVezGy16DlFqD51jUiyMHBpAoWlbTOxTZS+gJooyRk76sUd3exbEodOmzir47/QqFhnjD37IaOZwzM46R7l+eCBJQUZbM5Amt+eC0vfqw6Ouhr0G5KaJ1XJ/EhFsPYKvKd+ly4xoTZqEoDmNudCDSdZXMkOesCILvTMBqQeFyuhtpKVr3nv7Xd02KQp1ysISZmiLl5Hdlgp6ZTLxmfZceP0YcN0llcbTTJkQCHZeQ1qPJKVN5pyO24k/ZTnvSLA/TzmP5VCkpzGNyaTjunXedLy9w/ZD7b6HqthC9fH6abKk6xbO3NkToSW37WZB6PrHt56UGkvW1jwU/SXf81Dyjv3zzj6m7SnBzmemNRjr2pEDnGoKsVUtDMU3kZLlGS/QDtuPETBZNtSwRwW0bYfcsUGBZUsrbV7WZdmGebLcUJTbbnIIx7uvBoPL9WKeBnVRmzv6jAoigiYLIuxeqvtf4zLZUqAWBj5f8tezaa2tsr2TgSkgm35qc3rGX4kU3roKmiZy6cFXJasMHKf64uFdHZqH8Ih/cH7l/XRhaNQAAAAASUVORK5CYII=");
  background-repeat: repeat;
  background-size: 64px 64px;
}

/* --- Technique 2: Hand-drawn SVG dividers --- */
/* Wobbly line SVG replacing straight borders */

/* Shared wobble rendering */
.imprint::before,
.imprint-bottom::before,
.stat-divider,
.checkpoint-line,
.timeline::before {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Imprint top border: replace 2px solid with wobbly SVG */
.imprint {
  border-top: none;
  position: relative;
}
.imprint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C50 0.5, 100 3.5, 200 2 S350 0.8, 400 2 S550 3.2, 600 2 S750 0.5, 800 2 S950 3.5, 1000 2 S1100 1, 1200 2' stroke='%23111111' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
}

/* Imprint-bottom: replace 1px solid with wobbly line */
.imprint-bottom {
  border-top: none;
  position: relative;
}
.imprint-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 3' preserveAspectRatio='none'%3E%3Cpath d='M0 1.5 C40 0.8, 80 2.2, 160 1.5 S320 0.6, 400 1.5 S560 2.4, 640 1.5 S800 0.8, 880 1.5 S960 2.2, 1000 1.5' stroke='%23111111' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.1;
}

/* Stat dividers: wobbly vertical line */
.stat-divider {
  width: 2px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 40' preserveAspectRatio='none'%3E%3Cpath d='M1.5 0 C0.8 5, 2.2 10, 1.5 15 S0.6 25, 1.5 30 S2.4 35, 1.5 40' stroke='%23111111' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
}

/* Checkpoint lines: wobbly horizontal */
.checkpoint-line {
  height: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C20 0.8, 40 3.2, 80 2 S120 0.5, 160 2 S180 3, 200 2' stroke='%23111111' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}
/* Override the gradient backgrounds with the SVG wobble, keep color via opacity */
.line-crimson-forest {
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 4' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%23be3018'/%3E%3Cstop offset='100%25' stop-color='%235b774f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 2 C20 0.8, 40 3.2, 80 2 S120 0.5, 160 2 S180 3, 200 2' stroke='url(%23g1)' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
}
.line-forest-amber {
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 4' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%235b774f'/%3E%3Cstop offset='100%25' stop-color='%23b9973b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 2 C20 0.8, 40 3.2, 80 2 S120 0.5, 160 2 S180 3, 200 2' stroke='url(%23g2)' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
}
.line-amber-sun {
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 4' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g3' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%23b9973b'/%3E%3Cstop offset='100%25' stop-color='%23fcec50'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 2 C20 0.8, 40 3.2, 80 2 S120 0.5, 160 2 S180 3, 200 2' stroke='url(%23g3)' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
}

/* Timeline vertical line: wobbly */
.timeline::before {
  width: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 400' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='tg' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23be3018'/%3E%3Cstop offset='33%25' stop-color='%235b774f'/%3E%3Cstop offset='66%25' stop-color='%23b9973b'/%3E%3Cstop offset='100%25' stop-color='%23fcec50'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 0 C0.5 20, 3.5 40, 2 60 S0.5 100, 2 120 S3.5 160, 2 180 S0.5 220, 2 240 S3.2 280, 2 300 S0.8 340, 2 360 S3 380, 2 400' stroke='url(%23tg)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-color: transparent;
}

/* --- Technique 3: Micro-rotations on leistung pills --- */
/* Leistung pills: slight alternating rotations */
.leistung-pill:nth-child(odd) { transform: rotate(-0.3deg); }
.leistung-pill:nth-child(even) { transform: rotate(0.4deg); }
.leistung-pill {
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}
.leistung-pill:hover { transform: rotate(0deg); }

/* --- Technique 4: Stamp/tape treatments on monospace labels --- */

/* Contact info labels: subtle tape effect */
.contact-info-label {
  display: inline-block;
  padding: 0.1em 0.45em 0.05em;
  background: rgba(17, 17, 17, 0.035);
  clip-path: polygon(
    0% 5%, 1.5% 0%, 99% 2%, 100% 6%,
    99.5% 95%, 98% 100%, 0.5% 97%, 0% 93%
  );
}

/* Form labels: label-maker tape */
.form-label {
  display: inline-block;
  padding: 0.1em 0.5em 0.05em;
  background: rgba(17, 17, 17, 0.03);
  border: 1px dashed rgba(17, 17, 17, 0.08);
  border-radius: 1px;
}

/* Checkpoint labels: stamped look */
.checkpoint-label {
  padding: 0.1em 0.35em;
  background: rgba(17, 17, 17, 0.035);
  clip-path: polygon(
    1% 4%, 3% 0%, 97% 2%, 99% 5%,
    100% 96%, 97.5% 100%, 2% 98%, 0% 94%
  );
}

/* Imprint headings: bolder stamp */
.imprint-heading {
  display: inline-block;
  padding: 0.15em 0.6em 0.1em;
  background: rgba(17, 17, 17, 0.05);
  clip-path: polygon(
    0% 6%, 2.5% 0%, 98% 1.5%, 100% 5%,
    99% 96%, 97% 100%, 1% 98%, 0% 92%
  );
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo),
              transform 1s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.reveal-delay-2 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .section-spacer { padding: 3.5rem 1.25rem; }
  .section-cinema { padding: 4rem 1.25rem; }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.25rem;
  }

  .contact-info {
    padding-top: 0;
  }

  .regeln-block,
  .besondere-block,
  .leistungen-block {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .checkpoint-bar {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .checkpoint-node {
    flex-direction: row;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .checkpoint-line {
    width: 2px;
    height: 1.5rem;
    margin: 0;
    margin-left: 7px;
    margin-top: 0;
  }

  .leistungen-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-wrap {
    padding: 1.5rem 1.25rem;
  }

  .stats-bar {
    gap: 1rem;
    margin-top: 2rem;
  }

  .glass-warm {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .contact-form-wrap {
    padding: 1.5rem 1.25rem;
  }

  /* Photo strips smaller on mobile */
  .photo-strip {
    height: 40vh;
    min-height: 240px;
  }

  /* Legal pages: tighter padding on mobile */
  .legal-page {
    padding: 3rem 1.25rem 2rem;
  }

  /* Hero image focus shift for mobile */
  .hero-image {
    object-position: center 35%;
  }

  /* Disable parallax on mobile for performance */
  .parallax-image {
    height: 100% !important;
    top: 0 !important;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 480px) {
  .hero-title-crimson {
    font-size: clamp(4rem, 22vw, 7rem);
  }
  .hero-title-forest {
    font-size: clamp(5.5rem, 30vw, 10rem);
  }

  .warum-heading {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* Desktop: ensure nav links visible */
@media (min-width: 769px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }

}

/* Short desktop viewports (laptops with toolbars, split-screen, tiling WMs) */
@media (max-height: 700px) and (min-width: 769px) {
  .hero {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-title-crimson { font-size: clamp(3.5rem, 12vw, 8rem); }
  .hero-title-forest  { font-size: clamp(5rem, 16vw, 11rem); }

  .stats-bar { margin-top: 2.5rem; }

  .scroll-indicator { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .parallax-image {
    transform: none !important;
  }

  .hero-image {
    transform: none !important;
  }

  .dot-race-dot,
  .dot-race-dot--chaser {
    filter: none;
  }

  .glitch-title.glitching::before,
  .glitch-title.glitching::after {
    animation: none;
    opacity: 0;
  }

  .scroll-indicator {
    animation: none;
  }

  .hero-title.wiggling {
    animation: none;
  }

  /* Ensure hero content visible with reduced motion */
  .hero-line,
  .hero-subtitle,
  .stats-bar {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Disable scroll-reveal animations */
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Release GPU layers when transforms are disabled */
  .parallax-image,
  .hero-image {
    will-change: auto;
  }
}

/* Print styles extracted to print.css (loaded with media="print") */

/* ═══════════════════════════════════════
   PRETIX WIDGET THEMING (AD #56)
   Pretix v2 widget exposes --pretix-brand-* custom properties on :root.
   We override these on the .pretix-widget scope to match SUPER!WEIT colors.
   Synced with Pretix Veranstalter-Backend Shop-Design (single source of truth).
   - Primary (CTA buttons, links, focus): forest-dark (a11y-safe 6.4:1 vs white)
   - Danger (errors, sold-out): crimson (matches our error palette)
   - Container border softened for cleaner integration with .legal-page
   Success/Warning/Info kept at Pretix defaults (semantically distinctive).
   ═══════════════════════════════════════ */
.pretix-widget,
.pretix-widget-alert-box {
  /* Primary: forest-dark + shades — matches Pretix Backend Hauptfarbe.
     Basis mirrors --color-forest-dark so brand-color tweaks propagate;
     the 8 darken/tint shades below are Pretix-computed offsets (not
     tokenized — no mirrored semantic in our palette). */
  --pretix-brand-primary:            var(--color-forest-dark);
  --pretix-brand-primary-darken-5:   #425b3a;
  --pretix-brand-primary-darken-10:  #3b5234;
  --pretix-brand-primary-darken-15:  #33462d;
  --pretix-brand-primary-darken-17:  #30422a;
  --pretix-brand-primary-darken-20:  #2c3c26;
  --pretix-brand-primary-darken-30:  #1c2719;
  --pretix-brand-primary-tint-90:    #edf0ec;
  --pretix-brand-primary-shade-42:   #2b3b26;

  /* Danger: crimson + shades (basis mirrors --color-crimson) */
  --pretix-brand-danger:             var(--color-crimson);
  --pretix-brand-danger-darken-5:    #a82a15;
  --pretix-brand-danger-darken-10:   #932511;
  --pretix-brand-danger-darken-15:   #7e1f0e;
  --pretix-brand-danger-tint-85:     #f7dfdb;
  --pretix-brand-danger-shade-42:    #6e1b0c;
}

/* Subtler container border — integrate harmoniously with .legal-page */
.pretix-widget {
  border-color: rgba(0, 0, 0, 0.08);
}
