/* ============================================================
   Autozentrum Kozak — Erstentwurf
   Brand: Schwarz #0A0B0D · Orange #F99A40 · Chrom
   Fonts: Inter (UI/Text) + Michroma (Tech-Labels), self-hosted
   Radius-System: einheitlich 10px (Cards, Buttons, Inputs)
   ============================================================ */

@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Michroma'; src: url('../assets/fonts/Michroma-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0B0D;
  --surface: #141518;
  --surface-2: #1C1C1E;
  --surface-3: #262628;
  --line: rgba(244, 244, 245, 0.08);
  --accent: #F99A40;
  --accent-deep: #E07E1F;
  --text: #F4F4F5;
  --text-muted: #A5A5A9;
  --text-dim: #8E8E90;
  --radius: 10px;
  --wrap: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Smooth-Scroll nur bei Interaktion (Klick/Fokus), Anker-Landung beim
   Seitenladen bleibt instant (kein langes Hinscrollen bei Cross-Page-Ankern) */
html { scroll-padding-top: calc(var(--nav-h) + 20px); }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #0A0B0D; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Icons (Phosphor inline) */
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p  { max-width: 65ch; }

.eyebrow {
  font-family: 'Michroma', 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #17110A; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(244,244,245,0.25); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.18s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; background: none; border: 0; color: var(--text); cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-burger .ic { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  /* nur Licht-Overlays; die opake Grundfläche liefern die Slides darunter (bzw. body-bg) */
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(249, 154, 64, 0.10), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(244, 244, 245, 0.05), transparent 55%);
}
.hero-bg::after {
  /* diagonaler Chrom-Lichtstreifen wie auf den Printsachen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(244,244,245,0.045) 50%, transparent 58%);
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: calc(var(--nav-h) + 48px) 24px 64px;
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: 48px;
  width: 100%;
}
.hero-sub { color: var(--text-muted); margin: 1.2rem 0 2rem; font-size: 1.08rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55)); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- Bento Leistungen ---------- */
.bento {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px;
}
.bento-cell {
  grid-column: span 2;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.bento-wide { grid-column: span 3; }
.bento-cell:hover { border-color: rgba(249, 154, 64, 0.45); transform: translateY(-3px); }
.bento-cell.has-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  opacity: 0.55; transition: opacity 0.3s var(--ease), transform 0.6s var(--ease);
}
.bento-cell.has-img:hover::before { opacity: 0.7; transform: scale(1.03); }
.bento-cell.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,0.92) 20%, rgba(10,11,13,0.25) 65%, transparent);
}
.cell-body { position: relative; z-index: 1; padding: 28px; }
.cell-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: var(--radius);
  background: rgba(249, 154, 64, 0.12);
  color: var(--accent);
}
.cell-icon .ic { width: 24px; height: 24px; }
.cell-body p { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Split (Über uns / Kontakt) ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split-copy p { color: var(--text-muted); margin-bottom: 1em; }
.split-copy p.eyebrow { color: var(--accent); }
.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%; object-fit: cover; aspect-ratio: 16 / 10;
}
.checklist {
  list-style: none; margin-top: 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.checklist .ic { color: var(--accent); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 48px;
}
.steps li { border-top: 1px solid var(--line); padding-top: 20px; position: relative; }
.step-nr {
  font-family: 'Michroma', sans-serif;
  font-size: 1.6rem; color: var(--accent);
  display: block; margin-bottom: 10px;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Autohaus Band ---------- */
.band {
  position: relative; padding: 140px 0;
  background-image: var(--band-img);
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,0.94) 25%, rgba(10,11,13,0.55) 70%, rgba(10,11,13,0.35)); }
.band-inner { position: relative; z-index: 1; }
.band-inner p { color: var(--text-muted); margin: 0.6rem 0 1.8rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quotes blockquote {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote-icon { color: var(--accent); }
.quote-icon .ic { width: 26px; height: 26px; }
.quotes p { color: var(--text); font-size: 0.97rem; }
.quotes footer { margin-top: auto; display: flex; flex-direction: column; }
.quotes footer span { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--accent); margin-top: 3px; }
.contact-list a { display: block; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid rgba(244,244,245,0.16);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75em 1em;
  font: inherit; font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.18s var(--ease);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field.invalid input, .field.invalid textarea { border-color: #E8420A; }
.field-error { color: #FF8A5C; font-size: 0.82rem; }
.form-note { font-size: 0.88rem; color: var(--accent); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: #08090B; border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px;
}
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p, .footer-col p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 0.8em; }
.footer-col h4 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px; font-weight: 400;
}
.footer-col a { display: block; text-decoration: none; color: var(--text-dim); font-size: 0.95rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: var(--text-dim); font-size: 0.85rem; }
.inglory-badge {
  display: inline-flex; align-items: center;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-size: 0.78rem; text-decoration: none; letter-spacing: 0.02em;
}
.inglory-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Reveal Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell, .bento-wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 32px); gap: 8px; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; }
  .hero-copy { text-align: left; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .band { background-attachment: scroll; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 11, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px; }
}

