/* ==========================================================================
   Spranger Automobile – Header, Hero mit Fahrzeug-Slider, Leistungen
   Schriften & Rot wie spranger-automobile.de (Orbitron, Montserrat, #DC2626).

   Gewählt: Variante 3 „Foto frei“ im dunklen Look – das Foto bleibt ohne
   Text, Headline und Buttons stehen in der Anthrazit-Leiste darunter.

   Alles mit Präfix .sph- und unter .sph gekapselt, damit Theme- und
   Elementor-Styles nicht hineinfunken.
   ========================================================================== */

/* Schriften lokal (DSGVO), als variable Fonts. Eigene Namen („SPH …“), weil die Website
   Orbitron/Montserrat schon in festen Schnitten lädt (Plugin carzilla-fahrzeuge) – gleiche
   Namen würden die Schrift der ganzen Website umstellen. */
@font-face {
  font-family: "SPH Orbitron";
  src: url("fonts/orbitron-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "SPH Montserrat";
  src: url("fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* ---------- Tokens ---------- */
.sph {
  --sph-red: #dc2626;
  --sph-red-dark: #b91c1c;
  --sph-anthrazit: #1a1d23;

  --sph-font: "SPH Montserrat", "Montserrat", "Segoe UI", Arial, system-ui, sans-serif;
  --sph-font-display: "SPH Orbitron", "Orbitron", "SPH Montserrat", "Segoe UI", Arial, sans-serif;
  --sph-gutter: clamp(16px, 4vw, 56px);
  --sph-header-h: 84px;
  --sph-ease-out: cubic-bezier(.16, 1, .3, 1);
  --sph-title-size: clamp(26px, 2.8vw, 44px);

  /* Seite, Header, Karten = Farbwerte der aktuellen Spranger-Seite */
  --sph-page-bg: #1a1d23;
  --sph-page-text: #e0e0e0;
  --sph-muted: #a3aab6;
  --sph-line: #333c4d;
  --sph-header-bg: rgba(26, 29, 35, .88);
  --sph-header-bg-solid: #1a1d23;
  --sph-header-text: #e0e0e0;
  --sph-header-strong: #ffffff;
  --sph-header-border: rgba(51, 60, 77, .75);
  --sph-header-shadow: 0 12px 30px -16px rgba(0, 0, 0, .7);
  --sph-sub-bg: #252b36;
  --sph-sub-border: #333c4d;
  --sph-sub-hover: #1a1d23;
  --sph-iconbtn-hover: rgba(255, 255, 255, .07);
  --sph-card-bg: #252b36;
  --sph-card-bg-hover: #2a313d;
  --sph-card-border: #333c4d;
  --sph-card-border-hover: rgba(220, 38, 38, .45);
  --sph-card-shadow-hover: 0 26px 50px -28px rgba(0, 0, 0, .85);
  --sph-card-title: #ffffff;
  --sph-card-text: #c9ced6;
  --sph-card-link: #ffffff;
  --sph-badge-bg: #1a1d23;

  /* Hero-Elemente (das Foto selbst bleibt hell) */
  --sph-hero-ink: #ffffff;
  --sph-hero-text: #e0e0e0;
  --sph-hero-muted: #a3aab6;
  --sph-switch-bg: rgba(26, 29, 35, .8);
  --sph-switch-border: rgba(255, 255, 255, .08);
  --sph-switch-shadow: 0 20px 44px -22px rgba(0, 0, 0, .8);
  --sph-switch-ink: #ffffff;
  --sph-switch-muted: #a3aab6;
  --sph-switch-model: #c9ced6;
  --sph-switch-track: rgba(255, 255, 255, .16);
  --sph-switch-line: rgba(255, 255, 255, .2);
  --sph-switch-hover: rgba(255, 255, 255, .08);
  --sph-ghost-bg: rgba(26, 29, 35, .6);
  --sph-ghost-color: #ffffff;
  --sph-ghost-border: rgba(255, 255, 255, .38);
  --sph-ghost-hover-bg: #ffffff;
  --sph-ghost-hover-color: #1a1d23;
  --sph-panel-bg: #252b36;
  --sph-panel-border: #333c4d;


  font-family: var(--sph-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--sph-page-text);
  background: var(--sph-page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Scoped Reset (schlägt Hello-Elementor / Elementor-Kit) ---------- */
.sph *, .sph *::before, .sph *::after { box-sizing: border-box; }
.sph h1, .sph h2, .sph h3, .sph p, .sph ul, .sph li, .sph figure { margin: 0; padding: 0; }
.sph ul { list-style: none; }
.sph img { display: block; max-width: 100%; height: auto; border: 0; }
.sph a { color: inherit; text-decoration: none; }
.sph button {
  appearance: none; background: none; border: 0; border-radius: 0; box-shadow: none;
  color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit;
  margin: 0; padding: 0; text-transform: none; white-space: normal; cursor: pointer;
  transition: none;
}
/* nur das zurücksetzen, was Hello Elementor bei :hover/:focus färbt (#c36) */
.sph button:hover,
.sph button:focus { background-color: transparent; color: inherit; text-decoration: none; box-shadow: none; }
.sph :focus-visible { outline: 2px solid var(--sph-red); outline-offset: 3px; border-radius: 4px; }
/* Spranger-Website: Das Elementor-Kit setzt für body, h1–h6, p, div, span
   white-space: normal, word-break und overflow-wrap: break-word (alle !important) und hyphens: auto.
   In Header und Hero gelten wieder normale Umbruchregeln, ohne Silbentrennung. */
.sph :is(div, span, p, h1, h2, h3, h4, h5, h6) {
  white-space: inherit !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: manual !important;
}
.sph .sph-line { white-space: nowrap !important; }

body:has(.sph-hero) { margin: 0; background: #1a1d23; }

/* WordPress/Elementor: Der Header steckt in der Elementor-Header-Vorlage. Mitlaufen (sticky)
   muss deren äußerer Rahmen – der Header selbst ist nur so hoch wie sein Rahmen. */
.elementor-location-header:has(.sph-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
/* overflow-x: hidden !important an html/body (setzt das Plugin spranger-slider auf jeder Seite) macht body zum
   Scroll-Container und schaltet sticky ab. clip schneidet genauso ab, ohne diesen Nebeneffekt. */
html:has(.sph-header), html:has(.sph-header) body { overflow-x: clip !important; }
@media (max-width: 600px) { .elementor-location-header:has(.sph-header) { top: 0; } } /* Admin-Leiste scrollt hier mit */

.sph-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sph-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sph .sph-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--sph-red); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.sph .sph-skip:focus { top: 12px; }

.sph-container { width: min(100% - 2 * var(--sph-gutter), 1320px); margin-inline: auto; }

.sph-ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.sph .sph-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 10px;
  font-family: var(--sph-font); font-size: 16px; font-weight: 600; line-height: 1.1;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--sph-ease-out), box-shadow .25s;
}
.sph .sph-btn--lg { min-height: 56px; padding: 16px 24px; font-size: 16.5px; }
.sph .sph-btn--block { width: 100%; }
.sph .sph-btn--primary { background: var(--sph-red); color: #fff; box-shadow: 0 10px 24px -12px rgba(220, 38, 38, .7); }
.sph .sph-btn--primary:hover { background: var(--sph-red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(185, 28, 28, .8); }
.sph .sph-btn--ghost {
  background: var(--sph-ghost-bg); color: var(--sph-ghost-color); border-color: var(--sph-ghost-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sph .sph-btn--ghost:hover { background: var(--sph-ghost-hover-bg); color: var(--sph-ghost-hover-color); border-color: var(--sph-ghost-hover-bg); transform: translateY(-1px); }
.sph .sph-btn:active { transform: translateY(0); }
.sph .sph-btn .sph-ico--arrow { transition: transform .3s var(--sph-ease-out); }
.sph .sph-btn:hover .sph-ico--arrow { transform: translateX(4px); }

.sph .sph-iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; color: var(--sph-header-text); background: transparent;
}
.sph .sph-iconbtn:hover { background: var(--sph-iconbtn-hover); color: var(--sph-header-strong); }
.sph .sph-iconbtn .sph-ico { width: 24px; height: 24px; stroke-width: 1.8; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.sph-header {
  position: sticky; top: 0; z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid var(--sph-header-border);
  transition: box-shadow .3s;
}
/* Hintergrund als Pseudo-Element: backdrop-filter direkt am Header würde das
   fixierte Mobilmenü auf Header-Höhe einsperren. */
.sph-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sph-header-bg-solid);
}
@supports (backdrop-filter: blur(1px)) {
  .sph-header::before { background: var(--sph-header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.sph-header.is-scrolled { box-shadow: var(--sph-header-shadow); }
.sph-header__inner {
  height: var(--sph-header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px);
}
.sph .sph-logo { flex: none; display: block; }
.sph .sph-logo img { width: auto; height: clamp(26px, 2.5vw, 36px); }

.sph-nav { margin-left: auto; }
.sph-nav__list { display: flex; align-items: center; gap: clamp(4px, .8vw, 14px); }
.sph-nav__item { position: relative; }
.sph .sph-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 8px; border-radius: 6px;
  font-family: var(--sph-font); font-size: 16.5px; font-weight: 500; color: var(--sph-header-text); line-height: 1.2;
  position: relative; white-space: nowrap;
  transition: color .2s;
}
.sph .sph-nav__link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px;
  background: var(--sph-red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--sph-ease-out);
}
.sph .sph-nav__link:hover,
.sph .sph-nav__item--sub.is-open > .sph-nav__link { color: var(--sph-header-strong); }
.sph .sph-nav__link:hover::after,
.sph .sph-nav__item--sub.is-open > .sph-nav__link::after { transform: scaleX(1); }
.sph .sph-ico--chev { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .25s; }
.sph .sph-nav__item--sub.is-open .sph-ico--chev { transform: rotate(180deg); }

.sph-sub {
  position: absolute; left: -6px; top: calc(100% + 12px); min-width: 240px;
  padding: 8px; border-radius: 12px; background: var(--sph-sub-bg);
  border: 1px solid var(--sph-sub-border);
  box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--sph-ease-out), visibility 0s .25s;
}
.sph-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sph .sph-sub a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--sph-header-text);
  transition: background-color .2s, color .2s;
}
.sph .sph-sub a:hover { background: var(--sph-sub-hover); color: var(--sph-header-strong); }
.sph-nav__item--sub.is-open > .sph-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1200px) {
  .sph-nav__item--sub:hover > .sph-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sph .sph-nav__item--sub:hover > .sph-nav__link { color: var(--sph-header-strong); }
  .sph .sph-nav__item--sub:hover > .sph-nav__link::after { transform: scaleX(1); }
  .sph .sph-nav__item--sub:hover .sph-ico--chev { transform: rotate(180deg); }
}

.sph-nav__extra { display: none; }
.sph-header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.sph .sph-header__cta .sph-ico { width: 20px; height: 20px; stroke-width: 1.9; }
.sph .sph-header__call, .sph .sph-burger { display: none; }
.sph .sph-burger__close { display: none; }

/* kompakter Desktop-Header für 1200–1399 px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .sph-header__inner { gap: 18px; }
  .sph .sph-logo img { height: 29px; }
  .sph-nav__list { gap: 2px; }
  .sph .sph-nav__link { font-size: 15px; padding: 10px 7px; }
  .sph .sph-header__cta { padding: 12px 16px; font-size: 15px; }
}

/* --- Mobile / Tablet Navigation --- */
@media (max-width: 1199px) {
  .sph { --sph-header-h: 70px; }
  .sph .sph-header__call, .sph .sph-burger { display: inline-grid; }
  .sph .sph-header__cta { display: none; }
  .sph-header__actions { margin-left: auto; }

  .sph-nav {
    position: fixed; left: 0; right: 0; top: var(--sph-header-h); bottom: 0;
    margin: 0; padding: 12px var(--sph-gutter) 32px;
    background: var(--sph-header-bg-solid); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--sph-ease-out), visibility 0s .3s;
  }
  .sph-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sph-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .sph-nav__item { border-bottom: 1px solid var(--sph-line); }
  .sph .sph-nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 17px; font-weight: 600; color: var(--sph-header-strong); }
  .sph .sph-nav__link::after { display: none; }
  .sph .sph-ico--chev { width: 20px; height: 20px; }
  .sph-sub {
    position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0; background: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .sph-sub::before { display: none; }
  .sph-nav__item--sub.is-open > .sph-sub { display: block; }
  .sph .sph-sub a { padding: 11px 14px; font-size: 16px; }
  .sph-nav__extra { display: grid; gap: 14px; margin-top: 28px; }
  .sph .sph-nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1.5px solid var(--sph-line); border-radius: 10px; font-weight: 600; color: var(--sph-header-strong); }
  .sph-nav__hours { text-align: center; color: var(--sph-muted); font-size: 14px; }
  .sph .sph-burger[aria-expanded="true"] .sph-burger__open { display: none; }
  .sph .sph-burger[aria-expanded="true"] .sph-burger__close { display: block; }
  html.sph-lock, html.sph-lock body { overflow: hidden; }
}
@media (max-width: 400px) {
  .sph .sph-logo img { height: 23px; }
  .sph-header__inner { gap: 10px; }
  .sph .sph-iconbtn { width: 42px; height: 42px; }
  .sph-header__actions { gap: 2px; }
}

/* ==========================================================================
   HERO – Foto frei, Anthrazit-Leiste darunter
   ========================================================================== */
.sph-hero {
  /* Fotohöhe (Desktop), wie weit die Leiste ins Foto ragt, Breite der Suchspalte */
  --sph-media-h: clamp(556px, min(41vw, 100svh - var(--sph-header-h) - 110px), 800px);
  --sph-overlap: 84px;
  --sph-col: clamp(400px, 30vw, 480px);
  position: relative;
  isolation: isolate;
  background: var(--sph-page-bg);
}

.sph-hero__media {
  position: relative; z-index: 0; overflow: hidden;
  container-type: size;
  height: var(--sph-media-h);
}

/* Die Bühne hat exakt das Seitenverhältnis der Bilder und Videos (1920 × 818) und
   verhält sich wie object-fit: cover – leerer Hof, Standbilder und Fahrvideos liegen
   pixelgenau übereinander. Hintergrund: Mini-Vorschau des ersten Bildes. */
.sph-stage {
  --ar: 2.34719;
  --fx: 1;     /* horizontale Ausrichtung: 0 = links, 1 = rechts */
  --fy: .55;   /* vertikale Ausrichtung */
  --sw: max(100cqw, calc(100cqh * var(--ar)));
  --sh: max(100cqh, calc(100cqw / var(--ar)));
  position: absolute; z-index: 0;
  width: var(--sw); height: var(--sh);
  left: calc((100cqw - var(--sw)) * var(--fx));
  top: calc((100cqh - var(--sh)) * var(--fy));
  background: #424558 url("data:image/webp;base64,UklGRuIAAABXRUJQVlA4INYAAAAwBgCdASowABQAPu1gqE2ppaOiKq35MB2JZgDCs4CHm/AAEOpPPVDi2DD7NTjX8t3ZtKpEzDw9XDYAAP7r/4FHZmc3kVPZBbhGYrj060P4ob6P2YiPvgz1jrH7AFMZox94uC/2yxQHDp/SHmU2apPutPJ2hInhh1UphqbRiMovGrjR0vvcWQQeboc7BcBGYVMedB+zv+W9gvE6EOYNWF2xXCczhJtMH6qysgtDSU14J9DJJXUFq7ap2gbYk7VHA/DYWHjFzi8V49ebXie8RFC3pFSisAAA") center / 100% 100% no-repeat;
  transform-origin: 75% 60%;
  animation: sph-settle 2.2s var(--sph-ease-out) both;
}
@keyframes sph-settle { from { transform: scale(1.045); } to { transform: none; } }

/* Ebenen: leerer Hof (0) · Standbilder (1) · Fahrvideos (2) */
.sph .sph-stage__plate,
.sph .sph-slide,
.sph .sph-slide img,
.sph .sph-drive {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
}
.sph .sph-stage__plate { z-index: 0; }
.sph-slide { z-index: 1; opacity: 0; transition: opacity .55s ease; }
.sph-slide.is-active { opacity: 1; }
.sph-stage.is-driving .sph-slide { transition: none; } /* Wechsel unter dem Video: sofort */
.sph .sph-drive {
  z-index: 2; display: block; object-fit: fill; pointer-events: none;
  opacity: 0; transition: opacity .3s linear;
}
.sph .sph-drive.is-on { opacity: 1; transition-duration: .25s; }

.sph-hero__inner { position: relative; z-index: 4; margin-top: calc(-1 * var(--sph-overlap)); }
.sph-hero__content {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 3.4vw, 64px);
  padding: clamp(30px, 2.6vw, 42px) clamp(28px, 3.2vw, 52px);
  border-radius: 15px;
  background: var(--sph-panel-bg);
  border: 1px solid var(--sph-panel-border);
  box-shadow: 0 34px 70px -38px rgba(26, 29, 35, .45);
  overflow: hidden;
}

