/* ==========================================================================
   MR Chauffeur-Service — „Das Portal"
   Grand-Hotel-Editorial: OLED-Schwarz, Champagner-Gold, Bogenformen.
   Schriften: Playfair Display (markenbegründet: Visitenkarten-Monogramm)
              Plus Jakarta Sans (Fließtext, Bedienelemente)
   Formregel: Bedienelemente = Pille · Flächen = 1.4rem · Fenster = Bogen
   ========================================================================== */

:root {
  --bg:        #080706;
  --bg-tief:   #050504;
  --flaeche:   #121009;
  --flaeche-2: #191510;
  --linie:     rgba(233, 215, 167, 0.14);
  --linie-2:   rgba(233, 215, 167, 0.3);
  --text:      #f0ebdd;
  --text-dim:  #a89f8d;
  --text-leise:#7e7666;
  --gold:      #c9a566;
  --gold-hell: #e9d7a7;
  --gold-tief: #8a7040;
  --fehler:    #e08b7b;

  --serife: "Playfair Display", "Georgia", serif;
  --grotesk: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --feder: cubic-bezier(0.32, 0.72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--grotesk);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(201, 165, 102, 0.35); color: #fff; }

/* Edle Rollbalken statt Systemweiß */
html { scrollbar-color: rgba(201, 165, 102, 0.35) #0a0908; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0908; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(rgba(201, 165, 102, 0.4), rgba(138, 112, 64, 0.4));
  border-radius: 999px;
  border: 2px solid #0a0908;
}
::-webkit-scrollbar-thumb:hover { background: rgba(201, 165, 102, 0.6); }

/* Anker landen unterhalb der festen Kopfleiste */
[id] { scroll-margin-top: 92px; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

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

/* Filmkorn + Lichtstimmung */
.korn {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23k)' opacity='0.7'/%3E%3C/svg%3E");
}
.lichtstimmung {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46rem 60rem at 50% -14%, rgba(201, 165, 102, 0.11), transparent 60%),
    radial-gradient(70rem 46rem at 50% 118%, rgba(233, 215, 167, 0.05), transparent 65%);
}

.inhalt { position: relative; z-index: 1; }
.huelle { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.sprunglink {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: #14110a; font-weight: 600;
  padding: 0.7rem 1.2rem; border-radius: 999px; text-decoration: none;
  transition: top 0.3s var(--feder);
}
.sprunglink:focus { top: 1rem; }

/* ------------------------------------------------------------ Wortmarke */
.wortmarke {
  display: inline-flex; align-items: baseline; gap: 0.7em;
  text-decoration: none; color: var(--text); line-height: 1;
}
.wortmarke .mr { font-family: var(--serife); font-weight: 600; font-size: 1.75em; }
.wortmarke .wort {
  font-size: 0.6em; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap;
}

/* ------------------------------------------------------------ Kopfleiste */
.kopfleiste {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--linie);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.6s var(--feder), background 0.6s var(--feder);
}
.kopfleiste.verdichtet {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}
.kopfleiste-innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 68px;
}
.kopf-links { display: flex; align-items: center; gap: 2.4rem; }
.kopf-navigation { display: flex; gap: 1.8rem; }
.kopf-navigation a {
  text-decoration: none; color: var(--text-dim);
  font-size: 0.85rem; font-weight: 500;
  padding: 0.4rem 0;
  transition: color 0.4s var(--feder);
}
.kopf-navigation a:hover { color: var(--gold-hell); }
.kopf-rechts { display: flex; align-items: center; gap: 1.4rem; }
.kopf-telefon {
  text-decoration: none; color: var(--text-dim); font-size: 0.85rem;
  transition: color 0.4s;
}
.kopf-telefon:hover { color: var(--gold-hell); }
.sprachwahl {
  text-decoration: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--text-dim);
  border: 1px solid var(--linie-2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  transition: color 0.4s, border-color 0.4s;
}
.sprachwahl:hover { color: var(--gold-hell); border-color: var(--gold); }