/* ============================================================
   Komponenten Vollausbau (Unterseiten)
   ============================================================ */

/* Nav-Dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item .ic { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 260px;
  background: #101114;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  display: none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.nav-drop a {
  display: block; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-size: 0.92rem; color: var(--text-muted);
}
.nav-drop a:hover { background: rgba(249,154,64,0.10); color: var(--text); }
@media (min-width: 861px) {
  .nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: block; }
  .nav-item:hover > a .ic { transform: rotate(180deg); }
}
@media (max-width: 860px) {
  .nav-item > a { width: 100%; justify-content: space-between; }
  .nav-drop { position: static; display: block; border: 0; box-shadow: none; background: transparent; padding: 0 0 4px 14px; min-width: 0; }
  .nav-drop a { border-bottom: 0; padding: 9px 0; }
}

/* Unterseiten-Hero */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 88px) 0 88px;
  background-image: var(--ph-img); background-size: cover; background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,11,13,0.95) 30%, rgba(10,11,13,0.72) 65%, rgba(10,11,13,0.55)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 14px; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text-muted); }
.page-hero p.lead { color: var(--text-muted); margin-top: 16px; max-width: 60ch; }

/* Service-Kachel-Grid (Leistungsseiten) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tile {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
}
.tile:hover { border-color: rgba(249,154,64,0.5); transform: translateY(-3px); }
.tile .ic { width: 34px; height: 34px; color: var(--accent); }
.tile h3 { font-size: 1rem; line-height: 1.35; }
.tile.tint { background: linear-gradient(170deg, rgba(249,154,64,0.10), rgba(249,154,64,0.03)), var(--surface); }

/* Zitat-Banner */
.quote-banner { padding: 88px 0; text-align: center; }
.quote-banner p {
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.35;
  max-width: 26em; margin: 0 auto; text-wrap: balance;
}
.quote-banner .hl { color: var(--accent); }

/* Text+Bild Block (Leistungsseiten) */
.tb { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.tb + .tb { margin-top: 88px; }
.tb.flip .tb-media { order: 2; }
.tb-media img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tb-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.tb-copy p { color: var(--text-muted); margin-bottom: 1em; }
.tb-copy .hl { color: var(--accent); font-weight: 600; }

/* Stats */
.stats { background: var(--surface); border-block: 1px solid var(--line); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent); display: block; margin-bottom: 6px; }
.stat span { color: var(--text-muted); font-size: 0.95rem; }

/* USP-Badges (Home, Wer wir sind) */
.usp-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1.8rem; }
.usp-badge {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Michroma', sans-serif; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.usp-badge .ic { width: 22px; height: 22px; color: var(--accent); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.team-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
}
.team-avatar {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--surface-3), #0E0F12);
  border: 1px solid rgba(249,154,64,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Michroma', sans-serif; font-size: 1.15rem; color: var(--accent);
}
.team-card h3 { font-size: 1.02rem; }
.team-card p { color: var(--text-dim); font-size: 0.88rem; margin-top: 4px; }

/* Vorteils-Karten (Über uns) */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.benefit {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.benefit h3 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.benefit .ic { color: var(--accent); flex: none; }
.benefit p { color: var(--text-muted); font-size: 0.93rem; }

/* FAQ */
.faq { max-width: 800px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 600; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); transition: transform 0.25s var(--ease); flex: none; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .faq-a { padding: 0 4px 20px; color: var(--text-muted); font-size: 0.95rem; max-width: 65ch; }

/* Newsletter */
.newsletter {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; margin-top: 0;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center;
}
.newsletter h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.newsletter h2 .ic { color: var(--accent); }
.newsletter p { color: var(--text-muted); font-size: 0.93rem; }
.nl-form { display: flex; gap: 12px; }
.nl-form input {
  flex: 1; background: var(--bg); border: 1px solid rgba(244,244,245,0.16);
  border-radius: var(--radius); color: var(--text); padding: 0.75em 1em; font: inherit; font-size: 0.95rem;
}
.nl-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.gallery img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}