.sph .sph-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(16px, 1.6vw, 24px);
  font-family: var(--sph-font); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sph-hero-muted);
}
.sph-flag { width: 30px; height: 13px; fill: var(--sph-red); flex: none; }

.sph .sph-hero__title {
  font-family: var(--sph-font-display);
  font-size: var(--sph-title-size);
  font-style: normal; /* Website-Kit setzt h1 kursiv */
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--sph-hero-ink);
}
.sph-line { display: block; width: max-content; max-width: 100%; overflow: hidden; padding: 0 .04em .06em 0; margin-bottom: -.06em; white-space: nowrap; }
.sph-line > span { display: inline-block; }
.sph .sph-red { color: var(--sph-red); }

.sph .sph-hero__lead {
  margin-top: 0;
  max-width: 27em;
  font-family: var(--sph-font);
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; font-weight: 450;
  color: var(--sph-hero-text);
}
.sph-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* rote Kante oben an der Leiste */
.sph-hero__content::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--sph-red);
}
/* „WARTET AUF SIE“ in einer Zeile */
.sph-line:nth-child(2),
.sph-line:nth-child(3) { display: inline-block; }

/* ---------- Fahrzeug-Umschalter (dunkles Glas) ---------- */
.sph-switch {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 12px 18px;
  border-radius: 14px;
  background: var(--sph-switch-bg);
  border: 1px solid var(--sph-switch-border);
  box-shadow: var(--sph-switch-shadow);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  color: var(--sph-switch-ink);
}
.sph .sph-switch__pause {
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px;
  border-radius: 50%; color: var(--sph-switch-ink); border: 1px solid var(--sph-switch-line);
}
.sph .sph-switch__pause:hover { background: var(--sph-switch-hover); }
.sph .sph-switch__pause .sph-ico { width: 16px; height: 16px; stroke-width: 2.4; }
.sph .sph-switch__pause .sph-ico--play { display: none; fill: currentColor; stroke-width: 1.6; }
.sph .sph-switch__pause[aria-pressed="true"] .sph-ico--pause { display: none; }
.sph .sph-switch__pause[aria-pressed="true"] .sph-ico--play { display: block; }