/* --------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--grotesk); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  min-height: 48px;
  transition: transform 0.5s var(--feder), box-shadow 0.5s var(--feder),
              background 0.4s var(--feder), color 0.4s;
}
.knopf:active { transform: scale(0.98); }
.knopf--gold {
  background: linear-gradient(120deg,
    var(--gold-hell) 0%, var(--gold) 40%, var(--gold-tief) 75%, var(--gold) 100%);
  background-size: 220% 100%;
  background-position: 0% 0%;
  color: #171208;
  box-shadow: 0 14px 34px -14px rgba(201, 165, 102, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.5s var(--feder), box-shadow 0.5s var(--feder),
              background-position 0.9s var(--feder);
}
.knopf--gold:hover {
  background-position: 85% 0%;
  box-shadow: 0 20px 46px -14px rgba(201, 165, 102, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.knopf--gold:active { transform: scale(0.98); }
.knopf--rand {
  background: transparent; color: var(--text);
  border: 1px solid var(--linie-2);
}
.knopf--rand:hover { border-color: var(--gold); color: var(--gold-hell); }
.knopf--still { background: transparent; color: var(--text-dim); padding-inline: 1rem; }
.knopf--still:hover { color: var(--text); }
.knopf--klein { min-height: 42px; padding: 0.55rem 1.3rem; font-size: 0.84rem; }

/* ----------------------------------------------------------- Typografie */
h1, h2, h3 { font-family: var(--serife); font-weight: 500; line-height: 1.06; }
.kursiv { font-style: italic; color: var(--gold-hell); }

.leitsatz {
  color: var(--text-dim); font-size: 1.02rem; line-height: 1.8;
  max-width: 34rem; margin-inline: auto;
}

/* ============================================================== Auftakt */
.auftakt {
  min-height: 100dvh;
  display: grid; place-items: center;
  text-align: center;
  position: relative;
  padding: 6rem 0 4rem;
}
/* Das Foto-Portal: Bogenfenster mit Blick auf die Fahrt */
.portalbild {
  position: relative;
  width: min(480px, 82vw);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: min(240px, 41vw) min(240px, 41vw) 1.2rem 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(201, 165, 102, 0.45);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.95);
  animation: portal-oeffnen 1.6s var(--feder) both;
}
.portalbild img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s var(--feder) both;
}
@keyframes kenburns {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}
/* Abdunkelung nach unten, damit die Headline darüber trägt */
.portalbild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(8, 7, 6, 0.12) 0%, transparent 30%,
    transparent 50%, rgba(8, 7, 6, 0.9) 88%, var(--bg) 99%);
  pointer-events: none;
}
/* Feiner Zweitbogen als Fassung */
.portal-ring {
  position: absolute; inset: 0; z-index: -1;
  margin: -16px auto 0;
  width: calc(min(480px, 82vw) + 32px);
  border: 1px solid rgba(201, 165, 102, 0.22);
  border-bottom: 0;
  border-radius: min(256px, 44vw) min(256px, 44vw) 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  pointer-events: none;
}
.portal { position: relative; }
@keyframes portal-oeffnen {
  from { opacity: 0; transform: translateY(2rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.auftakt h1 {
  position: relative; z-index: 2;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  letter-spacing: -0.015em;
  line-height: 1.04;
  padding-bottom: 0.08em; /* Unterlängen der Kursiven */
  margin-top: -1.35em;
  text-shadow: 0 2px 40px rgba(8, 7, 6, 0.9);
}
.auftakt .leitsatz { margin-top: 1.5rem; }
.auftakt-aktionen {
  display: flex; gap: 1rem; justify-content: center; align-items: center;
  margin-top: 2.6rem; flex-wrap: wrap;
}

/* ============================================================ Abschnitte */
.abschnitt { padding: clamp(6rem, 11vw, 10rem) 0; }

.abschnitt-titel {
  text-align: center;
  max-width: 42rem; margin: 0 auto clamp(2.8rem, 6vw, 4.5rem);
}
.abschnitt-titel h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  padding-bottom: 0.1em;
}
.abschnitt-titel p { color: var(--text-dim); margin-top: 0.9rem; }

/* ======================================================== Planer-Bühne */
.buehne {
  background: linear-gradient(178deg, var(--flaeche-2), var(--flaeche) 45%);
  border: 1px solid var(--linie);
  border-radius: 1.4rem;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.buehne-kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1.4rem, 4vw, 2.8rem);
  border-bottom: 1px solid var(--linie);
}
.buehne-kopf .titel { font-family: var(--serife); font-size: 1.3rem; }
.buehne-kopf .titel em { color: var(--gold-hell); }

/* Schrittanzeige: Worte statt Kreise */
.stufen { display: flex; align-items: center; gap: 1.6rem; }
.stufe {
  position: relative;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-leise);
  transition: color 0.5s var(--feder);
  padding-bottom: 0.35rem;
}
.stufe::before {
  content: attr(data-wort);
}
.stufe::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right 0.6s var(--feder);
}
.stufe.aktiv { color: var(--gold-hell); }
.stufe.aktiv::after { right: 0; }
.stufe.fertig { color: var(--text-dim); }
.stufe.fertig::after { right: 0; background: var(--linie-2); }
.stufen .strich { width: 14px; height: 1px; background: var(--linie); }

