/* =====================================================================================
   Vorlage 18 Kfz-Werkstatt (neu) · Gestaltung
   Aufbau: Grundlagen · Kopf · Knöpfe · Prüflampe · Hebebühne (klebend, ruhige Fassung) · Abschnitte · Fuß
   Bewegt wird nur transform und opacity. Die Linse ist eine CSS-Maske, die der Maus folgt.
   ===================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--schrift); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.symbol-ablage { position: absolute; width: 0; height: 0; overflow: hidden; }
.behaelter { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-klein); background: var(--text); color: #fff; }
.sprung:focus { top: 12px; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marke { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.marke::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: var(--accent); }
.marke-hell { color: var(--graphit-text); }
.leise { color: var(--muted); }
.klein { font-size: 15px; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.032em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.026em; font-weight: 780; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.012em; font-weight: 740; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); background: rgba(242, 243, 244, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(21, 24, 27, .07); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 820; font-size: 21px; letter-spacing: -.02em; }
.logo-zeichen { width: 32px; height: 32px; }
.menue { display: flex; gap: 24px; margin-left: 10px; }
.menue a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 520; padding: 6px 0; border-bottom: 3px solid transparent; }
.menue a:hover { border-bottom-color: var(--accent); }
.kopf-tel { margin-left: auto; color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 720; font-size: 17px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.knopf:hover { background: var(--accent-tief); }
.knopf:active { transform: translateY(1px); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; }
.knopf-leise { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.knopf-leise:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--text); }
.knopf-dunkel { background: var(--graphit); color: var(--graphit-text); }
.knopf-dunkel:hover { background: #2a3138; }

/* =====================================================================================
   1 · Erster Bildschirm mit Prüflampe
   Zwei SVG-Ebenen: Lack oben, Technik darunter. Die Technik ist mit einer kreisrunden CSS-Maske
   ausgeschnitten. Ohne JavaScript steht die Linse fest am Vorderrad, drei Schilder sind zu sehen.
   ===================================================================================== */
.held { padding: 44px 0 0; }
.held-kopf { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 64px; align-items: end; margin-bottom: 34px; }
.held h1 { max-width: 19ch; }
.einleitung { font-size: 20px; color: var(--muted); max-width: 30rem; }
.held-knoepfe { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.linse { position: relative; aspect-ratio: 1000 / 370; border-radius: var(--radius-gross); overflow: hidden; background: #e3e7ea; isolation: isolate; }
.linse-flaeche { position: absolute; inset: 0; touch-action: pan-y; cursor: crosshair; --lx: 78%; --ly: 64.9%; --lr: 150px; }
.linse-flaeche > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.linse-technik {
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 calc(100% - 1.5px), transparent 100%);
          mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 calc(100% - 1.5px), transparent 100%);
}
.linse-ring { position: absolute; left: var(--lx); top: var(--ly); width: calc(2 * var(--lr)); height: calc(2 * var(--lr)); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 0 0 8px rgba(255, 194, 26, .5), 0 22px 50px rgba(0, 0, 0, .28); }
html.linse-js .linse-ring { left: 0; top: 0; will-change: transform; }

