/* AUTOFIT Sven Mainzer – Pkw- & Reisemobil-Werkstatt Hürth
   Layout: hell wie das Hallenblech (Trapezprofil-Raster), anthrazitfarbene Bänder, Rot nur für Aktionen.
   Farben & Schriften aus dem bestehenden Auftritt übernommen (#CC0000, #101010, Oswald, Helvetica). */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-wght.woff") format("woff");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #cc0000;
  --red-hover: #a80000;
  --ink: #101010;
  --steel: #e8ebee;
  --steel-line: rgba(16, 24, 32, 0.045);
  --paper: #f5f6f7;
  --surface: #ffffff;
  --text: #17191c;
  --muted: #565c63;
  --rule: #d5d9dd;
  --on-dark: #f2f3f4;
  --on-dark-muted: #b4b9bf;
  --dark-band: #141516;
  --dark-rule: #2b2e32;
  --focus: #1f6feb;

  --f-display: "Oswald", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;

  --s-xs: 0.8125rem;
  --s-sm: 0.9375rem;
  --s-md: 1.0625rem;
  --s-lg: 1.25rem;
  --s-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --s-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --s-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);

  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --steel: #1b1d20;
    --steel-line: rgba(255, 255, 255, 0.04);
    --paper: #121315;
    --surface: #1e2023;
    --text: #e9ebed;
    --muted: #a5abb2;
    --rule: #33373c;
    --dark-band: #0b0b0c;
    --red-hover: #e01b1b;
    --focus: #6aa8ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --steel: #1b1d20;
  --steel-line: rgba(255, 255, 255, 0.04);
  --paper: #121315;
  --surface: #1e2023;
  --text: #e9ebed;
  --muted: #a5abb2;
  --rule: #33373c;
  --dark-band: #0b0b0c;
  --red-hover: #e01b1b;
  --focus: #6aa8ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--s-md)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--s-2xl); }
