/* =========================================================================
   Schrift – selbst gehostet, kein Google-CDN (DSGVO).
   Figtree ist ein Variable Font: eine 20-KB-Datei deckt alle Schnitte ab.
   ========================================================================= */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/Figtree-var.woff2') format('woff2-variations'),
       url('../fonts/Figtree-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   Speedy-Cars – KFZ Schölderle
   Design-System & Styles
   Alle Farben/Abstände als Custom Properties → Rebranding = nur :root ändern
   ========================================================================= */

:root {
  /* --- Farben --------------------------------------------------------
     Beide Markenfarben stammen direkt aus dem Logo:
       Orange  #ff9c04  →  Aktion: Buttons, Banner, Kontakt-Icon
       Türkis  #1bddc9  →  Akzent: Kicker, Haken, Service-Icons, Zahlen
     Die *-ink-Varianten sind die abgedunkelten Fassungen für Text auf
     hellem Grund (beide erfüllen WCAG AA).
     ------------------------------------------------------------------ */
  --c-brand: #ff9a00;          /* Logo-Orange – Flächen, CTAs             */
  --c-brand-dark: #e07f00;     /* Hover auf Flächen                       */
  --c-brand-ink: #a85c00;      /* Orange als Text/Icon auf Hell (AA 5,0:1)*/
  --c-brand-soft: #fff4e3;     /* zarte Flächen                           */

  --c-akzent: #1fd0bc;         /* Logo-Türkis – Akzent auf Dunkel         */
  --c-akzent-dark: #17b3a2;
  --c-akzent-ink: #0d7a6d;     /* Türkis als Text/Icon auf Hell (AA 5,2:1)*/
  --c-akzent-soft: #e4faf7;

  --c-ink: #14181d;            /* Basis dunkel – Header, dunkle Sektionen */
  --c-ink-2: #1e242c;          /* dunkle Karten                           */
  --c-ink-3: #2c343e;          /* Linien auf Dunkel                       */

  --c-paper: #ffffff;
  --c-paper-2: #f5f6f8;        /* helle Sektionen im Wechsel              */
  --c-line: #e3e7eb;

  --c-text: #262c33;
  --c-text-mute: #5f6873;
  --c-text-invert: #ffffff;
  --c-text-invert-mute: #a8b1bc;

  --c-error: #c0392b;
  --c-ok: #2e7d4f;

  /* --- Typografie ---------------------------------------------------- */
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* fluide Größen: skalieren zwischen 360px und 1200px Viewport */
  --fs-h1: clamp(2.15rem, 1.35rem + 3.4vw, 3.6rem);
  --fs-h2: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1.02rem + 0.34vw, 1.28rem);
  --fs-lead: clamp(1.05rem, 0.99rem + 0.28vw, 1.19rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* --- Raster & Abstände --------------------------------------------- */
  --breite: 1180px;
  --breite-schmal: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
  --sektion-y: clamp(3rem, 5.2vw, 4.75rem);

  --radius: 8px;
  --radius-lg: 14px;
  --schatten: 0 1px 3px rgba(20, 24, 29, .05), 0 6px 20px rgba(20, 24, 29, .07);
  --schatten-hoch: 0 4px 8px rgba(20, 24, 29, .09), 0 18px 44px rgba(20, 24, 29, .16);

  --header-h: 78px;
}

/* =========================================================================
   Reset / Basis
   ========================================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--c-text);
  background: var(--c-paper);
  overflow-x: hidden;
  font-synthesis-weight: none;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.021em;
  margin: 0 0 .5em;
  color: var(--c-ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.012em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* =========================================================================
   Layout-Bausteine
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--schmal { max-width: var(--breite-schmal); }

.sektion { padding-block: var(--sektion-y); }
.sektion--grau { background: var(--c-paper-2); }
.sektion--dunkel { background: var(--c-ink); color: var(--c-text-invert); }
.sektion--dunkel h2, .sektion--dunkel h3 { color: var(--c-text-invert); }

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

.skip-link {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -110%);
  z-index: 200; background: var(--c-brand); color: var(--c-ink);
  padding: .7rem 1.4rem; font-weight: 700; border-radius: 0 0 var(--radius) var(--radius);
  transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); }

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

.sektion-kopf { max-width: 60ch; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.sektion-kopf--zentriert { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--c-akzent-ink);
  margin-bottom: .5rem;
}
.sektion--dunkel .kicker { color: var(--c-akzent); }
.kicker::before { content: ''; width: 20px; height: 2px; background: currentColor; }

.lead { font-size: var(--fs-lead); color: var(--c-text-mute); }
.sektion--dunkel .lead { color: var(--c-text-invert-mute); }

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: inherit; font-size: 1.0625rem; font-weight: 600; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: background-color .18s, border-color .18s, color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primaer { background: var(--c-brand); color: var(--c-ink); border-color: var(--c-brand); }
.btn--primaer:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); }

.btn--dunkel { background: var(--c-ink); color: var(--c-text-invert); border-color: var(--c-ink); }
.btn--dunkel:hover { background: var(--c-ink-2); border-color: var(--c-ink-2); }

.btn--outline { background: transparent; color: var(--c-ink); border-color: #cfd5db; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-text-invert); border-color: var(--c-ink); }

.btn--outline-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-hell:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

.btn--voll { width: 100%; }
.btn--gross { padding: 1rem 1.9rem; font-size: 1.09rem; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(20, 24, 29, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background-color .25s, box-shadow .25s;
}
.header--scrolled { background: var(--c-ink); box-shadow: 0 2px 18px rgba(0,0,0,.32); }

.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Logo als Bilddatei. Die Grafik trägt einen weichen Schein, der auf dem
   dunklen Header und Footer aufgeht – deshalb wird sie nur dort eingesetzt. */
.logo { display: flex; align-items: center; flex: none; }
.logo__bild { width: auto; height: 42px; }
@media (min-width: 560px) { .logo__bild { height: 50px; } }
.footer .logo__bild { height: 58px; }

.nav { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); }
  .nav__link {
    position: relative;
    font-size: 1rem; font-weight: 600;
    color: rgba(255,255,255,.84); padding: .4rem 0;
    transition: color .18s;
  }
  .nav__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--c-brand); transform: scaleX(0); transform-origin: left;
    transition: transform .22s;
  }
  .nav__link:hover, .nav__link[aria-current='true'] { color: #fff; }
  .nav__link:hover::after, .nav__link[aria-current='true']::after { transform: scaleX(1); }
}

