/* ==========================================================================
   Auto Gradl GmbH – statische Website
   Design-System: Zinc-Neutrals + Akzent Gelb (#f6c900, aus der Altseite)
   ========================================================================== */

:root {
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --surface: #ffffff;
  --fg: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --accent: #f6c900;
  --accent-strong: #d9b100;
  --accent-ink: #18181b;
  --accent-soft: #fdf6d3;
  --on-dark: #fafafa;

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 1px 2px rgb(24 24 27 / 0.06), 0 1px 3px rgb(24 24 27 / 0.08);
  --shadow: 0 4px 14px rgb(24 24 27 / 0.08), 0 2px 4px rgb(24 24 27 / 0.06);
  --shadow-lg: 0 18px 40px rgb(24 24 27 / 0.16), 0 4px 10px rgb(24 24 27 / 0.08);
  --ease: 0.3s ease;

  --maxw: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
  /* Einheitliche Hero-Höhe – Maß ist die Startseite */
  --hero-h: clamp(460px, 64svh, 640px);
  --tile-w: 148px;
  --tile-h: 168px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --bg-alt: #18181b;
    --surface: #1c1c20;
    --fg: #f4f4f5;
    --muted: #a1a1aa;
    --border: #2e2e33;
    --accent-soft: #2a2410;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 4px 14px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 18px 40px rgb(0 0 0 / 0.55);
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
strong { font-weight: 650; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.text-link { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color var(--ease), text-decoration-color var(--ease); }
.text-link:hover { text-decoration-color: currentColor; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }

/* ---------- Hinweisleiste ---------- */
.notice-bar { background: var(--accent); color: var(--accent-ink); font-size: .95rem; font-weight: 600; }
.notice-bar[hidden] { display: none; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-block: .55rem; text-align: center; }
.notice-bar button { flex: none; border: 0; background: rgb(24 24 27 / .1); color: inherit; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; transition: background var(--ease); }
.notice-bar button:hover { background: rgb(24 24 27 / .2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; position: relative; padding-right: calc(var(--tile-w) + 1.25rem); }

.logo-tile {
  position: absolute; right: 0; top: 0; z-index: 2;
  width: var(--tile-w); height: var(--tile-h);
  display: grid; place-items: center;
  background: #fff; color: #18181b;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px 16px;
  transition: width var(--ease), height var(--ease), padding var(--ease), box-shadow var(--ease);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile:hover { box-shadow: 0 22px 48px rgb(24 24 27 / .22); }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a, .main-nav .sub-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem; border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--fg); text-decoration: none;
  background: none; border: 0; cursor: pointer; transition: background var(--ease), color var(--ease);
}
.main-nav a:hover, .main-nav .sub-toggle:hover, .main-nav a[aria-current="page"], .main-nav .has-sub.is-current > .sub-toggle { background: var(--bg-alt); }
.main-nav a[aria-current="page"], .main-nav .has-sub.is-current > .sub-toggle { box-shadow: inset 0 -3px 0 var(--accent); }
.sub-toggle svg { transition: transform var(--ease); }
.has-sub { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: .4rem; position: absolute; left: 0; top: calc(100% + .4rem); min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.submenu a { display: flex; width: 100%; }
.has-sub.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1061px) {
  .has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
}
.nav-icon { width: 20px; height: 20px; }

.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border-radius: 999px;
  border: 1px solid var(--border); font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--fg);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.lang-switch:hover { background: var(--bg-alt); border-color: var(--muted); }
.lang-switch svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); }
.icon-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--fg); transition: background var(--ease); }
.icon-link:hover { background: var(--bg-alt); }

