/* ==========================================================================
   Fahrschule Liah – Grundlagen
   Nachbau der früheren WordPress/Elementor-Seite (Stand 05.10.2026) ohne CMS.
   Werte entsprechen den Elementor-Einstellungen der alten Seite
   (Breakpoints wie dort: Tablet ≤ 1024 px, Handy ≤ 767 px).
   ========================================================================== */

:root {
  /* Farben (Elementor-Kit „Roadry“) */
  --rot: #C82A45;
  --lila: #7B4397;
  --text: #25142D;
  --beere: #A63568;
  --weiss: #FFFFFF;
  --hell: #F4F6F7;
  --linie: #0A0A0A20;
  --lila-dunkel: #6C2A8D;
  --icon-hg: #E8EEF1;
  --link-blau: #046BD2;

  /* Schrift: Die alte Seite hat „Albert Sans“ angegeben, aber nie geladen –
     Besucher sahen die Systemschrift (Windows: Arial, Apple: Helvetica,
     Android: Roboto). Gleiche Angabe = gleiches Bild, ohne Schriftdatei. */
  --schrift: "Albert Sans", Sans-serif;
  --schrift-recht: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Typografie-Stufen (Kit-Werte Desktop) */
  --fs-gross: 100px;   --ls-gross: -2px;      /* primary */
  --fs-h2: 54px;       --ls-h2: -1.6px;       /* secondary */
  --fs-h3: 34px;       --ls-h3: -1.6px;
  --fs-h4: 28px;       --ls-h4: -1.4px;
  --fs-h5: 21px;       --ls-h5: -0.6px;
  --fs-h6: 18px;       --ls-h6: -0.4px;
  --fs-text: 16px;     --ls-text: -0.4px;
  --fs-akzent: 14px;   --ls-akzent: -0.3px;
  --fs-pill: 13px;     --ls-pill: -0.1px;
  --fs-zahltitel: 20px; --ls-zahltitel: -0.4px;
  --fs-kopfzeile: 14px; --ls-kopfzeile: -0.2px;
}

@media (max-width: 1024px) {
  :root {
    --fs-gross: 58px;  --ls-gross: -1.8px;
    --fs-h2: 45px;     --ls-h2: -1.4px;
    --fs-h3: 30px;     --ls-h3: -1.4px;
    --fs-h4: 24px;     --ls-h4: -1.2px;
    --fs-h5: 20px;     --ls-h5: -0.5px;
    --fs-h6: 17px;     --ls-h6: -0.3px;
    --fs-text: 15px;   --ls-text: -0.3px;
    --fs-akzent: 13px;
    --fs-pill: 12px;
    --fs-zahltitel: 18px;
    --fs-kopfzeile: 13px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-gross: 50px;  --ls-gross: -1.6px;
    --fs-h2: 40px;     --ls-h2: -1.2px;
    --fs-h3: 27px;     --ls-h3: -1.2px;
    --fs-h4: 23px;     --ls-h4: -1px;
    --fs-h5: 19px;     --ls-h5: -0.4px;
    --fs-zahltitel: 17px;
  }
}

/* ---------- Grundgerüst ---------- */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Wie das bisherige Theme (Astra): unter 922 px ist 1rem = 14,592 px */
@media (max-width: 921px) {
  html { font-size: 91.2%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift);
  font-size: var(--fs-text);
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: var(--ls-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--lila); outline-offset: 2px; }

.nur-vorleser {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprungmarke {
  position: absolute;
  left: 10px; top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--lila);
  color: var(--weiss);
  border-radius: 30px;
  font-weight: 600;
}
.sprungmarke:focus { top: 10px; }

/* ---------- Icons (inline SVG) ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* ---------- Überschriften-Stufen ---------- */

.t-gross { font-size: var(--fs-gross); font-weight: 600; line-height: 1.3em; letter-spacing: var(--ls-gross); }
.t-h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.1em; letter-spacing: var(--ls-h2); }
.t-h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2em; letter-spacing: var(--ls-h3); }
.t-h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.2em; letter-spacing: var(--ls-h4); }
.t-h5 { font-size: var(--fs-h5); font-weight: 600; line-height: 1.3em; letter-spacing: var(--ls-h5); }
.t-h6 { font-size: var(--fs-h6); font-weight: 600; line-height: 1.3em; letter-spacing: var(--ls-h6); }
.t-text { font-size: var(--fs-text); font-weight: 400; line-height: 1.6em; letter-spacing: var(--ls-text); }
.t-akzent { font-size: var(--fs-akzent); font-weight: 600; letter-spacing: var(--ls-akzent); }

.f-lila { color: var(--lila); }
.f-rot { color: var(--rot); }
.f-weiss { color: var(--weiss); }
.f-beere { color: var(--beere); }

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 30px;
  border-radius: 30px;
  background: var(--lila);
  color: var(--weiss);
  font-size: var(--fs-akzent);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--ls-akzent);
  text-align: center;
  transition: all .3s;
}
.btn:hover, .btn:focus-visible { background: var(--text); color: var(--weiss); }
.btn .icon { width: 1em; height: 1em; }

.btn--klein { padding: 12px 20px; }
.btn--gross { padding: 18px 36px; font-size: 16px; }
.btn--mittel16 { font-size: 16px; }
@media (max-width: 1024px) {
  .btn--gross, .btn--mittel16 { font-size: 13px; }
}

.btn--weiss { background: var(--weiss); color: var(--lila); }
.btn--weiss:hover, .btn--weiss:focus-visible { background: var(--weiss); color: var(--rot); }

.btn--hover-beere:hover, .btn--hover-beere:focus-visible { background: var(--beere); color: var(--weiss); }

/* „Bewerten“ im Bewertungsbereich */
.btn--rot {
  background: var(--rot);
  font-size: 20px;
  font-weight: 700;
  transition-duration: 0s;
}
.btn--rot:hover, .btn--rot:focus-visible { background: var(--weiss); color: var(--rot); }
@media (max-width: 921px) {
  .btn--rot { padding: 14px 28px; }  /* Theme-Vorgabe der alten Seite unter 922 px */
}

/* Kleine Kennzeichnungen über Überschriften („◯ Unsere Kurse“) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--linie);
  border-radius: 30px;
  background: var(--weiss);
  color: var(--lila);
  font-size: var(--fs-pill);
  font-weight: 600;
  line-height: 1.6em;
  letter-spacing: var(--ls-pill);
  transition: all .3s;
}
.pill--hell { background: var(--hell); }
.pill--hell:hover { background: var(--weiss); }

/* Runder Icon-Hintergrund */
.icon-rund {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--icon-hg);
  color: var(--beere);
  line-height: 1;
}