.schritt-ansicht { display: none; padding: clamp(1.6rem, 4vw, 2.8rem); }
.schritt-ansicht.aktiv { display: block; animation: einblenden 0.7s var(--feder); }
@keyframes einblenden {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Schritt 1: zweispaltig — Formular links, Bogenfenster (Karte) rechts */
.route-gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

/* Formulareingaben */
.feld { position: relative; }
.feld label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 0.45rem;
}
.feld input, .feld select, .feld textarea {
  width: 100%;
  background: rgba(233, 215, 167, 0.04);
  border: 1px solid var(--linie);
  border-radius: 0.8rem;
  color: var(--text);
  font-family: var(--grotesk); font-size: 0.95rem;
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color 0.4s var(--feder), background 0.4s var(--feder), box-shadow 0.4s;
}
.feld input::placeholder, .feld textarea::placeholder { color: var(--text-leise); }
.feld input:focus, .feld textarea:focus {
  outline: none;
  border-color: rgba(201, 165, 102, 0.65);
  background: rgba(233, 215, 167, 0.07);
  box-shadow: 0 0 0 3px rgba(201, 165, 102, 0.14);
}
.feld input.ungueltig { border-color: rgba(224, 139, 123, 0.7); }
.feld:focus-within > label { color: var(--gold-hell); transition: color 0.4s var(--feder); }
.feld .fehlertext { font-size: 0.78rem; color: var(--fehler); margin-top: 0.35rem; display: none; }
.feld.zeigt-fehler .fehlertext { display: block; }
.feld input[type="date"], .feld input[type="time"] { color-scheme: dark; }

/* Ortseingaben */
.ort-gruppe { position: relative; }
.ort-gruppe .punkt {
  position: absolute; left: 1rem; bottom: 20px;
  width: 8px; height: 8px; border-radius: 999px; pointer-events: none;
}
.ort-gruppe input { padding-left: 2.3rem; }
.punkt--start { background: var(--gold-hell); box-shadow: 0 0 8px rgba(233, 215, 167, 0.8); }
.punkt--ziel { border: 1.5px solid var(--gold); background: transparent; }

.vorschlaege {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #161310;
  border: 1px solid var(--linie-2);
  border-radius: 0.8rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden auto; max-height: 262px;
  display: none;
}
.vorschlaege.offen { display: block; animation: einblenden 0.4s var(--feder); }
.vorschlag {
  display: flex; gap: 0.7rem; align-items: baseline;
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 0.75rem 1rem;
  color: var(--text); font-family: var(--grotesk); font-size: 0.88rem;
  transition: background 0.25s;
}
.vorschlag:hover, .vorschlag.markiert { background: rgba(201, 165, 102, 0.1); }
.vorschlag .neben { color: var(--text-leise); font-size: 0.76rem; }

