/* ==========================================================================
   Sportwagenservice Ingo Laging · Demo Okt 2026
   Leitmotiv „Boxentafel & Startnummer 80“: Ingo Laging hat Kundenautos in der
   Ferrari Challenge betreut, auf dem 458 Challenge (#80) klebt sein Logo.
   Boxentafeln (schwarze Tafel, weiße Steckschilder) tragen Hero, Menü,
   Marken-Dialog und Stellen. Marken = Startnummernfelder. Lebenslauf =
   Zeitenmonitor. Galerie = Boxengasse mit Rolltoren.
   ========================================================================== */

:root {
  --rot: #bc1e2c;          /* Logo-Rot, 1:1 aus logo.png gemessen */
  --rot-tief: #8f1520;
  --rot-hell: #ff8087;     /* Rot als Schrift auf Asphalt */
  --asphalt: #151517;
  --asphalt-2: #1d1d20;
  --tafel: #0b0b0c;
  --platte: #f5f3ee;       /* Steckschild / Startnummernfeld */
  --boden: #e4e1da;        /* Boxengassen-Boden, hell */
  --boden-2: #d6d2c9;
  --tinte: #141416;
  --text-hell: #4a4a50;    /* Fließtext auf hellem Boden */
  --text-dunkel: #c8c6c1;  /* Fließtext auf Asphalt */
  --gruen: #3fcf7c;        /* Zeitenmonitor: persönliche Bestzeit */
  --gelb: #f1c84b;         /* Zeitenmonitor: Sektor */
  --alu: #9a9da2;

  --display: 'Kanit', 'Arial Narrow', sans-serif;
  --text: 'Instrument Sans', 'Segoe UI', sans-serif;
  --rand: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --korn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--boden);
  color: var(--tinte);
  font: 400 17px/1.6 var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }

/* Korn auf Asphalt- und Bodenflächen */
.korn { position: relative; isolation: isolate; }
.korn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--korn); opacity: .22; mix-blend-mode: multiply;
}
.dunkel.korn::before { mix-blend-mode: screen; opacity: .07; }