/* ---------- Einblend-Animationen (wie Elementor: fadeInUp/-Down/fadeIn, 1,25 s) ---------- */

@keyframes einblenden-hoch { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes einblenden-runter { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

.js [data-anim] { visibility: hidden; }
.js [data-anim].sichtbar {
  visibility: visible;
  animation-duration: 1.25s;
  animation-fill-mode: both;
}
.js [data-anim="hoch"].sichtbar { animation-name: einblenden-hoch; }
.js [data-anim="runter"].sichtbar { animation-name: einblenden-runter; }
.js [data-anim="ein"].sichtbar { animation-name: einblenden; }

@media (prefers-reduced-motion: reduce) {
  .js [data-anim] { visibility: visible; }
  .js [data-anim].sichtbar { animation: none; }
}

/* ==========================================================================
   Kopfleiste, Kopf mit Navigation, Handy-Menü, Bewertungen, Fuß
   ========================================================================== */

/* ---------- Kopfleiste (lila) ---------- */

.kopfleiste {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 20px;
  background: var(--lila);
}
.kopfleiste__liste {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0 50px;
}
.kopfleiste__eintrag {
  display: flex;
  align-items: center;
  color: var(--weiss);
  font-size: var(--fs-kopfzeile);
  font-weight: 500;
  line-height: 1.6em;
  letter-spacing: var(--ls-kopfzeile);
}
/* Symbolfeld wie Elementor 1,25 × Symbolgröße breit */
.kopfleiste__eintrag .icon { width: 14px; height: 14px; margin-right: 3.5px; color: var(--text); }
.kopfleiste__eintrag span { padding-left: 5px; }

@media (max-width: 1024px) {
  .kopfleiste { padding: 8px 10px; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .kopfleiste__liste { width: 70%; }
}
@media (max-width: 767px) {
  .kopfleiste { gap: 10px 0; }
  .kopfleiste__liste { width: 100%; flex-direction: column; justify-content: center; gap: 5px; }
}

/* ---------- Kopf ---------- */

.kopf {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.kopf__spalte { padding: 10px; align-self: center; display: flex; }
.kopf__logo { width: 25%; flex-direction: column; }
.kopf__navi { width: 50%; flex-direction: column; align-items: center; }
.kopf__aktion { width: 25%; justify-content: flex-end; }

.kopf__logo a { display: block; padding-left: 3%; }
.kopf__logo img { max-width: 25%; }

/* Hauptnavigation: auf der alten Seite brach „Preise“ bis ca. 1600 px Breite in eine
   zweite Zeile um. Hier bleibt sie einzeilig und darf seitlich über die Spalte ragen. */
.navi {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 40px;
}
.navi__liste {
  display: flex;
  flex: none;
  align-items: flex-start;
  white-space: nowrap;
}
.navi__liste li { margin: 0 clamp(14px, 1.39vw, 20px); }
.navi__liste a {
  display: block;
  color: var(--lila);
  font-size: clamp(17px, 1.39vw, 20px);
  font-weight: 800;
  line-height: 25.6px;
  letter-spacing: normal;
  transition: color .3s;
}
.navi__liste a:hover,
.navi__liste a:focus-visible,
.navi__liste a[aria-current="page"] { color: var(--rot); }

.kopf__knopf {
  padding-right: 3%;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.kopf__knopf .btn {
  padding: 12px 20px;
  transition-duration: .3s;
  transition-property: transform, background-color, color;
}
.kopf__knopf .btn:hover,
.kopf__knopf .btn:focus-visible { background: var(--beere); color: var(--weiss); transform: scale(1.1); }

/* Menüknopf (nur Tablet/Handy) */
.menue-knopf {
  display: none;
  width: 45px;
  height: 26px;
  padding: 0;
  border-radius: 3px;
  color: var(--rot);
  box-shadow: 0 0 5px rgba(0, 0, 0, .07);
  align-items: center;
  justify-content: center;
  transition: color .4s ease-in;
}
.menue-knopf .icon { width: 27px; height: 27px; }
.menue-knopf:hover { color: var(--beere); }

@media (max-width: 1024px) {
  .kopf__logo img { max-width: 50%; }
  .navi { display: none; }
  .menue-knopf { display: inline-flex; }
  .kopf__knopf .btn { padding: 11px 18px; }
}

@media (max-width: 767px) {
  .kopf { flex-wrap: wrap; }
  .kopf__logo { width: 100%; flex-direction: row; justify-content: center; align-items: center; }
  .kopf__logo a { padding-left: 0; text-align: center; width: 100%; }
  .kopf__logo img { max-width: 40%; margin: 0 auto; }
  .kopf__navi { width: 30%; }
  .kopf__aktion { width: 35%; }
  .menue-knopf .icon { width: 26px; height: 26px; }
  .kopf__knopf .btn { padding: 10px 15px; }
}

/* ---------- Handy-Menü (von links, wie ElementsKit) ---------- */

.menue {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.menue.offen { visibility: visible; }
.menue__abdunkler {
  position: absolute;
  inset: 0;
  background: rgb(51 51 51 / .5);
  opacity: 0;
  transition: opacity .5s ease;
}
.menue.offen .menue__abdunkler { opacity: 1; }
.menue__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  max-width: 350px;
  overflow-y: auto;
  background: var(--weiss);
  transform: translateX(-100%);
  transition: transform .6s cubic-bezier(.22, .61, .24, 1);
}
.menue.offen .menue__panel { transform: none; }
.menue__kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
}
.menue__logo { margin: 7px 0 30px 25px; padding: 5px; }
.menue__logo img { max-width: 145px; max-height: 70px; width: auto; }
.menue__schliessen {
  width: 45px;
  margin: 12px;
  color: var(--beere);
  font-size: var(--fs-akzent);
  font-weight: 600;
  letter-spacing: var(--ls-akzent);
  line-height: 1.6em;
}
.menue__schliessen:hover { color: #2F1107; }
.menue__liste a {
  display: block;
  padding: 7px 15px 7px 30px;
  color: var(--lila);
  font-size: 13px;
  font-weight: 800;
  line-height: 25.6px;
}
.menue__liste a:hover,
.menue__liste a:focus-visible,
.menue__liste a[aria-current="page"] { color: var(--rot); }

@media (max-width: 767px) {
  .menue__logo { margin: 0 0 0 2%; }
  .menue__logo img { max-width: 150px; max-height: 100px; }
  .menue__liste a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .menue__panel, .menue__abdunkler { transition: none; }
}

/* ---------- Bewertungen (vor dem Fuß, wie bisher auf dem Handy ausgeblendet) ---------- */

.bewertungen {
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  padding: 0;
  background: var(--lila);
}
.bewertungen__innen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 75px 0;
  width: 75%;
  margin: 0 auto;
}
.bewertungen__titel {
  color: var(--weiss);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h2);
  text-shadow: 0 0 10px rgba(0, 0, 0, .3);
  -webkit-text-stroke: .5px var(--weiss);
  text-align: center;
}
.bewertungen__titel strong { font-weight: 700; }
.bewertungen__knopf { margin-top: -6%; }

@media (max-width: 1024px) {
  .bewertungen { padding: 6% 0; }
}
@media (max-width: 767px) {
  .bewertungen { display: none; }
}

/* Slider (ersetzt das Trustindex-Widget; gleiche Maße, Schrift Poppins wie dort) */
@font-face {
  font-family: "Bewertung Poppins";
  src: url("/assets/schriften/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bewertung Poppins";
  src: url("/assets/schriften/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.slider {
  position: relative;
  width: 100%;
  padding: 5px 8px 53px;  /* unten: Platz der früheren Trustindex-Zeile, Gesamthöhe 316 px wie bisher */
  container-type: inline-size;
}
.slider__spur {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 0;
}
.slider__spur::-webkit-scrollbar { display: none; }
.slider__eintrag {
  flex: 0 0 100%;
  padding: 0 8px;
  scroll-snap-align: start;
}
@container (min-width: 700px) { .slider__eintrag { flex-basis: 50%; } }
@container (min-width: 1000px) { .slider__eintrag { flex-basis: 33.3333%; } }
.slider__pfeil {
  position: absolute;
  top: 134px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--weiss);
  color: #000;
  box-shadow: 0 0 2px rgba(0, 0, 0, .15), 0 2px 6px rgba(0, 0, 0, .15);
}
.slider__pfeil .icon { width: 12px; height: 12px; }
.slider__pfeil--zurueck { left: -2px; }
.slider__pfeil--zurueck .icon { transform: rotate(180deg); }
.slider__pfeil--vor { right: -2px; }
.slider__pfeil:hover { box-shadow: 0 0 2px rgba(0, 0, 0, .2), 0 3px 10px rgba(0, 0, 0, .25); }

.bewertung {
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background: var(--weiss);
  color: #000;
  box-shadow: 1px 4px 10px 0 rgba(0, 0, 0, .1), 0 0 2px 0 rgba(0, 0, 0, .05);
  font-family: "Bewertung Poppins", var(--schrift);
  font-size: 15px;
  letter-spacing: -.4px;
}
.bewertung__kopf {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 25px;
}
.bewertung__bild {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--av, #455A64);  /* Farbe je Person: Klassen .av-… werden beim Bau ergänzt */
  color: var(--weiss);
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}
.bewertung__name { font-weight: 600; line-height: 21px; }
.bewertung__datum { color: rgba(0, 0, 0, .5); font-size: 13px; line-height: 18px; }
.bewertung__google { position: absolute; right: 0; top: 0; width: 20px; height: 20px; }
.bewertung__sterne { display: flex; gap: 1px; margin: 12px 0 10px; }
.bewertung__sterne .icon { width: 17px; height: 17px; color: #F6BB06; }
.bewertung__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 21.75px;
  white-space: pre-line;
}
.bewertung.offen .bewertung__text { -webkit-line-clamp: unset; display: block; }
.bewertung__mehr {
  margin-top: 7px;
  color: rgba(0, 0, 0, .5);
  font-size: 13.5px;
  line-height: 18.9px;
}
.bewertung__mehr:hover { text-decoration: underline; }

/* ---------- Fuß ---------- */

.fuss {
  display: flex;
  justify-content: space-between;
  padding: 2% 8% 0;
  background: var(--weiss);
}
.fuss__spalte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px 0;
  width: 25%;
  padding: 10px;
}
.fuss__titel {
  color: var(--lila);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h3);
  text-decoration: underline;
}
.fuss__liste li { display: flex; align-items: center; }
.fuss__liste li:not(:last-child) { padding-bottom: calc(.3rem / 2); }
.fuss__liste li:not(:first-child) { margin-top: calc(.3rem / 2); }
.fuss__liste .icon { width: 16px; height: 16px; margin-right: 4px; color: var(--rot); transition: color .3s; }
.fuss__liste span, .fuss__liste a {
  display: flex;
  align-items: center;
  color: var(--beere);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--ls-text);
  transition: color .3s;
}
.fuss__liste .fuss__text { padding-left: 5px; }
.fuss__liste a:hover .fuss__text, .fuss__liste li:hover .fuss__text { color: var(--lila); }
.fuss__logo { align-items: center; }
.fuss__logo img { max-width: 75%; }

.fuss-unten {
  display: flex;
  flex-direction: column;
  padding: 0 6%;
}
.fuss-unten__innen { display: flex; flex-direction: column; padding: 10px; }
.fuss-unten__linie { padding: 15px 0; }
.fuss-unten__linie span { display: block; border-top: .15rem solid var(--lila); }
.fuss-unten__zeile {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.fuss-unten__zeile p {
  align-self: center;
  margin-bottom: 1.75em;
  color: var(--lila);
  font-size: 1rem;
  font-weight: 700;
}
.fuss-unten__zeile a { color: var(--link-blau); }
.fuss-unten__zeile a:hover, .fuss-unten__zeile a:focus-visible { color: var(--rot); }

@media (max-width: 1024px) {
  .fuss { flex-direction: column; padding: 2%; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .fuss__spalte { width: 75%; }
}
@media (max-width: 767px) {
  .fuss { flex-direction: column; padding: 4% 8%; }
  .fuss__spalte { width: 100%; }
  .fuss-unten__zeile { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   Startseite
   ========================================================================== */

/* ---------- Gemeinsame Bausteine (auch auf anderen Seiten) ---------- */

/* Formtrenner (Elementor „Shape Divider“) */
.form {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  direction: ltr;
  pointer-events: none;
}
.form--unten { bottom: -1px; transform: rotate(180deg); }
.form--oben { top: -1px; }
.form svg {
  position: relative;
  left: 50%;
  display: block;
  width: calc(100% + 1.3px);
  height: auto;
  transform: translateX(-50%);
}
.form path { fill: var(--hell); }

/* Inhaltsbreite 1300 px (Elementor „Boxed“, content width 1300) */
.breite-1300 { width: min(100%, 1300px); margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.start-hero { margin-bottom: 150px; background: var(--weiss); }
.start-hero__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0 0;
  border-radius: 15px;
  background: #000000CC;
}
.start-hero__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("/bilder/start-hero.webp") center center / cover no-repeat;
  opacity: .1;
  pointer-events: none;
}
.start-hero__box > * { position: relative; }

.start-hero__gruss { margin: 4% 0 2%; }
.pill--gross {
  padding: 4px 10px;
  font-size: 1.5rem;
  line-height: 1.6em;
  letter-spacing: -.1px;
}

.start-hero__text {
  width: 65%;
  margin: 1vw 0;
  color: #F4F6F7;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.5em;
  letter-spacing: -.4px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
.start-hero__knopf { margin-bottom: 6%; }

.start-hero__karten { display: flex; width: 100%; margin-top: 80px; }
.start-hero__paar { display: flex; flex: 0 1 100%; min-width: 0; }

.hero-karte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 100%;
  min-width: 0;
  min-height: 320px;
  padding: 25px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--weiss);
}
.hero-karte--bewertung { align-items: flex-start; gap: 10px 0; margin: 0 1vw 0 7vw; }
.hero-karte--info { margin: 0 1vw; }
.hero-karte > .btn { align-self: flex-start; }
.hero-karte--bild {
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0 7vw 0 1vw;
  border: 0;
  background: url("/bilder/fahrschule-front.webp") center center / cover no-repeat;
}

.hero-karte__oben { display: flex; flex-wrap: wrap; row-gap: 10px; }
.hero-karte__gesichter { display: flex; }
.hero-karte__gesichter img { width: 40px; height: 40px; border-radius: 50px; }
.hero-karte__gesichter img:not(:last-child) { margin-right: -14px; }
.hero-karte__sterne { display: flex; gap: 4px; width: 100%; margin-top: 10px; }
.hero-karte__sterne .icon { width: 14px; height: 14px; color: var(--beere); }
.hero-karte__zeile { width: 100%; color: var(--lila); font-size: var(--fs-akzent); font-weight: 600; letter-spacing: var(--ls-akzent); }
.hero-karte__text { width: 100%; margin-top: -5px; }

.hero-karte__info { display: flex; flex-direction: column; }
.hero-karte__icon { width: 44px; height: 44px; margin-bottom: 35px; }
.hero-karte__icon .icon { width: 22px; height: 22px; }
.hero-karte__titel {
  margin-bottom: 5px;
  color: var(--lila);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h5);
}

.hero-karte__haken {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  color: var(--lila);
  transition: all .3s;
}
.hero-karte__haken .icon { width: 18px; height: 18px; }
.hero-karte__haken:hover { background: var(--lila); color: var(--weiss); }

.start-hero__titel {
  width: 50%;
  padding: 15vw 0 2vw;
  color: var(--weiss);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.3em;
  letter-spacing: -2px;
  text-align: center;
  text-shadow: 0 0 50px #7B4397;
  -webkit-text-stroke: .5px var(--lila);
}

.start-hero__videos {
  display: flex;
  gap: 0 100px;
  width: 100%;
  min-height: 500px;
  margin-bottom: -20%;
  padding: 0 12%;
}

/* Video mit Vorschaubild – Vimeo wird erst nach Klick geladen */
.video {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000 center / cover no-repeat;
}
.video[data-video="1101332407"] { background-image: url("/bilder/video-1.webp"); }
.video[data-video="1124649710"] { background-image: url("/bilder/video-2.webp"); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  color: var(--weiss);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%);
}
.video__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  transition: background .3s;
}
.video__symbol svg { width: 34px; height: 34px; fill: var(--weiss); margin-left: 4px; }
.video__start:hover .video__symbol,
.video__start:focus-visible .video__symbol { background: var(--lila); }
.video__hinweis {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.video__hinweis small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; opacity: .9; }
.video__hinweis a { text-decoration: underline; }