.route-zeile {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.7rem;
  align-items: end;
}
.tausch {
  width: 42px; height: 42px; flex: none; align-self: end; margin-bottom: 3px;
  border-radius: 999px; border: 1px solid var(--linie-2);
  background: transparent; color: var(--gold-hell); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.5s var(--feder), background 0.4s;
}
.tausch:hover { background: rgba(233, 215, 167, 0.07); transform: rotate(180deg); }
.tausch svg { width: 16px; height: 16px; }

.zeile-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1rem; }

/* Schnellwahl häufiger Ziele */
.schnellwahl { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.schnellwahl button {
  border: 1px solid var(--linie-2);
  background: rgba(233, 215, 167, 0.04);
  color: var(--text-dim);
  font-family: var(--grotesk); font-size: 0.78rem; font-weight: 500;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.35s var(--feder), border-color 0.35s var(--feder), background 0.35s;
}
.schnellwahl button:hover {
  color: var(--gold-hell);
  border-color: var(--gold);
  background: rgba(201, 165, 102, 0.1);
}

.zaehler {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(233, 215, 167, 0.04);
  border: 1px solid var(--linie);
  border-radius: 0.8rem;
  min-height: 48px; padding: 0.3rem 0.4rem;
}
.zaehler button {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--linie-2);
  background: transparent; color: var(--text);
  font-size: 1rem; cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.zaehler button:hover:not(:disabled) { background: rgba(201, 165, 102, 0.14); }
.zaehler button:disabled { opacity: 0.3; cursor: default; }
.zaehler output { font-size: 0.95rem; font-weight: 600; min-width: 2ch; text-align: center; }

.richtung {
  display: inline-flex; padding: 0.25rem; gap: 0.25rem;
  background: rgba(233, 215, 167, 0.04);
  border: 1px solid var(--linie); border-radius: 999px;
  margin-bottom: 1.2rem;
}
.richtung button {
  border: 0; cursor: pointer; border-radius: 999px;
  background: transparent; color: var(--text-dim);
  font-family: var(--grotesk); font-size: 0.82rem; font-weight: 600;
  padding: 0.55rem 1.15rem;
  transition: all 0.45s var(--feder);
}
.richtung button[aria-pressed="true"] {
  background: linear-gradient(140deg, var(--gold-hell), var(--gold));
  color: #171208;
}
.richtung .rabatt {
  font-size: 0.72em; font-weight: 700;
  color: var(--gold-hell);
  margin-left: 0.15em;
}
.richtung button[aria-pressed="true"] .rabatt { color: inherit; }

/* Das Bogenfenster: Karte im Portal */
.bogenfenster {
  position: relative;
  border: 1px solid var(--linie-2);
  border-radius: 50% 50% 1.2rem 1.2rem / 26% 26% 1.2rem 1.2rem;
  overflow: hidden;
  height: 100%; min-height: 430px;
  background: var(--bg-tief);
}
/* Farbige Karte mit warmer, gedeckter Tönung passend zur Palette */
#karte {
  position: absolute; inset: 0; z-index: 1;
  filter: saturate(0.82) sepia(0.14) contrast(1.02) brightness(0.97);
}
/* Kartenvorschau: selbst gehostetes Kartenbild, sichtbar noch vor jeder Eingabe */
.karte-leer {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.4rem;
  transition: opacity 0.6s var(--feder), visibility 0.6s;
}
.karte-leer::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/karte-vorschau.jpg") center 40% / cover no-repeat;
  filter: saturate(0.82) sepia(0.14) contrast(1.02) brightness(0.97);
}
.karte-leer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(8, 7, 6, 0.22) 0%, transparent 30%,
    transparent 55%, rgba(8, 7, 6, 0.66) 100%);
}
.karte-leer .chip {
  position: relative; z-index: 2;
  font-family: var(--serife); font-style: italic;
  font-size: 0.92rem; color: var(--text);
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(201, 165, 102, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.bogenfenster.hat-karte .karte-leer,
.bogenfenster.hat-route .karte-leer { opacity: 0; visibility: hidden; }
.leaflet-container { background: #0e0d0b !important; font-family: var(--grotesk) !important; }
/* Die Route fließt: wandernde Goldstriche */
.routenlinie {
  stroke-dasharray: 7 11;
  animation: route-fliessen 40s linear infinite;
}
@keyframes route-fliessen { to { stroke-dashoffset: -1800; } }
.leaflet-control-attribution {
  background: rgba(7, 7, 6, 0.75) !important; color: #8a8478 !important;
  font-size: 0.62rem !important;
}
.leaflet-control-attribution a { color: #b0a893 !important; }

/* Einwilligung */
.einwilligung {
  margin-top: 1.1rem;
  border: 1px solid rgba(201, 165, 102, 0.3);
  background: rgba(201, 165, 102, 0.06);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  font-size: 0.82rem; color: var(--text-dim);
  display: none;
}
.einwilligung.offen { display: block; animation: einblenden 0.5s var(--feder); }
.einwilligung strong { color: var(--text); font-weight: 600; }
.einwilligung a { color: var(--gold-hell); }
.einwilligung .aktionen { display: flex; gap: 0.7rem; margin-top: 0.9rem; flex-wrap: wrap; }

/* Routenbilanz unter dem Formular */
.routen-bilanz {
  display: none;
  margin-top: 1.4rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--linie);
  gap: 2.4rem;
}
.routen-bilanz.offen { display: flex; flex-wrap: wrap; animation: einblenden 0.6s var(--feder); }
.routen-bilanz .posten .wert-gross {
  font-family: var(--serife); font-size: 1.5rem; color: var(--gold-hell);
}
.routen-bilanz .posten .wozu {
  font-size: 0.72rem; color: var(--text-leise); margin-top: 0.1rem;
}

/* ------------------------------------------- Schritt 2: Bogen-Nischen */
.wagen-liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.wagen-karte {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 2.6rem 1.1rem 1.5rem;
  background: transparent;
  border: 1px solid var(--linie);
  border-radius: 50% 50% 1.2rem 1.2rem / 22% 22% 1.2rem 1.2rem;
  cursor: pointer; color: var(--text);
  font-family: var(--grotesk); text-align: center;
  transition: border-color 0.5s var(--feder), background 0.5s var(--feder),
              transform 0.5s var(--feder), box-shadow 0.5s var(--feder);
}
.wagen-karte:hover:not(:disabled) {
  border-color: var(--linie-2);
  transform: translateY(-4px);
}
.wagen-karte.gewaehlt {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 165, 102, 0.1), transparent 60%);
  box-shadow: 0 24px 50px -30px rgba(201, 165, 102, 0.55);
}
.wagen-karte .silhouette { height: 74px; display: grid; place-items: center; margin-bottom: 0.8rem; }
.wagen-karte .silhouette svg {
  height: 68px; width: auto;
  transition: transform 0.6s var(--feder);
}
.wagen-karte:hover:not(:disabled) .silhouette svg,
.wagen-karte.gewaehlt .silhouette svg { transform: translateX(4px); }
.wagen-karte .wk-name { font-family: var(--serife); font-size: 1.06rem; }
.wagen-karte .wk-modelle { color: var(--text-leise); font-size: 0.74rem; }
.wagen-karte .wk-plaetze { color: var(--text-dim); font-size: 0.76rem; margin-top: 0.5rem; }
.wagen-karte .wk-preis { margin-top: 0.9rem; }
.wagen-karte .wk-preis .betrag {
  font-family: var(--serife); font-size: 1.45rem; color: var(--gold-hell);
  white-space: nowrap;
}
.wagen-karte .wk-preis .art { display: block; font-size: 0.68rem; color: var(--text-leise); }
.wagen-karte .abzeichen {
  position: absolute; top: 0.9rem; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-hell);
}

