/* =========================================================
   RADSHUTTLE — Landingpage
   100% Vanilla CSS. Keine Frameworks.
   ---------------------------------------------------------
   BILD AUSTAUSCHEN → --hero-image (Zeile ~38)
   AVATARE          → .avatar--1/2/3 (Abschnitt 6)
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Farben */
  --ink:          #101010;
  --paper:        #ffffff;
  --paper-85:     rgba(255, 255, 255, .85);
  --paper-75:     rgba(255, 255, 255, .75);

  /* Content-Sektionen — helles Theme.
     Der Hero bleibt dunkel und setzt seine Farben selbst. */
  --page:         #ffffff;
  --text:         #1a1815;
  --ink-85:       rgba(26, 24, 21, .85);
  --ink-70:       rgba(26, 24, 21, .70);
  --surface:      #ffffff;
  --surface-2:    #faf9f7;
  --tint:         #f5f4f1;
  --line:         rgba(26, 24, 21, .12);
  --line-strong:  rgba(26, 24, 21, .26);
  --muted:        rgba(26, 24, 21, .62);
  --accent:       #e8621d;          /* Sonnenuntergangs-Ton aus dem Hero */
  --accent-ink:   #b8480d;          /* dunkler, für Text auf Weiß */
  --accent-soft:  rgba(232, 98, 29, .10);
  --shadow-card:  0 1px 2px rgba(26, 24, 21, .04), 0 14px 30px -20px rgba(26, 24, 21, .30);

  /* Glas */
  --glass-bg:     rgba(255, 255, 255, .10);
  --glass-border: rgba(255, 255, 255, .30);
  --glass-blur:   16px;

  /* Typo */
  --font-display: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Figtree', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --gutter:     clamp(1.5rem, 5vw, 5.5rem);   /* seitlicher Innenabstand */
  --edge-y:     clamp(1.75rem, 4.2vh, 3.5rem);
  --pill:       999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* >>> HIER DEIN BILD EINSETZEN <<< */
  --hero-image: url('assets/images/Hero.png');
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, dt, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
a  { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 2rem; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   3. STAGE + HERO (Vollbild)
   ========================================================= */
.stage { display: flow-root; }

.hero {
  position: relative;
  color: var(--paper);
  min-height: 100vh;
  min-height: 100svh;          /* korrekte Höhe auf iOS */
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  animation: card-in 1.1s var(--ease) both;
}

/* Hintergrundbild + Fallback-Verlauf, falls noch kein Bild da ist */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #6b4a33;
  background-image:
    radial-gradient(90% 70% at 60% 18%, #b9a893 0%, transparent 62%),
    linear-gradient(178deg, #9d9384 0%, #a4694a 46%, #4a2c1d 100%);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: drift 30s var(--ease) infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.09) translate3d(-1%, -.6%, 0); }
}

/* Zurückhaltende Scrims: von links für die Textspalte, von unten für Stats */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(97deg,
      rgba(20, 14, 10, .58) 0%,
      rgba(20, 14, 10, .34) 30%,
      rgba(20, 14, 10, .04) 58%,
      transparent 100%),
    linear-gradient(to top,
      rgba(20, 14, 10, .55) 0%,
      rgba(20, 14, 10, .16) 22%,
      transparent 46%),
    linear-gradient(to bottom,
      rgba(20, 14, 10, .28) 0%,
      transparent 22%);
}

/* =========================================================
   4. NAVIGATION — schwebendes Glas-Pill, zentriert
   ========================================================= */
.nav-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 4.5vh, 3.4rem) var(--gutter) 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding: .95rem 2rem;
  border-radius: var(--pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
}

.nav__divider {
  width: 1px;
  align-self: stretch;
  margin-block: -.15rem;
  background: rgba(255, 255, 255, .34);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.1rem);
}

.nav__links a {
  font-size: .95rem;
  font-weight: 400;
  color: var(--paper-85);
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--paper); }

/* Burger — nur mobil */
.nav__burger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  place-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}

/* =========================================================
   5. HERO CONTENT — Mitte links
   ========================================================= */
.hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) var(--gutter);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.022em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .22);
  animation: rise 1s .15s var(--ease) both;
}