@media (max-width: 1024px) {
  .start-hero { padding: 0 10px; }
  .start-hero__box { padding-top: 70px; }
  .start-hero__box::before { background-position: center right; }
  .pill--gross { font-size: 12px; }
  .start-hero__text { margin: 2vw 0; font-size: 18px; }
  .start-hero__karten { flex-wrap: wrap; margin: 50px 0 -150px; padding: 0 20px; }
  .hero-karte--bewertung, .hero-karte--info { min-height: 300px; }  /* Bildkarte bleibt 320 px */
  .hero-karte--bewertung { margin: 0 1vw 0 0; }
  .hero-karte--info { margin: 0 0 0 1vw; }
  .hero-karte--bild { margin: 4vw 0 0; }
  .start-hero__videos { gap: 0 20px; margin-bottom: 0; padding: 0 2%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .start-hero__titel { display: none; }
}
@media (max-width: 767px) {
  .start-hero { padding: 0; }
  .start-hero__box { padding: 70px 20px 0; }
  .start-hero__text { width: 95%; margin: 10vw 0; font-size: 17px; }
  .start-hero__karten { padding: 0; }
  .start-hero__paar { flex-wrap: wrap; }
  .hero-karte--bewertung { margin: 1vw 1vw 10vw; }
  .hero-karte--bewertung .btn { margin: 5px 0 -8px; }
  .hero-karte--bild { margin: 10vw 1vw 1vw; padding: 5px; }
  .start-hero__titel { width: 100%; padding: 70vw 0 13vw; font-size: 50px; letter-spacing: -1.6px; }
  .start-hero__videos { flex-wrap: wrap; }
  .video { flex-basis: 100%; }
  .video + .video { margin-top: 5%; margin-bottom: 5%; }
}

/* ---------- Intensivkurs ---------- */

.intensiv {
  display: flex;
  gap: 90px;
  width: min(100%, 1300px);
  margin: 400px auto 0;
  padding: 300px 0;
}
.intensiv__bilder { display: flex; flex: 0 1 50%; min-width: 0; }
.intensiv__bild {
  flex: 1 1 0;
  min-height: 550px;
  border-radius: 10px;
  background: center center / cover no-repeat;
}
.intensiv__bild--1 { margin-top: 70px; background-image: url("/bilder/intensiv-lenkrad.webp"); }
.intensiv__bild--2 { margin-bottom: 70px; background-image: url("/bilder/intensiv-luftbild.webp"); }
.intensiv__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px 0;
  flex: 0 1 50%;
  min-width: 0;
}
.intensiv__absatz { margin-bottom: 10px; }