.menu-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  width: 46px; height: 46px; border-radius: var(--radius-sm); cursor: pointer; place-items: center; transition: background var(--ease);
}
.menu-toggle:hover { background: var(--bg-alt); }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--ease), background var(--ease); }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  :root { --header-h: 68px; --tile-w: 104px; --tile-h: 118px; }
  .header-inner { gap: .5rem; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menu-toggle { display: inline-grid; }
  .float-tab { font-size: .8rem; padding: .85rem .5rem; gap: .4rem; }
  .header-tools { margin-left: auto; }
  .header-tools .icon-link { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 5;
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem var(--gutter) 2.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .main-nav a, .main-nav .sub-toggle { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: .9rem 1rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .25rem 1rem; display: none; }
  .has-sub.open > .submenu { display: block; }
  .submenu a { font-size: 1.05rem; font-weight: 500; }
  .main-nav .nav-instagram { display: flex; }
  .main-nav > ul > li:first-child a { justify-content: flex-start; gap: .75rem; }
  .main-nav > ul > li:first-child .visually-hidden { position: static !important; width: auto; height: auto; clip: auto; overflow: visible; }
  /* geöffnetes Menü liegt über der Logo-Kachel, Kachel schrumpft */
  .menu-open .logo-tile { width: 56px; height: var(--header-h); padding: 8px; border-radius: 0; box-shadow: none; }
  html.menu-open { overflow: hidden; }
}
@media (min-width: 1061px) { .main-nav .nav-instagram { display: none; } }
@media (max-width: 420px) {
  .lang-switch span { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: var(--hero-h); display: flex; align-items: center; overflow: hidden; }
.hero--photo { color: var(--on-dark); background: #18181b; }
.hero--photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 15 17 / .86) 0%, rgb(15 15 17 / .62) 42%, rgb(15 15 17 / .08) 78%); }
.hero--photo .container { position: relative; z-index: 1; padding-block: 4rem; }
.hero--photo .eyebrow { color: #e4e4e7; }
.hero-copy { max-width: 600px; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #e4e4e7; margin-bottom: 1.75rem; }

/* geteilter Hero, Variante „luftig“ */
.hero--split {
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 55%, var(--bg)) 0%, var(--bg) 100%);
}
.hero--split::before {
  content: ""; position: absolute; width: min(56vw, 640px); aspect-ratio: 1; left: -8%; top: 50%; transform: translateY(-50%);
  background: url("../images/monogramm.svg") center / contain no-repeat; opacity: .045; pointer-events: none;
}
@media (prefers-color-scheme: dark) { .hero--split::before { filter: invert(1); opacity: .06; } }
.hero--split .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 3.5rem; }
.hero--split .hero-copy { padding-left: 1.25rem; border-left: 4px solid var(--accent); }
.hero--split .lead { color: var(--muted); font-size: 1.15rem; margin: 0; max-width: 46ch; }
.hero-card { margin: 0; justify-self: end; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-alt); }
.hero-card { width: min(100%, 560px); }
.hero-card img { width: 100%; height: auto; max-height: calc(var(--hero-h) - 7rem); object-fit: cover; }
.hero--split.no-photo .container { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .hero--split { min-height: auto; }
  .hero--split .container { grid-template-columns: 1fr; padding-block: 2.75rem 3rem; padding-top: calc(var(--tile-h) - var(--header-h) + 1.75rem); }
  .hero-card { justify-self: stretch; width: 100%; }
  .hero-card img { max-height: 360px; }
  .hero--photo .container { padding-top: calc(var(--tile-h) - var(--header-h) + 2rem); }
}
@media (min-width: 861px) {
  .hero--split .hero-copy { padding-top: 1rem; }
}