.header__cta { display: none; }
@media (min-width: 1080px) {
  .header__cta { display: inline-flex; padding: .6rem 1.15rem; font-size: 1rem; }
}

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; padding: 0 11px;
  background: transparent; border: 0; cursor: pointer;
}
@media (min-width: 900px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobilnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--c-ink);
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
}
.mobilnav[data-offen='true'] { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 900px) { .mobilnav { display: none; } }

.mobilnav__link {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; color: #fff;
  padding: .8rem 0; border-bottom: 1px solid var(--c-ink-3);
}
.mobilnav__link:hover { color: var(--c-brand); }
.mobilnav__aktionen { display: grid; gap: .75rem; margin-top: 1.75rem; }

/* =========================================================================
   Hero — Text links, Bildmitte bleibt frei
   ========================================================================= */

.hero {
  position: relative;
  min-height: min(86svh, 720px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--c-ink);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 55%;
}

/* Abdunklung: auf Mobil von unten, ab Tablet von links –
   so bleibt die Bildmitte (und der Mann darin) frei. */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(12,15,19,.93) 0%, rgba(12,15,19,.78) 42%,
    rgba(12,15,19,.42) 72%, rgba(12,15,19,.5) 100%);
}

@media (min-width: 900px) {
  /* Bildausschnitt nach links verschoben → die Person rückt weiter nach rechts
     und bleibt frei von der Textspalte */
  .hero__bg img { object-position: 18% 55%; }
  .hero__bg::after {
    background:
      linear-gradient(97deg,
        rgba(12,15,19,.93) 0%, rgba(12,15,19,.88) 26%,
        rgba(12,15,19,.55) 42%, rgba(12,15,19,.12) 58%,
        rgba(12,15,19,.05) 78%, rgba(12,15,19,.28) 100%),
      linear-gradient(to top, rgba(12,15,19,.55) 0%, rgba(12,15,19,0) 40%);
  }
}