/* Karten-Platzhalter (DSGVO: Klick lädt Google Maps) */
.map-ph {
  position: relative; margin-top: 64px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 32px;
}
.map-ph .ic { width: 34px; height: 34px; color: var(--accent); }
.map-ph p { color: var(--text-muted); font-size: 0.92rem; max-width: 46ch; }
.map-ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Responsive Ergänzungen */
@media (max-width: 1024px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 640px) {
  .tile-grid { grid-template-columns: 1fr; }
  .tb { grid-template-columns: 1fr; gap: 32px; }
  .tb.flip .tb-media { order: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .usp-badges { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 28px; }
  .nl-form { flex-direction: column; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* 4 Testimonials als 2x2 */
.quotes.q4 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1024px) { .quotes.q4 { grid-template-columns: 1fr; } }

/* Aktiver Nav-Link */
.nav-links a.active { color: var(--text); }

/* ============================================================
   Motion- & Glow-Layer (WOW-Pass)
   Konzept: der orange Licht-/Glutbogen aus dem Logo wird zum
   durchgängigen Lichtmotiv (Flare-Sweep, Glow-Linien, Spotlights).
   Alles transform/opacity, alles unter prefers-reduced-motion aus.
   ============================================================ */

/* Hero-Headline solide (Gradient-Text bewusst entfernt) */
.hero h1 { color: var(--text); }

/* Orange Glow-Unterstrich zeichnet sich unter Sektions-Headlines */
h2.reveal { position: relative; padding-bottom: 18px; }
h2.reveal::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 72px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #E8420A);
  box-shadow: 0 0 14px rgba(249, 154, 64, 0.55);
  transform: scaleX(0); transform-origin: left;
}
h2.reveal[style*="text-align:center"]::after { left: 50%; transform: translateX(-50%) scaleX(0); transform-origin: center; }

/* Spotlight-Border: Kacheln reagieren auf den Cursor */
.tile, .bento-cell, .quotes blockquote, .benefit, .team-card { position: relative; }
.tile::after, .bento-cell .cell-glow, .quotes blockquote::after, .benefit::after, .team-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(249, 154, 64, 0.16), transparent 65%);
  opacity: 0; transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.bento-cell .cell-glow { z-index: 1; }
@media (pointer: fine) {
  .tile:hover::after, .bento-cell:hover .cell-glow, .quotes blockquote:hover::after,
  .benefit:hover::after, .team-card:hover::after { opacity: 1; }
}

/* CTA: Glow + Sheen-Sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover { box-shadow: 0 0 26px rgba(249, 154, 64, 0.38), 0 4px 18px rgba(0, 0, 0, 0.4); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn-ghost:hover { box-shadow: 0 0 18px rgba(249, 154, 64, 0.18); }

/* Galerie-Hover */
.gallery img { transition: transform 0.45s var(--ease), filter 0.45s var(--ease), border-color 0.3s var(--ease); }
.gallery img:hover { transform: scale(1.03); filter: brightness(1.12); border-color: rgba(249, 154, 64, 0.5); }

/* Nav verdichtet sich beim Scrollen, orange Lichtkante */
.nav { transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav.scrolled {
  background: rgba(8, 9, 11, 0.95);
  border-bottom-color: rgba(249, 154, 64, 0.28);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}
.nav-logo img { transition: filter 0.3s var(--ease); }
.nav-logo:hover img { filter: drop-shadow(0 0 10px rgba(249, 154, 64, 0.45)); }

/* Unterseiten-Hero: orange Lichtlinie unten (Print-Lichtstreifen) */
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(249, 154, 64, 0.75) 35%, rgba(232, 66, 10, 0.6) 55%, transparent 90%);
  background-size: 200% 100%;
  box-shadow: 0 0 18px rgba(249, 154, 64, 0.35);
}

/* Formular-Fokus mit Glow */
.field input:focus-visible, .field textarea:focus-visible, .nl-form input:focus-visible {
  box-shadow: 0 0 0 4px rgba(249, 154, 64, 0.15);
}

/* FAQ: sanftes Öffnen (progressive enhancement) */
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}