@media (max-width: 1024px) {
  .intensiv { gap: 0 50px; margin-top: 0; padding: 70px 20px; }
}
@media (max-width: 767px) {
  .intensiv { flex-wrap: wrap; gap: 50px 0; padding: 0 20px 70px; }
  .intensiv__bilder, .intensiv__text { flex-basis: 100%; }
  .intensiv__text { order: -1; }
  .intensiv__bild { min-height: 300px; }
  .intensiv__bild--1 { margin-top: 30px; }
  .intensiv__bild--2 { margin-bottom: 30px; }
}

/* ---------- Merkmale (drei Spalten mit Linie) ---------- */

.merkmale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  padding: 0 0 12%;
}
.merkmal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  width: 70%;
  margin-left: 15%;
  padding-top: 1vw;
  border-top: 1px solid var(--linie);
  transition: border-color .3s;
}
.merkmal:hover { border-color: var(--lila); }
/* Kreis oben im Symbolfeld; darunter die Zeilenhöhe wie bisher (Desktop 8 px, sonst 7 px) */
.merkmal__icon { align-self: center; width: 44px; height: 44px; margin: 0 0 8px; }
.merkmal__icon .icon { width: 20px; height: 20px; }
.merkmal__titel {
  align-self: center;
  color: var(--lila);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: -.6px;
}
.merkmal__text { width: 100%; font-size: 18px; }