.hero__inhalt { position: relative; z-index: 1; color: #fff; }
@media (min-width: 900px)  { .hero__inhalt { max-width: 30rem; } }
@media (min-width: 1280px) { .hero__inhalt { max-width: 34rem; } }

/* Bewusst reduziert: Headline, Subline, zwei CTAs – sonst nichts. */
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--c-akzent); }

.hero__text {
  font-size: var(--fs-lead); color: rgba(255,255,255,.88);
  margin-bottom: 1.85rem;
}

.hero__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; }

/* =========================================================================
   Banner-Grundform (DEKRA + Jobs)
   ========================================================================= */

.banner { padding-block: clamp(2rem, 3.6vw, 2.9rem); }

.banner__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) {
  .banner__inner { grid-template-columns: 1fr auto; gap: 3rem; }
}

.banner h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.05rem); margin-bottom: .35rem; }
.banner p { max-width: 58ch; }

.banner__aktion { display: grid; gap: .8rem; justify-items: stretch; }
@media (min-width: 900px) { .banner__aktion { justify-items: end; min-width: 17rem; } }

/* Hinweiszeile über dem Button */
.banner__hinweis {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-small); font-weight: 600; line-height: 1.35;
}
.banner__hinweis svg { width: 18px; height: 18px; flex: none; }

/* Gelber Aktions-Banner – wird von DEKRA und Jobs gemeinsam genutzt,
   damit beide als gleichwertige Handlungsaufforderung gelesen werden. */
.banner--gelb { background: var(--c-brand); color: var(--c-ink); }
.banner--gelb p { color: rgba(20,24,29,.82); }
.banner--gelb .banner__hinweis { color: rgba(20,24,29,.78); }
.banner--gelb .banner__aktion .btn { width: 100%; }

/* =========================================================================
   Leistungen — kompakte Kacheln
   ========================================================================= */

.leistungen { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px)  { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leistungen { grid-template-columns: repeat(3, 1fr); } }

.leistung {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: 1.25rem 1.35rem;
  transition: box-shadow .2s, border-color .2s;
}
.leistung:hover { box-shadow: var(--schatten); border-color: #cfd5db; }

.leistung__kopf { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; }
.leistung__icon {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--c-akzent-soft); color: var(--c-akzent-ink);
  border-radius: 7px;
}
.leistung__icon svg { width: 19px; height: 19px; }
.leistung h3 { margin: 0; }
.leistung p { font-size: var(--fs-small); color: var(--c-text-mute); line-height: 1.5; }

/* CTA-Kachel füllt die letzte Zeile auf.
   Ab Tablet nebeneinander gesetzt, damit sie nicht höher wird als eine
   normale Kachel und die Zeile nicht auseinanderzieht. */
.leistung--cta {
  background: var(--c-ink); border-color: var(--c-ink);
  display: flex; flex-direction: column; justify-content: center; gap: .35rem;
}
.leistung--cta:hover { border-color: var(--c-brand); }
.leistung--cta h3 { color: #fff; }
.leistung--cta p { color: var(--c-text-invert-mute); }
.leistung--cta .leistung__icon { background: rgba(31,208,188,.16); color: var(--c-akzent); }
.leistung--cta .btn { align-self: flex-start; margin-top: .6rem; }

@media (min-width: 620px) {
  .leistung--cta {
    grid-column: span 2;
    flex-direction: row; align-items: center; gap: 1.5rem;
  }
  .leistung--cta__text { flex: 1; }
  .leistung--cta .leistung__kopf { margin-bottom: .3rem; }
  .leistung--cta .btn { align-self: center; margin-top: 0; flex: none; }
}

/* =========================================================================
   Split-Layout (VW-Bus)
   ========================================================================= */

.split { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--bild-links > :first-child { order: 2; }
}

.split__bild {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--schatten-hoch);
  aspect-ratio: 4 / 3;
}
/* picture braucht eine eigene Höhe, sonst greift height:100% am img nicht */
.split__bild picture { display: block; width: 100%; height: 100%; }
.split__bild img { width: 100%; height: 100%; object-fit: cover; }