.subtext {
  max-width: 47ch;
  margin-top: 1.6rem;
  font-size: clamp(.98rem, 1.1vw, 1.075rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--paper-85);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .22);
  animation: rise 1s .25s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  margin-top: 2.6rem;
  padding: 1.15rem 2.15rem;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--page);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  animation: rise 1s .35s var(--ease) both;
}
.btn:hover {
  background: #33302b;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px -16px rgba(26, 24, 21, .45);
}
.btn:active { transform: translateY(0) scale(.99); }

/* Im Hero bleibt der Button weiß auf dem Bild */
.hero .btn { background: var(--paper); color: var(--ink); }
.hero .btn:hover { background: #ececec; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .65); }

/* =========================================================
   6. FOOTER — Stats links, Social Proof rechts am Kartenrand
   ========================================================= */
.hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--gutter) var(--edge-y);
  animation: rise 1s .45s var(--ease) both;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 6vw, 6.5rem);
}

.stat dt {
  font-size: clamp(.85rem, .95vw, .95rem);
  font-weight: 400;
  color: var(--paper-85);
}

.stat dd {
  margin-top: .55rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
}

.proof {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1.5rem .5rem .55rem;
  border-radius: var(--pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
}

.avatars { display: flex; }

.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.avatar + .avatar { margin-left: -11px; }

/* >>> AVATARE AUSTAUSCHEN: background-image durch url('assets/rider-1.jpg') ersetzen <<< */
.avatar--1 { background-image: linear-gradient(135deg, #ffb36b, #d9552f); }
.avatar--2 { background-image: linear-gradient(135deg, #8fd7c4, #2f7f6b); }
.avatar--3 { background-image: linear-gradient(135deg, #aab7ff, #4a58bb); }

.proof__text {
  font-size: clamp(.85rem, .95vw, .95rem);
  color: var(--paper);
  white-space: nowrap;
}

/* ---------- Entrance ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes card-in {
  from { opacity: 0; transform: scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   7. RESPONSIVE
   ========================================================= */

/* Tablet — Footer bricht um, Proof-Pill wieder eingerückt */
@media (max-width: 900px) {
  .hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
  .stat { flex: 1 1 30%; min-width: 8rem; }
}

/* Mobile — Burger-Menü */
@media (max-width: 720px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    padding: .7rem .7rem .7rem 1.35rem;
  }

  .nav__divider { display: none; }
  .nav__burger  { display: grid; }

  /* Menü als eigenes Glas-Panel unter dem Pill */
  .nav__links {
    position: absolute;
    top: calc(100% + .55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem;
    border-radius: 24px;
    background: rgba(24, 18, 14, .78);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top center;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }

  .nav__links a { display: block; padding: .8rem 1rem; border-radius: 16px; }
  .nav__links a:hover { background: rgba(255, 255, 255, .08); }

  body.nav-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  body.nav-open .nav__burger span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

  .hero__body { padding-block: 3.5rem; }
  .btn { align-self: stretch; justify-content: center; }

  .stats { gap: 1.25rem 2rem; }
  .stat  { flex: 1 1 40%; }
  .proof { width: 100%; }
}

@media (max-width: 400px) {
  .stat { flex: 1 1 100%; }
  .proof__text { white-space: normal; }
}

/* Kurze Viewports (Handy quer) */
@media (max-height: 620px) and (min-width: 721px) {
  .hero__body { padding-block: 1.75rem; }
}

/* ---------- Zugänglichkeit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__media::after { transform: scale(1.03); }
}

/* Fallback ohne backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .proof { background: rgba(24, 18, 14, .55); }
}


/* =========================================================
   8. CONTENT-SEKTIONEN — Grundlayout
   ========================================================= */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 11vh, 8.5rem);
}

.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.shell {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 940px; }

/* ---------- Sektionskopf ---------- */
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.022em;
  text-wrap: balance;
  max-width: 20ch;
}

.sec-lead {
  max-width: 62ch;
  margin-top: 1.15rem;
  font-size: clamp(1rem, 1.05vw, 1.075rem);
  line-height: 1.75;
  color: var(--muted);
}

.link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26, 24, 21, .35);
  transition: text-decoration-color .25s var(--ease);
}
.link:hover { text-decoration-color: var(--accent-ink); }

/* =========================================================
   9. LEISTUNGEN
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 1.15rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 2px 4px rgba(26, 24, 21, .05), 0 22px 44px -22px rgba(26, 24, 21, .38);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.6rem;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.015em;
}

.card__text {
  margin-top: .8rem;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
}

.card__list {
  display: grid;
  gap: .55rem;
  margin-top: 1.35rem;
  font-size: .89rem;
  color: var(--ink-70);
}
.card__list li { position: relative; padding-left: 1.35rem; }
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

.card__price {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: .88rem;
  color: var(--muted);
}
.card__price strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

/* =========================================================
   10. STRECKE — Start / Ziel mit Verbindungslinie
   ========================================================= */
.route {
  display: grid;
  grid-template-columns: 1fr minmax(150px, .7fr) 1fr;
  align-items: stretch;
  gap: 1.15rem;
}

.route__stop {
  padding: 2rem 1.9rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.route__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.route__city {
  margin-top: .7rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.route__region {
  margin-top: .35rem;
  font-size: .92rem;
  color: var(--muted);
}

.route__facts {
  display: grid;
  gap: .55rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .89rem;
  color: var(--ink-70);
}
.route__facts li { position: relative; padding-left: 1.35rem; }
.route__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

/* Verbindungsstück zwischen Start und Ziel */
.route__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1rem;
}

.route__pin {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.route__track {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0 7px,
    transparent 7px 14px);
}

.route__stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: .55rem 1rem;
  border-radius: var(--pill);
  background: var(--page);
  border: 1px solid var(--line);
  font-size: .78rem;
  line-height: 1.35;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
}
.route__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}

.route__note {
  max-width: 68ch;
  margin-top: 1.75rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
}

/* Fehlende Platzhalterbilder unsichtbar machen (Verlauf bleibt stehen) */
img.is-missing { opacity: 0; }

/* =========================================================
   10b. FAHRPLAN — Tabelle
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.timetable caption {
  padding: 1.25rem 1.6rem;
  text-align: left;
  font-size: .82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.timetable th,
.timetable td {
  padding: 1.1rem 1.6rem;
  text-align: left;
  white-space: nowrap;
}

.timetable thead th {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.timetable tbody tr { border-bottom: 1px solid var(--line); }
.timetable tbody tr:last-child { border-bottom: 0; }
.timetable tbody tr:hover { background: var(--surface-2); }

.timetable td strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.chip {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink-70);
}
.chip--accent {
  border-color: rgba(232, 98, 29, .35);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.notes {
  display: grid;
  gap: .7rem;
  margin-top: 1.75rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
}
.notes li { position: relative; padding-left: 1.35rem; }
.notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.notes strong { color: var(--text); font-weight: 600; }

/* =========================================================
   11. ÜBER UNS
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: .8fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.about__media {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, #e7e2da, #c9c0b4);
  border: 1px solid var(--line);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__text {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 2.25rem;
}
.badges li {
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--tint);
}
.badges strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.badges span {
  display: block;
  margin-top: .25rem;
  font-size: .82rem;
  color: var(--muted);
}

/* =========================================================
   12. KUNDENSTIMMEN
   ========================================================= */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.15rem;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.quote__stars {
  font-size: .9rem;
  letter-spacing: .15em;
  color: var(--accent-ink);
}

.quote blockquote { flex: 1; margin-top: 1.15rem; }
.quote blockquote p {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--ink-85);
}