@media (max-width: 1024px) {
  /* die dritte Spalte ragt wie bisher 2 px über den Rand – abschneiden statt seitlich scrollen */
  .merkmale { gap: 50px; padding: 0 20px 70px; overflow-x: clip; }
  .merkmal { flex-direction: column; flex-wrap: nowrap; width: 100%; }
  .merkmal__icon { margin-bottom: 7px; }
  .merkmal__titel { font-size: 20px; letter-spacing: -.5px; }
  .merkmal__text { text-align: center; }
}
@media (max-width: 767px) {
  .merkmale { grid-template-columns: 1fr; }
  .merkmal { justify-content: center; margin: 0; padding: 6vw 0 3vw; }
  .merkmal__titel { font-size: 19px; letter-spacing: -.4px; }
}

/* ---------- Unsere Kurse ---------- */

.kurse { padding: 100px 0 300px; background: var(--hell); }
.kurse__innen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.kurse__titel { width: 50%; margin: 30px 0 50px; }
.kurse__zeile { display: flex; gap: 0 100px; width: 100%; }
.kurse__kontakt {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 0 1 25%;
  min-width: 0;
}
.kurse__knopf { margin-top: 1vw; }
.kurse__liste { display: flex; flex-direction: column; flex: 0 1 75%; min-width: 0; margin: 0 50px; }

.kurs {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  border-bottom: 1px solid var(--linie);
  transition: border-color .5s;
}
.kurs:hover { border-color: transparent; }
.kurs__bild { flex: 0 0 33.333%; }
.kurs__bild img { width: 100%; border-radius: 10px; opacity: 0; transition: opacity .5s; }
.kurs:hover .kurs__bild img { opacity: 1; }
.kurs__text { flex: 1 1 auto; }
.kurs__titel {
  margin-bottom: 10px;
  color: var(--lila);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h4);
}

@media (max-width: 1024px) {
  .kurse { padding: 70px 20px; }
  .kurse__titel { width: 65%; margin: 0 0 40px; }
  .kurse__zeile { flex-wrap: wrap; gap: 50px 20px; }
  .kurse__kontakt, .kurse__liste { flex-basis: 100%; }
  .kurse__liste { order: -1; }
}
@media (max-width: 767px) {
  .kurse__titel { width: 100%; margin-bottom: 30px; }
  .kurse__kontakt { align-items: center; }
  .kurse__kontakt > p:first-child { max-width: 270px; padding-bottom: 4%; text-align: center; }
  .kurs { display: block; padding-bottom: 50px; }
  .kurs__bild { display: none; }
}

/* ---------- Fahrsimulator ---------- */

.simulator {
  display: flex;
  flex-wrap: wrap;
  margin-top: -20px;
  background: var(--lila);
}
.simulator__bild {
  width: 50%;
  min-height: 400px;
  padding: 10px;
  background: url("/bilder/simulator.webp") center center / cover no-repeat;
}
.simulator__spalte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  padding: 100px 0;
}
.simulator__text {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  width: 650px;
  max-width: 100%;
  padding-left: 50px;
}
.simulator__absatz { margin-bottom: 10px; color: #FFFFFFB8; }
.simulator__liste { margin-bottom: 30px; }
.simulator__liste li { display: flex; align-items: center; }
.simulator__liste li:not(:last-child) { padding-bottom: 6px; }
.simulator__liste li:not(:first-child) { margin-top: 6px; }
.simulator__liste .icon { width: 17px; height: 17px; margin-right: 14.25px; color: var(--rot); }
.simulator__liste span {
  padding-left: 5px;
  color: var(--weiss);
  font-size: var(--fs-h6);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h6);
}

@media (max-width: 1024px) {
  .simulator__text { width: 100%; padding: 0 20px 0 70px; }
}
@media (max-width: 767px) {
  .simulator__bild, .simulator__spalte { width: 100%; }
  .simulator__spalte { order: -1; padding: 70px 0; }
  .simulator__text { padding: 0 20px; }
}

/* ---------- Team ---------- */

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 150px;
}
.team__titel { width: 50%; margin-bottom: 50px; color: var(--rot); text-align: center; }
/* Spalten immer gleich breit wie bisher (lange Namen ragen dann in den Rand, z. B. Rojan) */
.team__raster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 20px 40px;
  width: 100%;
}
.team__karte {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 10px 0;
  padding: 20px;
  border: 1px solid var(--linie);
  border-radius: 9px;
  background: var(--hell);
  transition: border-color .3s;
}
.team__karte:hover { border-color: var(--beere); }
.team__karte img { width: 100%; border-radius: 6px; }
.team__text { display: flex; flex-direction: column; gap: 10px 0; width: 100%; }
.team__name {
  color: var(--rot);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h5);
}
.team__rolle { margin-top: -10px; color: var(--lila); }

@media (max-width: 1024px) {
  .team { padding: 70px 20px; }
  .team__titel { width: 70%; margin-bottom: 40px; }
  .team__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .team__titel { width: 100%; margin-bottom: 30px; }
  .team__raster { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- Meilensteine ---------- */

.meilensteine {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 100px 0;
  background: var(--hell) url("/bilder/meilensteine.webp") center center / cover no-repeat;
}
.meilensteine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  opacity: .5;
}
.meilensteine__innen {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px 50px;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.meilensteine__text { display: flex; flex-direction: column; flex: 0 1 40%; min-width: 0; }
.meilensteine__titel { margin: 1vw 0; }
.meilensteine__zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 0 1 60%;
  min-width: 0;
}
.zahl { display: flex; flex-direction: column; align-items: center; text-align: center; }
.zahl__wert {
  margin-bottom: 5px;
  color: var(--weiss);
  font-size: var(--fs-gross);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-gross);
}
.zahl__titel {
  color: #FFFFFFBD;
  font-size: var(--fs-zahltitel);
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: var(--ls-zahltitel);
}

