/* Fahrschule Taym – Farben ausschließlich aus Original-Logo und Original-CSS (siehe PROJEKTNOTIZEN.md) */

@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway-latin-var.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("fonts/kaushanscript-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --limette-hell: #D6EA67;   /* Logo-Scheibe, Lichtkante */
  --limette: #C3DD58;        /* Logo-Scheibe, Mittelwert */
  --oliv: #9EB248;           /* Original-CSS --theme-color */
  --braun: #423523;          /* Logo-Kontur, Schrift-Outline */
  --gold: #A67538;           /* TAYM-Schriftzug, Schatten */
  --gold-hell: #C6A568;      /* TAYM-Schriftzug, Mittelwert */
  --gold-glanz: #F3E8C8;     /* TAYM-Schriftzug, Glanzlicht */
  --asphalt: #1C1C1C;        /* Straße im Logo */
  --weiss: #FFFFFF;

  --titel: "Raleway", "Arial Black", system-ui, sans-serif;
  --text: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Kaushan Script", "Brush Script MT", cursive;

  --rand: clamp(1rem, 4vw, 3rem);
  --breite: 74rem;
  --abstand: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--braun);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titel); font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--oliv); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.rahmen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.skip { position: absolute; left: -999px; top: 0; background: var(--limette); color: var(--braun); padding: .75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.nur-mobil { display: none; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .7rem 1.4rem;
  font-family: var(--titel); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 2px solid var(--braun);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.knopf:active { transform: translateY(1px); }
.knopf--dunkel { background: var(--braun); color: var(--weiss); }
.knopf--dunkel:hover { background: var(--asphalt); border-color: var(--asphalt); }
.knopf--rand { background: transparent; color: var(--braun); }
.knopf--rand:hover { background: var(--braun); color: var(--weiss); }
.knopf--gold {
  background: linear-gradient(180deg, var(--gold-glanz) 0%, var(--gold-hell) 55%, var(--gold-hell) 100%);
  color: var(--braun); border-color: var(--gold);
}
.knopf--gold:hover { background: var(--gold-glanz); }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--braun); color: var(--weiss); }
.kopf__innen {
  max-width: 86rem; margin-inline: auto; padding: .55rem var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.kopf__marke img { width: clamp(170px, 18vw, 220px); }
.navi { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.navi a { font-family: var(--titel); font-weight: 700; text-decoration: none; padding: .5rem 0; }
.navi a:hover { color: var(--limette); }
.navi .navi__tel {
  background: var(--limette); color: var(--braun); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 800;
}
.navi .navi__tel:hover { background: var(--limette-hell); color: var(--braun); }
.kopf__menue { display: none; }

@media (max-width: 860px) {
  .kopf__menue {
    display: inline-flex; align-items: center; gap: .6rem;
    background: none; border: 2px solid var(--limette); color: var(--weiss); border-radius: 999px;
    padding: .5rem 1rem; font: 700 1rem var(--titel); cursor: pointer; min-height: 2.75rem;
  }
  .kopf__striche, .kopf__striche::before, .kopf__striche::after {
    display: block; width: 18px; height: 2px; background: var(--limette); position: relative; transition: transform .2s ease;
  }
  .kopf__striche::before, .kopf__striche::after { content: ""; position: absolute; left: 0; }
  .kopf__striche::before { top: -6px; }
  .kopf__striche::after { top: 6px; }
  .kopf__menue[aria-expanded="true"] .kopf__striche { background: transparent; }
  .kopf__menue[aria-expanded="true"] .kopf__striche::before { transform: translateY(6px) rotate(45deg); }
  .kopf__menue[aria-expanded="true"] .kopf__striche::after { transform: translateY(-6px) rotate(-45deg); }

  .js .navi {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--braun); padding: .5rem var(--rand) 1.25rem;
    border-top: 2px solid var(--gold);
    display: none;
  }
  .js .navi.offen { display: flex; }
  .js .navi a { padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .js .navi .navi__tel { margin-top: 1rem; text-align: center; border: 0; }
  .no-js .navi { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- Hero ---------- */
.held {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(120% 90% at 18% 22%, var(--limette-hell) 0%, var(--limette) 48%, var(--oliv) 100%);
  overflow: hidden;
}
.held__text {
  position: relative; z-index: 2;
  padding: clamp(2.5rem, 7vw, 6rem) var(--rand) 1.5rem;
  max-width: 40rem;
}
.held__schrift {
  font-family: var(--hand); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1;
  color: var(--weiss);
  -webkit-text-stroke: 7px var(--braun); paint-order: stroke fill;
  transform: rotate(-7deg); transform-origin: left bottom;
  margin: 0 0 .1em .1em;
  text-shadow: 3px 4px 0 var(--braun);
}
.held__titel {
  font-weight: 900; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .95; letter-spacing: -.015em;
  margin-bottom: .45em;
}
.held__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 34rem; }
.held__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.2rem; }
.held__adresse { font-weight: 500; margin: 0; }

.held__buehne { position: relative; min-height: 22rem; }
.strasse { position: absolute; inset: 0; width: 100%; height: 100%; }
.strasse__belag { fill: var(--asphalt); }
.strasse__mitte { fill: none; stroke: var(--weiss); stroke-width: 7; stroke-dasharray: 34 30; }
.held__auto {
  position: absolute; z-index: 2; width: min(92%, 640px); left: 2%; bottom: 7%;
  filter: drop-shadow(0 22px 18px rgba(28, 28, 28, .45));
}
.held__plakette {
  position: absolute; z-index: 3; width: clamp(84px, 13vw, 150px); right: 4%; top: 4%;
  transform: rotate(8deg);
  filter: drop-shadow(0 6px 10px rgba(66, 53, 35, .35));
}

@media (min-width: 960px) {
  .held { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(88vh, 54rem); align-items: center; }
  .held__text { padding-left: max(var(--rand), calc((100vw - 86rem) / 2 + var(--rand))); padding-bottom: clamp(3rem, 7vw, 6rem); }
  .held__buehne { align-self: stretch; min-height: 0; }
  .held__auto { width: min(96%, 720px); left: -6%; bottom: 10%; }
  .held__plakette { top: 9%; right: 7%; }
}

/* Einmaliger Moment beim Laden: das Auto fährt die Straße herunter */
@media (prefers-reduced-motion: no-preference) {
  .js .held__auto { animation: anfahrt 1.3s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .js .strasse__mitte { animation: fahrbahn 1.3s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .js .held__plakette { animation: plakette .6s cubic-bezier(.3, 1.5, .5, 1) 1.1s both; }
}
@keyframes anfahrt {
  from { transform: translate(38%, -34%) scale(.45); opacity: 0; }
  25% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
@keyframes fahrbahn { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes plakette { from { transform: rotate(-30deg) scale(.3); opacity: 0; } to { transform: rotate(8deg) scale(1); opacity: 1; } }

/* ---------- Leistungsstreifen ---------- */
.streifen { background: var(--braun); color: var(--gold-glanz); }
.streifen__liste {
  list-style: none; margin: 0 auto; padding: 1.1rem var(--rand);
  max-width: 86rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem 2rem;
}
.streifen__liste li { padding-left: 1.4rem; position: relative; line-height: 1.35; }
.streifen__liste li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: .8rem; height: .8rem; border-radius: 50%;
  background: var(--limette); box-shadow: 0 0 0 2px var(--gold);
}
.streifen strong { color: var(--weiss); font-family: var(--titel); font-weight: 800; }

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt__kopf { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.abschnitt__kopf h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -.01em; margin-bottom: .45em; }
.abschnitt__kopf p { font-size: 1.1rem; margin: 0; }

/* ---------- Klassen: wie die Rückseite des Führerscheins ---------- */
.karte-fs {
  border: 3px solid var(--braun); border-radius: 18px; overflow: hidden;
  background: var(--weiss);
  box-shadow: 10px 10px 0 var(--limette);
}
.karte-fs__zeile {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1.5fr) 5.5rem minmax(0, 1.25fr);
  gap: 1.5rem; align-items: start;
  padding: 1.5rem 1.75rem;
  border-top: 2px solid var(--braun);
}
.karte-fs__zeile:first-child { border-top: 0; }
.karte-fs__zeile--kopf {
  background: var(--braun); color: var(--gold-glanz);
  font-family: var(--titel); font-weight: 700; font-size: .95rem; padding-block: .8rem;
}
.karte-fs__zeile p, .karte-fs__zeile ul { margin: 0; }
.kuerzel {
  display: inline-flex; align-items: flex-start; justify-content: center;
  min-width: 5.6rem; padding: .35rem .6rem .45rem;
  background: var(--limette); border: 3px solid var(--braun); border-radius: 12px;
  font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em;
}
.kuerzel sup { font-size: .42em; margin-left: .08em; top: .1em; position: relative; }
.karte-fs__was strong { font-family: var(--titel); font-weight: 800; }
.karte-fs__ab { font-family: var(--titel); font-weight: 900; font-size: 1.9rem; line-height: 1; }
.karte-fs__ab small { display: block; font-family: var(--text); font-weight: 500; font-size: .85rem; margin-top: .35rem; line-height: 1.3; }
.karte-fs__wie { list-style: none; padding: 0; font-size: .97rem; }
.karte-fs__wie li { padding-left: 1.1rem; position: relative; margin-bottom: .3rem; }
.karte-fs__wie li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: 3px; background: var(--oliv); }
.karte-fs__zeile--bf17 { background: linear-gradient(90deg, rgba(214, 234, 103, .35), rgba(214, 234, 103, 0) 70%); }

@media (max-width: 860px) {
  .karte-fs { box-shadow: 6px 6px 0 var(--limette); border-radius: 14px; }
  .karte-fs__zeile--kopf { display: none; }
  .karte-fs__zeile:nth-child(2) { border-top: 0; }
  .karte-fs__zeile { grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.1rem; padding: 1.3rem 1.1rem; }
  .karte-fs__was { grid-column: 1 / -1; grid-row: 2; }
  .karte-fs__wie { grid-column: 1 / -1; grid-row: 3; }
  .karte-fs__ab { align-self: center; font-size: 1.5rem; }
  .karte-fs__ab small { display: inline; margin-left: .4rem; }
  .kuerzel { font-size: 2.1rem; min-width: 4.6rem; }
  .nur-mobil { display: inline; }
}

/* ---------- Ablauf: die Straße aus dem Logo ---------- */
.ablauf { background: var(--braun); color: var(--weiss); position: relative; overflow: hidden; }
.abschnitt__kopf--hell h2 { color: var(--limette); }
.abschnitt__kopf--hell p { color: var(--gold-glanz); }
.route {
  --fahrt: 0px;
  list-style: none; margin: 0; padding: 0 0 0 clamp(5.5rem, 12vw, 9rem);
  position: relative; counter-reset: halt;
  max-width: 52rem;
}
.route::before {
  content: ""; position: absolute; top: -1rem; bottom: -1rem; left: clamp(1.1rem, 3.5vw, 2.5rem);
  width: clamp(3rem, 6vw, 4.25rem); border-radius: 10px;
  background:
    linear-gradient(180deg, var(--weiss) 0 26px, transparent 26px) center var(--fahrt) / 5px 52px repeat-y,
    var(--asphalt);
  box-shadow: inset 4px 0 0 rgba(255,255,255,.08), inset -4px 0 0 rgba(255,255,255,.08);
}
.route__halt { position: relative; counter-increment: halt; padding-bottom: clamp(2rem, 5vw, 3rem); }
.route__halt:last-child { padding-bottom: 0; }
.route__halt::before {
  content: counter(halt);
  position: absolute; left: calc(-1 * clamp(5.5rem, 12vw, 9rem) + clamp(1.1rem, 3.5vw, 2.5rem) + clamp(3rem, 6vw, 4.25rem) / 2);
  transform: translateX(-50%); top: -.2rem;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--limette); color: var(--braun); border: 3px solid var(--gold);
  font-family: var(--titel); font-weight: 900; font-size: 1.35rem;
}
.route__halt h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); color: var(--weiss); margin-bottom: .4rem; padding-top: .25rem; }
.route__halt p { color: rgba(255, 255, 255, .86); max-width: 38rem; margin-bottom: .5rem; }
.route__ar { font-size: 1.15rem; color: var(--gold-hell) !important; font-family: system-ui, "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", sans-serif; text-align: right; max-width: 38rem; }