h3 { font-size: var(--s-lg); letter-spacing: 0.02em; }
p { margin: 0; }
.prose { display: grid; gap: 1em; max-width: 64ch; }
.prose p, .lead { color: var(--muted); }
.lead { font-size: var(--s-lg); line-height: 1.55; max-width: 58ch; }
.eyebrow {
  font-family: var(--f-display);
  font-size: var(--s-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.dark .eyebrow, .hero .eyebrow { color: #ff4a4a; }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(64px, 9vw, 120px); }
.band--steel {
  background-color: var(--steel);
  background-image: repeating-linear-gradient(90deg, transparent 0 139px, var(--steel-line) 139px 141px);
}
.band--tight { padding-block: clamp(40px, 6vw, 72px); }
.dark { background: var(--dark-band); color: var(--on-dark); }
.dark .prose p, .dark .lead, .dark .muted { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-display); font-weight: 500; font-size: var(--s-sm);
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.band:not(.dark) .btn--ghost:hover { background: rgba(0,0,0,.05); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-family: var(--f-display); font-size: var(--s-sm); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.textlink:hover { color: var(--red); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  color: #fff; transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid, .site-header--solid { background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header { background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { max-width: 1320px; margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 12px; text-decoration: none;
  font-family: var(--f-display); font-size: 0.875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.88); white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.header-call { flex: none; }
.header-call .num { display: none; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; height: 42px; padding: 0 14px; gap: 8px; cursor: pointer; font-family: var(--f-display); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1400px) { .header-call .num { display: inline; } }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-call { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    background: var(--ink); padding: 8px var(--gutter-r) 24px var(--gutter-l);
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .nav-cta { margin-top: 16px; }
  .nav .nav-cta a { border: 0; display: flex; padding: 0 22px; color: #fff; box-shadow: none; }
  .nav.is-open { box-shadow: 0 24px 40px rgba(0,0,0,.45); }
}
@media (min-width: 1101px) { .nav .nav-cta { display: none; } }

/* ---------- Scrollytelling hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; }
.scrolly { height: 300vh; height: 300svh; }
.scrolly__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__backdrop {
  position: absolute; inset: -40px; background-size: cover; background-position: center top;
  filter: blur(24px) brightness(.8); transform: scale(1.1);
}
.stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, calc(100vh * 16 / 9)); width: max(100vw, calc(100svh * 16 / 9));
  aspect-ratio: 16 / 9;
  transform: translate(var(--fx, -50%), -50%) scale(var(--cam, 1));
  transform-origin: 46% 60%;
  will-change: transform;
}
.stage > img, .stage .layer { position: absolute; }
.stage__plate { inset: 0; width: 100%; height: 100%; }
.gateclip { position: absolute; inset: 0; clip-path: polygon(19.8% 0, 100% 0, 100% 100%, 0 100%, 0 74.6%, 19.8% 74.6%); }
.layer { will-change: transform, opacity; }
.layer--camper { left: 23.382%; top: 53.247%; width: 35.491%; transform-origin: 18% 22%; z-index: 3; }
.layer--car { left: 51.305%; top: 50%; width: 16.91%; z-index: 2; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 32%, rgba(10,10,10,0) 58%),
    linear-gradient(0deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 30%);
}
.hero__content {
  position: absolute; z-index: 5; left: 0; right: 0; top: 0; bottom: 0;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter-r) 40px var(--gutter-l);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__inner { max-width: 1200px; width: 100%; margin: 0 auto; display: grid; justify-items: end; }
.hero__copy { width: min(100%, 580px); display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: var(--s-3xl); font-weight: 600; line-height: .98; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 span { display: block; font-size: .42em; letter-spacing: .06em; font-weight: 500; margin-top: .45em; color: rgba(255,255,255,.92); }
.hero__sub { font-size: var(--s-lg); max-width: 34ch; color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero__steps {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 28px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.steps { max-width: 1200px; margin: 0 auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li {
  min-width: 0; padding: 14px 16px 12px; background: rgba(12,12,12,.62); backdrop-filter: blur(6px);
  border-top: 3px solid rgba(255,255,255,.22); transition: border-color .35s, background-color .35s, opacity .35s; opacity: .62;
}
.steps li.is-active { border-top-color: var(--red); background: rgba(12,12,12,.8); opacity: 1; }
.steps b { display: block; font-family: var(--f-display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
.steps span { display: block; font-size: .85rem; color: rgba(255,255,255,.78); line-height: 1.4; margin-top: 2px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

@media (max-width: 760px) {
  .stage { width: 200vw; left: 0; top: auto; bottom: 0; transform: translate(var(--fx, -60vw), 0); }
  .hero__content { justify-content: flex-start; }
  .hero__inner { justify-items: start; }
  .hero__sub { font-size: var(--s-md); }
  .hero__steps { display: none; }
  .scroll-cue { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 42%, rgba(10,10,10,0) 64%), linear-gradient(0deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 30%); }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: none; }
  .steps li.is-active { display: block; }
  .hero h1 { max-width: none; }
}
/* Ohne JS / reduzierte Bewegung: fertiges Bild, kein Sticky-Scroll */
.no-js .scrolly, .reduced .scrolly { height: auto; }
.no-js .scrolly__sticky, .reduced .scrolly__sticky { position: relative; min-height: 100svh; height: auto; }
.no-js .steps li, .reduced .steps li { opacity: 1; display: block; }

/* Page hero for subpages */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(56px, 10vw, 120px)) var(--gutter-r) clamp(48px, 7vw, 88px) var(--gutter-l);
  display: grid; gap: 18px;
}
.page-hero h1 { font-size: var(--s-3xl); max-width: 16ch; }
.page-hero .lead { color: rgba(255,255,255,.88); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.75), rgba(10,10,10,.15)); }
.page-hero__inner { z-index: 1; }
.crumbs { font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Intro + hours */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.intro__text { display: grid; gap: 18px; align-content: start; }
.intro__img { min-width: 0; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hours { background: var(--red); color: #fff; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.hours > * { min-width: 0; }
.hours h2, .hours h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); hyphens: auto; -webkit-hyphens: auto; }
.hours dl { margin: 0; display: grid; gap: 0; }
.hours dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.28); font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; }
.hours .open-now { font-size: var(--s-sm); display: flex; align-items: center; gap: 8px; }
.hours .open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .5; }
.hours .open-now.is-open::before { background: #7dff9c; opacity: 1; }
@media (max-width: 960px) { .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .intro__text { grid-column: 1 / -1; } }
@media (max-width: 600px) { .intro { grid-template-columns: 1fr; } .intro__img img { aspect-ratio: 4 / 3; } }

/* Two service worlds */
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.world { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); text-decoration: none; color: inherit; border-bottom: 4px solid var(--red); }
.world__img { overflow: hidden; aspect-ratio: 16 / 10; }
.world__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.world:hover .world__img img { transform: scale(1.04); }
.world__body { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; }
.world h3 { font-size: var(--s-xl); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.ticks li { position: relative; padding-left: 20px; font-size: var(--s-sm); color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.dark .ticks li { color: var(--on-dark-muted); }
@media (max-width: 760px) { .worlds { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ticks { grid-template-columns: 1fr; } }

/* DEKRA band */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__media { position: relative; min-width: 0; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__text { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.plakette { position: absolute; right: -14px; bottom: -28px; width: clamp(120px, 16vw, 168px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
@media (max-width: 860px) { .plakette { right: 8px; bottom: -22px; } }
.plakette-note { font-size: var(--s-sm); color: var(--muted); border-left: 3px solid var(--red); padding-left: 14px; }
.dark .plakette-note { color: var(--on-dark-muted); }

/* Facts / why */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.fact { padding: 26px 22px 26px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--rule); }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--rule); }
.fact h3 { font-size: 1.15rem; }
.fact p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; padding-left: 0; } }

/* Quick answers (GEO) */
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.answer { background: var(--surface); padding: 24px; display: grid; gap: 8px; align-content: start; }
.answer dt { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; font-weight: 500; }
.answer dd { margin: 0; color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 900px) { .answers { grid-template-columns: 1fr; } }

/* Retrofit band */
.retrofit { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.retrofit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.retrofit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.1) 100%); z-index: 1; }
.retrofit .wrap { position: relative; z-index: 2; display: grid; gap: 18px; }
.retrofit h2 { max-width: 14ch; }
.retrofit p { max-width: 50ch; color: rgba(255,255,255,.88); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid rgba(255,255,255,.4); padding: 6px 12px; font-size: var(--s-sm); }