@media (max-width: 1024px) {
  .meilensteine { padding: 70px 20px; }
  .meilensteine__innen { flex-wrap: wrap; align-content: flex-end; gap: 50px 20px; }
  .meilensteine__text { flex-basis: 70%; }
  .meilensteine__zahlen { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .meilensteine__text { flex-basis: 100%; }
  .meilensteine__zahlen { flex-basis: 70%; grid-template-columns: 1fr; padding: 1px; }
  .zahl { padding-bottom: 40px; }
}

/* ---------- Schritt für Schritt ---------- */

.schritte { position: relative; padding: 100px 0; }
.schritte__innen {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.schritte__titel { width: 55%; padding: 1% 0; text-align: center; }
.schritte__intro { width: 42%; margin-bottom: 50px; text-align: center; }
.schritte__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; width: 100%; }
.schritt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-start;
  padding: 30px;
  border: 1px solid var(--linie);
  border-radius: 24px;
  background: var(--hell);
  transition: border-color .3s;
}
.schritt:hover { border-color: var(--lila); }
.schritt--1, .schritt--3 { margin-bottom: 70px; }
.schritt--2 { margin-top: 70px; }
.schritt__nr {
  margin-bottom: 50px;
  color: var(--beere);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: var(--ls-h2);
}
.schritt__titel {
  color: var(--rot);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h4);
}
.schritt__titel a { transition: color .3s; }
.schritt__titel a:hover, .schritt__titel a:focus-visible { color: var(--lila); }

@media (max-width: 1024px) {
  .schritte { padding: 70px 20px; }
  .schritte__titel { width: 70%; }
  .schritte__intro { width: 45%; margin-bottom: 40px; }
  .schritt { padding: 20px; }
}
@media (max-width: 767px) {
  .schritte__titel { width: 100%; }
  .schritte__intro { width: 90%; margin-bottom: 30px; }
  .schritte__raster { grid-template-columns: 1fr; }
  .schritt { margin: 0 0 10px !important; }
}

/* ---------- FAQ ---------- */

.faq { padding: 100px 0 150px; background: var(--hell); }
.faq__innen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.faq__titel { width: 50%; margin: 30px 0 50px; color: var(--rot); }
.faq__zeile { display: flex; width: 100%; }
.faq__liste { display: flex; flex-direction: column; gap: 6px; flex: 0 1 50%; min-width: 0; }
.faq__bild {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 1 50%;
  min-width: 0;
  min-height: 400px;
  margin-left: 10vw;
  border-radius: 20px;
}
.faq__bild img { width: 100%; border-radius: 24px; }

.faq__eintrag { border-radius: 10px; }
.faq__frage {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 30px 20px 25px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--rot);
  font-size: var(--fs-h6);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h6);
  list-style: none;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.faq__frage::-webkit-details-marker { display: none; }
.faq__frage span { padding-right: 10px; }
/* Symbol wie bisher frei im rechten Innenabstand – die Frage nutzt die ganze Breite */
.faq__frage .icon { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); }
.faq__plus { width: 17px; height: 17px; color: var(--lila); }
.faq__kreuz { display: none; width: 20px; height: 20px; color: var(--beere); }
.faq__eintrag[open] .faq__frage { background: var(--lila); border-color: var(--lila); color: var(--weiss); }
.faq__eintrag[open] .faq__plus { display: none; }
.faq__eintrag[open] .faq__kreuz { display: block; }
.faq__antwort { padding: 20px 40px 30px 30px; color: var(--text); }

@media (max-width: 1024px) {
  .faq { padding: 70px 20px; }
  .faq__titel { width: 70%; margin: 0 0 40px; }
  .faq__plus { width: 15px; height: 15px; }
  .faq__kreuz { width: 18px; height: 18px; }
}
@media (max-width: 767px) {
  .faq__titel { width: 100%; margin-bottom: 30px; }
  .faq__zeile { flex-wrap: wrap; }
  .faq__liste, .faq__bild { flex-basis: 100%; }
  .faq__bild { margin: 0; }
  .faq__bild img { padding: 1px; }
  .faq__frage { padding: 12px 35px 12px 20px; }
  .faq__plus { width: 14px; height: 14px; }
  .faq__kreuz { width: 17px; height: 17px; }
}

/* ==========================================================================
   Unterseiten: Seitenkopf, Ausbildung, Theorie, Preise, Standorte, Über uns,
   Rechtstexte, 404
   ========================================================================== */

/* ---------- Bildbox (Elementor „Image Box“, Bild rechts, erscheint beim Überfahren) ---------- */

.bildbox {
  border-bottom: 1px solid var(--linie);
  transition: border-color .3s;
}
.bildbox:hover { border-color: transparent; }
.bildbox__innen { display: flex; flex-direction: row-reverse; align-items: center; }
/* Breite wie Elementor: Bild 50 % bzw. 60 %, Text 100 % – beide schrumpfen anteilig */
.bildbox__bild { flex: 0 1 auto; width: var(--bildbreite, 50%); }
.bildbox__bild img { width: 100%; border-radius: 10px; opacity: 0; transition: opacity .5s; }
.bildbox:hover .bildbox__bild img { opacity: 1; }
.bildbox__text { flex: 0 1 auto; width: 100%; }
.bildbox__titel {
  margin-bottom: 10px;
  color: var(--lila);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h4);
}
@media (max-width: 767px) {
  /* oben 24 px: dort stand bisher das auf 0 % Breite gesetzte Bild (eine leere Textzeile) */
  .bildbox { padding: 24px 0 50px; }
  .bildbox__innen { display: block; }
  .bildbox__bild { display: none; }
}

/* ---------- Seitenkopf (Bild mit blauen Formen) ---------- */