@media (min-width: 1100px) {
  .ablauf .rahmen { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .ablauf .abschnitt__kopf { position: sticky; top: 7rem; }
}

/* ---------- Extras ---------- */
.extras__raster { display: grid; gap: 2rem; }
.extras__bild { margin: 2rem 0 0; }
.extras__bild img, .ueber__bild img { border-radius: 18px; border: 3px solid var(--braun); width: 100%; }
.extras__bild img { aspect-ratio: 5 / 3.4; object-fit: cover; object-position: 60% center; box-shadow: -10px 10px 0 var(--limette); }
.extras__liste { border-top: 3px solid var(--braun); }
.extra { border-bottom: 3px solid var(--braun); padding: 1.6rem 0; }
.extra h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-bottom: .55rem; }
.extra p:last-child, .extra ul:last-child { margin-bottom: 0; }
.haken { list-style: none; padding: 0; margin: 0 0 1rem; }
.haken li { position: relative; padding-left: 1.75rem; margin-bottom: .35rem; }
.haken li::before {
  content: ""; position: absolute; left: .15rem; top: .38em; width: .45rem; height: .8rem;
  border: solid var(--oliv); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.extra--klapp summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.extra--klapp summary::-webkit-details-marker { display: none; }
.extra--klapp summary h3 { margin: 0; }
.extra--klapp summary::after {
  content: "+"; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--limette); border: 2px solid var(--braun);
  font: 900 1.5rem/1 var(--titel); transition: transform .25s ease;
}
.extra--klapp[open] summary::after { transform: rotate(45deg); }
.extra__mehr { padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .extra--klapp[open] .extra__mehr { animation: aufklappen .3s ease both; }
}
@keyframes aufklappen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .extras__raster { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .extras__kopf { position: sticky; top: 6.5rem; margin-bottom: 0; }
}

