/* ==========================================================================
   RAMSAUER RADSPORT — Design System 2026
   Schwarz / Racing-Gelb · Editorial · Seit 1937
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --bg: #0b0b0c;
  --bg-2: #111113;
  --card: #18181c;
  --card-2: #1f1f24;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f3ef;
  --muted: #a3a29b;
  --muted-2: #8e8d85; /* aufgehellt: 4.5:1+ auf allen dunklen Flächen */
  --yellow: #ffd200;
  --yellow-2: #e8b400;
  --yellow-soft: rgba(255, 210, 0, 0.12);
  --accent-on-light: #7a5a00; /* "Gelb" für helle Flächen — AA-konform */
  --paper: #f2efe8;
  --paper-2: #e9e5da;
  --ink: #131312;
  --ink-muted: #57554e;
  --red: #e03131;

  /* Typografie */
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  --fs-hero: clamp(2.6rem, 8.5vw, 7rem);
  --fs-h1: clamp(2.4rem, 6vw, 5rem);
  --fs-h2: clamp(1.9rem, 4.4vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Layout */
  --w-max: 1400px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --sect: clamp(80px, 13vh, 170px);
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  /* Header */
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 860;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 0.45em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

/* ---------- Utility ---------- */
.wrap {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--sect);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--sect) * 0.6);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--paper .kicker {
  color: var(--ink-muted);
}

.section--bg2 {
  background: var(--bg-2);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.section--paper .lead {
  color: var(--ink-muted);
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* Kicker — kleine Zeile über Headlines */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--yellow);
  flex: none;
}

.center .kicker::after {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--yellow);
  flex: none;
}

.accent {
  color: var(--yellow);
}

.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* Riesige Outline-Ziffern / Hintergrundtext */
.ghost-text {
  position: absolute;
  inset-inline: 0;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 0;
}

.section--paper .ghost-text {
  -webkit-text-stroke-color: rgba(19, 19, 18, 0.08);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 17px 30px;
  border-radius: 999px;
  border: 2px solid var(--btn-bg);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn .btn-arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--text);
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}

.section--paper .btn--ghost {
  --btn-fg: var(--ink);
  border-color: rgba(19, 19, 18, 0.25);
}

.section--paper .btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn--dark:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.btn--lg {
  padding: 21px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 12px 22px;
  font-size: 0.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--yellow);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  position: relative;
  z-index: 60;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.topbar a {
  font-weight: 800;
  white-space: nowrap;
}

.topbar a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .topbar .topbar-hours {
    display: none;
  }

  .topbar .wrap {
    justify-content: center;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.header.is-scrolled {
  background: rgba(11, 11, 12, 0.88);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  list-style: none;
  position: relative;
}

.nav {
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--yellow);
}

.nav-link .new-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.nav-link .caret {
  transition: transform 0.2s;
}

.nav > li:hover .caret,
.nav > li:focus-within .caret {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.dropdown a small {
  color: var(--muted-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dropdown .dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 6px;
}

.header-cta {
  flex: none;
}

@media (max-width: 1100px) {
  .header-cta .btn {
    padding: 13px 20px;
    font-size: 0.8rem;
  }
}

/* Burger */
.burger {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 71;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .mm-link {
  display: block;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.1;
}

.mobile-menu .mm-link .new-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-family: var(--font-body);
  padding: 3px 8px;
  border-radius: 5px;
  vertical-align: middle;
  margin-left: 10px;
  letter-spacing: 0.1em;
}

.mobile-menu .mm-link:hover {
  color: var(--yellow);
}

.mobile-menu .mm-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .mm-sub a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.mobile-menu .mm-sub a:hover {
  color: var(--yellow);
}

.mobile-menu .mm-foot {
  margin-top: auto;
  padding-top: 36px;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.mobile-menu .mm-foot a {
  color: var(--text);
  font-weight: 700;
}

.mobile-menu .mm-foot .btn {
  justify-self: start;
  margin-top: 8px;
}

body.menu-open {
  overflow: hidden;
}

/* Header (mit Burger) muss über dem offenen Menü liegen */
body.menu-open .header {
  z-index: 80;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 40px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.15) 35%, rgba(11, 11, 12, 0.82) 82%, var(--bg) 100%);
}

.hero-content {
  width: 100%;
  padding-block: clamp(48px, 8vh, 96px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(11, 11, 12, 0.55);
  border: 1px solid rgba(255, 210, 0, 0.35);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: var(--fs-hero);
  margin-bottom: 0.35em;
  max-width: 14ch;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line > span {
  display: block;
}

.hero-lead {
  font-size: var(--fs-lead);
  color: rgba(244, 243, 239, 0.85);
  max-width: 52ch;
  margin-bottom: 1.8em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-block;
}

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--yellow), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 720px) {
  .scroll-hint {
    display: none;
  }
}

/* Sub-Hero für Unterseiten */
.page-hero {
  position: relative;
  padding-block: clamp(70px, 12vh, 140px) clamp(48px, 8vh, 90px);
  overflow: clip;
}

.page-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 26px;
}