/* ---------- Bewegtes nur ohne reduced-motion ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* Hero-Flare: der Glutbogen wandert langsam durchs Bild */
  .hero-bg::before {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: -15%;
    width: 34%;
    background: radial-gradient(closest-side, rgba(249, 154, 64, 0.16), rgba(232, 66, 10, 0.05) 55%, transparent 75%);
    filter: blur(46px);
    transform: rotate(14deg) translateX(-40%);
    mix-blend-mode: screen;
    animation: flare-sweep 12s ease-in-out infinite;
  }
  @keyframes flare-sweep {
    0%   { transform: rotate(14deg) translateX(-50%); opacity: 0; }
    18%  { opacity: 1; }
    55%  { opacity: 0.55; }
    82%  { opacity: 1; }
    100% { transform: rotate(14deg) translateX(420%); opacity: 0; }
  }

  /* Logo schwebt minimal, mit warmem Schein */
  .hero-art img {
    animation: logo-float 7s ease-in-out infinite;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 46px rgba(249, 154, 64, 0.10));
  }
  @keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }

  /* Hero-Elemente bauen sich gestaffelt auf */
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-ctas {
    opacity: 0; transform: translateY(18px);
    animation: rise-in 0.8s var(--ease) forwards;
  }
  .hero-copy h1 { animation-delay: 0.1s; }
  .hero-copy .hero-sub { animation-delay: 0.22s; }
  .hero-copy .hero-ctas { animation-delay: 0.34s; }
  @keyframes rise-in { to { opacity: 1; transform: none; } }

  /* Headline-Unterstrich zeichnet sich */
  h2.reveal::after { transition: transform 0.7s var(--ease) 0.25s; }
  h2.reveal.in::after { transform: scaleX(1); }
  h2.reveal[style*="text-align:center"].in::after { transform: translateX(-50%) scaleX(1); }

  /* CTA-Sheen läuft beim Hover einmal durch */
  .btn-primary:hover::before { animation: sheen 0.7s var(--ease); }
  @keyframes sheen { to { transform: translateX(120%); } }

  /* Lichtlinie der Unterseiten-Heros schimmert */
  .page-hero::after { animation: line-shimmer 6s ease-in-out infinite; }
  @keyframes line-shimmer {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
  }

  /* Kachel-Icons heben sich beim Hover */
  .tile .ic { transition: transform 0.3s var(--ease); }
  .tile:hover .ic { transform: translateY(-3px) scale(1.08); }
}

/* Reduced Motion: statische, sofort sichtbare Hero-Elemente */
@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-ctas { opacity: 1; transform: none; }
  h2.reveal::after { transform: scaleX(1); }
  h2.reveal[style*="text-align:center"]::after { transform: translateX(-50%) scaleX(1); }
}

/* ============================================================
   Fix: Dropdown-Hover (lückenlos + Gnadenfrist) & Anker-Offsets
   ============================================================ */

/* Anker-Offset regelt zentral html { scroll-padding-top } (keine zusätzliche
   scroll-margin auf den Zielen, sonst addieren sich beide Offsets) */

/* Dropdown: kein Spalt mehr (padding-top statt Offset), Ein-/Ausblenden
   über opacity/visibility mit 280ms Schließ-Verzögerung als Gnadenfrist */
.nav-drop {
  display: block;
  top: 100%;
  padding: 14px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.28s;
}
.nav-drop-inner {
  background: #101114;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(249, 154, 64, 0.06);
}
@media (min-width: 861px) {
  .nav-item:hover .nav-drop,
  .nav-item:focus-within .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}
@media (max-width: 860px) {
  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    padding: 0 0 4px 14px;
    min-width: 0;
  }
  .nav-drop-inner { background: transparent; border: 0; box-shadow: none; padding: 0; }
}

/* Dropdown: JS-Open-State (pointerenter/-leave mit 260ms Gnadenfrist) */
@media (min-width: 861px) {
  .nav-item.open .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav-item.open > a .ic { transform: rotate(180deg); }
}

/* ============================================================
   Schnellkontakt-Widget, Footer-Icons, eingebettete Karte
   ============================================================ */

/* ---------- Schnellkontakt: Desktop rechte Flanke ---------- */
.quick-contact {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; animation: qcFade 0.7s var(--ease) 1s forwards;
}
@keyframes qcFade { to { opacity: 1; } }
.quick-contact-item {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 21, 24, 0.92);
  border: 1px solid var(--line);
  color: var(--text-muted);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.quick-contact-item svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.quick-contact-item.is-wa svg { width: 21px; height: 21px; }