/* ---------- Preise ---------- */
.preise { background: radial-gradient(90% 120% at 90% 10%, var(--limette-hell), var(--limette) 60%); }
.preise__raster { display: grid; gap: 1.5rem 4rem; }
.preisliste { margin: 0; border: 3px solid var(--braun); border-radius: 18px; background: var(--weiss); overflow: hidden; }
.preisliste div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.4rem; border-top: 2px dashed var(--braun); }
.preisliste div:first-child { border-top: 0; }
.preisliste dt { font-family: var(--titel); font-weight: 800; font-size: 1.15rem; }
.preisliste dd { margin: 0; text-align: right; font-size: .97rem; }
.preise__hinweis { font-size: 1.15rem; font-weight: 500; max-width: 36rem; margin: 0; }
@media (min-width: 960px) {
  .preise__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .preise__raster .abschnitt__kopf { margin-bottom: 0; }
  .preise__hinweis { grid-column: 2; }
}
@media (max-width: 520px) {
  .preisliste div { flex-direction: column; gap: .1rem; }
  .preisliste dd { text-align: left; }
}

/* ---------- Über uns ---------- */
.ueber__raster { display: grid; gap: 2.5rem; align-items: center; }
.ueber__bild { margin: 0; }
.ueber__bild img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; box-shadow: 10px 10px 0 var(--gold-hell); }
.ueber__text h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 900; margin-bottom: 1.25rem; }
.zitat { margin: 0; padding-left: 1.4rem; border-left: 5px solid var(--limette); }
.zitat p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.zitat footer { display: flex; flex-direction: column; font-weight: 500; }
.zitat__name { font-family: var(--hand); font-size: 2rem; line-height: 1.1; color: var(--gold); }
@media (min-width: 960px) { .ueber__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--braun); color: var(--weiss); }
.kontakt h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; color: var(--limette); margin-bottom: 1rem; }
.kontakt h3 { font-size: 1.5rem; color: var(--gold-hell); margin-bottom: 1rem; }
.kontakt__raster { display: grid; gap: 3rem; }
.kontakt__status {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.08); border-radius: 999px; padding: .35rem .9rem; font-weight: 500;
}
.kontakt__status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gold-hell); }
.kontakt__status.offen::before { background: var(--limette); box-shadow: 0 0 0 4px rgba(195, 221, 88, .25); }
.kontakt__adresse { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 1.5rem; }
.kontakt__wege { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.kontakt .knopf--dunkel { background: var(--limette); color: var(--braun); border-color: var(--limette); }
.kontakt .knopf--dunkel:hover { background: var(--limette-hell); border-color: var(--limette-hell); }
.kontakt .knopf--rand { color: var(--weiss); border-color: var(--weiss); overflow-wrap: anywhere; }
.kontakt .knopf--rand:hover { background: var(--weiss); color: var(--braun); }
.kontakt__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.kontakt__links a { color: var(--gold-glanz); padding-block: .4rem; }

.zeiten__tabelle { border-collapse: collapse; width: 100%; max-width: 24rem; }
.zeiten__tabelle th, .zeiten__tabelle td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid rgba(243, 232, 200, .2); }
.zeiten__tabelle th { font-weight: 500; }
.zeiten__tabelle td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten__tabelle .zu { color: rgba(255,255,255,.6); }
.zeiten__tabelle .heute { background: var(--limette); color: var(--braun); }
.zeiten__tabelle .heute th, .zeiten__tabelle .heute td { font-weight: 700; border-bottom-color: transparent; }
.zeiten__tabelle .heute th::after { content: " (heute)"; font-weight: 500; }