.page-hero .breadcrumbs a:hover {
  color: var(--yellow);
}

.page-hero .breadcrumbs span[aria-current] {
  color: var(--muted);
}

.page-hero h1 {
  max-width: 18ch;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: var(--bg-2);
}

.marquee--yellow {
  background: var(--yellow);
  border: 0;
  color: var(--ink);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-inline: 28px;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 860;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track > span::after {
  content: "✦";
  color: var(--yellow);
  font-size: 0.8em;
}

.marquee--yellow .marquee-track > span::after {
  color: var(--ink);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  position: relative;
  overflow: hidden;
  color: var(--text); /* dunkle Fläche → Textfarbe nie vom hellen Kontext erben */
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 0, 0.4);
}

.card .card-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: 0.95rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.card .card-link svg {
  transition: transform 0.25s var(--ease);
}

.card:hover .card-link svg {
  transform: translateX(5px);
}

.card--paper {
  background: #fff;
  border-color: rgba(19, 19, 18, 0.08);
  color: var(--ink);
}

.card--paper p {
  color: var(--ink-muted);
}

/* Bild-Karten (Kategorien, Marken) */
.img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--card);
}

.img-card img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(200deg, transparent 30%, rgba(8, 8, 9, 0.88) 88%);
  transition: background 0.4s;
}

.img-card:hover img {
  transform: scale(1.06);
}

.img-card .img-card-body {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 2.6vw, 32px);
  width: 100%;
}

.img-card .img-card-tag {
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}

.img-card h3 {
  margin-bottom: 4px;
}

.img-card p {
  color: rgba(244, 243, 239, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

.img-card--wide {
  aspect-ratio: 16 / 9;
}

@media (max-width: 680px) {
  .img-card {
    aspect-ratio: 4 / 3.4;
  }
}

/* ---------- Stats / Zahlen ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  border-top: 2px solid var(--line-strong);
  padding-top: 20px;
}

.stat-value {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  color: var(--yellow);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-value .unit {
  font-size: 0.4em;
  color: var(--text);
}

.section--paper .stat-value .unit {
  color: var(--ink);
}

.stat-label {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 22ch;
}

.section--paper .stat-label {
  color: var(--ink-muted);
}

.section--paper .stat {
  border-top-color: rgba(19, 19, 18, 0.2);
}

/* ---------- Split-Layout (Bild + Text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media--landscape {
  aspect-ratio: 16 / 11;
}

.split-media .media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  gap: 10px;
}

.split-media .media-badge strong {
  font-family: var(--font-display);
  font-weight: 860;
  font-size: 1.2rem;
  color: var(--yellow);
}

/* ---------- Listen ---------- */
.tick-list {
  list-style: none;
  margin: 1.4em 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.tick-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 1rem;
}

.tick-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffd200' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.section--paper .tick-list li::before {
  background-color: rgba(19, 19, 18, 0.07);
}

/* ---------- FAQ / Accordion ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq details[open] {
  border-color: rgba(255, 210, 0, 0.45);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.25s, border-color 0.25s;
}

.faq details[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-stars {
  color: var(--yellow);
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}

.quote-card figcaption {
  font-size: var(--fs-small);
  color: var(--muted-2);
  font-weight: 600;
}

/* ---------- CTA-Banner ---------- */
.cta-banner {
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 84px);
  overflow: hidden;
}