/* ---------- Boxentafel (Kernelement) ---------- */
.tafel {
  --g: clamp(2.4rem, 11vw, 4.6rem);
  position: relative;
  display: inline-flex; flex-direction: column; gap: .32rem;
  padding: .7rem;
  background: var(--tafel);
  border-radius: 5px;
  box-shadow:
    0 0 0 5px #7d8085, 0 0 0 7px #4d5054,
    inset 0 0 0 1px #222,
    0 24px 50px -10px rgba(0,0,0,.55);
}
.tafel::after { /* Stiel, an dem die Tafel über die Boxenmauer gehalten wird */
  content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 120px;
  margin-left: -7px; margin-top: 7px; z-index: -1;
  background: linear-gradient(90deg, #6d7075, #c9cbcf 40%, #7d8085);
  border-radius: 0 0 4px 4px;
}
.reihe { display: flex; gap: .22rem; font: 800 var(--g)/1 var(--display); text-transform: uppercase; }
.reihe > span, .reihe:not(:has(span)) {
  display: inline-grid; place-items: center;
  min-width: .74em; padding: .06em .1em .02em;
  background: var(--platte); color: var(--tafel);
  border-radius: 3px;
  box-shadow: inset 0 -.08em 0 rgba(0,0,0,.14), inset 0 .04em 0 #fff;
}
.reihe--rot > span, .reihe--rot:not(:has(span)) { background: var(--rot); color: #fff; box-shadow: inset 0 -.08em 0 rgba(0,0,0,.25); }
.reihe > span.luecke { background: none; box-shadow: none; min-width: .3em; }

@keyframes einstecken {
  from { transform: translateY(-.6em) scale(.92); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.tafel.an .reihe > span, .schild.an .reihe > span { animation: einstecken .38s cubic-bezier(.2,.9,.3,1.25) both; animation-delay: calc(var(--r, 0) * 260ms + var(--i, 0) * 70ms + 250ms); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--asphalt); color: #fff;
  border-bottom: 3px solid var(--rot);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marke-logo { display: block; flex: none; }
.marke-logo img { width: 92px; height: 46px; border-radius: 3px; }
.nav-schalter { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  min-height: 44px; padding: 0 .9rem; border-radius: 4px;
  background: var(--platte); color: var(--tafel);
  font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.burger i { width: 18px; height: 2px; background: currentColor; position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .25s; }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.nav-schalter:checked ~ .burger i { background: transparent; }
.nav-schalter:checked ~ .burger i::before { transform: translateY(6px) rotate(45deg); }
.nav-schalter:checked ~ .burger i::after { transform: translateY(-6px) rotate(-45deg); }
.nav-schalter:focus-visible ~ .burger { outline: 3px solid var(--rot-hell); outline-offset: 3px; }

.menue {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; gap: .4rem;
  padding: 1rem var(--rand) 1.4rem;
  background: var(--tafel);
  border-bottom: 6px solid #7d8085;
}
.nav-schalter:checked ~ .menue { display: flex; }
.menue a {
  display: flex; align-items: center; min-height: 48px; padding: .3rem .8rem;
  background: var(--platte); color: var(--tafel); text-decoration: none; border-radius: 3px;
  font: 800 1.45rem/1 var(--display); text-transform: uppercase;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
}
.menue a.tel { background: var(--rot); color: #fff; }
.menue a[aria-current] { background: var(--rot); color: #fff; }

@media (min-width: 960px) {
  .burger { display: none; }
  .menue {
    position: static; display: flex; flex-direction: row; align-items: center; gap: .3rem;
    padding: 0; background: none; border: 0;
  }
  .menue a {
    background: transparent; color: #fff; box-shadow: none; min-height: 44px;
    font-size: 1.05rem; padding: .3rem .7rem;
    transition: background .2s, color .2s, transform .25s cubic-bezier(.2,.9,.3,1.3);
  }
  /* Hover: der Menüpunkt wird zum Steckschild */
  .menue a:hover { background: var(--platte); color: var(--tafel); transform: translateY(2px); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
  .menue a[aria-current] { background: transparent; color: var(--rot-hell); }
  .menue a.tel { margin-left: .6rem; background: var(--rot); color: #fff; }
  .menue a.tel:hover { background: var(--platte); color: var(--tafel); }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 52px;
  padding: .55rem 1.2rem .5rem; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--platte); color: var(--tafel); text-decoration: none;
  font: 800 1.25rem/1 var(--display); text-transform: uppercase;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.16);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .2s, color .2s;
}
.knopf:hover { transform: translateY(-3px) rotate(-1.2deg); }
.knopf--rot { background: var(--rot); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); }
.knopf--rot:hover { background: var(--tafel); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Hero: Livery-Rot + Tafel über der Tür mit der 80 ---------- */
.hero { display: grid; background: var(--asphalt); }
.hero-rot {
  background: var(--rot); color: #fff;
  padding: clamp(2.4rem, 8vw, 5rem) var(--rand) clamp(2.6rem, 7vw, 4.5rem);
  position: relative; overflow: hidden;
}
.hero-rot .swoosh { position: absolute; right: -6%; bottom: 8%; width: min(560px, 110%); opacity: .2; pointer-events: none; }
.hero h1 {
  font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.35rem, 9.6vw, 5.2rem); line-height: .95;
  max-width: 11.5ch; position: relative;
}
.hero-text { position: relative; max-width: 34rem; margin-top: 1.4rem; font-size: 1.08rem; color: #fff; }
.hero-text strong { font-weight: 700; }
.hero-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.hero-cta .knopf { font-size: 1.45rem; }
.hero-cta .textlink { color: #fff; }

.hero-bild { position: relative; min-height: 420px; overflow: hidden; background: var(--asphalt); }
.hero-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.hero-bild .tafel { position: absolute; z-index: 2; right: var(--rand); top: 1.6rem; transform: rotate(4deg); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: calc(100vh - 67px); min-height: calc(100svh - 67px); }
  .hero-rot { display: flex; flex-direction: column; justify-content: center; padding-left: max(var(--rand), calc((100vw - var(--max)) / 2 + var(--rand))); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); margin-right: -8%; z-index: 1; }
  .hero-bild { min-height: 0; }
  .hero-bild .tafel { --g: clamp(3rem, 5vw, 5rem); top: auto; bottom: 22%; right: auto; left: 2%; transform: rotate(-5deg); }
}

/* ---------- Sektionen allgemein ---------- */
.sek { padding-block: clamp(3.5rem, 10vw, 7rem); }
.sek h2 { font-size: clamp(2.1rem, 7.4vw, 4rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
.dunkel { background: var(--asphalt); color: #fff; }
.dunkel p { color: var(--text-dunkel); }
.einleitung { max-width: 36rem; margin-top: 1rem; color: var(--text-hell); font-size: 1.08rem; }
.dunkel .einleitung { color: var(--text-dunkel); }

/* ---------- Marken: Startnummernfelder ---------- */
.marken-kopf { display: grid; gap: 1rem; margin-bottom: 2.2rem; }
@media (min-width: 900px) { .marken-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } .marken-kopf .einleitung { margin: 0; } }
.felder { display: flex; flex-wrap: wrap; gap: .8rem; }
.feld {
  position: relative; flex: 1 1 calc(50% - .8rem); min-height: 96px;
  display: flex; flex-direction: column; justify-content: space-between; gap: .6rem;
  padding: .9rem 1rem .8rem; text-align: left; cursor: pointer;
  background: var(--platte); color: var(--tafel);
  border: 3px solid var(--tafel); border-radius: 10px;
  box-shadow: 0 6px 0 -2px var(--boden-2), 0 10px 22px -12px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s;
}
.feld b { font: italic 800 clamp(1.45rem, 6vw, 2.2rem)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.feld small { font-size: .9rem; font-weight: 600; color: var(--text-hell); display: flex; align-items: center; gap: .4rem; }
.feld small::before { content: ""; width: 1.6rem; height: 4px; background: var(--rot); transition: width .3s; }
.feld:hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 10px 0 -2px var(--rot), 0 18px 28px -14px rgba(0,0,0,.5); }
.feld:hover small::before { width: 3rem; }
.feld--gross { flex-basis: 100%; min-height: 128px; }
.feld--gross b { font-size: clamp(2.2rem, 10vw, 3.6rem); }
.feld--anders { background: transparent; border-style: dashed; box-shadow: none; }
@media (min-width: 700px) {
  .feld { flex: 1 1 200px; }
  .feld--gross { flex: 1 1 300px; min-height: 150px; }
}

/* ---------- Leistungen ---------- */
.leist { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .leist { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; } .leist-links { position: sticky; top: 100px; align-self: start; } }
.leist-foto { margin-top: 2rem; border-radius: 6px; overflow: hidden; }
.leist-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.original {
  margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 6px;
  background: var(--platte); color: var(--tafel);
  border-left: 8px solid var(--rot);
}
.original p { color: var(--tinte); margin: 0; font-weight: 600; }
.original b { font: italic 800 1.35rem/1.1 var(--display); text-transform: uppercase; display: block; margin-bottom: .3rem; }
.dienste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.dienste li {
  position: relative; padding: 1.2rem 1.2rem 1.1rem 1.6rem;
  background: var(--asphalt-2); border-radius: 6px;
  opacity: 0; transform: translateX(28px);
  transition: opacity .5s, transform .6s cubic-bezier(.2,.9,.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.dienste.an li, .keine-js .dienste li { opacity: 1; transform: none; }
.dienste li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--rot); border-radius: 6px 0 0 6px; transition: width .3s; }
.dienste li:hover::before { width: 12px; }
.dienste h3 { font: italic 700 clamp(1.45rem, 5.4vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; color: #fff; }
.dienste p { margin: .45rem 0 0; }

/* ---------- Ingo Laging: Zeitenmonitor ---------- */
.meister { display: grid; gap: 2.4rem; }
@media (min-width: 960px) { .meister { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; } }
.portraet { display: flex; gap: 1.1rem; align-items: flex-end; margin-top: 1.8rem; }
.portraet img { width: 132px; aspect-ratio: 240 / 250; object-fit: cover; border-radius: 6px; border: 4px solid var(--platte); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); flex: none; }
.portraet blockquote { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--tinte); }
.portraet cite { display: block; margin-top: .5rem; font-style: normal; font-weight: 700; color: var(--rot-tief); }

.monitor {
  background: #08090a; color: #f2f2f2; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 6px #2a2b2e, 0 0 0 7px #000, 0 30px 50px -24px rgba(0,0,0,.6);
  font-variant-numeric: tabular-nums;
}
.monitor-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--rot); color: #fff; font: 800 1.05rem/1 var(--display); text-transform: uppercase; }
.monitor-kopf .live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--text); font-weight: 700; font-size: .85rem; }
.monitor-kopf .live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.monitor ol { list-style: none; margin: 0; padding: 0; }
.monitor li { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .3rem 1rem; padding: .95rem 1rem; border-top: 1px solid #1f2023; }
.monitor li:nth-child(odd) { background: #0e0f11; }
.monitor .zeit { font: 700 1.05rem/1.3 var(--text); color: var(--gelb); }
.monitor .zeit.pb { color: var(--gruen); }
.monitor h3 { font: 700 1.12rem/1.25 var(--text); color: #fff; }
.monitor p { margin: .25rem 0 0; color: #bdbdbd; font-size: .95rem; }
.monitor li.jetzt { background: #2a0b0f; box-shadow: inset 5px 0 0 var(--rot); }
.monitor li.jetzt .zeit { color: var(--rot-hell); }
.monitor-fuss { padding: .7rem 1rem; display: flex; gap: .9rem; flex-wrap: wrap; font-size: .85rem; color: #bdbdbd; border-top: 1px solid #1f2023; }
.monitor-fuss span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .4rem; vertical-align: -1px; background: var(--gelb); }
.monitor-fuss .g::before { background: var(--gruen); }
.monitor-fuss .r::before { background: var(--rot-hell); }

/* ---------- Boxengasse (Galerie) ---------- */
.gasse-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.8rem; }
.gasse-pfeile { display: none; gap: .5rem; }
.gasse-pfeile button { width: 52px; height: 52px; border: 0; border-radius: 4px; background: var(--platte); color: var(--tafel); cursor: pointer; display: grid; place-items: center; }
.gasse-pfeile button:hover { background: var(--rot); color: #fff; }
.gasse-pfeile svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .gasse-pfeile { display: flex; } }
.gasse {
  list-style: none; margin: 0; padding: 0 var(--rand) 1.2rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand);
  scrollbar-width: thin; scrollbar-color: var(--rot) #2a2a2e;
}
@media (min-width: 700px) { .gasse { grid-auto-columns: 440px; } }
@media (min-width: 1240px) { .gasse { padding-inline: calc((100vw - var(--max)) / 2 + var(--rand)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--rand)); } }
.gasse li { scroll-snap-align: start; }
.garage {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: #000;
  border-top: 14px solid #2e2f33;
}
.garage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.garage:hover img { transform: scale(1.05); }
.garage::after { /* Rolltor, fährt hoch, wenn die Box in Sicht kommt */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, #8a8d92 0 9px, #6c6f74 9px 11px, #9ea1a6 11px 13px);
  transform: translateY(0); transition: transform .9s cubic-bezier(.6,0,.2,1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.gasse.an .garage::after, .keine-js .garage::after { transform: translateY(-101%); }

/* ---------- Bewertung + Karriere ---------- */
.duo { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1.6rem; } }
.wertung {
  background: var(--platte); border: 3px solid var(--tafel); border-radius: 10px;
  padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .4rem;
}
.wertung .zahl { font: italic 800 clamp(4.4rem, 20vw, 7rem)/.9 var(--display); }
.wertung .sterne { color: var(--rot); font-size: 1.6rem; letter-spacing: .1em; }
.wertung p { margin: 0; color: var(--text-hell); font-weight: 600; }
.job-band {
  position: relative; overflow: hidden; border-radius: 10px;
  background: var(--rot); color: #fff; padding: 1.6rem 1.4rem;
  display: grid; gap: 1.2rem; align-content: space-between;
}
.job-band h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
.job-band p { color: #fff; margin: .7rem 0 0; max-width: 32rem; }
.job-band .tafel { --g: 2.1rem; justify-self: start; transform: rotate(-3deg); margin-bottom: 1rem; }
.job-band .tafel::after { height: 50px; }
@media (min-width: 700px) { .job-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 2.2rem; } .job-band .tafel { justify-self: end; } }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: 2.6rem; }
@media (min-width: 960px) { .kontakt { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }
.tel-gross { display: inline-block; margin-top: 1.4rem; font: italic 800 clamp(1.9rem, 8.4vw, 3rem)/1 var(--display); color: var(--rot-tief); text-decoration: none; }
.tel-gross:hover { color: var(--tinte); }
.adresse { margin-top: 1.4rem; display: grid; gap: .9rem; }
.adresse div { display: grid; gap: .1rem; }
.adresse dt { font-weight: 700; font-size: .9rem; color: var(--text-hell); }
.adresse dd { margin: 0; font-weight: 600; }
.adresse a { font-weight: 700; }
.osm { margin-top: 1.8rem; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--asphalt); border: 3px solid var(--tafel); }
.osm iframe { width: 100%; height: 100%; border: 0; display: block; }
.osm-laden {
  width: 100%; height: 100%; border: 0; cursor: pointer; padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .7rem; text-align: left;
  background: var(--asphalt) radial-gradient(circle at 70% 40%, #2a2a2e 0, transparent 60%); color: #fff;
}
.osm-laden strong { display: inline-block; padding: .45rem .9rem .35rem; background: var(--platte); color: var(--tafel); border-radius: 3px; font: 800 1.4rem/1 var(--display); text-transform: uppercase; }
.osm-laden:hover strong { background: var(--rot); color: #fff; }
.osm-laden span { font-size: .92rem; color: var(--text-dunkel); max-width: 26rem; }

.formular {
  background: var(--platte); border: 3px solid var(--tafel); border-radius: 10px;
  padding: 1.4rem 1.1rem; display: grid; gap: 1rem;
}
.formular h3 { font: italic 800 1.8rem/1 var(--display); text-transform: uppercase; }
.formular .zwei { display: grid; gap: 1rem; }
@media (min-width: 600px) { .formular { padding: 2rem; } .formular .zwei { grid-template-columns: 1fr 1fr; } }
.formular label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.formular input, .formular select, .formular textarea {
  width: 100%; font: 500 16px/1.4 var(--text); color: var(--tinte);
  padding: .75rem .85rem; min-height: 48px;
  background: #fff; border: 2px solid #8b8a86; border-radius: 4px;
}
.formular textarea { min-height: 130px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 3px rgba(188,30,44,.2); }
.formular .knopf { justify-self: start; }
.hinweis { font-size: .9rem; color: var(--text-hell); margin: 0; }
.hinweis a { font-weight: 700; color: var(--rot-tief); }
.feld-blink { animation: feldblink 1.2s ease 2; }
@keyframes feldblink { 50% { border-color: var(--rot); box-shadow: 0 0 0 5px rgba(188,30,44,.25); } }

/* ---------- Fuß ---------- */
.fuss { background: var(--tafel); color: #fff; padding: 2.6rem 0 2rem; border-top: 6px solid var(--rot); }
.fuss .wrap { display: grid; gap: 1.6rem; }
.fuss img { width: 120px; height: 60px; border-radius: 3px; }
.fuss p { margin: 0; color: var(--text-dunkel); font-size: .95rem; }
.fuss p a { color: #fff; font-weight: 700; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--rot); }
.fuss-links a:hover { color: var(--rot-hell); }
@media (min-width: 800px) { .fuss .wrap { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.4rem; } }

/* ---------- Dialog „Box, Box“ ---------- */
.box-dlg {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.box-dlg::backdrop { background: rgba(10,10,12,.72); backdrop-filter: blur(3px); }
.box-dlg .tafel { --g: 2.1rem; display: flex; width: 100%; padding: 1rem; }
.box-dlg .tafel::after { display: none; }
.box-dlg .dlg-text { padding: .9rem .2rem .3rem; }
.box-dlg .dlg-text p { color: #e4e2dd; margin: 0 0 1.1rem; }
.box-dlg .dlg-akt { display: flex; flex-wrap: wrap; gap: .7rem; }
.box-dlg .knopf { font-size: 1.15rem; }
.dlg-zu {
  position: absolute; top: -18px; right: 6px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--tafel); background: var(--platte); color: var(--tafel); cursor: pointer; display: grid; place-items: center;
}
.dlg-zu svg { width: 18px; height: 18px; }
.box-dlg[open] .tafel { animation: hochhalten .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes hochhalten { from { transform: translateY(40px) rotate(-6deg); opacity: 0; } }

/* ---------- Lightbox (nur Zähler) ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(8,8,10,.95); }
.lb.offen { display: grid; place-items: center; }
.lb img { max-width: calc(100vw - 24px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 3px; }
.lb button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 4px; background: var(--platte); color: var(--tafel); cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: var(--rot); color: #fff; }
.lb button svg { width: 22px; height: 22px; }
.lb [data-lb-zu] { top: 14px; right: 14px; }
.lb [data-lb-zurueck] { bottom: 18px; left: 16px; }
.lb [data-lb-vor] { bottom: 18px; right: 16px; }
.lb-zahl { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); padding: .3rem .7rem .2rem; border-radius: 3px; background: var(--platte); color: var(--tafel); font: 800 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .lb [data-lb-zurueck], .lb [data-lb-vor] { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* ---------- Karriere ---------- */
.vorteile { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .vorteile { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .vorteile li:first-child { grid-row: span 2; } }
.vorteile li { background: var(--asphalt-2); border-radius: 6px; padding: 1.3rem 1.3rem 1.1rem; border-top: 5px solid var(--rot); }
.vorteile h3 { font: italic 700 clamp(1.4rem, 5vw, 1.9rem)/1.05 var(--display); text-transform: uppercase; color: #fff; }
.vorteile p { margin: .5rem 0 0; }
.vorteile li:first-child img { margin-top: 1rem; border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.stellen { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
@media (min-width: 900px) { .stellen { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } .stelle:nth-child(2) { margin-top: 2.4rem; } .stelle:nth-child(3) { margin-top: 4.8rem; } }
.stelle { background: var(--tafel); color: #fff; border-radius: 6px; padding: .8rem; box-shadow: 0 0 0 5px #7d8085, 0 0 0 7px #4d5054, 0 20px 36px -18px rgba(0,0,0,.5); }
.stelle .reihe { --g: 1.7rem; font-size: var(--g); flex-wrap: wrap; }
.stelle-inhalt { padding: .9rem .3rem .3rem; }
.stelle h3 { font: 700 1.3rem/1.2 var(--text); color: #fff; }
.stelle p { color: var(--text-dunkel); margin: .5rem 0 1rem; }
.stelle .knopf { font-size: 1.1rem; min-height: 48px; }
.demo-hinweis { margin-top: 2rem; font-size: .92rem; color: var(--text-hell); font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.recht { max-width: 780px; margin-inline: auto; padding: clamp(2.5rem, 8vw, 4.5rem) var(--rand); }
.recht h1 { font: italic 800 clamp(2.3rem, 8vw, 3.4rem)/1 var(--display); text-transform: uppercase; margin-bottom: 2rem; }
.recht h2 { font: 700 1.2rem/1.3 var(--text); margin: 2.2rem 0 .6rem; }
.recht h3 { font: 700 1.05rem/1.3 var(--text); margin: 1.6rem 0 .5rem; }
.recht p, .recht li { color: #33333a; }
.recht a { color: var(--rot-tief); font-weight: 600; overflow-wrap: anywhere; }
.recht ul { padding-left: 1.2rem; }
.kopf .zurueck { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; background: var(--platte); color: var(--tafel); border-radius: 4px; text-decoration: none; font: 800 1rem/1 var(--display); text-transform: uppercase; }

/* ---------- Page-Load gestaffelt ---------- */
@keyframes hoch { from { opacity: 0; transform: translateY(18px); } }
.auf { animation: hoch .7s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dienste li { opacity: 1; transform: none; }
  .garage::after { transform: translateY(-101%); }
  html { scroll-behavior: auto; }
}

/* Tap-Ziele ≥ 44 px für Textlinks */
.textlink, .tel-gross, .adresse a, .fuss p a { display: inline-flex; align-items: center; min-height: 44px; }

/* Nachschliff nach Prüfung */
.feld b { overflow-wrap: normal; hyphens: manual; }
.feld--gross b { font-size: min(2.8rem, 9.4vw); }
.formular { align-self: start; align-content: start; }
.wertung { justify-content: space-between; }
@media (min-width: 900px) {
  .hero-bild img { object-position: 8% 50%; }
  .hero-bild .tafel { left: auto; right: 7%; bottom: 12%; transform: rotate(5deg); }
}
.reihe > span { min-width: .86em; }
.vorteile li:first-child img { aspect-ratio: 16 / 9; }
.recht h1 { overflow-wrap: break-word; hyphens: manual; }
.sek, .hero { overflow-x: clip; }
html { overflow-x: clip; }