/* --------------------------------------------- Schritt 3: Bordkarte */
.kontakt-gitter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.bordkarte {
  position: relative;
  background: linear-gradient(165deg, rgba(201, 165, 102, 0.12), rgba(233, 215, 167, 0.04) 55%);
  border: 1px solid rgba(201, 165, 102, 0.35);
  border-radius: 1.2rem;
  padding: 1.5rem 1.6rem 1.3rem;
  display: grid; gap: 0.5rem;
  font-size: 0.9rem;
}
.bordkarte .zeile { display: flex; justify-content: space-between; gap: 1.5rem; }
.bordkarte .zeile span:first-child { color: var(--text-leise); flex: none; }
.bordkarte .zeile span:last-child { text-align: right; }
/* Perforation vor dem Preisabschnitt */
.bordkarte .gesamt {
  position: relative;
  border-top: 1px dashed rgba(201, 165, 102, 0.45);
  padding-top: 1rem; margin-top: 0.6rem;
  align-items: baseline;
}
.bordkarte .gesamt::before, .bordkarte .gesamt::after {
  content: "";
  position: absolute; top: -9px;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--flaeche);
  border: 1px solid rgba(201, 165, 102, 0.35);
}
.bordkarte .gesamt::before { left: -26px; border-left-color: transparent; }
.bordkarte .gesamt::after { right: -26px; border-right-color: transparent; }
.bordkarte .gesamt .betrag { font-family: var(--serife); font-size: 1.7rem; color: var(--gold-hell); }