/* ---------- Info-Leiste ---------- */
.infobar { background: #18181b; color: #fafafa; border-bottom: 1px solid var(--border); }
.infobar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #3f3f46; }
.infobar .item { background: #18181b; padding: 1.15rem 1.25rem; display: flex; gap: .9rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.infobar .item svg { flex: none; color: var(--accent); margin-top: 2px; }
.infobar strong { display: block; color: #fafafa; }
.infobar span { color: #a1a1aa; }
@media (max-width: 1060px) { .infobar .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .infobar .container { grid-template-columns: 1fr; } }
.infobar .item-link { text-decoration: none; color: inherit; transition: background var(--ease); }
.infobar .item-link:hover { background: #27272a; }
.infobar .item-link strong { color: var(--accent); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
main > .hero ~ section.section:nth-of-type(even) { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.prose .checklist li { padding-left: 0; margin: 0; }
.prose .checklist li::before { content: none; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

.media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption { padding: .75rem 1rem; font-size: .9rem; color: var(--muted); background: var(--surface); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); }
.card .card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; }
.card-link { margin-top: auto; padding-top: .75rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link svg { transition: transform var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card .meta { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Leistungs-Kacheln */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.feature {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.feature:hover { border-color: color-mix(in srgb, var(--accent) 70%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ico { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--fg); }
.feature h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }
.feature a { text-decoration: none; }
.feature a::after { content: ""; position: absolute; inset: 0; }
.feature:has(a) { position: relative; }

/* Liste mit Häkchen */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li svg { flex: none; margin-top: .25rem; color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .checklist li svg { color: var(--accent); } }

/* Zeitleiste */
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.timeline .year { display: block; font-weight: 750; font-size: .9rem; color: var(--muted); }

/* Hinweis-Box */
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 1.1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }

/* Kontakt / Öffnungszeiten */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.info-card h2, .info-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.info-card h2 svg, .info-card h3 svg { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .info-card h2 svg, .info-card h3 svg { color: var(--accent); } }
.info-card p:last-child { margin-bottom: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th { text-align: left; font-weight: 600; padding: .35rem 1rem .35rem 0; vertical-align: top; white-space: nowrap; }
.hours td { padding: .35rem 0; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--border); }

/* Karte (statisch, Link zur Routenplanung) */
.map-block { margin: 0; }
.map-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.map-link img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .6s ease; }
.map-link:hover img { transform: scale(1.02); }
.map-chip { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; padding: .5rem .85rem; border-radius: 999px; box-shadow: var(--shadow); }
.map-credit { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.map-credit a { color: inherit; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery button { padding: 0; border: 0; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: block; width: 100%; aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm); transition: box-shadow var(--ease), transform var(--ease); }
.gallery button:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.04); }
.zoom { cursor: zoom-in; display: block; padding: 0; border: 0; background: none; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; overscroll-behavior: contain; color: #fff; }
.lightbox::backdrop { background: rgb(10 10 12 / .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: grid; gap: .6rem; justify-items: center; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { font-size: .95rem; text-align: center; color: #e4e4e7; }
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--ease); }
.lb-btn:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Rechtstexte */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.legal .highlight { border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.25rem 1.4rem; background: var(--accent-soft); margin: 1.5rem 0; }
mark { background: #fde047; color: #18181b; padding: 0 .2em; border-radius: 3px; }

/* Artikel */
.article-meta { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.news-list { display: grid; gap: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #111113; color: #d4d4d8; padding-block: 3.5rem 1.5rem; font-size: .97rem; }
.site-footer a { color: #fafafa; text-decoration: none; transition: color var(--ease); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; width: 92px; background: #fff; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #a1a1aa; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #27272a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .88rem; color: #a1a1aa; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ---------- Floating-Kontakt (rechts mittig) ---------- */
.float-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; align-items: center; }
.float-tab {
  writing-mode: vertical-rl; transform: rotate(180deg);
  border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 800; font-size: .92rem; letter-spacing: .06em;
  padding: 1.1rem .7rem; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: .55rem;
  transition: background var(--ease), padding var(--ease);
}
.float-tab:hover { background: var(--accent-strong); padding-right: .9rem; }
.float-tab svg { transform: rotate(90deg); }
.float-card {
  position: absolute; right: calc(100% + .6rem); top: 50%; width: min(330px, calc(100vw - 4.5rem));
  background: var(--surface); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.25rem; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.float-contact.open .float-card { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.float-card h2 { font-size: 1.1rem; margin-bottom: .25rem; }
.float-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.float-card .fc-item { display: flex; align-items: center; gap: .8rem; padding: .75rem .85rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 650; border: 1px solid var(--border); margin-bottom: .5rem; transition: background var(--ease), border-color var(--ease); }
.float-card .fc-item:hover { background: var(--accent-soft); border-color: var(--accent); }
.float-card .fc-item small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.float-card .fc-item svg { flex: none; color: var(--fg); }
.float-card .fc-hours { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }

/* ---------- Scroll-to-Top ---------- */
.scroll-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fg); color: var(--bg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease), background var(--ease);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--accent); color: var(--accent-ink); }

/* 404 */
.notfound { text-align: center; }
.notfound .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .float-contact, .scroll-top, .notice-bar, .site-footer { display: none !important; }
}

/* Sehr breite Monitore: Hero-Foto nicht über die Originalbreite (1920 px) hochskalieren */
@media (min-width: 1921px) {
  .hero--photo .hero-bg { left: auto; right: 0; width: 1920px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
  .hero--photo::after { background: linear-gradient(90deg, rgb(15 15 17 / .9) 0%, rgb(15 15 17 / .7) 45%, rgb(15 15 17 / .1) 80%); }
}

/* ---------- Fahrzeug-Check-Teaser (Startseite) ---------- */
.check-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); box-shadow: var(--shadow-sm); }
.check-teaser .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); }
.check-teaser h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .35rem; }
.check-teaser p { margin: 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 760px) { .check-teaser { grid-template-columns: 1fr; } }

/* ---------- Fahrzeug-Check (reines CSS über :has) ---------- */
.vc-wrap { max-width: 860px; }
.vc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.vc h2 { font-size: 1.5rem; }
.vc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.vc-field { display: grid; gap: .4rem; }
.vc-field label { font-weight: 700; font-size: .95rem; }
.vc select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: .8rem 2.75rem .8rem 1rem;
  font: inherit; font-size: 1.05rem; color: var(--fg); background-color: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; transition: border-color var(--ease), box-shadow var(--ease);
}
.vc select:hover { border-color: var(--muted); }
.vc select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.vc-res { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 2px solid var(--border); background: var(--bg-alt); }
.vc-res + .vc-res { margin-top: .75rem; }
.vc-res strong { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.vc-res p { margin: 0; }
.vc-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--muted); }
.vc-res-ok { border-color: #16a34a; background: color-mix(in srgb, #16a34a 9%, var(--surface)); }
.vc-res-ok .vc-ico { background: #16a34a; color: #fff; }
.vc-res-limited { border-color: var(--accent-strong); background: var(--accent-soft); }
.vc-res-limited .vc-ico { background: var(--accent); color: var(--accent-ink); }
.vc-res-no { border-color: #b91c1c; background: color-mix(in srgb, #b91c1c 7%, var(--surface)); }
.vc-res-no .vc-ico { background: #b91c1c; color: #fff; }
.vc-demo { margin: 1rem 0 0; font-size: .85rem; }
.vc-list { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.vc-list summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style-position: inside; }
.vc-list summary:hover { background: var(--bg-alt); }
.table-wrap { overflow-x: auto; padding: 0 1.25rem 1.25rem; }
.vc-list table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.vc-list th, .vc-list td { text-align: left; padding: .6rem .75rem .6rem 0; border-top: 1px solid var(--border); vertical-align: top; }
.vc-list thead th { border-top: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vc-badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.vc-badge.st-ok { background: #dcfce7; color: #14532d; }
.vc-badge.st-limited { background: #fef9c3; color: #713f12; }
.vc-badge.st-no { background: #fee2e2; color: #7f1d1d; }

/* ==========================================================================
   DESIGN C „Werkstatt-Slab“ – überschreibt die Basis oben
   Schriften lokal (keine Anfrage an Dritte): Zilla Slab + Rethink Sans
   ========================================================================== */
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("../fonts/rethink-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("../fonts/rethink-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("../fonts/rethink-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --font: "Rethink Sans", 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --bg: #eeeeeb;
  --bg-alt: #e1e1dd;
  --surface: #f7f7f5;
  --fg: #1c1d1f;
  --muted: #55575b;
  --border: #d4d4cf;
  --accent: #f6c900;
  --accent-strong: #ddb400;
  --accent-ink: #1c1d1f;
  --accent-soft: #f6efcc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: none;
  --shadow: 0 10px 30px rgb(28 29 31 / .10);
  --hero-h: clamp(560px, calc(100svh - var(--header-h)), 860px);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151618; --bg-alt: #1d1e21; --surface: #232428; --fg: #ececea; --muted: #a4a6aa; --border: #34363a; --accent-soft: #2b2611; }
}
body { font-size: 1.0625rem; letter-spacing: -0.003em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.0; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; font-weight: 400; }
h3 { font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; }
strong { font-weight: 600; }
.eyebrow { display: none; }
.text-link.on-dark { color: #fff; }

/* Header: ruhig, ohne Unschärfe-Glas */
.site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.main-nav a, .main-nav .sub-toggle { font-weight: 500; }
.main-nav a[aria-current="page"], .main-nav .has-sub.is-current > .sub-toggle { background: transparent; box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.main-nav a:hover, .main-nav .sub-toggle:hover { background: var(--bg-alt); }

/* Buttons: eckiger, ein Paar */
.btn { border-radius: 6px; min-height: 50px; font-weight: 600; }
.btn:hover { box-shadow: none; }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: #000; }
@media (prefers-color-scheme: dark) { .btn-dark { background: #ececea; color: #151618; } .btn-dark:hover { background: #fff; } }
.btn-ghost { border-color: var(--fg); }

/* ---------- Startseite: Foto über die volle Breite, Text in fester Box ---------- */
.hero--full { position: relative; min-height: var(--hero-h); display: block; background: #2a2b2e; color: var(--fg); overflow: hidden; }
.hero--full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-inner { position: relative; z-index: 1; min-height: var(--hero-h); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-block: clamp(2rem, 6vh, 5rem) 2rem; }
.hero-box { width: min(100%, 628px); background: var(--bg); border-radius: var(--radius); padding: clamp(1.75rem, 3.4vw, 3rem); margin-top: calc(var(--tile-h) - var(--header-h)); }
.hero-box h1 { margin-bottom: 1.25rem; }
.hero-box .lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 40ch; margin-bottom: 1.75rem; }
.hero-facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #1c1d1f; color: #c4c6ca; border-radius: var(--radius); padding: 1.15rem 1.75rem; gap: 1.5rem; }
.hero-facts dt { font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: #fff; line-height: 1.15; }
.hero-facts dd { margin: 0; font-size: .95rem; }
@media (min-width: 1061px) { .hero-box { margin-top: 0; } }
@media (max-width: 860px) {
  .hero--full { background: var(--bg); }
  .hero--full .hero-bg { position: relative; height: 46svh; min-height: 280px; }
  .hero-inner { min-height: 0; padding-top: 0; margin-top: -3.5rem; }
  .hero-box { margin-top: 0; padding: 1.5rem; box-shadow: var(--shadow); }
  .hero-facts { grid-template-columns: 1fr 1fr; padding: 1.1rem 1.25rem; }
  .hero-box .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 1921px) { .hero--full .hero-bg { left: auto; right: 0; width: 1920px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); } }

/* ---------- Unterseiten: geteilter Titelbereich ---------- */
.hero--split { background: var(--bg-alt); min-height: var(--hero-h); }
.hero--split::before { content: none; }
.hero--split .container { padding-block: 3rem; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
.hero--split .hero-copy { border-left: 0; padding: 0; align-self: center; }
.hero--split .hero-copy::before { content: ""; display: block; width: 56px; height: 6px; background: var(--accent); border-radius: 3px; margin-bottom: 1.75rem; }
.hero--split .lead { font-size: 1.2rem; margin-top: 1.25rem; }
.hero-card { width: 100%; height: 100%; box-shadow: none; justify-self: stretch; }
.hero-card img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.hero--split.no-photo { min-height: calc(var(--hero-h) * .55); }
@media (min-width: 861px) { .hero--split .hero-copy { padding-right: 1rem; } .hero-card { max-height: calc(var(--hero-h) - 6rem); } }
@media (max-width: 860px) { .hero--split .container { grid-template-columns: 1fr; } .hero-card img { height: 300px; } }

/* Kontakt: Foto-Titelbereich im selben Stil wie die Startseite */
.hero--photo::after { background: linear-gradient(90deg, rgb(20 21 23 / .82) 0%, rgb(20 21 23 / .5) 45%, rgb(20 21 23 / 0) 75%); }
.hero--photo { min-height: var(--hero-h); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { margin-bottom: 3rem; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.split-head p { color: var(--muted); font-size: 1.15rem; max-width: 46ch; justify-self: end; margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } .split-head p { justify-self: start; } }
.media { box-shadow: none; }
.prose ul li::before { border-radius: 1px; transform: none; width: 10px; height: 3px; top: .8em; }

/* Leistungen als nummerierte Liste */
.svc-list { border-top: 1px solid var(--border); }
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) 300px; gap: 2rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.svc-row .n { font-family: var(--display); font-size: 1.1rem; color: var(--muted); }
.svc-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin: 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 8px; transition: text-decoration-color .3s ease; }
.svc-row:hover h3 { text-decoration-color: var(--accent); }
.svc-text p { color: var(--muted); margin: 0 0 .75rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .85rem; font-weight: 500; background: var(--bg-alt); border-radius: 999px; padding: .2rem .7rem; }
.svc-img { height: 170px; border-radius: 12px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-row:hover .svc-img img { transform: scale(1.03); }
main > .hero ~ section.section:nth-of-type(even) .chips li { background: var(--bg); }
@media (max-width: 960px) { .svc-row { grid-template-columns: 48px 1fr; gap: .75rem 1rem; } .svc-text, .svc-img { grid-column: 2; } .svc-img { height: 200px; } }

/* Ablauf: gepinnte Kapitel (Desktop), sonst einfache Liste */
.chapters { padding-block: 0; }
.chap-sticky { padding-block: clamp(4.5rem, 10vw, 8rem); }
.chapters h2 { max-width: 16ch; margin-bottom: 3rem; }
.chap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.chap-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; counter-reset: none; }
.chap-step { border-radius: 12px; padding: 1.4rem 1.5rem; border: 1px solid transparent; transition: background .4s ease, border-color .4s ease, color .4s ease; }
.chap-step .k { font-family: var(--display); font-weight: 500; color: var(--muted); }
.chap-step h3 { font-size: 1.9rem; font-weight: 500; margin: .2rem 0 .4rem; }
.chap-step p { margin: 0; color: var(--muted); }
.chap-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.chap-photo img { width: 100%; height: 100%; object-fit: cover; }
.chap-photo + .chap-photo { margin-top: 1rem; }
@media (min-width: 1061px) and (prefers-reduced-motion: no-preference) {
  .chapters.is-live { height: 220vh; }
  .chapters.is-live .chap-sticky { position: sticky; top: var(--header-h); min-height: calc(100vh - var(--header-h)); }
  .chapters.is-live .chap-step { color: var(--muted); }
  .chapters.is-live .chap-step p { display: none; }
  .chapters.is-live .chap-step.on { background: var(--surface); border-color: var(--border); color: var(--fg); }
  .chapters.is-live .chap-step.on p { display: block; }
  .chapters.is-live .chap-step.on::after { content: ""; display: block; height: 3px; margin-top: 1rem; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--prog, 0%), var(--border) var(--prog, 0%)); }
  .chapters.is-live .chap-photos { position: relative; aspect-ratio: 4 / 3; }
  .chapters.is-live .chap-photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
  .chapters.is-live .chap-photo.on { opacity: 1; }
}
@media (max-width: 1060px) { .chap-grid { grid-template-columns: 1fr; } .chap-photo { aspect-ratio: 16 / 9; } }

/* Dunkles Band: Fahrzeug-Check auf der Startseite */
.band-dark { background: #1c1d1f !important; color: #e7e7e4; }
.band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.band-dark h2 { color: #fff; }
.band-dark h2 em { font-style: normal; color: var(--accent); }
.band-lead { color: #b7b9bd; font-size: 1.1rem; max-width: 48ch; margin: 1.25rem 0; }
.band-dark .vc { background: #2a2b2e; border-color: #34363a; color: #e7e7e4; box-shadow: none; }
.band-dark .vc select { background-color: #fff; color: #1c1d1f; border-color: #fff; }
.band-dark .vc-res { background: #232427; border-color: #3a3c40; }
.band-dark .vc-res p, .band-dark .vc-res a { color: #d7d8da; }
.band-dark .vc-res-ok { background: rgb(22 163 74 / .16); border-color: #22c55e; }
.band-dark .vc-res-limited { background: rgb(246 201 0 / .12); border-color: var(--accent); }
.band-dark .vc-res-no { background: rgb(220 38 38 / .14); border-color: #ef4444; }
.band-dark .vc-ico { background: #34363a; color: #fff; }
.band-dark .vc-demo mark { font-size: .8rem; }
.band-dark .vc-fields { margin-top: 0; }
@media (max-width: 960px) { .band-grid { grid-template-columns: 1fr; } }

/* Meldungen als Zeilen */
.news-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.news-rows a { display: grid; grid-template-columns: 200px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.news-rows time { color: var(--muted); font-size: .95rem; }
.news-rows span { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.75rem); }
.news-rows svg { transition: transform .3s ease; color: var(--muted); }
.news-rows a:hover svg { transform: translateX(4px); color: var(--fg); }
.news-rows a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 640px) { .news-rows a { grid-template-columns: 1fr auto; } .news-rows time { grid-column: 1 / -1; } }

/* Leistungsumfang: Liste statt Symbol-Kacheln */
.features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--border); }
.feature { display: block; padding: 1.4rem 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.feature:hover { transform: none; box-shadow: none; border-color: var(--border); }
.feature h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: .25rem; }
.feature p { font-size: 1rem; }
.feature a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* Karten ruhiger */
.card { border: 0; background: transparent; box-shadow: none; }
.card:hover { box-shadow: none; transform: translateY(-2px); border-color: transparent; }
.card .card-img { border-radius: var(--radius); }
.card-body { padding: 1.1rem 0 0; }
.card-body h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 500; }
.info-card { box-shadow: none; border-radius: var(--radius); }
.info-card h2 svg, .info-card h3 svg { display: none; }
.info-card h2, .info-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; }

/* Fahrzeug-Check-Seite */
.vc { box-shadow: none; }
.vc h2 { font-family: var(--display); }
.vc select { border-radius: 6px; }

/* Rechtstexte, Sonstiges */
.legal h2 { font-family: var(--display); font-weight: 500; }
.callout { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.site-footer { background: #1c1d1f; }
.site-footer h2 { font-family: var(--font); }
.float-tab { border-radius: 8px 0 0 8px; transform: rotate(180deg); border-radius: 0 8px 8px 0; }
.logo-tile { border-radius: 0 0 12px 12px; box-shadow: 0 14px 34px rgb(0 0 0 / .14); }
.hero--split { align-items: stretch; }
.hero--split h1 { font-size: clamp(2.4rem, 4.4vw, 4.25rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 861px) {
  .hero--split .container { min-height: var(--hero-h); padding-block: 2.5rem; }
  .hero-card { position: relative; max-height: none; min-height: 420px; }
  .hero-card img { position: absolute; inset: 0; }
  .hero--split.no-photo .container { min-height: calc(var(--hero-h) * .55); }
}

/* ---- Gate-Runde 1: Kanten, Raster, Linien, Kontrast ---- */
:root { --maxw: 1280px; --muted: #3f4145; }
@media (prefers-color-scheme: dark) { :root { --muted: #b9bbbf; } }
@media (min-width: 1100px) { .container { width: min(100% - 160px, var(--maxw)); } }
.split, .band-grid, .chap-grid, .split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem 24px; align-items: start; }
.split > :first-child, .band-grid > :first-child, .chap-grid > :first-child, .split-head > :first-child { grid-column: 1 / span 6; }
.split > :last-child, .band-grid > :last-child, .chap-grid > :last-child, .split-head > :last-child { grid-column: 7 / -1; }
.split.reverse > :first-child { order: 0; }
@media (min-width: 861px) { .hero--split .container { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; } .hero--split .hero-copy { grid-column: 1 / span 6; } .hero--split .hero-card { grid-column: 7 / -1; } .hero--split.no-photo .hero-copy { grid-column: 1 / -1; } }
@media (max-width: 860px) { .split > *, .band-grid > *, .chap-grid > *, .split-head > * { grid-column: 1 / -1 !important; } }
.split-head p { justify-self: start; }
.svc-list { border-top: 0; display: grid; gap: 1rem; }
.svc-row { border-bottom: 0; background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: transform .25s ease; }
.svc-row:hover { transform: translateY(-2px); }
.news-rows { border-top: 0; display: grid; gap: .6rem; margin: 2rem 0 1.5rem; }
.news-rows a { border-bottom: 0; background: var(--surface); border-radius: var(--radius-sm); padding: 1rem 1.25rem; grid-template-columns: 1fr auto; gap: .25rem 1rem; transition: transform .25s ease; }
.news-rows a:hover { transform: translateY(-2px); }
.news-rows time { grid-column: 1 / -1; font-size: .88rem; }
.news-rows span { font-size: 1.35rem; }
.news-photo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; }
.news-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.news-photo:hover img { transform: scale(1.03); }
.news-photo span { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: #1c1d1f; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-family: var(--display); font-size: 1.3rem; }
.news-photo time { display: block; font-family: var(--font); font-size: .85rem; color: #c4c6ca; }
.features { border-top: 0; gap: .75rem 24px; }
.feature { background: var(--surface); border-bottom: 0; border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; }
.site-footer .f-head { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #a1a1aa; margin-bottom: 1rem; font-weight: 700; }
@media (max-width: 640px) { .footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; } .site-footer ul a { display: inline-flex; min-height: 44px; align-items: center; } }
.chap-photo { aspect-ratio: 5 / 4; }
/* ---- Gate-Runde 2 ---- */
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
.svc-row h3, .chap-step h3 { font-size: 2rem; }
.split-head p { max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero-box { animation: enter-up .8s cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .hero-facts { animation: enter-up .8s .15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes enter-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
html, body { overflow-x: clip; }
@media (max-width: 640px) { .svc-row h3, .chap-step h3 { font-size: 1.5rem; } h2 { font-size: 2.1rem; } }
.svc-row:focus-visible, .news-rows a:focus-visible, .news-photo:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