.schilder { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.schild { position: absolute; left: calc((var(--x) - 100) / 10 * 1%); top: calc((var(--y) - 90) / 3.7 * 1%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--text); font-size: 14px; font-weight: 660; white-space: nowrap; box-shadow: 0 6px 18px rgba(10, 14, 18, .25); opacity: 0; transition: opacity .25s; }
.schild::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--farbe); box-shadow: 0 0 0 3px color-mix(in srgb, var(--farbe) 30%, transparent); }
.schild.re { transform: translate(-100%, -50%); }
.schild.li { transform: translate(0, -50%); }
.schild.nah { opacity: 1; }
.f-bremse { --farbe: var(--p-bremse); }
.f-fahrwerk { --farbe: var(--p-fahrwerk); }
.f-lenkung { --farbe: var(--p-lenkung); }
.f-licht { --farbe: var(--p-licht); }
.f-reifen { --farbe: #8b97a3; }
.f-auspuff { --farbe: var(--p-auspuff); }
.f-oel { --farbe: var(--p-oel); }
.f-rost { --farbe: var(--p-rost); }

/* Bewusster Bruch: das Prüfstellen-Schild klebt schräg auf dem Bild */
.pruefstelle { position: absolute; left: 22px; top: 22px; z-index: 3; display: grid; padding: 10px 16px 11px; border-radius: 14px; background: var(--accent); color: var(--on-accent); line-height: 1.25; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(21, 24, 27, .18); pointer-events: none; }
.pruefstelle b { font-size: 16px; font-weight: 800; }
.pruefstelle span { font-size: 14px; font-weight: 560; }
.linse-hinweis { position: absolute; right: 18px; top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 640; color: var(--text); pointer-events: none; }
.linse-hinweis::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--text); box-shadow: 0 0 0 3px var(--accent); }
html:not(.js) .linse-hinweis { display: none; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

.fakten { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border-top: 2px solid var(--text); }
.fakten li { padding: 18px 20px 0 0; }
.fakten li + li { padding-left: 20px; border-left: 1px solid var(--border); }
.fakten b { display: block; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fakten span { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; }

/* =====================================================================================
   2 · Auf der Hebebühne
   Ruhige Fassung (ohne JavaScript, „starr", „Bewegung reduzieren", niedriger Bildschirm):
   alle Schritte untereinander, Prüfliste abgehakt, Auto steht mit Plakette auf der Bühne.
   Mit html.buehne-an: Bühne klebt, js/hebebuehne.js bewegt Auto und Bühne mit transform.
   ===================================================================================== */
.pruefung { padding: var(--abstand) 0 0; }
.pruef-kopf { margin-bottom: 36px; }
.pruef-kopf h2 { max-width: 22ch; }
.pruef-raster { display: grid; grid-template-columns: minmax(300px, 390px) 1fr; gap: 48px; align-items: start; }
.halle-rahmen { border-radius: var(--radius-gross); overflow: hidden; background: #e4e7ea; }
.halle { display: block; width: 100%; height: auto; }
.schritt-leiste { display: none; }
.schritte li { padding: 0 0 22px 0; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.schritt-nr { margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.schritte h3 { margin-bottom: 8px; }
.schritte p:not(.schritt-nr) { color: var(--muted); font-size: 17px; }

.pruefliste { padding: 20px 22px 18px; border-radius: var(--radius); background: var(--graphit); color: var(--graphit-text); }
.pruefliste-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.pruefliste-kopf b { font-size: 17px; font-weight: 760; }
.pruefliste-kopf span { font-size: 13px; color: var(--graphit-leise); letter-spacing: .06em; text-transform: uppercase; }
.pruef-punkte { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pruef-punkte li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.haken { flex: none; width: 24px; height: 24px; padding: 2px; border-radius: 7px; background: var(--accent); }
.haken path { fill: none; stroke: var(--graphit); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pruefliste-ergebnis { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: var(--accent); font-weight: 650; }

/* Stage: Prüflampen und Plakette */
.halle .spot { opacity: 0; transition: opacity .45s; }
.halle[data-schritt="2"] .s2, .halle[data-schritt="3"] .s3, .halle[data-schritt="4"] .s4, .halle[data-schritt="5"] .s5 { opacity: 1; }
/* Röntgenbild der Halle nur rechnen, solange eine Lampe an sein kann (nicht beim Fahren, Heben, Senken) */
.halle:not([data-schritt]) .spot-lage, .halle[data-schritt="1"] .spot-lage, .halle[data-schritt="6"] .spot-lage { display: none; }
@media (min-width: 900px) { html:not(.buehne-an) .halle-rahmen { position: sticky; top: calc(var(--kopf) + 24px); } }

/* ----- klebende Fassung ----- */
html.buehne-an .pruef-spur { height: 560vh; }
html.buehne-an .pruef-buehne { position: sticky; top: var(--kopf); height: calc(100vh - var(--kopf)); height: calc(100svh - var(--kopf)); display: flex; align-items: center; }
html.buehne-an .pruef-raster { align-items: center; }
html.buehne-an .halle-rahmen { max-height: calc(100svh - var(--kopf) - 48px); }
html.buehne-an .halle { max-height: calc(100svh - var(--kopf) - 48px); }
html.buehne-an .schritt-leiste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 22px; }
html.buehne-an .schritt-leiste li { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
html.buehne-an .schritt-leiste li::before { content: ""; display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
html.buehne-an .schritt-leiste li.ist-da::before { transform: none; }
html.buehne-an .schritte { display: grid; margin-bottom: 22px; }
html.buehne-an .schritte li { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
html.buehne-an .schritte li.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
html.buehne-an .pruef-punkte li { color: var(--graphit-leise); transition: color .3s; }
html.buehne-an .pruef-punkte .haken { background: var(--graphit-2); box-shadow: inset 0 0 0 1.5px #3a434c; transition: background .3s; }
html.buehne-an .pruef-punkte .haken path { opacity: 0; transform: scale(.4); transform-origin: 10px 11px; transition: opacity .25s, transform .35s cubic-bezier(.2, 1.5, .4, 1); }
html.buehne-an .pruef-punkte li.ok { color: var(--graphit-text); }
html.buehne-an .pruef-punkte li.ok .haken { background: var(--accent); box-shadow: none; }
html.buehne-an .pruef-punkte li.ok .haken path { opacity: 1; transform: none; }
html.buehne-an .pruefliste-ergebnis { opacity: 0; transition: opacity .4s; }
html.buehne-an .pruefliste.fertig .pruefliste-ergebnis { opacity: 1; }
html.buehne-an .plakette-gross { opacity: 0; transform: scale(1.35); transition: opacity .3s, transform .5s cubic-bezier(.2, 1.4, .4, 1); }
html.buehne-an .halle.plakette-an .plakette-gross { opacity: 1; transform: none; }

/* ---------- Abschnittsköpfe ---------- */
.abschnitt-kopf { max-width: 42rem; margin-bottom: 40px; }
.abschnitt-kopf .leise { margin-top: 14px; }

/* ---------- Bildrahmen für Fotos ---------- */
.bild-platzhalter {
  position: relative; display: flex; align-items: flex-end; margin: 0; overflow: hidden;
  aspect-ratio: var(--format, 3 / 2); border-radius: var(--radius);
  background:
    linear-gradient(rgba(21, 24, 27, .055) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(21, 24, 27, .055) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--surface-2);
}
.bild-platzhalter figcaption { margin: 18px; padding: 9px 13px; border-radius: var(--radius-klein); max-width: calc(100% - 36px); background: rgba(255, 255, 255, .95); color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.35; }
.bild-dunkel { background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px, var(--graphit-2); }

/* ---------- 3 · Leistungen ---------- */
.leistungen, .termin, .stimmen, .fragen { padding: var(--abstand) 0 0; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kachel { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border-radius: var(--radius); background: var(--surface); }
.kachel p { color: var(--muted); font-size: 17px; }
.kachel .preis { margin-top: auto; padding-top: 8px; color: var(--text); }
.preis { font-size: 52px; line-height: 1; font-weight: 820; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.preis-klein { font-size: 32px; }
.preis span { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-right: 4px; color: inherit; opacity: .75; }
.kachel-pickerl { grid-row: span 2; background: var(--accent); }
.kachel-pickerl p, .kachel-pickerl li { color: var(--on-accent); }
.kachel-pickerl h3 { font-size: 34px; letter-spacing: -.02em; }
.kachel-pickerl .preis { margin-top: 4px; padding: 0; font-size: 72px; }
.kachel-marke { font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kachel-liste { display: grid; gap: 8px; margin: 14px 0 22px; padding-top: 16px; border-top: 1.5px solid rgba(21, 24, 27, .25); }
.kachel-liste li { position: relative; padding-left: 22px; font-size: 17px; font-weight: 560; }
.kachel-liste li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--on-accent); }
.kachel-pickerl .knopf { margin-top: auto; align-self: flex-start; }
.kachel-service { grid-column: span 2; padding: 0; overflow: hidden; gap: 0; }
.kachel-service .bild-platzhalter { border-radius: 0; }
.kachel-service .kachel-text { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 28px 26px; }
.kachel-service .kachel-text p:not(.preis) { margin-top: 8px; }
.kachel-service .preis { margin: 0; padding: 0; white-space: nowrap; }
.kachel-dunkel { background: var(--graphit); color: var(--graphit-text); }
.kachel-dunkel p { color: var(--graphit-leise); }
.kachel-dunkel .preis { color: var(--accent); }
.kachel-rest { grid-column: span 2; background: var(--surface-2); }

/* ---------- 4 · Termin ---------- */
.termin-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.termin-schritte { margin-top: 34px; display: grid; gap: 4px; counter-reset: t; }
.termin-schritte li { counter-increment: t; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.termin-schritte li::before { content: counter(t); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 800; font-size: 18px; }
.termin-schritte b { font-size: 20px; font-weight: 740; }
.termin-schritte span { color: var(--muted); font-size: 17px; }
.zeiten { padding: 30px; border-radius: var(--radius); background: var(--surface); }
.zeiten h3 { margin-bottom: 12px; }
.zeiten-tabelle { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 16px; }
.zeiten-tabelle th, .zeiten-tabelle td { padding: 11px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.zeiten-tabelle th { font-weight: 600; padding-right: 16px; }
.zeiten-tabelle td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten-tabelle tr.heute th, .zeiten-tabelle tr.heute td { font-weight: 760; }
.zeiten-tabelle tr.heute th::before { content: "Heute"; display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--accent); font-size: 12px; font-weight: 760; vertical-align: 1px; }
.zeiten .knopf { margin-top: 18px; width: 100%; }

/* ---------- 5 · Ersatzauto ---------- */
.ersatz { margin-top: var(--abstand); padding: var(--abstand) 0; background: var(--graphit); color: var(--graphit-text); }
.ersatz-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ersatz .bild-platzhalter figcaption { background: rgba(255, 255, 255, .94); }
.ersatz-text > p:not(.marke) { margin-top: 18px; color: var(--graphit-leise); max-width: 32rem; }
.ersatz-werte { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ersatz-werte div { padding: 16px 16px 14px; border-radius: var(--radius-klein); background: var(--graphit-2); display: flex; flex-direction: column-reverse; gap: 4px; }
.ersatz-werte dt { font-size: 14px; color: var(--graphit-leise); }
.ersatz-werte dd { font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }

/* ---------- 6 · Stimmen ---------- */
.stimmen-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.stimme { padding: 34px 34px 30px; border-radius: var(--radius); background: var(--surface); }
.stimme-gelb { background: var(--accent); }
.stimme blockquote p { font-size: 23px; line-height: 1.38; letter-spacing: -.01em; font-weight: 640; }
.stimme figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.stimme-gelb figcaption { color: var(--on-accent); }
.stimme:not(.stimme-gelb) { margin-top: 48px; }

/* ---------- 7 · Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.fragen-liste details { border-bottom: 1px solid var(--border); }
.fragen-liste summary { cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 19px; list-style: none; position: relative; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::after { content: "+"; position: absolute; right: 4px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); font-size: 22px; font-weight: 500; }
.fragen-liste details[open] summary::after { content: "−"; background: var(--accent); }
.fragen-liste details p { padding: 0 0 22px; color: var(--muted); max-width: 40rem; }

/* ---------- 8 · Kontakt ---------- */
.kontakt { margin-top: var(--abstand); padding: var(--abstand) 0; background: var(--graphit); color: var(--graphit-text); }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.kontakt-text > p:not(.marke) { margin-top: 18px; color: var(--graphit-leise); }
.kontakt address { margin-top: 24px; font-style: normal; line-height: 1.75; }
.kontakt a { color: var(--accent); }
.kontakt a:focus-visible { outline-color: var(--accent); }
.leise-hell { color: var(--graphit-leise); }
.formular { padding: 30px; border-radius: var(--radius); background: var(--surface); color: var(--text); }
.formular a { color: var(--text); }
.feld { margin-bottom: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld label { display: block; margin-bottom: 6px; font-weight: 640; font-size: 15px; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--feldrand); border-radius: var(--radius-klein); background: #fff; color: var(--text); font: inherit; font-size: 17px; }
.feld-haken { display: flex; align-items: center; gap: 12px; }
.feld-haken input { width: 24px; min-height: 24px; height: 24px; margin: 0; accent-color: var(--text); }
.feld-haken label { margin: 0; font-size: 16px; }
.formular .knopf { width: 100%; margin-top: 4px; }
.formular-meldung { margin-top: 12px; font-weight: 650; }
.formular .leise { margin-top: 12px; }

/* ---------- Fuß ---------- */
.fuss { padding: 56px 0 0; background: #0c0f12; color: var(--graphit-leise); font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss address { font-style: normal; }
.fuss a { color: var(--graphit-text); }
.fuss a:focus-visible { outline-color: var(--accent); }
.fuss-logo { color: #fff; font-weight: 820; font-size: 20px; margin-bottom: 6px; }
.fuss-links a { margin-right: 16px; }
.fuss-demo { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #7d8790; }
.fuss-zeile a { color: #9aa4ad; }
.anruf-leiste { display: none; }

/* ---------- Auftritt beim Scrollen (mittel, dynamisch) ---------- */
html.js[data-bewegung="mittel"] [data-auftritt], html.js[data-bewegung="dynamisch"] [data-auftritt] { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.js [data-auftritt].ist-da { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-auftritt] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .schild, .halle .spot { transition: none; }
}

/* ---------- Schmal ---------- */
@media (max-width: 1040px) {
  .menue { display: none; }
}
@media (max-width: 899px) {
  .held-kopf { grid-template-columns: 1fr; gap: 18px; }
  .pruef-raster { grid-template-columns: 1fr; gap: 28px; }
  .halle-rahmen { order: -1; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .kachel-pickerl { grid-row: auto; grid-column: span 2; }
  .kachel-service, .kachel-rest { grid-column: span 2; }
  .termin-raster, .ersatz-raster, .fragen-raster, .kontakt-raster, .stimmen-raster { grid-template-columns: 1fr; gap: 28px; }
  .stimme:not(.stimme-gelb) { margin-top: 0; }
  .fakten { grid-template-columns: 1fr 1fr; }
  .fakten li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fakten li:nth-child(n+3) { padding-top: 16px; }

  /* klebende Fassung am Handy: Bühne oben, Schritt und Prüfliste darunter, alles knapp */
  html.buehne-an .pruef-raster { gap: 14px; align-content: center; }
  html.buehne-an .halle-rahmen { max-height: none; border-radius: var(--radius); }
  html.buehne-an .halle { max-height: 34svh; }
  html.buehne-an .schritt-leiste { margin-bottom: 12px; }
  html.buehne-an .schritte { margin-bottom: 12px; }
  html.buehne-an .schritte h3 { font-size: 20px; margin-bottom: 4px; }
  html.buehne-an .schritte p:not(.schritt-nr) { font-size: 16px; line-height: 1.45; }
  html.buehne-an .pruefliste { padding: 12px 14px; }
  html.buehne-an .pruefliste-kopf { margin-bottom: 8px; }
  html.buehne-an .pruef-punkte { grid-template-columns: repeat(3, 1fr); gap: 6px 8px; }
  html.buehne-an .pruef-punkte li { font-size: 14px; gap: 6px; }
  html.buehne-an .haken { width: 20px; height: 20px; border-radius: 6px; }
  html.buehne-an .pruefliste-ergebnis { margin-top: 8px; padding-top: 8px; font-size: 14px; }
}
@media (max-width: 640px) {
  :root { --kopf: 60px; }
  body { font-size: 17px; padding-bottom: 72px; }
  .kopf-tel { display: none; }
  .kopf .knopf-klein { margin-left: auto; }
  .logo { font-size: 19px; }
  .einleitung { font-size: 18px; }
  .linse { border-radius: var(--radius); margin-inline: -8px; }
  .linse-flaeche { --lr: 70px; }
  .schild { font-size: 12px; padding: 3px 9px 3px 7px; gap: 6px; }
  .schild::before { width: 8px; height: 8px; }
  .linse-hinweis, .pruefstelle { display: none; }
  .kacheln { grid-template-columns: 1fr; }
  .kachel-pickerl, .kachel-service, .kachel-rest { grid-column: auto; }
  .kachel-service .kachel-text { flex-direction: column; align-items: flex-start; }
  .kachel-pickerl .preis { font-size: 60px; }
  .ersatz-werte { grid-template-columns: 1fr; }
  .feld-paar { grid-template-columns: 1fr; gap: 0; }
  .fuss-raster { grid-template-columns: 1fr; }
  .stimme { padding: 26px 24px 24px; }
  .stimme blockquote p { font-size: 20px; }
  .zeiten { padding: 24px 20px; }
  .formular { padding: 22px 18px; }
  .anruf-leiste { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 760; text-decoration: none; box-shadow: 0 10px 30px rgba(11, 14, 18, .3); }
}
