/* ==========================================================================
   SCHRIFTEN – lokal (Open Sans, SIL Open Font License, siehe assets/fonts/OFL-open-sans.txt)
   ========================================================================== */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   BASIS – aus dem Baukasten v2 (designunabhängig)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; scroll-behavior: smooth; }
body { margin: 0; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, li, dd { overflow-wrap: break-word; hyphens: auto; }
main p a, main li a { text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus { outline: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: #fff; color: #222; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.todo-text { background: #f3c969; color: #222; padding: 2px 8px; }   /* PLATZHALTER, fällt vor Go-live weg */
.bildnachweis { font-size: .8rem; margin: 0; padding: .9rem 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   DESIGN cars-angels.eu – Nachbau des bisherigen Auftritts (Avada 2017)
   Farben aus dem alten CSS; Textfarben auf mind. 4,5:1 geprüft.
   ========================================================================== */
:root {
  --text: #333333;
  --dunkelblau: #105378;          /* Links, Fokus – 8,3:1 auf Weiß */
  --hellblau-band: #a3c6fc;       /* Notfall-Band (Fläche, kein Text) */
  --titel-band: #b7d2ff;          /* Abschnittstitel „Unser Service“ */
  --titel-band-2: #a3c6fe;        /* Abschnittstitel „Coaching“ */
  --service-1: #8cb8ff;
  --service-2: #6ba3ff;
  --service-3: #498fff;
  --box: #45525E;                 /* Leistungs-Boxen: kühles Blaugrau, Farbton wie altes transparentes Feld (gemessen #22282E, Ton 210°), heller – Weiß darauf 8,0:1 */
  --fuss: #d9e8fd;
  --fuss-linie: #aecefc;
  --rand-feld: #767676;           /* Formularfelder – 4,5:1 */
  --breite: 1100px;
  --breite-box: 1050px;
}
body { background: #fff; color: var(--text); font: 400 16px/1.65 "Open Sans", Arial, Helvetica, sans-serif; letter-spacing: .01em; }
a { color: var(--dunkelblau); }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.gross { text-transform: uppercase; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.kopf-innen { position: relative; max-width: var(--breite); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: block; padding: 6px 0; }
.brand img { width: 168px; height: auto; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; }
.hauptmenue a { display: block; color: var(--text); text-decoration: none; text-transform: uppercase; font-size: 15px; font-weight: 400; letter-spacing: .02em; padding: 12px 0; }
.hauptmenue a:hover, .hauptmenue a[aria-current] { color: var(--dunkelblau); text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid #949494; border-radius: 4px; background: #fff; color: var(--text); font: inherit; cursor: pointer; }
.nav-toggle .icon { width: 20px; height: 20px; }

@media (min-width: 901px) {
  /* Desktop wie bisher: drei Menüpunkte links, Logo mittig, drei rechts */
  .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .hauptmenue { width: 100%; }
  .hauptmenue ul { display: flex; justify-content: center; gap: 4px 38px; }
  .hauptmenue li:nth-child(4) { margin-left: 210px; }
}
@media (max-width: 900px) {
  .kopf-innen { flex-wrap: wrap; min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .hauptmenue { flex-basis: 100%; }
  .js .hauptmenue:not(.is-open) { display: none; }
  .hauptmenue ul { border-top: 1px solid #e0dede; padding-bottom: 8px; }
  .hauptmenue li + li { border-top: 1px solid #ebeaea; }
  .hauptmenue a { padding: 12px 4px; }
}

/* ---------- Bühne (bisher Slider) ---------- */
.buehne { position: relative; background: #1d2a33; overflow: hidden; }
.buehne-folien { position: relative; aspect-ratio: 1536 / 395; min-height: 300px; }
.folie { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.folie.is-aktiv { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.folie img { width: 100%; height: 100%; object-fit: cover; }
.buehne-text { position: absolute; right: max(16px, calc((100% - var(--breite)) / 2 + 16px)); bottom: 48px; max-width: calc(100% - 32px); text-align: right; color: #fff; }
.buehne-text h1 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: .03em; margin: 0 0 8px; padding: 8px 12px; background: rgba(0, 0, 0, .45); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.mehr-info { display: inline-block; padding: 2px 12px; background: var(--titel-band-2); color: #0b2a44; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.mehr-info:hover { text-decoration: underline; }
.mehr-info:focus-visible { outline-color: #fff; }
.buehne-steuerung { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; }
.buehne-steuerung[hidden] { display: none; }
.buehne-steuerung button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.buehne-steuerung button:focus-visible { outline-color: #fff; }
.buehne-punkt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.buehne-punkt[aria-current="true"]::before { background: #fff; }
.buehne-pause { background: rgba(0, 0, 0, .55) !important; border-radius: 50% !important; }
.buehne-pause .icon { width: 12px; height: 12px; }
.buehne-pause .icon-play, .buehne-pause[aria-pressed="true"] .icon-pause { display: none; }
.buehne-pause[aria-pressed="true"] .icon-play { display: block; }
@media (max-width: 700px) {
  .buehne-folien { aspect-ratio: 283 / 314; min-height: 0; max-height: 75vh; width: 100%; }
  .buehne-text { left: 16px; right: 16px; bottom: 52px; text-align: left; }
}

/* ---------- Notfall-Band, Claim ---------- */
.notfall-band { background: var(--hellblau-band); padding: 5px 16px; }
.notfall-band a { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.claim { max-width: var(--breite); margin: 0 auto; padding: 40px 16px 8px; text-align: center; }
.claim p { font-size: 20px; font-weight: 600; margin: 0; }

/* ---------- Abschnittstitel ---------- */
.abschnitt-titel-schlicht { text-align: center; font-size: 22px; font-weight: 400; padding: 16px 16px 20px; margin: 0; }
.abschnitt-titel { position: relative; margin: 0; padding: 22px 16px; text-align: center; text-transform: uppercase; font-size: 28px; background: var(--titel-band); }
.abschnitt-titel::after { content: ""; position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); border: 20px solid transparent; border-bottom: 0; border-top-color: var(--titel-band); z-index: 1; }

/* ---------- Leistungen ---------- */
.leistungen-hintergrund { position: relative; padding: 36px 16px 20px;
  /* bisher bg-tunnel.jpg als Parallax; jetzt still stehend */
  background: #dfe9f3 url("../img/hintergrund-sportwagen-bewegung-1038.webp") left top / cover no-repeat; }
.leistungen-hintergrund::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); border: 20px solid transparent; border-bottom: 0; border-top-color: #fff; }
.leistung { max-width: var(--breite-box); margin: 0 auto 28px; padding: 20px 20px 10px; background: var(--box); color: #fff; }
.leistung h3 { font-size: 18px; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px dotted rgba(255, 255, 255, .6); }
.leistung-raster { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px 56px; }
.leistung-bild img { width: 100%; }
.bild-credit { margin: 4px 0 8px; font-size: 13px; text-align: right; }
.sofort-kontakt { display: block; margin-top: 6px; border-top: 3px solid #888; }
.leistung-text { font-size: 15px; padding-right: 32px; }
.leistung-text strong { font-weight: 700; }
.leistung a { color: #fff; }
.leistung :focus-visible { outline-color: #fff; }
.mehr { margin: 8px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.mehr summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.mehr summary::-webkit-details-marker { display: none; }
.mehr summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; background: #000; color: #fff; font-size: 14px; line-height: 1; flex: none; }
.mehr[open] summary::before { content: "−"; }
.mehr-inhalt { padding: 8px 0 12px; }
.mehr-inhalt h4 { font-size: 15px; font-weight: 700; margin: 0 0 1em; }
.videos-titel { text-align: center; padding-top: 12px; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 12px; }
.videos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; background: #000; }
.video figcaption { font-size: 14px; margin-top: 6px; }
@media (max-width: 760px) {
  .leistung { padding: 16px 12px 6px; }
  .leistung-raster { grid-template-columns: 1fr; }
  .leistung-text { padding-right: 0; }
}

/* ---------- Unser Service ---------- */
.service-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 50px; padding: 40px max(16px, calc((100% - var(--breite)) / 2 + 50px)); }
.service-band-1 { background: var(--service-1); padding-top: 60px; }
.service-band-2 { background: var(--service-2); }
.service-band-3 { background: var(--service-3); }
.service-icon { display: flex; justify-content: center; align-items: flex-start; color: #fff; }
.service-icon .icon { width: 120px; height: 120px; }
.service-band-1 .service-icon .icon { transform: scaleY(-1); }
.service-band-2 .service-icon .icon, .service-band-3 .service-icon .icon { transform: scaleX(-1); }
.service-text h3 { font-size: 22px; padding-bottom: 10px; margin-top: 10px; border-bottom: 1px solid rgba(51, 51, 51, .5); }
.service-text h3:not(:first-child) { margin-top: 1.6em; }
.service-text ul { margin: 0 0 1em; }
@media (max-width: 760px) {
  .service-band { grid-template-columns: 1fr; padding: 32px 16px; }
  .service-icon .icon { width: 72px; height: 72px; }
}

/* ---------- Bildband (bisher Parallax) ---------- */
/* Höhe im Seitenverhältnis des Fotos (1400 × 487 = 34,79 vw), damit nichts abgeschnitten wird. Nur auf sehr schmalen Bildschirmen (unter ca. 575 px)
   greift die Mindesthöhe, dann werden die Seiten beschnitten, der Ausschnitt bleibt beim Kopf (30 % von links, oben bündig). */
.bildband { box-sizing: content-box; height: max(200px, 34.79vw); background: #2a7fc0 url("../img/gruender-werkstatt-ausbeul-lampe-1400.webp") 30% 0 / cover no-repeat; border-bottom: 50px solid var(--titel-band-2); }

/* ---------- Über uns ---------- */
.ueberuns .abschnitt-titel { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; }
.ueberuns-innen { max-width: 900px; margin: 0 auto; padding: 35px 16px; }
.ueberuns-logo { margin: 0 auto 24px; width: 395px; }
.ueberuns h3 { font-size: 20px; }
.ueberuns-foto { margin: 40px 0; }
.ueberuns-foto img { box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .4); }
.ueberuns-motto { text-align: center; font-size: 25px; font-weight: 600; margin: 32px 0; }

/* ---------- Coaching ---------- */
.coaching .abschnitt-titel { background: var(--titel-band-2); }
.coaching .abschnitt-titel::after { border-top-color: var(--titel-band-2); }
.coaching-karten { list-style: none; margin: 0 auto; padding: 44px 16px 40px; max-width: 1540px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 60px; }
.coaching-karten li { border: 1px dashed #7da9e6; padding: 28px 14px 20px; font-size: 15px; }
.coaching-icon { display: block; width: 96px; height: 96px; margin: 0 auto 24px; color: #a3c6fe; }   /* eigene Zeichnungen, dekorativ (aria-hidden), Quelle: quellen/icons/ */
.coaching-karten h3 { font-size: 18px; }
@media (max-width: 1100px) { .coaching-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .coaching-karten li { padding-top: 20px; } }
@media (max-width: 600px) { .coaching-karten { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt { padding: 60px 16px 50px;
  /* bisher bg-tunnel.jpg als Parallax; hell überlagert, damit Beschriftungen sicher lesbar bleiben */
  background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)), #fff url("../img/hintergrund-sportwagen-bewegung-1038.webp") left top / cover no-repeat; }
.kontaktformular, .kontakt-alternative { max-width: 580px; margin: 0 auto; }
.formular-hinweis, .feld-hinweis { font-size: 14px; }
.feld { margin-bottom: 16px; }
.feld label { display: block; font-size: 15px; margin-bottom: 2px; }
.feld input[type="text"], .feld input[type="email"], .feld textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--rand-feld); border-radius: 0; background: #fff; color: var(--text); font: inherit; }
.feld input[type="file"] { font: inherit; font-size: 15px; max-width: 100%; }
.feld-hinweis { margin: 4px 0 0; }
.feld :focus-visible { outline: 3px solid var(--dunkelblau); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld-check { display: flex; align-items: flex-start; gap: 10px; }
.feld-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--dunkelblau); }
.feld-check label { display: inline; font-size: 14px; margin: 0; }
.senden { min-height: 44px; padding: 10px 24px; border: 1px solid #3d8fbf; border-radius: 2px; background: linear-gradient(#7cc0e6, #5aabd6); color: #0a2235; font: inherit; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.senden:hover { background: #5aabd6; }
.kontakt-alternative { margin-top: 28px; }

/* ---------- Rechtliche Seiten ---------- */
.seite-inhalt { max-width: 900px; margin: 0 auto; padding: 40px 16px 60px; }
.seite-inhalt h1 { font-size: 28px; text-transform: uppercase; }
.seite-inhalt h2 { font-size: 21px; margin-top: 1.8em; }
.seite-inhalt h3 { font-size: 17px; margin-top: 1.4em; }
.seite-inhalt .hinweis-entwurf { border-left: 4px solid #f3c969; padding: 8px 12px; background: #fff8e6; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--fuss); border-top: 5px solid var(--fuss); }
.fuss-spalten { max-width: var(--breite-box); margin: 0 auto; padding: 36px 16px 20px; display: grid; grid-template-columns: 1fr minmax(0, 220px) 1fr; gap: 24px 40px; align-items: start; }
.site-footer h2 { font-size: 20px; text-transform: uppercase; margin-bottom: 1em; }
.fuss-firma { font-size: 20px; font-weight: 600; margin-top: 1.4em; }
.site-footer address { font-style: normal; }
.fuss-hotline img { width: 100%; max-width: 220px; margin: 0 auto; }
.fuss-direkt { justify-self: end; }
.fuss-direkt > p { margin-top: 0; font-size: 17px; line-height: 1.7; }
.fuss-social { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.fuss-social a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px; border: 2px solid var(--dunkelblau); border-radius: 4px; background: #fff; font-size: 19px; font-weight: 600; text-decoration: none; }
.fuss-social a:hover { background: #eef5ff; }
.fuss-social small { font-size: 14px; font-weight: 400; }
.fuss-social .icon { width: 28px; height: 28px; }
.fuss-leiste { border-top: 1px solid var(--fuss-linie); padding: 16px; text-align: center; font-size: 14px; color: #4a4848; }
.fuss-leiste ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.fuss-leiste p { margin: 0; }
.nach-oben { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; place-items: center; width: 44px; height: 44px; background: #333; color: #fff; border-radius: 4px 4px 0 0; }
.nach-oben .icon { width: 16px; height: 16px; }
.nach-oben:focus-visible { outline-color: var(--dunkelblau); }
.bildnachweis { background: var(--fuss); color: #4a4848; text-align: center; }
@media (max-width: 760px) {
  .fuss-spalten { grid-template-columns: 1fr; }
  .fuss-direkt { justify-self: start; }
  .fuss-hotline { order: 3; }
  .fuss-hotline img { margin: 0; }
}
.service-band-3 { color: #111; }   /* #333 auf #498fff wäre nur 4,2:1 */
.bildnachweis p { margin: 0; }

/* ---------- Nachbesserungen Sichtvergleich ---------- */
h1, h2, h3, h4 { hyphens: manual; }
.folie img { object-position: 50% 45%; }
.folie .folie-bild-2 { object-position: 50% 30%; }
@media (max-width: 700px) { .folie .folie-bild-2 { object-position: 72% 30%; } .folie .folie-bild-3 { object-position: 60% 50%; } }
@media (max-width: 960px) { .bildband { background-image: url("../img/gruender-werkstatt-ausbeul-lampe-960.webp"); } }
@media (max-width: 700px) {
  .buehne-text h1 { font-size: 18px; }
  .buehne-text h1 br { display: none; }
  .leistung h3 { font-size: 16px; }
}
/* „Nach oben“: ohne JS am Ende des Fußes, mit JS fest unten rechts und erst nach dem Scrollen sichtbar */
.nach-oben { position: static; margin: 0 auto 12px; }
.js .nach-oben { position: fixed; margin: 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.js .nach-oben.is-sichtbar { opacity: 1; visibility: visible; transition: opacity .2s; }