.ehrenfeld { position: absolute; left: -6000px; top: 0; height: 1px; width: 1px; overflow: hidden; }

.feld label.einverstaendnis, .einverstaendnis {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.8rem; line-height: 1.55; color: var(--text-dim);
  text-transform: none; letter-spacing: 0; font-weight: 400;
  cursor: pointer; margin-top: 1.1rem;
}
.einverstaendnis input {
  width: auto; min-height: 0; margin-top: 0.2rem; accent-color: #c9a566;
}
.einverstaendnis a { color: var(--gold-hell); }

/* Fußzeile der Bühne */
.buehne-fuss {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0 clamp(1.4rem, 4vw, 2.8rem) clamp(1.4rem, 3vw, 2rem);
}
.buehne-status { font-size: 0.8rem; color: var(--text-leise); min-height: 1.2em; }
.buehne-status.fehler { color: var(--fehler); }

/* Erfolg */
.erfolg { text-align: center; padding: 3rem 1.8rem; }
.erfolg .siegel {
  width: 74px; height: 90px; margin: 0 auto 1.6rem;
  border-radius: 37px 37px 12px 12px;
  display: grid; place-items: center;
  background: rgba(201, 165, 102, 0.1);
  border: 1px solid rgba(201, 165, 102, 0.4);
  color: var(--gold-hell);
  animation: siegeln 0.9s var(--feder);
}
@keyframes siegeln { from { transform: scale(0.6); opacity: 0; } }
.erfolg .siegel svg { width: 30px; height: 30px; }
.erfolg h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.erfolg p { color: var(--text-dim); max-width: 26rem; margin-inline: auto; }

/* ========================================================= Leistungs-Index */
.index-liste { border-top: 1px solid var(--linie); }
.index-zeile {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.2rem) 0.2rem;
  border-bottom: 1px solid var(--linie);
}
.index-bild {
  width: 82px; height: 104px; object-fit: cover;
  border-radius: 41px 41px 12px 12px;
  border: 1px solid var(--linie-2);
  filter: saturate(0.85) contrast(1.02);
  transition: filter 0.6s var(--feder), transform 0.6s var(--feder);
}
.index-zeile h3 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  transition: color 0.5s var(--feder), font-style 0.3s;
  padding-bottom: 0.08em;
}
.index-zeile p { color: var(--text-dim); font-size: 1rem; line-height: 1.7; text-align: right; }
.index-zeile:hover h3 { color: var(--gold-hell); font-style: italic; }
.index-zeile:hover .index-bild { filter: saturate(1.05); transform: translateY(-3px); }