.quote figcaption {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
}
.quote figcaption span {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  color: var(--muted);
}

/* =========================================================
   13. FAQ — Akkordeon
   ========================================================= */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 500;
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }

/* Plus-Icon, dreht beim Öffnen zum × */
.faq__item summary::after {
  content: '';
  position: absolute;
  right: .4rem;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(135deg); }

.faq__answer {
  padding: 0 3rem 1.6rem 0;
  font-size: .97rem;
  line-height: 1.8;
  color: var(--muted);
}
.faq__item[open] .faq__answer { animation: fade-down .4s var(--ease) both; }

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   14. CTA-BAND
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #f7f5f1 0%, #efebe4 65%);
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 98, 29, .18), transparent 65%);
  pointer-events: none;
}
.cta__copy { position: relative; }

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.cta .btn { margin-top: 0; animation: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(26, 24, 21, .05);
  border-color: rgba(26, 24, 21, .45);
  box-shadow: none;
}

/* =========================================================
   15. SITE-FOOTER
   ========================================================= */
.site-footer {
  padding-block: clamp(3.5rem, 7vh, 5.5rem) 2rem;
  background: var(--tint);
  border-top: 1px solid var(--line);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem 2rem;
}

.foot__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.foot__claim {
  max-width: 34ch;
  margin-top: .85rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.4rem;
  font-size: .85rem;
}
.social a { color: var(--muted); transition: color .25s var(--ease); }
.social a:hover { color: var(--accent-ink); }