.anmeldung__schritte { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.anmeldung__schritte li { margin-bottom: .6rem; padding-left: .3rem; }
.anmeldung__schritte li::marker { font-family: var(--titel); font-weight: 900; color: var(--limette); }
.anmeldung a:not(.knopf) { color: var(--gold-glanz); }

@media (min-width: 760px) { .kontakt__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kontakt__haupt { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .kontakt__raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1fr); } .kontakt__haupt { grid-column: auto; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--asphalt); color: rgba(255,255,255,.8); padding-block: 2.5rem; }
.fuss__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.fuss__innen img { width: 72px; }
.fuss__innen p { margin: 0; flex: 1 1 14rem; }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss nav a { color: var(--weiss); padding-block: .5rem; }

/* ---------- Rechtliche Seiten / 404 ---------- */
.recht { padding-block: clamp(3rem, 7vw, 5rem); }
.recht .rahmen { max-width: 48rem; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; }
.recht h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.recht address { font-style: normal; margin-bottom: 1em; }
.recht ul { padding-left: 1.25rem; }
.recht__zurueck { display: inline-block; margin-bottom: 2rem; font-weight: 700; }
.recht__stand { margin-top: 2.5rem; font-size: .95rem; }
.fehler { min-height: 60vh; display: grid; place-items: center; text-align: center; background: radial-gradient(100% 90% at 50% 20%, var(--limette-hell), var(--limette) 55%, var(--oliv)); }
.fehler img { margin: 0 auto 1.5rem; width: 140px; }
.fehler h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; margin-bottom: .6rem; }