.seitenkopf { padding: 0 20px; background: var(--weiss); }
.seitenkopf__box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 450px;
  padding: 100px 0;
  border-radius: 15px;
  background: #EDF1F3 center center / cover no-repeat;
}
.seitenkopf__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #0A0A0A url("/bilder/seitenkopf-formen.webp") center center / cover no-repeat;
  opacity: .8;
}
.seitenkopf__titel { position: relative; color: var(--weiss); }
.seitenkopf__box--ausbildung { background-image: url("/bilder/seitenkopf-ausbildung.webp"); }
.seitenkopf__box--theorie { background-image: url("/bilder/fahrschule-schild.webp"); }
.seitenkopf__box--preise { background-image: url("/bilder/fahrschule-front.webp"); }
.seitenkopf__box--ueber-uns { background-image: url("/bilder/start-hero.webp"); }
.seitenkopf--leuchten .seitenkopf__titel { text-shadow: 0 0 10px #7B4397; }

@media (max-width: 1024px) {
  .seitenkopf { padding: 0 10px; }
  .seitenkopf__box { min-height: 350px; padding: 70px 0; }
  .seitenkopf__box::before { background-position: center right; }
}
@media (max-width: 767px) {
  .seitenkopf__box { min-height: 260px; padding: 70px 20px; }
}

/* ---------- Ausbildung ---------- */

.ablauf { padding: 100px 0 200px; background: var(--hell); }
.ablauf__innen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.ablauf__titel {
  width: 50%;
  margin: 30px 0 50px;
  color: var(--lila);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: -1.6px;
}
.ablauf__zeile { display: flex; gap: 0 100px; width: 100%; }
.ablauf__liste { display: flex; flex-direction: column; flex: 0 1 75%; min-width: 0; --bildbreite: 60%; }
.ablauf__kontakt { display: flex; flex-direction: column; justify-content: flex-end; flex: 0 1 25%; min-width: 0; }
.ablauf__knopf { margin-top: 1vw; }

@media (max-width: 1024px) {
  .ablauf { padding: 70px 20px; }
  .ablauf__titel { width: 65%; margin: 0 0 40px; font-size: 45px; letter-spacing: -1.4px; }
  .ablauf__zeile { flex-wrap: wrap; gap: 50px 20px; }
  .ablauf__liste, .ablauf__kontakt { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .ablauf__titel { width: 100%; margin-bottom: 30px; font-size: 40px; letter-spacing: -1.2px; }
  .ablauf__kontakt { align-items: center; }
  .ablauf__kontakt > p:first-child { max-width: 270px; padding-bottom: 4%; text-align: center; }
}

/* ---------- Theorie (Seite mit 20 px Rand wie bisher) ---------- */

.seite-theorie main { padding: 0 20px; }
.seite-theorie .seitenkopf { padding: 0; }
.seite-theorie .seitenkopf__box { border-radius: 15px 15px 0 0; }

.app-abschnitt { position: relative; padding: 200px 0 50px; background: var(--weiss); }
.app-abschnitt .form--oben svg { height: 100px; }
.app-abschnitt .form path { fill: var(--rot); }
.zwei-spalten {
  display: flex;
  gap: 50px;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.zwei-spalten__haupt { display: flex; flex-direction: column; gap: 10px 0; flex: 0 1 70%; min-width: 0; }
.zwei-spalten__haupt > p { margin-bottom: 1.75em; }  /* Absatzabstand des bisherigen Themes */
.app-abschnitt .zwei-spalten__haupt { justify-content: center; }
.karte-hell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  flex: 0 1 30%;
  min-width: 0;
  align-self: flex-start;
  padding: 30px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--hell);
  transition: border-color .3s;
}
.karte-hell:hover { border-color: var(--beere); }
.app-bild { width: 100%; text-align: center; }
.app-bild img { display: inline-block; width: 50%; vertical-align: middle; border-radius: 100%; }

.unterricht {
  padding: 50px 0 150px;
  background: linear-gradient(180deg, var(--weiss) 0%, var(--hell) 100%);
}
.unterricht__titel { color: var(--rot); }
.unterricht__h3 {
  color: var(--rot);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h4);
}
.haken-liste li { display: flex; align-items: center; transition: color .3s; }
.haken-liste li:not(:last-child) { padding-bottom: 5px; }
.haken-liste li:not(:first-child) { margin-top: 5px; }
.haken-liste .icon { width: 12px; height: 12px; margin-right: 13px; color: var(--beere); }
.haken-liste span { padding-left: 5px; color: var(--text); transition: color .3s; }
.haken-liste li:hover span { color: var(--rot); }
.haken-liste--abstand-15 { margin-bottom: 15px; }
.haken-liste--abstand-30 { margin-bottom: 30px; }

.eckdaten__titel {
  color: var(--rot);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-h5);
}
.eckdaten__wert {
  font-size: var(--fs-zahltitel);
  line-height: 1.5em;
  letter-spacing: var(--ls-zahltitel);
}
.eckdaten__linie { width: 100%; padding: 10px 0; }
.eckdaten__linie span { display: block; border-top: 1px solid var(--linie); }
.eckdaten__linie:last-of-type { margin-bottom: 10px; }
.eckdaten__knopf { padding-right: 3%; }
.eckdaten__knopf .btn { padding: 12px 20px; transition-property: transform, background-color, color; }
.eckdaten__knopf .btn:hover,
.eckdaten__knopf .btn:focus-visible { background: var(--beere); transform: scale(1.1); }