/* ============================================================ Bildband */
.bildband {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  border-block: 1px solid rgba(201, 165, 102, 0.25);
  padding: clamp(5rem, 10vh, 8rem) 1.5rem;
}
.bildband > img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 55%;
}
.bildband::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(8, 7, 6, 0.42) 22%,
      rgba(8, 7, 6, 0.5) 55%, rgba(8, 7, 6, 0.6) 80%, var(--bg) 100%);
}
.bildband p.gross {
  position: relative; z-index: 2;
  font-family: var(--serife);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  max-width: 54rem; margin-inline: auto;
  padding-bottom: 0.1em;
  color: #fbf7ec;
  text-shadow: 0 2px 34px rgba(8, 7, 6, 0.95);
}
.bildband p.gross em { color: var(--gold-hell); }

/* ============================================================ Abschluss */
.abschluss { text-align: center; padding-bottom: 5rem; }
.abschluss .krone {
  width: 92px; height: 116px; margin: 0 auto 2.2rem;
  border: 1px solid var(--linie-2);
  border-radius: 46px 46px 14px 14px;
  display: grid; place-items: center;
}
.abschluss .krone .mr { font-family: var(--serife); font-weight: 600; font-size: 1.9rem; color: var(--gold-hell); }
.abschluss h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); padding-bottom: 0.1em; }
.abschluss .telefon-gross {
  display: inline-block;
  font-family: var(--serife);
  font-size: clamp(2.2rem, 6.5vw, 4.6rem);
  color: var(--gold-hell);
  text-decoration: none;
  margin-top: 1.8rem;
  transition: color 0.4s, transform 0.5s var(--feder);
}
.abschluss .telefon-gross:hover { color: var(--gold); transform: translateY(-2px); }
.abschluss .wege {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-top: 1.8rem;
}
.abschluss .wege a {
  color: var(--text-dim); text-decoration: none; font-size: 0.92rem;
  border-bottom: 1px solid var(--linie-2);
  padding-bottom: 2px;
  transition: color 0.4s, border-color 0.4s;
}
.abschluss .wege a:hover { color: var(--gold-hell); border-color: var(--gold); }
.abschluss .anschrift {
  margin-top: 2.6rem; color: var(--text-leise); font-size: 0.85rem; font-style: normal;
}

/* ---------------------------------------------------------------- Fußzeile */
.fusszeile {
  border-top: 1px solid var(--linie);
  padding: 1.8rem 0 2rem;
}
.fusszeile-innen {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  color: var(--text-leise); font-size: 0.8rem;
}
.fusszeile a { color: var(--text-dim); text-decoration: none; }
.fusszeile a:hover { color: var(--gold-hell); }
.fusszeile .rechts { display: flex; gap: 1.6rem; }

/* ============================================================ Empfang
   Erster Besuch: Sprachwahl + optionale Aktivierung der Routendienste */
.empfang {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1.25rem;
  background: rgba(5, 5, 4, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: einblenden 0.5s var(--feder);
}
.empfang-karte {
  width: min(430px, 100%);
  background: linear-gradient(175deg, var(--flaeche-2), var(--flaeche) 45%);
  border: 1px solid rgba(201, 165, 102, 0.35);
  border-radius: 1.4rem;
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95);
}
/* Wortmarke wie auf der Visitenkarte: Schriftzug kreuzt das Monogramm */
.empfang-marke {
  display: inline-grid; place-items: center;
  margin: 0 auto 1rem;
  line-height: 1;
}
.empfang-marke .mr {
  grid-area: 1 / 1;
  font-family: var(--serife); font-weight: 600;
  font-size: 4.4rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.empfang-marke .wort {
  grid-area: 1 / 1;
  font-family: var(--grotesk); font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-hell);
  background: #17140e;
  padding: 0.4em 0.7em 0.4em 1em;
  white-space: nowrap;
  transform: translateY(0.35em);
}
.empfang-karte h2 {
  font-size: 1.7rem; padding-bottom: 0.08em;
}
.empfang-sprachen {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem;
  margin-top: 1.4rem;
}
.empfang-sprachen button {
  border: 1px solid var(--linie-2);
  background: rgba(233, 215, 167, 0.04);
  color: var(--text);
  font-family: var(--grotesk); font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: border-color 0.4s var(--feder), background 0.4s var(--feder), color 0.4s;
}
.empfang-sprachen button[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201, 165, 102, 0.13);
  color: var(--gold-hell);
}
.empfang-karte .einverstaendnis {
  text-align: left;
  margin-top: 1.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--linie);
  border-radius: 0.9rem;
  background: rgba(233, 215, 167, 0.03);
}
.empfang-los { width: 100%; margin-top: 1.3rem; justify-content: center; }
.empfang-hinweis {
  margin-top: 0.9rem; font-size: 0.72rem; color: var(--text-leise);
}