/* ---------- Bewegung beim Scrollen (nur mit JS und ohne „reduzierte Bewegung“, Klasse .anim) ---------- */
.route-bahn { position: relative; }
.route__spur, .route__plakette { display: none; }

.anim [data-zeigen] {
  opacity: 0;
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1), clip-path .9s cubic-bezier(.65, 0, .35, 1);
  transition-delay: var(--v, 0ms);
}
.anim [data-zeigen="hoch"] { transform: translateY(28px); }
.anim [data-zeigen="links"] { transform: translateX(-48px); }
.anim [data-zeigen="rechts"] { transform: translateX(48px); }
.anim [data-zeigen="titel"] { opacity: 1; clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
.anim [data-zeigen="bild"] { opacity: 1; clip-path: inset(0 0 100% 0 round 18px); transform: scale(1.04); }
.anim [data-zeigen="stempel"] { transform: scale(1.7) rotate(-10deg); }
.anim [data-zeigen].sichtbar { opacity: 1; transform: none; }
.anim [data-zeigen="titel"].sichtbar, .anim [data-zeigen="bild"].sichtbar { clip-path: inset(-20px -40px -20px -20px); }
.anim [data-zeigen="stempel"].sichtbar { transition-timing-function: ease, cubic-bezier(.3, 1.6, .5, 1); }

/* Hero: Auto fährt beim Scrollen nach vorn, Plakette rollt */
.anim .held { --hs: 0; }
.anim .held__auto { translate: calc(var(--hs) * -7%) calc(var(--hs) * 14%); scale: calc(1 + var(--hs) * .14); }
.anim .held__plakette { rotate: calc(var(--hs) * 120deg); }
.anim .held__text { translate: 0 calc(var(--hs) * -40px); opacity: calc(1 - var(--hs) * .6); }

/* Ablauf: die Taym-Plakette fährt die Straße hinunter, die gefahrene Strecke leuchtet */
.anim .route-bahn { --weg: 0px; --sx: clamp(1.1rem, 3.5vw, 2.5rem); --sb: clamp(3rem, 6vw, 4.25rem); }
.anim .route__spur {
  display: block; position: absolute; z-index: 1; top: -1rem; left: var(--sx); width: var(--sb);
  height: calc(var(--weg) + 1rem); border-radius: 10px 10px 0 0;
  box-shadow: inset 4px 0 0 var(--limette), inset -4px 0 0 var(--limette);
  background: linear-gradient(180deg, rgba(195, 221, 88, .06), rgba(195, 221, 88, .2));
  pointer-events: none;
}
.anim .route__plakette {
  display: block; position: absolute; z-index: 3; top: var(--weg); left: calc(var(--sx) + var(--sb) / 2);
  width: calc(var(--sb) + 1.4rem); height: auto;
  translate: -50% -50%; rotate: calc(var(--weg) * .25deg);
  filter: drop-shadow(0 6px 10px rgba(28, 28, 28, .6));
  pointer-events: none;
}
.anim .route__halt::before { z-index: 2; }
.anim .route__halt::before {
  background: var(--braun); color: var(--gold-hell);
  transition: background-color .35s ease, color .35s ease, scale .45s cubic-bezier(.3, 1.6, .5, 1);
}
.anim .route__halt.erreicht::before { background: var(--limette); color: var(--braun); scale: 1.12; }
.anim .route__halt.erreicht h3 { color: var(--limette); transition: color .35s ease; }

/* Bürozeiten und Preisliste: Zeilen nacheinander */
.anim .zeiten__tabelle tr[data-zeigen] { transform: translateX(24px); }
.anim .zeiten__tabelle tr.sichtbar { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