.cta-banner h2 {
  max-width: 16ch;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(19, 19, 18, 0.75);
  max-width: 50ch;
  font-size: var(--fs-lead);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-row {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 54px solid rgba(19, 19, 18, 0.07);
  pointer-events: none;
}

/* ---------- Kontakt-Elemente ---------- */
.info-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
}

.info-tile h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.info-tile h3 svg {
  color: var(--yellow);
  flex: none;
}

.info-tile p,
.info-tile address {
  font-style: normal;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.info-tile a {
  color: var(--text);
  font-weight: 700;
}

.info-tile a:hover {
  color: var(--yellow);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table .closed {
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: var(--sect);
  position: relative;
  overflow: clip;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 64px;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 52px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--yellow);
}

.footer address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer address a {
  color: var(--text);
  font-weight: 700;
}

.footer address a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: var(--fs-small);
  color: var(--muted-2);
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-ghost {
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(4rem, 14vw, 13rem);
  line-height: 0.86;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  margin-bottom: -0.12em;
}

/* ---------- Sticky Mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: none;
  gap: 10px;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.mobile-cta .mc-call {
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.mobile-cta .mc-book {
  background: var(--yellow);
  color: var(--ink);
}

@media (max-width: 860px) {
  .mobile-cta {
    display: flex;
  }

  body {
    scroll-padding-bottom: 80px;
  }
}

/* ---------- Tabellen (Specs) ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.spec-table th {
  color: var(--muted);
  font-weight: 600;
  width: 38%;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.section--paper .spec-table th,
.card--paper .spec-table th {
  color: var(--ink-muted);
}

.section--paper .spec-table td {
  color: var(--ink);
}

/* Preis-Karten */
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  position: relative;
}

.price-card.is-featured {
  border-color: var(--yellow);
  background: linear-gradient(160deg, rgba(255, 210, 0, 0.08), var(--card) 55%);
}

.price-card .price-tag {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 900;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
}

.price-card .price-tag .cur {
  font-size: 0.45em;
  color: var(--muted);
}

.price-card .price-note {
  font-size: var(--fs-small);
  color: var(--muted-2);
}

.price-card .featured-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Trust-Leiste ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  align-items: center;
  justify-content: center;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  font-size: var(--fs-small);
  color: var(--muted);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-bar svg {
  color: var(--yellow);
  flex: none;
}

.trust-bar strong {
  color: var(--text);
}

/* ---------- Reveal-Initialzustand (nur via JS gesetzt) ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
}

html.has-js [data-reveal="left"] {
  transform: translateX(-40px);
}

html.has-js [data-reveal="right"] {
  transform: translateX(40px);
}

html.has-js [data-reveal="scale"] {
  transform: scale(0.94);
}

@media (prefers-reduced-motion: reduce) {
  html.has-js [data-reveal],
  html.has-js [data-reveal="left"],
  html.has-js [data-reveal="right"],
  html.has-js [data-reveal="scale"] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Map ---------- */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 8;
  background: var(--card);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.7) contrast(1.05);
}

@media (max-width: 680px) {
  .map-embed {
    aspect-ratio: 4 / 3.4;
  }
}

/* ---------- Formulare ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--card);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a3a29b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  grid-column: 1 / -1;
}

.form-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--yellow);
  flex: none;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.radio-row label:hover {
  border-color: var(--yellow);
}

.radio-row input {
  accent-color: var(--yellow);
}

.radio-row label:has(input:checked) {
  background: var(--yellow-soft);
  border-color: var(--yellow);
  color: var(--yellow);
}

.form-success {
  grid-column: 1 / -1;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 210, 0, 0.45);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--text);
  font-weight: 600;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- Colorway-Stage (Amflow) ---------- */