.sph-switch__tabs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sph .sph-tab {
  display: grid; justify-items: start; gap: 2px; padding: 6px 0 2px; text-align: left;
  color: var(--sph-switch-muted);
}
.sph .sph-tab:focus { color: var(--sph-switch-muted); }
.sph .sph-tab:hover { color: var(--sph-switch-ink); }
/* Reiter nennen nur die Marke – keine Modellnamen, sonst sind Verbrauchs-/CO2-Angaben nötig (Pkw-EnVKV) */
.sph-tab__name { font-family: var(--sph-font-display); font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--sph-switch-model); transition: color .25s; }
.sph .sph-tab.is-active, .sph .sph-tab.is-active:focus { color: var(--sph-switch-ink); }
.sph .sph-tab:hover .sph-tab__name,
.sph .sph-tab.is-active .sph-tab__name { color: var(--sph-switch-ink); }
.sph-tab__bar { position: relative; width: 100%; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--sph-switch-track); overflow: hidden; }
/* Füllung: läuft beim aktiven Tab ohne Unterbrechung von der Auswahl bis zum nächsten Wechsel
   (erst synchron zur Fahrt, dann über die Standzeit – Breite setzt das Skript). Beim Wechsel
   blendet die alte Füllung aus, statt zurückzuspringen. Ohne Automatik ist der aktive Balken voll. */
