/* =================================================================
   DAN APEX — Drive Your Dream
   Design System: GL-003 (Apex Red / Apex Black / Nitro Yellow)
   Flat base + tasteful depth for a pro finish. Poppins + Verdana.
   ================================================================= */

/* Self-hosted Poppins (no external Google Fonts request — see datenschutz.html) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2'),
       url('../assets/fonts/poppins-600.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2'),
       url('../assets/fonts/poppins-700.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-800.woff2') format('woff2'),
       url('../assets/fonts/poppins-800.woff') format('woff');
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:root {
  --color-primary:   #E2231A; /* Apex Red   */
  --color-primary-hi:#F23127; /* red highlight (detail) */
  --color-primary-lo:#B4160F; /* red shade  (detail)    */
  --color-secondary: #0A0A0A; /* Apex Black */
  --color-accent:    #FFC300; /* Nitro Yellow */
  --color-white:     #FFFFFF;
  --color-graphite:  #8A8A93;
  --color-deep-red:  #7A1220;

  --bg:      #08080A;
  --surface: #131317;
  --surface-2: #1A1A20;
  --line:    #26262C;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Verdana', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 8px; --space-sm: 16px; --space-md: 32px; --space-lg: 48px; --space-xl: 72px;
  --bar-h: 64px;
  --maxw: 1180px;
  --radius: 12px;

  /* dynamic pit-board angle, reused by headers + rev-bar segments */
  --skew: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(226,35,26,.10), transparent 60%),
    var(--bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; line-height: 1.1; }

/* =================================================================
   HEADER — RED BAR
   ================================================================= */
.topbar {
  position: sticky; top: 0; z-index: 100; height: var(--bar-h);
  background: linear-gradient(180deg, var(--color-primary-hi), var(--color-primary));
  box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.35);
  overflow: hidden;
}
.topbar__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-sm); position: relative; z-index: 2;
}
.topbar__logo {
  display: flex; align-items: center; transform: translateX(-8px);
  opacity: 0; animation: driveInLeft .7s cubic-bezier(.22,1,.36,1) .05s forwards;
}
.topbar__logo img { height: 34px; width: auto; }

.topbar__lightband {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 38%,
    rgba(255,255,255,.26) 50%, rgba(255,255,255,0) 62%, transparent 100%);
  transform: translateX(-100%);
  animation: sweep 6s ease-in-out 1.1s infinite;
}

.topbar__right { display: flex; align-items: center; gap: var(--space-md); }
.social { display: flex; align-items: center; gap: 14px; }
.social a {
  display: grid; place-items: center; width: 30px; height: 30px; color: #fff;
  opacity: 0; transform: translateX(14px);
  animation: driveInRight .55s cubic-bezier(.22,1,.36,1) forwards;
  transition: transform .18s ease, color .18s ease;
}
.social li:nth-child(1) a { animation-delay: .30s; }
.social li:nth-child(2) a { animation-delay: .40s; }
.social li:nth-child(3) a { animation-delay: .50s; }
.social li:nth-child(4) a { animation-delay: .60s; }
.social a svg { width: 22px; height: 22px; fill: currentColor; }
.social a:hover { transform: translateY(-2px); color: var(--color-secondary); }

.cta-group { display: flex; align-items: center; gap: 10px; }
.btn {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 6px; border: 2px solid #fff; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn--ghost { background: transparent; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--color-primary); transform: translateY(-2px); }
.btn--solid { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn--solid:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-secondary); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.btn--sm { padding: 7px 16px; font-size: 12px; }
.btn--disabled { opacity: .55; cursor: default; pointer-events: none; }
.btn--disabled:hover { transform: none; box-shadow: none; }
.cta-group .btn { opacity: 0; transform: translateX(14px); animation: driveInRight .55s cubic-bezier(.22,1,.36,1) forwards; }
.cta-group .btn:nth-child(1) { animation-delay: .70s; }
.cta-group .btn:nth-child(2) { animation-delay: .80s; }

/* =================================================================
   HERO — full-width banner under the red bar, fades out on scroll
   ================================================================= */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 200;                                 /* matches source video — height tracks window width */
  background-color: #000;                                   /* fallback if video missing */
  overflow: hidden;
  will-change: opacity;
}
.hero__video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(1);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: linear-gradient(to bottom, rgba(8,8,10,0), var(--bg) 92%);
  pointer-events: none;
}