.check-liste { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.check-liste li { display: flex; align-items: flex-start; gap: .7rem; }
.check-liste svg {
  width: 21px; height: 21px; flex: none; color: var(--c-akzent-ink); margin-top: 2px;
}
.sektion--dunkel .check-liste svg { color: var(--c-akzent); }

/* =========================================================================
   Werkstatt-Slideshow
   ========================================================================= */

/* Breite begrenzt auf die native Auflösung der Fotos (1000 px),
   sonst werden sie hochskaliert und wirken unscharf. */
.slideshow { position: relative; max-width: 900px; margin-inline: auto; }

.slideshow__buehne {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-ink-2);
  aspect-ratio: 3 / 2;
}

.slideshow__folie {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
}
.slideshow__folie[data-aktiv='true'] { opacity: 1; visibility: visible; }
.slideshow__folie img { width: 100%; height: 100%; object-fit: cover; }

/* Ohne JS: alle Folien untereinander statt gestapelt */
.slideshow:not([data-bereit='true']) .slideshow__buehne { aspect-ratio: auto; }
.slideshow:not([data-bereit='true']) .slideshow__folie {
  position: static; opacity: 1; visibility: visible; margin-bottom: .5rem;
}
.slideshow:not([data-bereit='true']) .slideshow__steuerung { display: none; }

.slideshow__pfeil {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--c-ink);
  border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: background-color .18s, transform .18s;
}
.slideshow__pfeil:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.slideshow__pfeil svg { width: 21px; height: 21px; }
.slideshow__pfeil--zurueck { left: .8rem; }
.slideshow__pfeil--vor { right: .8rem; }

.slideshow__steuerung {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1rem;
}
.slideshow__punkt {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.28); cursor: pointer;
  transition: background-color .2s, width .2s;
}
.slideshow__punkt[aria-current='true'] { background: var(--c-akzent); width: 26px; border-radius: 5px; }