.quick-contact-item:hover {
  background: var(--accent); color: #17110A;
  border-color: var(--accent);
  transform: translateX(-4px);
  box-shadow: 0 0 24px rgba(249, 154, 64, 0.45), 0 8px 22px rgba(0, 0, 0, 0.45);
}
.quick-contact-item:hover svg { transform: scale(1.1); }
.quick-contact-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.quick-contact-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #101114; color: var(--text);
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  padding: 8px 12px; border-radius: 7px; white-space: nowrap;
  border: 1px solid var(--line);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.quick-contact-label::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #101114;
}
.quick-contact-item:hover .quick-contact-label { opacity: 1; transform: translateY(-50%) translateX(0); }
.quick-contact-short { display: none; }

/* ---------- Schnellkontakt: Mobil Glas-Dock unten ---------- */
@keyframes qcRise { to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .quick-contact {
    top: auto; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(14px);
    flex-direction: row; gap: 4px; padding: 7px;
    border-radius: 99px;
    background: rgba(12, 13, 16, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: qcRise 0.6s var(--ease) 0.7s forwards;
  }
  .quick-contact-item {
    flex: 1; width: auto; height: 52px;
    flex-direction: column; gap: 3px;
    border-radius: 16px; background: transparent; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none; color: var(--accent);
  }
  .quick-contact-item:hover, .quick-contact-item:active {
    background: rgba(249, 154, 64, 0.14); color: var(--accent);
    transform: none; box-shadow: none;
  }
  .quick-contact-item svg { width: 19px; height: 19px; }
  .quick-contact-label { display: none; }
  .quick-contact-short {
    display: block; font-size: 10px; font-weight: 700;
    letter-spacing: 0.04em; color: rgba(244, 244, 245, 0.85);
  }
  /* Footer-Abschluss nicht vom Dock verdecken */
  .footer-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .quick-contact { opacity: 1; transform: translateY(-50%); animation: none; }
  @media (max-width: 720px) { .quick-contact { transform: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  @media (max-width: 720px) { .quick-contact { background: rgba(12, 13, 16, 0.98); backdrop-filter: none; -webkit-backdrop-filter: none; } }
}

/* ---------- Footer: Social-Icons + Kontaktliste ---------- */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-muted);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--accent); color: #17110A; border-color: var(--accent); transform: translateY(-2px); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-dim); font-size: 0.92rem; line-height: 1.45; }
.footer-contact li .ic { color: var(--accent); margin-top: 2px; flex: none; width: 18px; height: 18px; }
.footer-contact a { text-decoration: none; color: var(--text-dim); transition: color 0.18s var(--ease); }
.footer-contact a:hover { color: var(--accent); }

/* ---------- Eingebettete Google-Maps-Karte ---------- */
.map-wrap { margin-top: 64px; }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.map-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.map-head h3 .ic { color: var(--accent); }
.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.map-frame::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--accent), #E8420A);
  box-shadow: 0 0 14px rgba(249, 154, 64, 0.5);
}
.map-frame iframe { display: block; width: 100%; height: 420px; filter: grayscale(0.2) contrast(1.03); }
@media (max-width: 640px) { .map-frame iframe { height: 340px; } }

/* Kontakt-Info-Karten: 4 Spalten Desktop, responsiv 2 → 1 */
.contact-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Video-Umbau: Sektions-Layouts & Funktionen der Altseite
   ============================================================ */

/* ---------- F1 Hero-Slider ---------- */
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-bg { z-index: -1; }
.hero-bg::after { background: linear-gradient(115deg, transparent 42%, rgba(244,244,245,0.045) 50%, transparent 58%); }
/* Slides abdunkeln, damit Text/Logo tragen; Bild bleibt erkennbar */
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,13,0.86) 0%, rgba(10,11,13,0.62) 45%, rgba(10,11,13,0.42) 100%),
    linear-gradient(to top, rgba(10,11,13,0.9) 0%, transparent 35%);
}
.hero-slide { filter: saturate(0.85) brightness(0.9); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: opacity 0.4s; transform: none; } }

/* ---------- L5 Foto mit Chrom-Kante (Riss-Ersatz) ---------- */
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(244,244,245,0.14); border-radius: var(--radius); z-index: -1;
  background: linear-gradient(135deg, rgba(249,154,64,0.10), transparent 60%);
}
.media-frame img { clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%); }