.foot__col h3 {
  margin-bottom: 1.05rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
}
.foot__col ul { display: grid; gap: .6rem; font-size: .9rem; }
.foot__col a { color: var(--muted); transition: color .25s var(--ease); }
.foot__col a:hover { color: var(--text); }
.foot__col address { font-size: .9rem; line-height: 1.75; color: var(--muted); }

.hours li { display: flex; gap: .75rem; color: var(--muted); }
.hours span { min-width: 3.6rem; color: var(--ink-70); }

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.foot__bar ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot__bar a:hover { color: var(--text); }

/* =========================================================
   16. REVEAL BEIM SCROLLEN
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s var(--ease) var(--delay, 0ms),
    transform .75s var(--ease) var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   17. RESPONSIVE — Content-Sektionen
   ========================================================= */
@media (max-width: 1100px) {
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

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

  /* Strecke stapelt senkrecht, Verbindungslinie dreht sich mit */
  .route { grid-template-columns: 1fr; }
  .route__link { flex-direction: column; padding: 1.5rem 0; min-height: 130px; }
  .route__track { width: 2px; height: auto; flex: 1;
    background: repeating-linear-gradient(to bottom,
      var(--line-strong) 0 7px, transparent 7px 14px); }
  .about__media { aspect-ratio: 16 / 10; max-height: 380px; }
  .sec-title { max-width: none; }
}

@media (max-width: 640px) {
  .foot__grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
  .badges { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__actions { width: 100%; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .faq__item summary { padding-right: 2.5rem; }
  .timetable th, .timetable td { padding: .95rem 1.15rem; }
  .timetable caption { padding: 1.1rem 1.15rem; }
  .faq__answer { padding-right: 0; }
}

/* Fahrplan wird auf kleinen Screens zur Liste statt zur Scroll-Tabelle */
@media (max-width: 560px) {
  .table-wrap { overflow-x: visible; }
  .timetable, .timetable tbody, .timetable tr, .timetable td { display: block; width: 100%; }
  .timetable thead { display: none; }
  .timetable tr { padding: 1.1rem 1.25rem; }
  .timetable td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem 0;
    white-space: normal;
  }
  .timetable td::before {
    content: attr(data-label);
    font-size: .82rem;
    color: var(--muted);
  }
}

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

/* Reduzierte Bewegung: nichts blendet ein, nichts verschiebt sich */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   18. BUCHUNG — Schnellsuche, Widget, Overlay
   ========================================================= */
.booking {
  display: grid;
  grid-template-columns: 1fr 412px;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* ---------- Schnellsuche ---------- */
.quick {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.quick__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.quick__hint {
  max-width: 42ch;
  margin-top: .5rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
}

.quick__label {
  display: block;
  margin-bottom: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Richtungswahl */
.quick__dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 1.5rem;
}

.quick__dir input,
.quick__times input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quick__dir span {
  display: block;
  padding: .8rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-size: .92rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              transform .25s var(--ease);
}
.quick__dir span:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.quick__dir input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}
.quick__dir input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* Datum */
.quick__field { display: block; margin-top: 1.5rem; }

.quick__input {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--page);
  font: inherit;
  font-weight: 500;
  color: var(--text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.quick__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Abfahrtsliste */
.quick__set {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}
.quick__set legend { padding: 0; }

.quick__times { display: grid; gap: .5rem; }

.quick__times span {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              transform .25s var(--ease);
}
.quick__times strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}
.quick__times span:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.quick__times input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.quick__times input:checked + span strong { color: var(--accent-ink); }
.quick__times input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.quick__error {
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--accent-ink);
}

.quick .btn { width: 100%; margin-top: 1.5rem; justify-content: center; }

/* ---------- Buchen-Button in der Fahrplantabelle ---------- */
.row-btn {
  padding: .5rem 1rem;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--page);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              transform .25s var(--ease);
}
.row-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