/* Service detail grid (subpages) */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.service { background: var(--surface); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 12px; align-content: start; border-top: 3px solid var(--ink); }
.dark .service { background: #1c1e21; border-top-color: var(--red); }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--muted); font-size: var(--s-sm); }
.dark .service p { color: var(--on-dark-muted); }
.service .ref { font-size: var(--s-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-family: var(--f-display); }
.dark .service .ref { color: #ff5252; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
@media (max-width: 680px) { .checklist { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--red), var(--red)) center / 100% 3px no-repeat, linear-gradient(var(--red), var(--red)) center / 3px 100% no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--muted); max-width: 70ch; display: grid; gap: .8em; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* Visit / contact */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit address { font-style: normal; font-size: var(--s-lg); line-height: 1.5; }
.contact-lines { display: grid; gap: 14px; }
.contact-line { display: flex; align-items: baseline; gap: 14px; }
.contact-line .k { flex: none; width: 112px; font-family: var(--f-display); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-line a { text-decoration: none; font-size: var(--s-lg); }
.contact-line a:hover { color: #ff5252; }
.band:not(.dark) .contact-line .k { color: var(--muted); }
.band:not(.dark) .contact-line a:hover { color: var(--red); }
.area { color: var(--on-dark-muted); font-size: var(--s-sm); }
.mapcard { position: relative; display: block; text-decoration: none; overflow: hidden; }
.mapcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mapcard span { position: absolute; left: 16px; bottom: 16px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--s-sm); font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--rule); border-bottom: 2px solid var(--muted); padding: 12px 14px; border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--s-sm); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: var(--s-sm); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.job { background: var(--surface); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; border-left: 4px solid var(--red); }
.job h3 { font-size: var(--s-xl); }
@media (max-width: 760px) { .jobs { grid-template-columns: 1fr; } }

/* Legal */
.legal { max-width: 760px; display: grid; gap: 1.1em; }
.legal h2 { font-size: var(--s-xl); margin-top: 1.2em; }
.legal h3 { font-size: 1.1rem; margin-top: .6em; }
.legal p, .legal li { color: var(--muted); }
.legal .todo { background: #fff3c4; color: #5a4300; padding: 2px 6px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 64px 32px; font-size: var(--s-sm); }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font-size: .95rem; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-bottom { max-width: var(--wrap); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--dark-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 18px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dark-rule); }
.social a:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-hours { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); box-shadow: 0 -1px 0 rgba(255,255,255,.08);
    transform: translateY(110%); transition: transform .3s;
  }
  .callbar.is-visible { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fff; text-decoration: none; font-family: var(--f-display); letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
  .callbar a:first-child { background: var(--red); }
  .callbar svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: calc(32px + 56px + env(safe-area-inset-bottom, 0px)); }
}

/* Reveal: Inhalte sind sichtbar, Animation nur als Zusatz */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Version 3: ruhige Startseite, Übersicht, Einzugsgebiet ---------- */
.hero-static { position: relative; min-height: min(86vh, 860px); min-height: min(86svh, 860px); display: grid; color: #fff; background: var(--ink); overflow: hidden; }
.hero-static__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 60%; }
.hero-static__shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 60%), linear-gradient(0deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 30%); }
.hero-static__content { position: relative; z-index: 1; display: flex; align-items: center; padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px) var(--gutter-r) 48px var(--gutter-l); }
.hero-static__copy { max-width: 1200px; width: 100%; margin: 0 auto; display: grid; justify-items: end; }
.hero-static__copy > * { width: min(100%, 560px); }
.hero-static__copy { gap: 20px; }
.hero-static h1 { font-size: var(--s-3xl); line-height: .98; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-static h1 span { display: block; font-size: .42em; letter-spacing: .06em; font-weight: 500; margin-top: .45em; color: rgba(255,255,255,.92); }
.hero-static__sub { font-size: var(--s-lg); color: rgba(255,255,255,.9); }
@media (max-width: 760px) {
  .hero-static { display: block; min-height: 0; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .hero-static__img { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .hero-static__shade { display: none; }
  .hero-static__content { padding: 28px var(--gutter-r) 36px var(--gutter-l); }
  .hero-static__copy { justify-items: start; }
}
.keyfacts { background: var(--surface); border-bottom: 1px solid var(--rule); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.keyfacts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.keyfacts li { padding: 22px 20px; border-top: 4px solid var(--red); display: grid; gap: 2px; min-width: 0; }
.keyfacts li + li { border-left: 1px solid var(--rule); }
.keyfacts b { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.keyfacts span { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 860px) { .keyfacts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .keyfacts li:nth-child(3) { border-left: 0; } }

.overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.ov-card { background: var(--surface); display: grid; grid-template-rows: auto 1fr; border-bottom: 4px solid var(--red); min-width: 0; }
.band--steel .ov-card { background: var(--surface); }
.ov-card > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ov-card__body { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 16px; align-content: start; }
.ov-card h3 { font-size: var(--s-xl); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.svc-list a::after { content: "›"; color: var(--red); font-size: 1.3em; line-height: 1; }
.svc-list b { font-weight: 700; }
.svc-list span { color: var(--muted); font-size: var(--s-sm); margin-left: auto; text-align: right; }
.svc-list a:hover b { color: var(--red); }
@media (max-width: 760px) { .overview { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .svc-list span { display: none; } }

.area-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.area-card { background: var(--surface); padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; border-top: 4px solid var(--red); min-width: 0; transition: box-shadow .2s; }
.area-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.area-card h3 { font-size: var(--s-xl); }
.area-card p { color: var(--muted); font-size: var(--s-sm); }
.area-card__sub { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-size: var(--s-xs); color: var(--red); }
.area-cards:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .area-cards, .area-cards:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .area-cards, .area-cards:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; } }

.plakette-fig { margin: 0; display: grid; justify-items: center; gap: 22px; }
.plakette-fig .plakette { position: static; width: min(300px, 70vw); filter: drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.plakette-fig figcaption { max-width: 440px; color: var(--on-dark-muted); font-size: var(--s-sm); border-left: 3px solid var(--red); padding-left: 14px; }
.plakette-fig figcaption b { color: #fff; }
.plakette--corner { width: clamp(120px, 15vw, 170px) !important; }

.infobox { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; border-top: 4px solid var(--red); }
.infobox h3 { font-size: var(--s-xl); }
.infobox .contact-line .k { color: var(--muted); }
.infobox .contact-line span, .infobox .contact-line a { font-size: var(--s-md); }
.infobox .muted { color: var(--muted); font-size: var(--s-sm); }
.checklist--one { grid-template-columns: 1fr; }
.overview--plain .ov-card { grid-template-rows: auto; }
.site-footer .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.hero-static .eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero-static .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 10px; }

/* ---------- Version 3.1: weniger Schwarz, Grauverläufe ---------- */
:root {
  --g1: #f5f6f8; --g2: #e2e6ea;           /* heller Grauverlauf für Bänder */
  --card1: #ffffff; --card2: #f5f6f8;     /* Karten mit leichtem Verlauf */
  --graphite1: #4a4d53; --graphite2: #2e3034;
  --shadow: 0 1px 2px rgba(20,24,28,.06), 0 10px 28px rgba(20,24,28,.07);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --g1: #1f2124; --g2: #15161a; --card1: #26292d; --card2: #1f2125; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3); }
}
:root[data-theme="dark"] { --g1: #1f2124; --g2: #15161a; --card1: #26292d; --card2: #1f2125; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3); }

/* Menüleiste: Graphit statt Schwarz */
.site-header { background: linear-gradient(180deg, var(--graphite1) 0%, var(--graphite2) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.08); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.18); }
body::before { background: var(--graphite1); }
@media (max-width: 1100px) { .nav { background: linear-gradient(180deg, var(--graphite2), #25272a); } }

/* Bänder: helle Verläufe */
.band { background: linear-gradient(180deg, var(--paper) 0%, var(--g1) 100%); }
.band--steel {
  background-color: var(--g1);
  background-image: repeating-linear-gradient(90deg, transparent 0 139px, var(--steel-line) 139px 141px), linear-gradient(180deg, var(--g1) 0%, var(--g2) 100%);
}
.dark {
  background: linear-gradient(160deg, var(--g1) 0%, var(--g2) 100%);
  color: var(--text);
}
.dark .prose p, .dark .lead, .dark .muted, .dark .area, .dark .ticks li { color: var(--muted); }
.dark .eyebrow { color: var(--red); }
.dark .btn--ghost { color: var(--text); }
.dark .btn--ghost:hover { background: rgba(0,0,0,.05); }
.dark .service { background: linear-gradient(180deg, var(--card1), var(--card2)); border-top-color: var(--red); box-shadow: var(--shadow); }
.dark .service p { color: var(--muted); }
.dark .service .ref { color: var(--red); }
.dark .contact-line .k { color: var(--muted); }
.dark .contact-line a:hover { color: var(--red); }
.plakette-fig figcaption { color: var(--muted); background: linear-gradient(180deg, var(--card1), var(--card2)); padding: 14px 16px 14px 18px; box-shadow: var(--shadow); }
.plakette-fig figcaption b { color: var(--text); }
.plakette-fig .plakette { filter: drop-shadow(0 16px 26px rgba(40,30,20,.28)); }

/* Karten mit leichtem Verlauf und Schatten */
.ov-card, .area-card, .answer, .service, .infobox, .job, .world {
  background: linear-gradient(180deg, var(--card1) 0%, var(--card2) 100%);
  box-shadow: var(--shadow);
}
.band--steel .ov-card, .band--steel .area-card, .band--steel .answer, .band--steel .service, .band--steel .infobox { background: linear-gradient(180deg, var(--card1) 0%, var(--card2) 100%); }
.keyfacts { background: linear-gradient(180deg, var(--card1), var(--g1)); }

/* Rote Öffnungszeiten mit Tiefe */
.hours { background: linear-gradient(160deg, #d81a1a 0%, #b00000 100%); box-shadow: 0 14px 34px rgba(176,0,0,.25); }

/* Unterseiten-Kopf heller */
.page-hero { background: var(--graphite2); }
.page-hero img { opacity: .9; }
.page-hero::after { background: linear-gradient(90deg, rgba(30,32,36,.78) 0%, rgba(30,32,36,.35) 55%, rgba(30,32,36,.05) 100%); }
.page-hero--plain { background: linear-gradient(160deg, var(--graphite1), var(--graphite2)); }

/* Footer: hellgrau, Logo auf Graphit-Plakette */
.site-footer { background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 100%); color: var(--muted); border-top: 4px solid var(--red); }
.site-footer h2 { color: var(--text); }
.site-footer a:hover { color: var(--red); }
.footer-logo { display: inline-block; background: linear-gradient(180deg, var(--graphite1), var(--graphite2)); padding: 10px 14px; margin-bottom: 16px; }
.footer-logo img { margin-bottom: 0; height: 40px; }
.footer-bottom { border-top-color: var(--rule); }
.social a { border-color: var(--rule); color: var(--text); background: var(--card1); }
.social a:hover { border-color: var(--red); color: var(--red); }
.callbar { background: linear-gradient(180deg, var(--graphite1), var(--graphite2)); }

/* ---------- Scroll-Effekte (dezent; nur mit JS, ohne „Bewegung reduzieren“) ---------- */
.progress-line { position: fixed; z-index: 70; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .fx { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .fx.is-in { opacity: 1; transform: none; }
  .js .fx-zoom { overflow: hidden; }
  .js .fx-zoom img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
  .js .fx-zoom.is-in img { transform: none; }
  .js .fx-spin .plakette { transform: rotate(-150deg) scale(.82); opacity: 0; transition: transform 1.3s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
  .js .fx-spin.is-in .plakette { transform: none; opacity: 1; }
  .hero-static__img, .page-hero img { will-change: transform; }
}
.hero-static { background: linear-gradient(180deg, var(--graphite1), var(--graphite2)); }

/* ---------- Version 4 ---------- */
/* Starttext weiter nach rechts */
@media (min-width: 761px) {
  .hero-static__content { padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .hero-static__copy { max-width: 1440px; }
  .hero-static__copy > * { width: min(100%, 540px); }
  .hero-static__shade { background: linear-gradient(270deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 30%, rgba(10,10,10,0) 52%), linear-gradient(0deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 30%); }
}
@media (min-width: 1100px) { .hero-static__content { padding-right: clamp(32px, 4vw, 72px); } }

/* Nachrüstung (Flyer) */
.nachruest { background: linear-gradient(180deg, var(--card1) 0%, var(--g1) 100%); border-top: 4px solid var(--red); }
.nr-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.nr-head .section-head { margin-bottom: 0; }
.nr-cta { display: grid; gap: 12px; justify-items: start; background: linear-gradient(160deg, #d81a1a 0%, #b00000 100%); color: #fff; padding: 24px; box-shadow: 0 14px 34px rgba(176,0,0,.22); }
.nr-cta b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.35rem; font-weight: 600; }
.nr-cta .btn--red { background: #fff; color: var(--red); }
.nr-cta .btn--red:hover { background: #f1f1f1; }
.nr-cta .textlink { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
.nr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.nr-card { position: relative; background: linear-gradient(180deg, var(--card1), var(--card2)); box-shadow: var(--shadow); padding: 26px 24px 24px; display: grid; gap: 8px; align-content: start; border-top: 4px solid var(--ink); min-width: 0; }
.nr-card--more { border-top-color: var(--red); }
.nr-num { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--red); letter-spacing: -.01em; }
.nr-card h3 { font-size: 1.3rem; }
.nr-card p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 900px) { .nr-head { grid-template-columns: 1fr; } .nr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nr-grid { grid-template-columns: 1fr; } }

/* Unfallschaden */
.unfall-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.unfall-steps li { background: linear-gradient(180deg, var(--card1), var(--card2)); box-shadow: var(--shadow); padding: 18px 20px; border-left: 4px solid var(--red); display: grid; gap: 2px; }
.unfall-steps b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.unfall-steps span { color: var(--muted); font-size: var(--s-sm); }

/* weitere Orte – bewusst dezent */
.also-towns { margin-top: 22px; color: var(--muted); font-size: var(--s-sm); max-width: 70ch; }
.also-towns a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.also-towns a:hover { color: var(--red); }

/* Ersatz für frühere Inline-Styles (nötig für strenge Content-Security-Policy) */
.split__media img.ar-45 { aspect-ratio: 4 / 5; }
.section-head--sub { margin: 56px 0 18px; }
.split--top { align-items: start; }