/* ---------- L6 Foto mit Farbecke + Diagonale ---------- */
.media-corner { position: relative; }
.media-corner::after {
  content: ""; position: absolute; top: -18px; right: -18px; width: 42%; height: 62%;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 var(--radius) 0 0; z-index: -1;
  box-shadow: 0 0 40px rgba(249,154,64,0.25);
}
.termin-section { position: relative; overflow: hidden; }
.termin-diag {
  position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}
.termin-diag::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
}
@media (max-width: 860px) { .termin-diag { width: 60%; opacity: 0.35; } }

/* ---------- L1 Kachel-Schachbrett (Vollfarbe) ---------- */
.tile.solid {
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  border-color: transparent; color: #17110A;
}
.tile.solid .ic, .tile.solid h3 { color: #17110A; }
.tile.solid:hover { box-shadow: 0 0 34px rgba(249,154,64,0.45); border-color: transparent; }
.tile.solid::after { background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.22), transparent 65%); }

/* ---------- L2 Workflow mit Auto ---------- */
.wf-car-grid {
  display: grid; grid-template-columns: minmax(0,1fr) 260px minmax(0,1fr);
  gap: 32px; align-items: center; margin-top: 56px;
}
.wf-col { list-style: none; display: grid; gap: 22px; }
.wf-left { justify-items: end; }
.wf-right { justify-items: start; }
.wf-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; max-width: 440px; width: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.wf-card:hover { border-color: rgba(249,154,64,0.45); transform: translateY(-2px); }
.wf-nr {
  font-family: 'Michroma', sans-serif; font-size: 2rem; line-height: 1;
  color: var(--accent); text-shadow: 0 0 18px rgba(249,154,64,0.45);
}
.wf-card > .ic { width: 26px; height: 26px; color: var(--text-dim); }
.wf-body h3 { font-size: 0.98rem; margin-bottom: 4px; }
.wf-body p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.5; }
.wf-left .wf-card { text-align: right; }
.wf-left .wf-body { order: 2; }
.wf-left .wf-nr { order: 1; }
.wf-left > .wf-card > .ic { order: 3; }
.wf-left .wf-card:nth-child(2) { margin-right: 24px; }
.wf-right .wf-card:nth-child(2) { margin-left: 24px; }
.wf-car { display: flex; align-items: center; justify-content: center; }
.wf-car img {
  width: 100%; max-width: 260px; mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(249,154,64,0.18));
  /* schwarzer Bildrand weich auslaufen lassen (Quelle hat kein Alpha) */
  mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 62%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .wf-car img { animation: car-hover 6s ease-in-out infinite; }
  @keyframes car-hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 1024px) {
  .wf-car-grid { grid-template-columns: 1fr; gap: 24px; }
  .wf-car { order: -1; }
  .wf-car img { max-width: 180px; }
  .wf-left, .wf-right { justify-items: stretch; }
  .wf-left .wf-card, .wf-right .wf-card { max-width: none; text-align: left; margin: 0 !important; }
  .wf-left .wf-body { order: 2; } .wf-left .wf-nr { order: 1; } .wf-left > .wf-card > .ic { order: 3; }
}

/* ---------- L7 Galerie randlos ---------- */
.gallery-section { padding-bottom: 0; }
.gallery-bleed { margin-top: 40px; gap: 6px; }
.gallery-bleed img { border-radius: 0; border: 0; aspect-ratio: 16/9; }
@media (max-width: 640px) { .gallery-bleed { grid-template-columns: 1fr 1fr; gap: 4px; } }