.sph-tab__bar i {
  position: absolute; inset: 0; background: var(--sph-red); border-radius: inherit;
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: opacity .45s ease, transform 0s .45s;
}
.sph-tab.is-active .sph-tab__bar i { opacity: 1; transition: none; }
.sph-hero:not(.is-auto) .sph-tab.is-active .sph-tab__bar i { transform: scaleX(1); }

/* ---------- Einlauf-Animation ---------- */
@keyframes sph-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sph-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sph-line > span { animation: sph-rise .9s var(--sph-ease-out) both; }
.sph-line:nth-child(1) > span { animation-delay: .08s; }
.sph-line:nth-child(2) > span { animation-delay: .18s; }
.sph-line:nth-child(3) > span { animation-delay: .28s; }
.sph-eyebrow { animation: sph-fade-up .7s var(--sph-ease-out) both; }
.sph-hero__lead { animation: sph-fade-up .8s .42s var(--sph-ease-out) both; }
.sph-hero__actions { animation: sph-fade-up .8s .54s var(--sph-ease-out) both; }
.sph-search { animation: sph-fade-up .8s .6s var(--sph-ease-out) both; }
.sph-switch { animation: sph-fade-up .8s .8s var(--sph-ease-out) both; }

/* ==========================================================================
   SCHNELLSUCHE – Bestand live aus Carzilla, Trefferzahl wie die Fahrzeugliste
   ========================================================================== */