/* =================================================================
   SECTIONS
   ================================================================= */
.section { position: relative; z-index: 1; padding: var(--space-xl) var(--space-md); }
.section__wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---- PIT-BOARD section header (left aligned, dynamic red shape) ---- */
.pitboard { margin-bottom: var(--space-lg); }
.pitboard__board {
  display: inline-flex; align-items: center;
  font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em; color: #fff;
  padding: 8px 42px 8px 18px;
  background:
    repeating-linear-gradient(180deg, rgba(0,0,0,.10) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, var(--color-primary-hi), var(--color-primary-lo));
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.pitboard__num {
  display: inline-grid; place-items: center;
  font-size: .6em; letter-spacing: .04em;
  background: rgba(0,0,0,.32); color: #fff;
  padding: 3px 9px; margin-right: 16px; border-radius: 4px;
}
.pitboard__sub {
  color: var(--color-graphite); max-width: 720px;
  margin: var(--space-sm) 2px 0; font-size: .98rem;
}

/* =================================================================
   GRID — cockpit shift-light board + gig table
   ================================================================= */
/* one unified gig box: gauge strip on top, table below */
.gigbox {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 14px 34px rgba(0,0,0,.45);
}
.gigbox__gauge {
  display: flex; align-items: center; gap: 16px;
  padding: 16px var(--space-md);
  border-bottom: 1px solid var(--line);
}
.revbar__lights { display: flex; gap: 7px; flex: 1; min-width: 0; }
.revbar__seg {
  flex: 1; height: 40px;
  background: #202027; border: 1px solid var(--line);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);   /* dynamic board shape */
}
.revbar__seg.is-lit {
  background: linear-gradient(180deg, #ffffff, #d9d9de);
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.revbar__finish {
  display: flex; align-items: center; padding-left: 16px; margin-left: 4px;
  border-left: 1px solid var(--line);
}
.finishflag { width: 28px; height: 24px; display: block; }
.gigbox__count {
  margin: 0; white-space: nowrap; color: var(--color-graphite);
  font-size: .9rem; letter-spacing: .03em;
}
.gigbox__count strong { color: #fff; font-size: 1.15rem; }

/* gig table (inside the box) */
.gigtable__head, .gig {
  display: grid;
  grid-template-columns: 2.4fr 1.5fr 1fr 1.1fr 170px;
  align-items: center; gap: var(--space-md);
  padding: 16px var(--space-md);
}
.gigtable__head {
  background: var(--surface-2);
  font-family: var(--font-heading); font-weight: 700; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-graphite);
  border-bottom: 1px solid var(--line);
}
.gig {
  background: var(--surface); border-top: 1px solid var(--line);
  border-left: 4px solid var(--color-primary);
  transition: background .15s ease;
}
.gig:first-child { border-top: none; }
.gig:hover { background: var(--surface-2); }
.gig__event { font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; }
.gig__loc, .gig__country { color: #c9c9d0; font-size: .92rem; }
.gig__country { display: flex; align-items: center; gap: 9px; }
.flag { width: 22px; height: 14px; border-radius: 2px; border: 1px solid rgba(255,255,255,.18); flex: 0 0 auto; display: block; }
.gig__date { font-family: var(--font-heading); font-weight: 700; color: var(--color-accent); letter-spacing: .03em; white-space: nowrap; }
.gig .btn { justify-self: start; }

/* =================================================================
   DRIVER — about + driver card
   ================================================================= */
.about { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-lg); align-items: center; }
.about__card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
/* two stacked layers: grayscale background + color spotlight on the driver */
.about__photo { position: relative; overflow: hidden; }
.about__photo img {
  width: 100%; height: auto; display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  transform-origin: 50% 40%;
}
.about__photo-bw { filter: grayscale(1) brightness(.85) contrast(1.03); }
.about__photo-color {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(42% 60% at 50% 44%, #000 55%, transparent 85%);
          mask-image: radial-gradient(42% 60% at 50% 44%, #000 55%, transparent 85%);
  opacity: 0;                         /* hidden by default → image is fully gray */
  transition: opacity .6s ease;
}
.about__card:hover .about__photo-color { opacity: 1; }      /* spotlight turns colour on hover */
.about__card:hover .about__photo img { transform: scale(1.08); }
.about__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.92));
  font-family: var(--font-heading);
}
.about__plate strong { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }
.about__plate span {
  background: var(--color-primary); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 4px 10px; border-radius: 4px; letter-spacing: .05em;
}
.about__headline {
  font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: var(--space-sm);
}
.about__text p { margin: 0 0 var(--space-sm); color: #E6E6E8; }
.about__signoff { font-family: var(--font-heading); font-weight: 700; color: #fff; }

/* =================================================================
   SOUNDS — rondell
   ================================================================= */
.rondell { position: relative; max-width: 820px; margin: 0 auto; }
.rondell__viewport { overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.rondell__track { display: flex; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.rondell__slide { min-width: 100%; }
.cover {
  margin: 0; display: grid; grid-template-columns: 320px 1fr; gap: var(--space-md);
  align-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md);
}
.cover img { width: 320px; height: 320px; object-fit: cover; border-radius: 8px; }
.cover__meta { text-align: left; }
.cover__title { font-size: 2.1rem; font-weight: 800; text-transform: uppercase; }
.cover__subtitle { color: var(--color-graphite); margin: 8px 0 22px; }
.rondell__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--color-primary); color: #fff; border: none; border-radius: 50%;
  font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
  transition: background .15s ease, transform .15s ease;
}
.rondell__arrow:hover { background: var(--color-accent); color: var(--color-secondary); }
.rondell__arrow--prev { left: -16px; }
.rondell__arrow--next { right: -16px; }
.rondell__dots { display: flex; justify-content: center; gap: 10px; margin-top: var(--space-md); }
.rondell__dots button { width: 34px; height: 5px; padding: 0; background: var(--line); border: none; border-radius: 3px; cursor: pointer; transition: background .2s ease; }
.rondell__dots button.is-active { background: var(--color-primary); }

/* =================================================================
   DIVIDER — one style everywhere: subtle finish line
   ================================================================= */
.divider { position: relative; z-index: 1; height: 18px; }
.divider--finish {
  background-image:
    linear-gradient(45deg, #16161a 25%, transparent 25%, transparent 75%, #16161a 75%),
    linear-gradient(45deg, #16161a 25%, transparent 25%, transparent 75%, #16161a 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  background-color: #303036;
  opacity: .45;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer { position: relative; z-index: 2; background: #060608; border-top: 1px solid var(--line); padding: var(--space-md); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.footer__logo img { height: 26px; width: auto; }
.footer__copy { color: var(--color-graphite); font-size: .9rem; margin: 0; }
.footer__nav { display: flex; align-items: center; gap: var(--space-md); }
.footer__nav a { color: var(--color-graphite); font-size: .9rem; transition: color .15s ease; }
.footer__nav a:hover { color: #fff; }

/* =================================================================
   KEYFRAMES
   ================================================================= */
@keyframes driveInLeft  { to { opacity: 1; transform: translateX(0); } }
@keyframes driveInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes sweep { 0% { transform: translateX(-100%); } 55% { transform: translateX(100%); } 100% { transform: translateX(100%); } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 900px) {
  .cover { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cover__meta { text-align: center; }
  .about { grid-template-columns: 1fr; }
  .about__card { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 820px) {
  .gigtable__head { display: none; }
  .gig { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .gig__date { color: var(--color-accent); }
  .gig .btn { justify-self: start; margin-top: 8px; }
}
@media (max-width: 760px) {
  .topbar { height: auto; }
  .topbar__inner { flex-wrap: wrap; justify-content: center; padding: 10px var(--space-sm); gap: 10px; }
  .topbar__right { flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
  .gigbox__gauge { flex-wrap: wrap; }
  .revbar__lights { flex: 1 0 100%; }
  .revbar__finish { border-left: none; padding-left: 0; margin-left: 0; justify-content: center; width: 100%; }
  .gigbox__count { width: 100%; text-align: center; }
}

/* =================================================================
   REDUCED MOTION — accessibility media query (respects OS setting)
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .topbar__logo, .social a, .cta-group .btn { opacity: 1 !important; transform: none !important; }
  .topbar__lightband { display: none; }
  .about__card:hover .about__photo img { transform: none; }
}

/* =================================================================
   BOOKING PAGE
   ================================================================= */
.booking-lead {
  max-width: 780px; font-size: 1.05rem; color: #E6E6E8;
  margin: 0 0 var(--space-lg);
}

/* intro text (left) + photo (right), sitting above the fact tiles */
.booking-intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-lg);
  align-items: stretch;               /* both columns share the row's full height */
  margin-bottom: var(--space-lg);
}
.booking-intro__text {
  display: flex;
  flex-direction: column;
}
.booking-intro__text .booking-lead { max-width: none; margin: 0 0 var(--space-sm); }
.booking-intro__text .booking-lead:last-child { margin-bottom: 0; }

/* filmstrip of gig shots — pinned to the bottom so it lines up with the photo's bottom edge */
.booking-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
}
.booking-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  aspect-ratio: 4 / 3;
}
.booking-gallery__item img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.booking-gallery__item:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
}
.booking-photo {
  position: relative;
  margin: 0;                           /* reset default <figure> UA margin so it hugs the grid column's right edge */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  aspect-ratio: 800 / 959;            /* wider column, bottom 20% of the shot cropped off */
}
.booking-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.booking-photo:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
}
@media (max-width: 480px) {
  .booking-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .booking-intro { grid-template-columns: 1fr; }
  .booking-photo { max-width: 480px; aspect-ratio: 800 / 959; }
}

/* 9-90-900-9000 fact tiles */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm);
}
.fact {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: var(--space-md);
  display: flex; flex-direction: column; gap: 4px;
}
.fact__num {
  font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem;
  color: var(--color-primary); line-height: 1;
}
.fact__label { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; }
.fact__desc { color: var(--color-graphite); font-size: .88rem; }

/* perks list */
.perks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md);
}
.perks li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-md);
}
.perks h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; margin-bottom: 8px; }
.perks p { margin: 0; color: #c9c9d0; font-size: .95rem; }

.booking-note {
  margin-top: var(--space-lg); color: var(--color-graphite); font-size: .92rem;
  border-left: 4px solid var(--color-accent); padding-left: var(--space-sm);
}
.booking-note strong { color: #fff; }

/* contact: form + direct-contact card */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-lg); align-items: start; }
.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm) var(--space-md);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-md);
}
.field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-family: var(--font-heading); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--color-graphite); }
.field input, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px;
  color: #fff; font-family: var(--font-body); font-size: .95rem; padding: 10px 12px;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); }