/* ---------- F2 Testimonial-Karussell ---------- */
.testi-section {
  position: relative; overflow: hidden;
  background-image: var(--bg-img); background-size: cover; background-position: center;
  background-attachment: fixed;
}
.testi-scrim { position: absolute; inset: 0; background: rgba(10,11,13,0.90); }
.testi-bubbles { position: absolute; inset: 0; pointer-events: none; }
.testi-bubbles span {
  position: absolute; left: var(--x); top: var(--y);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Michroma', sans-serif; font-size: 0.6rem; color: var(--text-dim);
  background: rgba(28,28,30,0.9); border: 1px solid var(--line);
  transform: translate(-50%,-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .testi-bubbles span { animation: bubble-float 7s ease-in-out infinite; animation-delay: var(--d); }
  @keyframes bubble-float { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%,calc(-50% - 10px)); } }
}
@media (max-width: 720px) { .testi-bubbles { display: none; } .testi-section { background-attachment: scroll; } }
.testi { max-width: 720px; margin: 40px auto 0; text-align: center; }
.testi-track { position: relative; min-height: 300px; }
.testi-item {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0; transform: translateX(28px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.testi-item.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testi-item.is-leaving { transform: translateX(-28px) scale(0.98); }
.testi-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Michroma', sans-serif; font-size: 1.4rem; color: #fff;
  background: radial-gradient(circle at 30% 30%, hsl(var(--h,24) 85% 62%), hsl(var(--h,24) 80% 42%));
  box-shadow: 0 0 34px hsl(var(--h,24) 85% 55% / 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.testi-item[data-hue="24"]  .testi-avatar { --h: 24; }
.testi-item[data-hue="270"] .testi-avatar { --h: 270; }
.testi-item[data-hue="150"] .testi-avatar { --h: 150; }
.testi-item[data-hue="340"] .testi-avatar { --h: 340; }
.testi-item[data-hue="200"] .testi-avatar { --h: 200; }
.testi-item blockquote { font-size: 1.05rem; line-height: 1.6; max-width: 60ch; color: var(--text); }
.testi-item figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.testi-item figcaption strong { color: var(--accent); font-size: 1.05rem; }
.stars { display: inline-flex; gap: 2px; color: #FFC53D; }
.stars .ic { width: 16px; height: 16px; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.testi-btn {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.testi-btn .ic { width: 16px; height: 16px; }
.testi-btn[data-dir="-1"] .ic { transform: rotate(90deg); }
.testi-btn[data-dir="1"] .ic { transform: rotate(-90deg); }
.testi-btn:hover { background: var(--accent); color: #17110A; border-color: var(--accent); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(244,244,245,0.25); transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.testi-dots button.is-active { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 10px rgba(249,154,64,0.6); }

/* ---------- F3 News-Slider + Modal ---------- */
.news-slider { margin-top: 48px; }
.news-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: none; flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.news-card.is-shown { display: flex; }
.news-card:hover { border-color: rgba(249,154,64,0.45); transform: translateY(-3px); }
.news-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.news-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 {
  font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 0.78rem; line-height: 1.5;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
}
.news-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.news-more {
  align-self: flex-start; background: none; border: 0; cursor: pointer; padding: 0;
  color: var(--text); font: inherit; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.news-more:hover { color: var(--accent); gap: 10px; }
.news-more .ic { width: 16px; height: 16px; }
.news-nav { margin-top: 24px; }
@media (max-width: 1024px) { .news-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news-track { grid-template-columns: 1fr; } }

.modal, .lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,7,9,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 1;
  width: min(980px, 100%); max-height: 88vh; overflow: hidden;
  background: #101114; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-body { padding: 36px 32px; overflow-y: auto; max-height: 88vh; }
.modal-body h3 { font-size: 1.35rem; margin-bottom: 14px; }
.modal-body h4 { font-size: 1rem; margin: 22px 0 8px; color: var(--accent); }
.modal-body p, .modal-body li { color: var(--text-muted); font-size: 0.95rem; }
.modal-body p { margin-bottom: 0.8em; }
.modal-body ul, .modal-body ol { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 0.8em; }
.modal-body strong { color: var(--text); }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(16,17,20,0.85); border: 1px solid var(--line); color: var(--text);
  font-size: 1.5rem; line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { background: var(--accent); color: #17110A; }
.lightbox img { position: relative; z-index: 1; max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.7); animation: modal-in 0.3s var(--ease); }
.lightbox .modal-close { position: fixed; top: 20px; right: 20px; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .modal-panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-media img { min-height: 0; aspect-ratio: 16/9; }
  .modal-body { max-height: none; padding: 26px 22px; }
}

/* ---------- F8 FAQ 2-spaltig (Home) ---------- */
.faq-2col { max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq-2col details:last-child { border-bottom: 0; }
.faq-2col details:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .faq-2col { grid-template-columns: 1fr; } .faq-2col details:last-child { border-bottom: 1px solid var(--line); } }

/* ---------- L3 Autohaus-Workflow horizontal mit Linie ---------- */
.wf-band { padding: 110px 0; }
.wf-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wf-line path {
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(249,154,64,0.5));
}
@media (prefers-reduced-motion: no-preference) {
  .wf-line path { animation: dash-flow 30s linear infinite; }
  @keyframes dash-flow { to { stroke-dashoffset: -280; } }
}
.wf-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; position: relative; z-index: 1; }
.wf-row li { display: flex; gap: 14px; align-items: flex-start; }
.wf-row .ic { width: 34px; height: 34px; color: var(--accent); flex: none; filter: drop-shadow(0 0 8px rgba(249,154,64,0.45)); }
.wf-row h3 { font-size: 1rem; color: var(--accent); margin-bottom: 6px; }
.wf-row p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 1024px) { .wf-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wf-row { grid-template-columns: 1fr; } }

/* ---------- F4 Gebrauchtwagen-Karten ---------- */
.car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.car-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.car-card:hover { border-color: rgba(249,154,64,0.45); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.car-slider { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #0E0F12; }
.car-slides { display: flex; height: 100%; transition: transform 0.45s var(--ease); }
.car-slides img { width: 100%; height: 100%; object-fit: cover; flex: none; cursor: zoom-in; }
.car-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.car-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.2s; }
.car-dots span.is-active { background: var(--accent); }
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-body h3 { font-size: 1.02rem; }
.car-sub { color: var(--text-dim); font-size: 0.85rem; margin-top: -8px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 4px 0; }
.car-specs > div { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.car-specs .ic { grid-row: 1 / 3; width: 16px; height: 16px; color: var(--accent); }
.car-specs dt { font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.car-specs dd { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.car-foot .btn { padding: 0.55em 1em; font-size: 0.82rem; }
.car-price { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 1.05rem; color: var(--text); }
@media (max-width: 1100px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .car-grid { grid-template-columns: 1fr; } }

/* ---------- F5 Skill-Bars ---------- */
.skills { display: grid; gap: 22px; margin-top: 1.6rem; }
.skill-head { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; }
.skill-head b { color: var(--accent); font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 0.8rem; }
.skill-bar { height: 8px; border-radius: 99px; background: rgba(244,244,245,0.08); overflow: hidden; }
.skill-bar i {
  display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #E8420A);
  box-shadow: 0 0 14px rgba(249,154,64,0.55);
  transition: transform 1.4s var(--ease);
}
.skill.in .skill-bar i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .skill-bar i { transform: scaleX(1); transition: none; } }

/* ---------- L4 Vorteils-Bühne mit Mechaniker ---------- */
.benefit-stage {
  display: grid; grid-template-columns: minmax(0,1fr) 300px minmax(0,1fr);
  gap: 24px; align-items: center; margin-top: 56px;
}
.benefit-col { display: grid; gap: 18px; }
.benefit-col:last-child { padding-top: 60px; }
.benefit-figure { display: flex; align-items: flex-end; justify-content: center; align-self: stretch; margin: 0; }
.benefit-figure img {
  width: 100%; max-width: 300px;
  /* kein screen-Blend (dunkle Uniform würde verschwinden); Quelle ist auf Schwarz,
     Kanten per Radial-Maske weich in den Seitenhintergrund auslaufen lassen */
  mask-image: radial-gradient(ellipse 62% 64% at 50% 44%, #000 50%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 44%, #000 50%, transparent 98%);
  filter: brightness(1.05) contrast(1.05) drop-shadow(0 0 40px rgba(249,154,64,0.15));
}
@media (max-width: 1024px) {
  .benefit-stage { grid-template-columns: 1fr; }
  .benefit-figure { order: -1; }
  .benefit-figure img { max-width: 220px; }
  .benefit-col:last-child { padding-top: 0; }
}

/* ---------- L8 Team-Karten mit Balken ---------- */
.team-card { padding: 0; overflow: hidden; text-align: left; }
.team-photo {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, #2A2B30, #111214);
  border-bottom: 2px solid var(--accent);
}
.team-photo span {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Michroma', sans-serif; font-size: 1.15rem; color: var(--accent);
  background: rgba(249,154,64,0.10); border: 1px solid rgba(249,154,64,0.35);
}
.team-bar { padding: 16px 20px; background: linear-gradient(90deg, rgba(249,154,64,0.14), transparent); border-top: 1px solid rgba(249,154,64,0.35); }
.team-bar h3 { font-size: 1rem; }
.team-bar p { color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; }

/* Fix: Michroma hat kein Euro-Zeichen → Preis in Inter, fett; Spec-Labels dürfen umbrechen/kleiner */
.car-price { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.car-specs dt { font-size: 0.6rem; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-specs > div { min-width: 0; }