/* Bild-Platzhalter --------------------------------------------------- */
.platzhalter {
  display: grid; place-content: center; gap: .5rem; text-align: center;
  background: repeating-linear-gradient(45deg, #eceff3 0 12px, #e4e8ec 12px 24px);
  color: #7c8794;
  border: 2px dashed #c3cad3; border-radius: var(--radius-lg);
  padding: 1.5rem; min-height: 180px; height: 100%;
}
.sektion--dunkel .platzhalter, .split__bild .platzhalter {
  background: repeating-linear-gradient(45deg, #232a33 0 12px, #1c222a 12px 24px);
  border-color: #39424e; color: #8c98a6;
}
.platzhalter svg { width: 32px; height: 32px; margin-inline: auto; opacity: .7; }
.platzhalter b { font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.platzhalter span { font-size: .8125rem; line-height: 1.45; max-width: 26ch; }

/* =========================================================================
   Vorteile (Werkstatt-Sektion)
   ========================================================================= */

.vorteile { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 560px)  { .vorteile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vorteile { grid-template-columns: repeat(4, 1fr); } }

.vorteil h3 { margin-bottom: .3rem; }
.vorteil p { font-size: var(--fs-small); color: var(--c-text-invert-mute); line-height: 1.5; }

/* =========================================================================
   Google-Bewertungen
   ========================================================================= */

.sterne { display: inline-flex; gap: 2px; color: #f5a623; }
.sterne svg { width: 22px; height: 22px; fill: currentColor; }
.sterne--klein svg { width: 17px; height: 17px; }

/* Teilstern für die Durchschnittsnote: goldene Ebene über grauer Ebene,
   Breite über --anteil (Note / 5 × 100 %).
   Beide Ebenen liegen in derselben Grid-Zelle – sonst verschiebt die
   Grundlinienausrichtung sie gegeneinander. flex: none verhindert, dass die
   beschnittene obere Ebene ihre Sterne staucht statt sie abzuschneiden. */
.sterne--anteil { display: inline-grid; line-height: 0; }
.sterne--anteil .sterne__leer,
.sterne--anteil .sterne__voll {
  grid-area: 1 / 1;
  display: flex; gap: 2px;
  justify-self: start;
}
.sterne--anteil svg { flex: none; }
.sterne--anteil .sterne__leer { color: #d6dce2; }
.sterne--anteil .sterne__voll { width: var(--anteil, 100%); overflow: hidden; }

.bewertung-kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 2rem; margin-bottom: 2rem;
  padding: 1.35rem 1.6rem;
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}

.bewertung-score { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .85rem; }
.bewertung-score__zahl { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bewertung-score__meta { font-size: var(--fs-small); color: var(--c-text-mute); }

.bewertungen { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .bewertungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bewertungen { grid-template-columns: repeat(3, 1fr); } }

.bewertung {
  position: relative;
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: 1.4rem;
}
.bewertung__kopf { display: flex; align-items: center; gap: .75rem; }
.bewertung__avatar {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--c-akzent-soft); color: var(--c-akzent-ink);
  font-weight: 700; font-size: 1.05rem;
}
.bewertung__name { display: block; font-weight: 600; line-height: 1.3; }

.bewertung blockquote {
  margin: 0; font-size: var(--fs-small); color: var(--c-text-mute); line-height: 1.55;
}
.bewertung blockquote::before { content: '„'; }
.bewertung blockquote::after  { content: '“'; }

.bewertung__fuss {
  margin-top: 1.75rem; text-align: center;
  font-size: var(--fs-small); color: var(--c-text-mute);
  max-width: 56ch; margin-inline: auto;
}

/* =========================================================================
   Anfahrt & Kontakt
   ========================================================================= */

.kontakt-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 940px) { .kontakt-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.karte {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: clamp(1.35rem, 2.5vw, 1.75rem);
}
.karte + .karte { margin-top: 1.1rem; }
.karte h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.karte h3 svg { width: 20px; height: 20px; color: var(--c-akzent-ink); flex: none; }

/* Kartenbild */
.anfahrtskarte {
  display: block; position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line);
  margin-bottom: 1.1rem;
}
.anfahrtskarte img { width: 100%; height: auto; }
.anfahrtskarte__aktion {
  position: absolute; right: .8rem; bottom: 2rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--c-ink); color: #fff;
  font-size: .9rem; font-weight: 600;
  padding: .6rem 1.05rem; border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  transition: background-color .18s;
}
.anfahrtskarte:hover .anfahrtskarte__aktion { background: var(--c-brand); color: var(--c-ink); }
.anfahrtskarte__aktion svg { width: 16px; height: 16px; }

.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-small);
}
.zeiten li:last-child { border-bottom: 0; padding-bottom: 0; }
.zeiten__tag { font-weight: 600; }
.zeiten__zeit { font-variant-numeric: tabular-nums; color: var(--c-text-mute); text-align: right; }

.hu-zeile {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--c-akzent);
  font-size: var(--fs-small); font-weight: 600; color: var(--c-akzent-ink);
}
.hu-zeile svg { width: 17px; height: 17px; flex: none; }