.colorway-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(12px, 2vw, 28px);
  margin-bottom: 18px;
  overflow: hidden;
}

.colorway-stage img {
  width: 100%;
  height: auto;
}

.pill[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

button.pill {
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.22s var(--ease);
}

button.pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

button.pill[aria-pressed="true"]:hover {
  color: var(--ink);
}

/* ---------- Marken-Rail (Horizontal-Scroll) ---------- */
.brand-rail {
  overflow: hidden;
}

.brand-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding-inline: var(--gutter);
  margin-top: clamp(36px, 5vw, 64px);
  width: max-content;
}

.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  width: clamp(300px, 30vw, 420px);
  min-height: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 36px);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  flex: none;
}

.brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 210, 0, 0.45);
}

.brand-card--accent {
  background: linear-gradient(165deg, rgba(255, 210, 0, 0.14), var(--card) 60%);
  border-color: rgba(255, 210, 0, 0.4);
}

.brand-index {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 880;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.brand-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.brand-card .card-link svg {
  transition: transform 0.25s var(--ease);
}

.brand-card:hover .card-link svg {
  transform: translateX(5px);
}

@media (max-width: 1023px) {
  /* Mobile: natives horizontales Wischen statt GSAP-Pinning */
  .brand-track {
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }

  .brand-card {
    scroll-snap-align: start;
    width: min(82vw, 340px);
    min-height: 270px;
  }
}

/* ---------- Badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

.pill--yellow {
  background: var(--yellow-soft);
  border-color: rgba(255, 210, 0, 0.35);
  color: var(--yellow);
}

/* ==========================================================================
   Kontrast-Guards — dunkle Komponenten dürfen Textfarbe NIE aus hellen
   Sektionen (.section--paper) erben, und umgekehrt.
   ========================================================================== */
.faq details,
.info-tile,
.quote-card,
.price-card,
.brand-card,
.media-badge,
.trust-bar {
  color: var(--text);
}

.faq .faq-body,
.info-tile p,
.info-tile address {
  color: var(--muted);
}

/* Gelbe Flächen → immer dunkler Text */
.cta-banner,
.cta-banner h2,
.topbar,
.marquee--yellow {
  color: var(--ink);
}

/* Helle Sektionen: Spec-Tabellen & Stundenpläne ausserhalb dunkler Kacheln */
.section--paper > .wrap > .spec-table td,
.section--paper .ghost-text + .wrap .spec-table td {
  color: var(--ink);
}

/* Formularfelder: dunkle Felder behalten helle Schrift, egal wo */
.form-field input,
.form-field select,
.form-field textarea {
  color: var(--text);
}

.form-field label {
  color: var(--muted);
}

.section--paper .form-field label,
.section--paper .form-check {
  color: var(--ink-muted);
}

/* Buttons: --btn-fg gewinnt immer (gegen Vererbung) */
.btn {
  color: var(--btn-fg);
}

/* Gelb-Akzente auf HELLEN Flächen → dunkles Amber (AA-konform) */
.section--paper .stat-value,
.section--paper .accent,
.section--paper > .wrap .card-num,
.card--paper .card-num,
.card--paper .card-link,
.card--paper .quote-stars {
  color: var(--accent-on-light);
}

/* Fliesstext in hellen Sektionen: nie helles Grau erben */
.section--paper :is(p, li, address, figcaption) {
  color: var(--ink-muted);
}

/* …ausser innerhalb dunkler Kacheln in hellen Sektionen */
.section--paper :is(.card:not(.card--paper), .info-tile, .quote-card, .price-card, .brand-card, .faq details) :is(p, li, address, figcaption) {
  color: var(--muted);
}

.section--paper .card:not(.card--paper) .card-num,
.section--paper .price-card .price-tag {
  color: var(--yellow);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