/* Bildkarussell: 2 Bilder nebeneinander (Handy: 1), automatischer Wechsel */
.karussell { position: relative; overflow: hidden; }
.karussell__spur {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.karussell__spur::-webkit-scrollbar { display: none; }
.karussell__spur li { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; }
.karussell__spur img { width: 100%; border-radius: 10px; }

@media (max-width: 1024px) {
  .app-abschnitt { padding: 70px 20px; }
  .app-abschnitt .form--oben svg { height: 50px; }
  .zwei-spalten { flex-wrap: wrap; gap: 50px 20px; }
  .zwei-spalten__haupt, .karte-hell { flex-basis: 100%; }
  .unterricht { padding: 70px 20px; }
}
@media (max-width: 767px) {
  .zwei-spalten { gap: 20px 0; }
  .karte-hell { padding: 20px; }
  .karussell { margin-bottom: -5px; }
  .karussell__spur li { flex-basis: 100%; }
  .eckdaten__knopf .btn { padding: 10px 15px; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .eckdaten__knopf .btn { padding: 11px 18px; }
}

/* ---------- Preise ---------- */

.preise { padding: 115px 15px 130px; background: var(--weiss); }
.preise__innen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 1140px);
  margin: 0 auto;
}
.preise__titel {
  padding-bottom: 50px;
  color: #7B4397;
  font-family: "Poppins", Sans-serif;
  font-size: 66px;
  font-weight: 700;
  line-height: 65px;
  letter-spacing: var(--ls-h2);
  text-align: center;
}
.preise__raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.preisblock__kopf { padding: 21px 40px; background: #F5F5F5; }
.preisblock__titel {
  color: var(--rot);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: var(--ls-h2);  /* wie bisher: Abstand der H2-Stufe je Breite */
}
.preisblock__inhalt { padding: 30px 40px; }

@media (max-width: 1024px) {
  .preise__titel { font-size: 32px; line-height: 42px; }
}
@media (max-width: 767px) {
  .preise { padding: 63px 15px 70px; }
  .preise__titel { margin: -50px 0 25px; font-size: 28px; line-height: 38px; }
  .preise__raster { grid-template-columns: 1fr; }
}

/* ---------- Standorte ---------- */

.standorte { padding: 100px 0 200px; background: var(--hell); }
.standorte__innen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.standorte__titel {
  width: 50%;
  margin: 30px 0 50px;
  color: var(--lila);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: -1.6px;
}
.standorte__liste { display: flex; flex-direction: column; align-items: stretch; width: 100%; --bildbreite: 60%; }
.standort__titel {
  margin-bottom: 10px;
  color: var(--lila);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: -1.4px;
  text-decoration: underline;
}
.standort__handybild { display: none; }
/* Knöpfe brechen wie bisher in die nächste Zeile um, sobald beide nicht mehr passen */
.standort__knoepfe { display: flex; flex-wrap: wrap; padding: 20px 0 100px; }
.standort__knoepfe > span { margin-right: 2%; }

@media (max-width: 1024px) {
  .standorte { padding: 70px 20px; }
  .standorte__titel { width: 65%; margin: 0 0 40px; font-size: 45px; letter-spacing: -1.4px; }
  .standort__titel { font-size: 24px; letter-spacing: -1.2px; }
}
@media (max-width: 767px) {
  .standorte__titel { width: 100%; margin-bottom: 80px; font-size: 40px; letter-spacing: -1.2px; }
  .standort__titel { font-size: 23px; letter-spacing: -1px; }
  .standort__handybild { display: block; width: 100%; border-radius: 24px; }
}

/* ---------- Über uns: Werte ---------- */

.werte { position: relative; padding: 100px 0; background: var(--hell); }
.werte .form--unten svg { height: 5rem; }
.werte .form path { fill: var(--weiss); }
.werte__innen {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1300px);
  margin: 0 auto;
}
.werte__titel { width: 50%; margin-bottom: 50px; color: var(--rot); text-align: center; }
.werte__raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}
.wert {
  align-self: start;
  padding: 30px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--weiss);
  transition: border-color .3s;
}
.wert:hover { border-color: var(--lila); }
.wert__icon { width: 50px; height: 50px; margin-bottom: 70px; background: var(--beere); color: var(--weiss); }
.wert__icon .icon { width: 20px; height: 20px; }
.wert__titel {
  margin-bottom: 10px;
  color: var(--rot);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: var(--ls-h4);
}

@media (max-width: 1024px) {
  .werte { padding: 70px 20px; }
  .werte__titel { width: 65%; margin-bottom: 40px; }
  .werte__raster { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .wert__icon { width: 47px; height: 47px; }
  .wert__icon .icon { width: 19px; height: 19px; }
}
@media (max-width: 767px) {
  .werte__titel { width: 100%; margin-bottom: 30px; }
  .werte__raster { grid-template-columns: 1fr; grid-template-rows: none; }
  .wert { padding: 20px; }
}

/* ---------- Impressum und Datenschutz (Gestaltung wie bisher) ---------- */

.rechtstext-abschnitt { padding: 6% 0; }
.rechtstext-abschnitt__innen { width: min(100%, 1300px); margin: 0 auto; }
.rechtstext {
  color: #222;
  font-family: var(--schrift-recht);
  font-size: 1.15rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.rechtstext h1 {
  margin-bottom: .3em;
  color: #7B4397;
  font-family: var(--schrift);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3em;
  letter-spacing: var(--ls-gross);
}
.rechtstext .subline {
  margin-top: 0;
  margin-bottom: 1.2em;
  color: #7B4397;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  font-weight: 600;
}
.rechtstext h2 {
  margin-top: 2em;
  margin-bottom: .8em;
  padding-bottom: 4px;
  border-bottom: 2px solid #eee;
  color: #7B4397;
  font-family: var(--schrift);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: var(--ls-h2);
}
.rechtstext p { margin: .6em 0 1.2em; }
.rechtstext a { color: #7B4397; text-decoration: none; }
.rechtstext a:hover { text-decoration: underline; }
.rechtstext ul { margin: 0 0 1.5em 3em; padding: 0; list-style: disc; }  /* wie das bisherige Theme */

/* Datenschutzerklärung: nummerierte Hauptüberschriften rot, Unterüberschriften lila */
.rechtstext--datenschutz h2 { color: #C82A45; }
.rechtstext--datenschutz h3,
.rechtstext--datenschutz h4 {
  margin-top: 1.5em;
  margin-bottom: .5em;
  color: #7B4397;
  font-family: var(--schrift);
  font-weight: 700;
}
.rechtstext--datenschutz h3 { font-size: var(--fs-h3); line-height: 1.2em; letter-spacing: var(--ls-h3); }
.rechtstext--datenschutz h4 { font-size: var(--fs-h4); line-height: 1.2em; letter-spacing: var(--ls-h4); }

.rechtstext-linie { padding: 15px 0; }
.rechtstext-linie span { display: block; border-top: .15rem solid var(--lila); }

@media (max-width: 1024px) {
  /* oben/unten 4 % der Innenbreite (wie bisher am inneren Container) */
  .rechtstext-abschnitt { padding: 0 6%; }
  .rechtstext-abschnitt__innen { padding: 4% 0; }
}

/* ---------- 404 ---------- */

.fehlerseite { margin: 64px 0; text-align: center; }
.fehlerseite__titel {
  margin-bottom: 24px;
  color: #1E293B;
  font-size: var(--fs-gross);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: var(--ls-gross);
}
.fehlerseite__text {
  color: var(--rot);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: -1.6px;
}
.fehlerseite__knopf { margin-top: 24px; }
@media (max-width: 767px) {
  .fehlerseite { margin: 60px 0; }
  .fehlerseite__titel { margin-bottom: 22.5px; }
  .fehlerseite__text { font-size: 21.888px; letter-spacing: -1.2px; }
}

/* Avatar-Farben der Bewertungen (erzeugt von bauen.py) */
.av-00897b { --av: #00897B; }
.av-0097a7 { --av: #0097A7; }
.av-455a64 { --av: #455A64; }
.av-546e7a { --av: #546E7A; }
.av-5d4037 { --av: #5D4037; }
.av-7b1fa2 { --av: #7B1FA2; }
.av-bf360c { --av: #BF360C; }
.av-c2185b { --av: #C2185B; }
.av-ef6c00 { --av: #EF6C00; }