/* Anfahrt: kurze Stichpunkte statt Fließtext */
.anfahrt-kurz { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.anfahrt-kurz li { display: flex; align-items: flex-start; gap: .7rem; font-size: var(--fs-small); }
.anfahrt-kurz svg { width: 19px; height: 19px; flex: none; color: var(--c-akzent-ink); margin-top: 2px; }
.anfahrt-kurz b { font-weight: 600; }

.navi-hinweis {
  display: flex; gap: .65rem; align-items: flex-start;
  background: var(--c-brand-soft); border-left: 3px solid var(--c-brand);
  border-radius: var(--radius); padding: .85rem 1rem; margin-top: 1.1rem;
  font-size: .875rem; line-height: 1.5;
}
.navi-hinweis svg { width: 18px; height: 18px; flex: none; color: var(--c-brand-ink); margin-top: 2px; }

/* Direktkontakt */
.direktkontakt { display: grid; gap: .6rem; margin-bottom: 1.1rem; }
@media (min-width: 560px) and (max-width: 939px) { .direktkontakt { grid-template-columns: 1fr 1fr; } }

.direkt-item {
  display: flex; align-items: center; gap: .8rem;
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: .8rem .95rem;
  transition: border-color .18s, box-shadow .18s;
}
.direkt-item:hover { border-color: var(--c-brand); box-shadow: var(--schatten); }
.direkt-item__icon {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  background: var(--c-brand); color: var(--c-ink); border-radius: 50%;
}
.direkt-item__icon svg { width: 18px; height: 18px; }
.direkt-item__label { font-size: .78rem; color: var(--c-text-mute); display: block; line-height: 1.3; }
.direkt-item__wert { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }

/* =========================================================================
   Formular
   ========================================================================= */

.formular { display: grid; gap: .9rem; }
.feld-reihe { display: grid; gap: .9rem; }
@media (min-width: 560px) { .feld-reihe--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 560px) { .feld-reihe--3 { grid-template-columns: 1fr 1fr 1fr; } }

.feld { display: flex; flex-direction: column; gap: .35rem; }
.feld label { font-size: .875rem; font-weight: 600; }
.feld label .pflicht { color: var(--c-error); }

.feld input, .feld select, .feld textarea {
  font-family: inherit; font-size: 1rem; color: var(--c-text);
  background: var(--c-paper);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: .72rem .9rem; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.feld textarea { resize: vertical; min-height: 118px; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(255,154,0,.24);
}
.feld input:user-invalid, .feld textarea:user-invalid { border-color: var(--c-error); }

.feld select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6873' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.4rem;
}

.feld__hinweis { font-size: .8125rem; color: var(--c-text-mute); line-height: 1.5; }

.checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .875rem; line-height: 1.5; }
.checkbox input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--c-brand); }
.checkbox a { text-decoration: underline; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-meldung {
  padding: .85rem 1rem; border-radius: var(--radius); font-size: var(--fs-small);
  font-weight: 500; line-height: 1.5;
}
.form-meldung[data-typ='ok'] { background: #e8f5ee; color: var(--c-ok); }
.form-meldung[data-typ='fehler'] { background: #fdecea; color: var(--c-error); }

/* =========================================================================
   Fixer Kontakt-Button (FAB) + Dialog
   ========================================================================= */

.fab-bereich {
  position: fixed; z-index: 90;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
}

.fab-aktionen {
  display: flex; flex-direction: column; align-items: flex-end; gap: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.fab-bereich[data-offen='true'] .fab-aktionen { opacity: 1; visibility: visible; transform: none; }

.fab-aktion {
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--c-paper); color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: 100px;
  padding: .5rem 1.05rem .5rem .55rem;
  font-family: inherit; font-size: .92rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--schatten); cursor: pointer;
  transition: transform .16s, box-shadow .16s;
}
.fab-aktion:hover { transform: translateX(-3px); box-shadow: var(--schatten-hoch); }
.fab-aktion__icon {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  background: var(--c-brand-soft); color: var(--c-brand-ink); border-radius: 50%;
}
.fab-aktion__icon svg { width: 17px; height: 17px; }

.fab {
  width: 58px; height: 58px; flex: none;
  display: grid; place-items: center;
  background: var(--c-brand); color: var(--c-ink);
  border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 6px 20px rgba(20,24,29,.26), 0 0 0 0 rgba(255,154,0,.55);
  transition: transform .22s, box-shadow .22s, background-color .18s;
}
.fab:hover { background: var(--c-brand-dark); transform: scale(1.05); }
.fab svg { width: 25px; height: 25px; }
.fab .fab__icon--schliessen { display: none; }
.fab-bereich[data-offen='true'] .fab .fab__icon--kontakt { display: none; }
.fab-bereich[data-offen='true'] .fab .fab__icon--schliessen { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .fab[data-puls='true'] { animation: puls 2.4s ease-out 3; }
}
@keyframes puls {
  0%   { box-shadow: 0 6px 20px rgba(20,24,29,.26), 0 0 0 0 rgba(255,154,0,.55); }
  70%  { box-shadow: 0 6px 20px rgba(20,24,29,.26), 0 0 0 18px rgba(255,154,0,0); }
  100% { box-shadow: 0 6px 20px rgba(20,24,29,.26), 0 0 0 0 rgba(255,154,0,0); }
}

.dialog {
  width: min(540px, calc(100vw - 2rem));
  max-height: min(88svh, 780px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--schatten-hoch);
  background: var(--c-paper); color: var(--c-text);
  overflow: hidden;
}
.dialog::backdrop { background: rgba(12,15,19,.66); backdrop-filter: blur(3px); }
.dialog__kopf {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  background: var(--c-ink); color: #fff; padding: 1.25rem 1.4rem;
}
.dialog__kopf h2 { color: #fff; margin: 0 0 .15rem; font-size: 1.4rem; }
.dialog__kopf p { font-size: var(--fs-small); color: var(--c-text-invert-mute); }
.dialog__schliessen {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; transition: background-color .18s;
}
.dialog__schliessen:hover { background: rgba(255,255,255,.22); }
.dialog__schliessen svg { width: 19px; height: 19px; }
.dialog__inhalt { padding: 1.4rem; overflow-y: auto; max-height: calc(88svh - 100px); }

/* =========================================================================
   Footer
   ========================================================================= */

.footer { background: var(--c-ink); color: var(--c-text-invert-mute); padding-block: clamp(2.5rem, 5vw, 3.75rem) 0; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer h3 { color: #fff; font-size: 1.02rem; letter-spacing: .01em; margin-bottom: .85rem; }
.footer a:hover { color: var(--c-brand); }
.footer__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-small); }
.footer__marke { margin-bottom: 1rem; }
.footer__claim { font-size: var(--fs-small); max-width: 34ch; line-height: 1.55; }

.footer__unten {
  margin-top: 2.25rem; padding-block: 1.25rem;
  border-top: 1px solid var(--c-ink-3);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .875rem;
}
.footer__rechtliches { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

@media (max-width: 700px) { .footer__unten { padding-bottom: 5.5rem; } }

/* =========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================= */

.rechtstext { padding-top: calc(var(--header-h) + clamp(2.25rem, 5vw, 3.75rem)); padding-bottom: var(--sektion-y); }
.rechtstext h1 { margin-bottom: .6em; }
.rechtstext h2 {
  font-size: clamp(1.25rem, 1.08rem + .8vw, 1.6rem);
  margin-top: 2.1em; padding-top: 1em; border-top: 1px solid var(--c-line);
}
.rechtstext h2:first-of-type { border-top: 0; padding-top: 0; }
.rechtstext h3 { margin-top: 1.6em; font-size: 1.12rem; }
.rechtstext p, .rechtstext li { font-size: 1rem; color: var(--c-text); }
.rechtstext ul, .rechtstext ol { padding-left: 1.3rem; display: grid; gap: .4rem; margin-bottom: 1.2em; }
.rechtstext a { color: var(--c-akzent-ink); text-decoration: underline; }
.rechtstext address { font-style: normal; margin-bottom: 1.2em; }

.hinweis-box {
  background: var(--c-brand-soft); border-left: 3px solid var(--c-brand);
  border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 2rem;
  font-size: var(--fs-small); line-height: 1.55;
}

.zurueck {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: var(--fs-small); margin-bottom: 1.4rem;
}
.zurueck svg { width: 17px; height: 17px; }
.zurueck:hover { color: var(--c-akzent-ink); }

/* =========================================================================
   Scroll-Einblendung
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease-out, transform .5s ease-out;
  }
  [data-reveal].ist-sichtbar { opacity: 1; transform: none; }
}

@media print {
  .header, .mobilnav, .fab-bereich, .hero__bg, .slideshow { display: none !important; }
  body { color: #000; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: .8em; }
}