.contact__form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.contact__hint { grid-column: 1 / -1; margin: 0; color: var(--color-graphite); font-size: .82rem; }

.contact__card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: var(--space-md);
}
.contact__card h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.contact__card p { color: #c9c9d0; font-size: .92rem; margin: 0 0 12px; }
.contact__mail {
  display: inline-block; font-family: var(--font-heading); font-weight: 700;
  color: var(--color-accent); font-size: 1.05rem; margin-bottom: 12px; word-break: break-all;
}
.contact__small { color: var(--color-graphite); font-size: .8rem; }

@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

/* =================================================================
   BOOKING PAGE — light theme (red header + components kept)
   ================================================================= */
body.page-booking { background: #FFFFFF; color: #0A0A0A; }

/* light surfaces */
body.page-booking .fact,
body.page-booking .perks li,
body.page-booking .contact__form,
body.page-booking .contact__card {
  background: #F5F5F7;
  border-color: #E4E4E8;
}
body.page-booking .contact__card { background: linear-gradient(180deg, #FAFAFB, #F2F2F4); }

/* text colours for light background */
body.page-booking .booking-lead { color: #2A2A2E; }
body.page-booking .pitboard__sub,
body.page-booking .fact__desc,
body.page-booking .perks p,
body.page-booking .booking-note,
body.page-booking .contact__card p,
body.page-booking .field label { color: #55555C; }
body.page-booking .fact__label,
body.page-booking .perks h3,
body.page-booking .contact__card h3,
body.page-booking .booking-note strong { color: #0A0A0A; }

/* form inputs on white */
body.page-booking .field input,
body.page-booking .field textarea {
  background: #FFFFFF; border-color: #D5D5DA; color: #0A0A0A;
}
body.page-booking .field input:focus,
body.page-booking .field textarea:focus { border-color: var(--color-primary); }
body.page-booking .contact__hint { color: #8A8A93; }

/* readable accents on white */
body.page-booking .contact__mail { color: var(--color-primary); }
body.page-booking .contact__form .btn--solid {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
body.page-booking .contact__form .btn--solid:hover {
  background: var(--color-primary-lo); border-color: var(--color-primary-lo); color: #fff;
}

/* lighter finish-line dividers on white */
body.page-booking .divider--finish {
  background-color: #E7E7EB;
  background-image:
    linear-gradient(45deg, #D2D2D8 25%, transparent 25%, transparent 75%, #D2D2D8 75%),
    linear-gradient(45deg, #D2D2D8 25%, transparent 25%, transparent 75%, #D2D2D8 75%);
  opacity: .7;
}

/* =================================================================
   LEGAL PAGES (Impressum, etc.)
   ================================================================= */
.legal { max-width: 680px; }
.legal p { color: #c9c9d0; font-size: .95rem; line-height: 1.6; margin: 0 0 var(--space-md); }
.legal h3 {
  font-family: var(--font-heading); font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: .03em; color: #fff; margin: var(--space-lg) 0 8px;
}
.legal h3:first-of-type { margin-top: var(--space-md); }
.legal a { color: var(--color-accent); }
.legal ul { margin: -12px 0 var(--space-md); padding-left: 1.2em; list-style: disc; }
.legal ul li { color: #c9c9d0; font-size: .95rem; line-height: 1.6; margin-bottom: 4px; }
.legal__source { color: var(--color-graphite); font-size: .85rem; margin-top: var(--space-lg); }

/* legal — DE/EN comparison table (dispute resolution only) */
.legal-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  margin-bottom: var(--space-md);
}
.legal-table th, .legal-table td {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.6; color: #c9c9d0;
}
.legal-table thead th {
  font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .04em; color: #fff; background: var(--surface-2);
}
.legal-table td:first-child:not([colspan]) { border-right: 1px solid var(--line); }
.legal-table tbody tr:last-child td { border-bottom: none; }

/* section-header rows (bilingual titles) inside a DE/EN table */
.legal-table tbody tr th[colspan] {
  background: var(--surface-2); font-family: var(--font-heading); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .03em; color: var(--color-accent); font-weight: 700;
}
/* merged rows — identical content shown once across both columns */
.legal-table td[colspan] { background: rgba(255,255,255,.02); }
.legal-table td ul { margin: 0; padding-left: 1.1em; list-style: disc; }
.legal-table td ul li { color: #c9c9d0; font-size: .93rem; line-height: 1.6; margin-bottom: 4px; }

@media (max-width: 700px) {
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; width: 100%; }
  .legal-table td:first-child { border-right: none; }
  .legal-table td[data-lang]::before {
    content: attr(data-lang); display: block; font-family: var(--font-heading);
    font-size: .7rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--color-graphite); margin-bottom: 6px;
  }
  .legal-table tr:not(:has(th)) td:first-child { border-bottom: 1px solid var(--line); }
}