/* --------------------------------------------------------- Enthüllung */
.enthuellen {
  opacity: 0;
  transform: translateY(3rem);
  filter: blur(6px);
  transition: opacity 0.9s var(--feder), transform 0.9s var(--feder), filter 0.9s var(--feder);
  transition-delay: var(--verzug, 0s);
}
.enthuellen.sichtbar { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .enthuellen { opacity: 1; transform: none; filter: none; }
}
body.sofort .auftakt { min-height: auto; }
body.sofort .enthuellen { transition: none; }

/* Ladekringel */
.laden {
  display: inline-block; width: 15px; height: 15px;
  border: 2px solid rgba(201, 165, 102, 0.25);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: drehen 0.8s linear infinite;
  vertical-align: -2px;
}
@keyframes drehen { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------- Rechtsseiten */
.rechtsseite { padding: 9rem 0 5rem; max-width: 46rem; }
.rechtsseite h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 2.2rem; }
.rechtsseite h2 { font-size: 1.35rem; margin: 2.6rem 0 0.8rem; }
.rechtsseite h3 { font-size: 1.05rem; font-family: var(--grotesk); font-weight: 600; margin: 1.8rem 0 0.5rem; }
.rechtsseite p, .rechtsseite li { color: var(--text-dim); font-size: 0.95rem; }
.rechtsseite ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.rechtsseite a { color: var(--gold-hell); }
.rechtsseite address { font-style: normal; }

/* Bausteine für danke.html */
.schale { background: rgba(233, 215, 167, 0.03); border: 1px solid var(--linie); border-radius: 1.4rem; padding: 0.5rem; }
.kern { background: linear-gradient(175deg, var(--flaeche-2), var(--flaeche) 40%); border-radius: 1rem; overflow: hidden; }
.knopf--geist { background: rgba(233, 215, 167, 0.05); color: var(--text); border: 1px solid var(--linie-2); }
.knopf--geist:hover { background: rgba(233, 215, 167, 0.1); }

/* ------------------------------------------------------------------ Mobil */
@media (max-width: 1024px) {
  .wagen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .route-gitter, .kontakt-gitter { grid-template-columns: 1fr; }
  .bogenfenster { min-height: 300px; }
}

@media (max-width: 768px) {
  .huelle { width: calc(100% - 2rem); }
  .abschnitt { padding: 4.5rem 0; }

  .kopf-navigation { display: none; }
  .kopf-telefon { display: none; }
  .kopfleiste-innen { height: 60px; }

  .stufen { gap: 1rem; }
  .stufen .strich { display: none; }

  .route-zeile { grid-template-columns: 1fr; }
  .tausch { justify-self: center; transform: rotate(90deg); margin: 0; }
  .tausch:hover { transform: rotate(270deg); }

  .wagen-liste { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .wagen-karte { padding: 2rem 0.8rem 1.2rem; }

  .index-zeile { grid-template-columns: 62px 1fr; gap: 0.9rem; row-gap: 0.4rem; }
  .index-bild { width: 62px; height: 80px; border-radius: 31px 31px 9px 9px; }
  .index-zeile p { text-align: left; grid-column: 2; }
  .auftakt h1 { margin-top: -1.1em; }

  .buehne-fuss { flex-wrap: wrap; }
  .bordkarte .gesamt::before { left: -24px; }
  .bordkarte .gesamt::after { right: -24px; }
}

@media (max-width: 480px) {
  .wagen-liste { grid-template-columns: 1fr; }
}