/* ---------- Overlay ---------- */
body.is-locked { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(56px, 9vh, 84px) 1rem 2.5rem;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 412px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.modal__close:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.modal__close svg { width: 17px; height: 17px; }

/* =========================================================
   19. WIDGET-THEME — Indigo wird zur Seitenfarbe
   Nur Variablen überschreiben, keine Regeln des Widgets ändern.
   ========================================================= */
#buchen .rs-widget,
.modal .rs-widget {
  --rs-indigo:   #a8420c;
  --rs-indigo-2: #d9591a;
  --rs-indigo-3: #f0803a;
  --rs-grad: linear-gradient(135deg, #93380a 0%, #d9591a 52%, #f0803a 100%);

  --rs-ink:   var(--text);
  --rs-muted: var(--muted);
  --rs-line:  var(--line);
  --rs-soft:  var(--tint);

  --rs-line-hover: rgba(232, 98, 29, .45);
  --rs-tint:       linear-gradient(180deg, #fff7f2, #fff);
  --rs-tint-soft:  linear-gradient(180deg, #fdfaf7, #fff);
  --rs-accent-10:  var(--accent-soft);
  --rs-ring:       rgba(232, 98, 29, .18);
  --rs-glow:       rgba(168, 66, 12, .55);
  --rs-glow-2:     rgba(168, 66, 12, .70);
  --rs-taken:      #eae7e2;
  --rs-taken-ink:  #b3aea6;
  --rs-blob-1:     #f7b283;
  --rs-blob-2:     #ffd0a4;
  --rs-blob-3:     #ffe9c6;

  --rs-font-head: var(--font-display);
  --rs-font-body: var(--font-body);
  --rs-r-card: 24px;
}

/* Schatten der Widgetkarte an die warme Seitenpalette angleichen */
#buchen .rs-card,
.modal .rs-card {
  box-shadow:
    0 2px 6px rgba(26, 24, 21, .05),
    0 30px 64px -24px rgba(26, 24, 21, .34);
}

/* =========================================================
   20. RESPONSIVE — Buchung
   ========================================================= */
@media (max-width: 980px) {
  .booking { grid-template-columns: 1fr; }
  .booking__widget { justify-self: center; width: 100%; max-width: 412px; }
}

@media (max-width: 560px) {
  .quick__dirs { grid-template-columns: 1fr; }
  .row-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop, .modal__dialog { transition: none; }
  .quick__dir span:hover, .quick__times span:hover, .row-btn:hover { transform: none; }
}


/* =========================================================
   21. SCHNELLBUCHUNG — einzeilige Leiste unter dem Hero
   ========================================================= */
.railbar {
  position: relative;
  z-index: 5;
  padding-block: clamp(1.75rem, 4vh, 2.75rem) 0;
}

.rail {
  display: grid;
  grid-template-columns: 1.25fr auto 1fr auto 1.15fr auto;
  align-items: center;
  gap: 0 clamp(.75rem, 1.6vw, 1.5rem);
  padding: .7rem .7rem .7rem clamp(1.1rem, 2vw, 1.75rem);
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.rail__field { min-width: 0; }

.rail__label {
  display: block;
  margin-bottom: .1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail__input {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.05vw, 1rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.rail__input:focus { outline: none; }
.rail__field:focus-within .rail__label { color: var(--accent-ink); }

/* Eigener Pfeil für die Auswahlfelder */
select.rail__input {
  padding-right: 1.1rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 6px center, right 1px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}

.rail__sep {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.rail__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: var(--pill);
  border: 0;
  background: var(--text);
  color: var(--page);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.rail__btn svg { width: 17px; height: 17px; }
.rail__btn:hover {
  background: #33302b;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(26, 24, 21, .55);
}
.rail__btn:active { transform: translateY(0) scale(.99); }

.rail__error {
  grid-column: 1 / -1;
  margin: .35rem .5rem 0;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent-ink);
}

/* Ab Tablet: Trenner raus, Felder in zwei Reihen */
@media (max-width: 860px) {
  .rail {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
  }
  .rail__sep { display: none; }
  .rail__field { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
  .rail__btn { grid-column: 1 / -1; justify-content: center; }
}

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

@media (prefers-reduced-motion: reduce) {
  .rail__btn:hover { transform: none; }
}

/* Nach der Leiste darf die erste Sektion etwas näher rücken */
.railbar + .section { padding-top: clamp(3rem, 7vh, 5.5rem); }