.sph-search {
  --sph-field-bg: rgba(10, 12, 16, .5);
  --sph-field-line: rgba(255, 255, 255, .14);
  --sph-field-line-hover: rgba(255, 255, 255, .32);
  position: relative;
  padding: 20px 22px;
  border-radius: 15px;
  background: rgba(26, 29, 35, .86);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .75);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  color: var(--sph-hero-text);
  color-scheme: dark;
  overflow: hidden;
}
/* rote Kante oben wie an der Leiste */
.sph-search::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--sph-red);
}

/* Kopf: „Fahrzeugsuche“, Bestand live, Unterzeile */
.sph-search__intro { margin-bottom: 16px; }
.sph .sph-search__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sph-hero-muted);
}
.sph .sph-search__eyebrow .sph-flag { width: 26px; height: 11px; }
.sph .sph-search__title {
  margin-top: 10px;
  font-family: var(--sph-font-display); font-size: 20px; font-weight: 700; line-height: 1.15;
  letter-spacing: .03em; text-transform: uppercase; color: #ffffff;
}
.sph .sph-search__sub { display: none; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--sph-hero-muted); }

.sph-search__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 12px; margin-bottom: 14px;
}

/* Alle / Neu / Gebraucht */
.sph .sph-seg {
  display: inline-flex; gap: 2px; min-width: 0; margin: 0; padding: 3px;
  border: 1px solid var(--sph-field-line); border-radius: 10px;
  background: rgba(0, 0, 0, .22);
}
.sph-seg__opt { position: relative; display: block; cursor: pointer; }
.sph .sph-seg__opt input {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.sph-seg__opt span {
  display: block; padding: 7px 13px; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #c9ced6;
  transition: background-color .2s, color .2s;
}
.sph-seg__opt:hover span { color: #ffffff; }
.sph-seg__opt input:checked + span { background: #f3f4f6; color: var(--sph-anthrazit); }
.sph-seg__opt input:focus-visible + span { outline: 2px solid var(--sph-red); outline-offset: 2px; }

.sph .sph-search__more {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0;
  font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #c9ced6; white-space: nowrap;
  transition: color .2s;
}
.sph .sph-search__more .sph-ico { width: 17px; height: 17px; color: var(--sph-red); }
.sph .sph-search__more:hover { color: #ffffff; }

/* Felder: Beschriftung oben im Feld, Wert darunter */
.sph-search__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sph-field { position: relative; min-width: 0; }
.sph .sph-field__label {
  position: absolute; left: 13px; right: 13px; top: 8px; z-index: 1;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sph-muted);
  pointer-events: none;
}
.sph .sph-field__select {
  display: block; width: 100%; height: 52px; margin: 0;
  padding: 20px 34px 4px 12px;
  border: 1px solid var(--sph-field-line); border-radius: 10px;
  background: var(--sph-field-bg); color: #ffffff;
  font-family: var(--sph-font); font-size: 15px; font-weight: 500; line-height: 1.2;
  text-overflow: ellipsis; cursor: pointer;
  appearance: none; -webkit-appearance: none; box-shadow: none;
  transition: border-color .2s, background-color .2s;
}
.sph .sph-field__select:hover,
.sph .sph-field__select:focus { border-color: var(--sph-field-line-hover); }
.sph .sph-field__select:disabled { cursor: not-allowed; opacity: .45; }
.sph .sph-field__select:has(option[value=""]:checked) { color: #c9ced6; }
.sph .sph-field__select option { background: #22262e; color: #ffffff; }
.sph .sph-field__select option:disabled { color: #6f7683; }
.sph-field__chev {
  position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px;
  fill: none; stroke: var(--sph-muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.sph-field:has(:disabled) .sph-field__chev { opacity: .45; }

/* Trefferzahl + Zurücksetzen */
.sph-search__actions { display: flex; gap: 10px; margin-top: 14px; }
.sph .sph-search__submit,
.sph .sph-search__submit:focus {
  flex: 1; min-height: 52px; padding: 14px 18px;
  background-color: var(--sph-red); color: #ffffff;
}
.sph .sph-search__submit:hover { background-color: var(--sph-red-dark); color: #ffffff; }
.sph .sph-search__submit:disabled {
  cursor: not-allowed; opacity: .55; transform: none; box-shadow: none;
  background-color: var(--sph-red);
}
.sph .sph-search__reset {
  flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--sph-field-line); border-radius: 10px; color: #e0e0e0;
  transition: border-color .2s, background-color .2s, color .2s;
}
.sph .sph-search__reset:hover { border-color: var(--sph-field-line-hover); background-color: rgba(255, 255, 255, .06); color: #ffffff; }
.sph .sph-search__reset[hidden] { display: none; }
.sph .sph-search__reset .sph-ico { width: 20px; height: 20px; }

/* ---------- Desktop: Spalte links über dem Foto (Suche, darunter Umschalter) ---------- */
@media (min-width: 1100px) {
  /* Auto so weit nach rechts wie möglich, aber ganz im Bild – links bleibt Platz
     für die Suche. --car-r = rechte Kante der Fahrzeuge im Bild (Anteil der
     Bildbreite, gemessen: Tucson .852, Formentor .870, Bigster .878); bei neuen Bildern anpassen. */
  .sph-stage {
    --car-r: .88;
    --car-gap: 24px;
    left: min(0px, 100cqw - var(--car-gap) - var(--sw) * var(--car-r));
  }
  .sph-hero__side {
    container: sph-side / size; /* die Suche richtet sich nach der Höhe dieser Spalte */
    position: absolute; left: 0; bottom: calc(100% + 18px);
    width: var(--sph-col);
    height: calc(var(--sph-media-h) - var(--sph-overlap) - 18px - 18px); /* 18 px Luft oben und unten */
    display: flex; flex-direction: column; gap: 12px;
    pointer-events: none; /* freie Fläche reicht Klicks und Wischen ans Foto durch */
  }
  .sph-hero__side > * { pointer-events: auto; }
  /* Suche füllt die Spalte bis zum Umschalter. Übrige Höhe verteilt sich gleichmäßig
     auf alle Abstände (je nur wenige Pixel) – keine Lücke zwischen Kopf und Formular. */
  .sph-search { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-evenly; } /* wächst, schrumpft nie unter den Inhalt */
  .sph-search__intro { display: none; }
}

/* Desktop: je mehr Höhe, desto mehr Inhalt – so füllt die Karte die Spalte ohne Loch */
@container sph-side (min-height: 470px) {
  .sph-search__intro { display: block; }
  .sph .sph-search__title,
  .sph .sph-search__sub { display: none; }
}
@container sph-side (min-height: 512px) {
  .sph .sph-search__title { display: block; }
}
@container sph-side (min-height: 560px) {
  .sph .sph-search { padding: 26px 26px 26px; }
  .sph-search__intro { margin-bottom: 20px; }
  .sph-search__head { margin-bottom: 18px; }
  .sph-search__grid { gap: 12px; }
  .sph .sph-field__label { top: 10px; }
  .sph .sph-field__select { height: 58px; padding-top: 23px; font-size: 15.5px; }
  .sph-search__actions { margin-top: 18px; }
  .sph .sph-search__submit { min-height: 56px; font-size: 16.5px; }
  .sph .sph-search__reset { width: 56px; height: 56px; }
}
@container sph-side (min-height: 610px) {
  .sph .sph-search { padding: 30px 28px 28px; }
  .sph .sph-search__sub { display: block; }
  .sph .sph-search__title { font-size: 22px; }
  .sph .sph-field__label { top: 11px; font-size: 11px; }
  .sph .sph-field__select { height: 62px; padding-top: 25px; font-size: 16px; }
  .sph .sph-search__submit { min-height: 58px; font-size: 17px; }
  .sph .sph-search__reset { width: 58px; height: 58px; }
}
@container sph-side (min-height: 650px) {
  .sph .sph-search { padding: 34px 30px 30px; }
  .sph .sph-search__title { font-size: 24px; margin-top: 12px; }
  .sph .sph-search__sub { font-size: 15px; margin-top: 8px; }
  .sph-search__intro { margin-bottom: 24px; }
  .sph-search__head { margin-bottom: 20px; }
  .sph-search__grid { gap: 14px; }
  .sph .sph-field__select { height: 64px; padding-top: 26px; }
  .sph .sph-field__label { top: 12px; }
  .sph-search__actions { margin-top: 20px; }
  .sph .sph-search__submit { min-height: 60px; }
  .sph .sph-search__reset { width: 60px; height: 60px; }
}

/* Standbild-Variante: Ohne Umschalter (bis 1.1.5: 86 px + 12 px Abstand) hat die Suche 98 px mehr
   Höhe – gleiche Stufen wie oben, je 98 px früher. Seit 1.1.6 (Reiter nur mit Marke, einzeilig) ist
   der Umschalter 68 px hoch; die Stufen bleiben bewusst unverändert. */
@container sph-side (min-height: 372px) {
  .sph-hero--bild .sph-search__intro { display: block; }
  .sph .sph-hero--bild .sph-search__title,
  .sph .sph-hero--bild .sph-search__sub { display: none; }
}
@container sph-side (min-height: 414px) {
  .sph .sph-hero--bild .sph-search__title { display: block; }
}
@container sph-side (min-height: 462px) {
  .sph .sph-hero--bild .sph-search { padding: 26px 26px 26px; }
  .sph-hero--bild .sph-search__intro { margin-bottom: 20px; }
  .sph-hero--bild .sph-search__head { margin-bottom: 18px; }
  .sph-hero--bild .sph-search__grid { gap: 12px; }
  .sph .sph-hero--bild .sph-field__label { top: 10px; }
  .sph .sph-hero--bild .sph-field__select { height: 58px; padding-top: 23px; font-size: 15.5px; }
  .sph-hero--bild .sph-search__actions { margin-top: 18px; }
  .sph .sph-hero--bild .sph-search__submit { min-height: 56px; font-size: 16.5px; }
  .sph .sph-hero--bild .sph-search__reset { width: 56px; height: 56px; }
}
@container sph-side (min-height: 512px) {
  .sph .sph-hero--bild .sph-search { padding: 30px 28px 28px; }
  .sph .sph-hero--bild .sph-search__sub { display: block; }
  .sph .sph-hero--bild .sph-search__title { font-size: 22px; }
  .sph .sph-hero--bild .sph-field__label { top: 11px; font-size: 11px; }
  .sph .sph-hero--bild .sph-field__select { height: 62px; padding-top: 25px; font-size: 16px; }
  .sph .sph-hero--bild .sph-search__submit { min-height: 58px; font-size: 17px; }
  .sph .sph-hero--bild .sph-search__reset { width: 58px; height: 58px; }
}
@container sph-side (min-height: 552px) {
  .sph .sph-hero--bild .sph-search { padding: 34px 30px 30px; }
  .sph .sph-hero--bild .sph-search__title { font-size: 24px; margin-top: 12px; }
  .sph .sph-hero--bild .sph-search__sub { font-size: 15px; margin-top: 8px; }
  .sph-hero--bild .sph-search__intro { margin-bottom: 24px; }
  .sph-hero--bild .sph-search__head { margin-bottom: 20px; }
  .sph-hero--bild .sph-search__grid { gap: 14px; }
  .sph .sph-hero--bild .sph-field__select { height: 64px; padding-top: 26px; }
  .sph .sph-hero--bild .sph-field__label { top: 12px; }
  .sph-hero--bild .sph-search__actions { margin-top: 20px; }
  .sph .sph-hero--bild .sph-search__submit { min-height: 60px; }
  .sph .sph-hero--bild .sph-search__reset { width: 60px; height: 60px; }
}

/* ---------- Tablet & Mobil: Foto, Umschalter, Suche, dann die Leiste ---------- */
@media (max-width: 1099px) {
  .sph { --sph-title-size: clamp(26px, 7.4vw, 60px); }
  .sph .sph-hero { display: flex; flex-direction: column; }
  .sph .sph-hero__media { order: 1; height: auto; aspect-ratio: 16 / 9; }
  .sph .sph-stage { --fx: .9; --fy: .62; }
  .sph .sph-hero__inner,
  .sph .sph-hero__side { display: contents; }
  .sph .sph-switch {
    order: 2; z-index: 5;
    width: min(100% - 2 * var(--sph-gutter), 1320px); margin: -30px auto 0;
  }
  .sph .sph-search {
    order: 3; z-index: 5;
    width: min(100% - 2 * var(--sph-gutter), 1320px); margin: 18px auto 0;
    background: var(--sph-panel-bg); border-color: var(--sph-panel-border);
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
  }
  .sph-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sph .sph-hero__content {
    order: 4; z-index: 5;
    width: min(100% - 2 * var(--sph-gutter), 1320px);
    margin: 18px auto 0; padding: 28px clamp(20px, 4vw, 32px) 30px;
    grid-template-columns: 1fr; gap: 18px;
  }
}
@media (max-width: 699px) {
  .sph .sph-hero__media { aspect-ratio: 5 / 4; }
  .sph .sph-stage { --fx: .79; --fy: .62; }
  .sph-hero__actions { display: grid; grid-template-columns: 1fr; }
  .sph .sph-btn--lg { width: 100%; }
  .sph .sph-eyebrow { gap: 8px; font-size: 10.5px; letter-spacing: .09em; }
  .sph-flag { width: 26px; height: 11px; }
  .sph .sph-hero__lead { max-width: 34ch; }
  .sph .sph-switch { padding: 10px 12px 12px 14px; gap: 10px; }
  .sph-switch__tabs { gap: 10px; }
  .sph-tab__name { font-size: 13px; }
  .sph-line:nth-child(2), .sph-line:nth-child(3) { display: block; }
  .sph .sph-search { padding: 18px 16px; }
  .sph-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sph .sph-field__label { left: 12px; right: 10px; font-size: 10px; letter-spacing: .06em; }
  .sph .sph-field__select { font-size: 14.5px; }
  .sph-seg__opt span { padding: 7px 10px; font-size: 13px; }
  .sph .sph-search__more { gap: 6px; font-size: 13px; }
  .sph .sph-search__more .sph-ico { width: 16px; height: 16px; }
  .sph .sph-search__title { font-size: 18px; }
  .sph-search__intro { margin-bottom: 14px; }
}
@media (max-width: 379px) {
  .sph .sph-search__more .sph-ico { display: none; } /* Kopfzeile bleibt einzeilig */
}
@media (max-width: 359px) {
  .sph-search__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEISTUNGEN
   ========================================================================== */
.sph-features { padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 6vw, 96px); background: var(--sph-page-bg); }
.sph-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }

.sph-card {
  --sph-knock: var(--sph-badge-bg);
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(26px, 2.3vw, 34px) clamp(22px, 2vw, 30px) clamp(24px, 2vw, 30px);
  border-radius: 15px; background: var(--sph-card-bg);
  border: 1px solid var(--sph-card-border);
  overflow: hidden;
  transition: transform .35s var(--sph-ease-out), box-shadow .35s, background-color .35s, border-color .35s;
}
.sph-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--sph-red); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--sph-ease-out);
}
.sph-card:hover {
  background: var(--sph-card-bg-hover);
  transform: translateY(-4px);
  border-color: var(--sph-card-border-hover);
  box-shadow: var(--sph-card-shadow-hover);
}
.sph-card:hover::before { transform: scaleX(1); }
.sph-card__badge {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 50%; background: var(--sph-badge-bg);
  box-shadow: 0 6px 18px -10px rgba(26, 29, 35, .35);
}
.sph-card__icon {
  width: 34px; height: 34px;
  fill: none; stroke: var(--sph-red); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round;
}
.sph-knock { fill: var(--sph-knock, #fff); }
.sph .sph-card__title {
  font-family: var(--sph-font-display); font-size: clamp(16px, 1.25vw, 19px); font-weight: 600;
  line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--sph-card-title);
}
.sph .sph-card__text { margin-top: 12px; color: var(--sph-card-text); font-size: 15.5px; line-height: 1.6; }
.sph .sph-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px;
  font-family: var(--sph-font); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sph-card-link);
}
.sph .sph-card__link .sph-ico { color: var(--sph-red); width: 18px; height: 18px; stroke-width: 2.3; transition: transform .3s var(--sph-ease-out); }
.sph .sph-card__link::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.sph .sph-card:hover .sph-card__link .sph-ico { transform: translateX(5px); }
.sph .sph-card__link:hover { color: var(--sph-card-link); }

@media (max-width: 1199px) { .sph-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .sph-features { padding-top: 28px; }
  .sph-features__grid { grid-template-columns: 1fr; gap: 12px; }
  .sph-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px 18px; }
  .sph-card__badge { width: 52px; height: 52px; margin: 0; grid-row: 1 / span 3; }
  .sph-card__icon { width: 28px; height: 28px; }
  .sph .sph-card__title { font-size: 15.5px; }
  .sph .sph-card__text { margin-top: 6px; font-size: 15px; }
  .sph .sph-card__link { padding-top: 10px; }
}

/* ==========================================================================
   HERO-VARIANTE „STANDBILD“ – ein Bild statt Videos und Umschalter.
   Gleiches Format wie die Video-Bühne (1920 × 818), daher gilt deren Bühne samt
   Ausrichtung (--car-r, --fx, --fy) unverändert.
   ========================================================================== */
.sph-stage--bild { background-image: url("data:image/webp;base64,UklGRuYAAABXRUJQVlA4INoAAAAQBgCdASowABQAPu1kqU6ppaOiKqwBMB2JaACxG9SDwV5hg7WNvCnxhPkTyzEhuXZOxH9DvmlkuwAA/uvsr4jsxydeknuJnnsXI1ydA63xdimFkqtPW9Rgr19cf9JSiQ+0EOof9wLBOnMOOGdk5g0JQtFnaNBXsEGRkCH3DTKEFFGHJCalhuQcLzcB0ZTF/ZokTIb2N38rhp+2zRtztri02340+jygYXZE9AeOD3yqnVY+WjK+t3cJyu+700MokpD0NWIWoE/VOUIy3Uu9xE2fka4ExGfCOAAAAA=="); } /* Mini-Vorschau des Standbilds */
.sph .sph-stage__bild { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
/* Tablet/Mobil: Ohne Umschalter ragt die Suche leicht ins Bild – wie vorher der Umschalter */
@media (max-width: 1099px) {
  .sph .sph-hero--bild .sph-search { margin-top: -30px; }
}

/* Sichtbarer KI-Hinweis (Pflicht nach Art. 50 Abs. 4 KI-VO): unten rechts im Foto, bündig mit der
   rechten Kante der Leiste und knapp darüber (Tablet/Mobil: über der Suche, die 30 px ins Foto ragt).
   Bewusst ohne Einblend-Animation – er muss ab dem ersten Blick lesbar sein. */
.sph .sph-kihinweis {
  position: absolute; z-index: 3;
  right: max(var(--sph-gutter), (100% - 1320px) / 2);
  bottom: calc(var(--sph-overlap) + 12px);
  margin: 0; padding: 5px 10px;
  border-radius: 6px;
  background: rgba(16, 18, 22, .62);
  font-family: var(--sph-font); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .03em;
  color: rgba(255, 255, 255, .92);
  pointer-events: none;
}
@media (max-width: 1099px) {
  .sph .sph-kihinweis { right: var(--sph-gutter); bottom: 40px; padding: 4px 8px; font-size: 11px; }
}
/* Video-Variante: oben rechts im Himmel – unten rechts stünde der Hinweis auf dem Auto (Hinterrad) */
.sph .sph-kihinweis--oben { top: 16px; bottom: auto; }
@media (max-width: 1099px) {
  .sph .sph-kihinweis--oben { top: 10px; bottom: auto; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .sph *, .sph *::before, .sph *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .sph-slide { transition-duration: .6s !important; }
}
