/* ==========================================================================
   Ross Autoservice & mehr (Bühl) — Version 2: ARC-1 PRECISION (HKS-Goldstandard)
   Farbpacing: Warmes Creme (#FAF7F2) + Reines Weiß (#FFFFFF) + Ross-Blau (#094C9E)
   Typografie: TY-3 (Space Grotesk + DM Sans) · Pattern: PAT-3 · Signature: SIG-5
   ========================================================================== */

:root {
  /* 60-30-10 Farb-Disziplin: Warm-Creme Canvas + Weiß + Tief-Anthrazit + Ross-Blau (max 10%) */
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-alt: #F3EDE2;
  --ink: #141821;
  --ink-muted: #57534E;
  --navy: #14161A;
  --navy-card: #1B1E24;
  --hairline: #E5DCCB;
  --hairline-dark: rgba(255, 255, 255, 0.14);

  --accent: #094C9E;
  --accent-hover: #073B7C;
  --accent-light: #3B82F6;
  --accent-soft: rgba(9, 76, 158, 0.08);
  --accent-border: rgba(9, 76, 158, 0.24);
  --accent-glow: rgba(9, 76, 158, 0.34);
  --wa: #1B6C3F;
  --wa-hover: #145330;

  /* Typografie (TY-3) */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Geometrie (ARC-1 PRECISION: Große Radien rounded-3xl + Pill-Buttons rounded-full) */
  --radius-card: 24px;
  --radius-btn: 9999px;
  --radius-pill: 9999px;

  /* Subtile Tiefenschatten */
  --shadow-sm: 0 4px 18px rgba(20, 24, 33, 0.045);
  --shadow-md: 0 14px 36px -10px rgba(20, 24, 33, 0.08);
  --shadow-lg: 0 28px 60px -16px rgba(14, 14, 13, 0.28);

  /* Easing */
  --ease-agency: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  hyphens: none;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* Skip Link (WCAG 2.2) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 999;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Focus Ring */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

section[id] {
  scroll-margin-top: 96px;
}

/* SIG-5: Präziser Akzent-Farbstreifen */
.sig5-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(9, 76, 158, 0.32) 55%, rgba(229, 220, 203, 0.35) 100%);
}

.sig5-divider {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.sig5-divider-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(9, 76, 158, 0.28) 45%, var(--hairline) 100%);
}

/* ARC-1 Eyebrow-Motiv: Führende 36px Haarlinie + gesperrte Großbuchstaben (KEIN Chip-Kasten!) */
.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-chip--dark {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
}

.eyebrow-dot {
  width: 36px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow-chip--dark .eyebrow-dot {
  background: rgba(255, 255, 255, 0.75);
}

/* ARC-1 Pill-Button System (rounded-full + dezenter Hover-Bloom) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-agency), background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.35s ease, color 0.25s ease;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 22px -8px rgba(9, 76, 158, 0.42);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent-glow);
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(27, 108, 63, 0.36);
}
.btn-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(27, 108, 63, 0.35);
}

.btn-secondary-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}
.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER (Visuelle Klammer mit Footer — Clean White + SIG-5 Top Line)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--hairline);
  display: none;
}
@media (min-width: 640px) {
  .brand-divider {
    display: block;
  }
}

.brand-meta {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .brand-meta {
    display: flex;
  }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.25s ease, background-color 0.25s ease;
}
.desktop-nav a:hover {
  color: var(--accent);
  background: var(--surface-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-tel {
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}
.header-tel .tel-full {
  display: none;
}
@media (min-width: 640px) {
  .header-tel .tel-full {
    display: inline;
  }
  .header-tel .tel-short {
    display: none;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Vollbild-Overlay-Menü */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.mobile-drawer.is-open {
  display: block;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.72);
  backdrop-filter: blur(4px);
}
.mobile-drawer-panel {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-bottom: 3px solid var(--accent);
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.75rem;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block: 1rem 1.25rem;
}
.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.mobile-drawer-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

/* ==========================================================================
   SEKTION 1: HERO (HP-7 Video-Loop — Ent-bläut & filmisch-ruhig auf Carbon)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: clamp(580px, 84vh, 840px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background-color: var(--navy);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy);
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 500ms ease;
}
.hero-video.is-ready {
  opacity: 1;
}

/* Neutral-filmischer Lesbarkeits-Overlay (KEIN Blaustich — echte Fahrzeugfarben!) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 14, 13, 0.66) 0%, rgba(14, 14, 13, 0.42) 52%, rgba(14, 14, 13, 0.20) 100%),
    linear-gradient(180deg, rgba(14, 14, 13, 0.36) 0%, rgba(14, 14, 13, 0.14) 50%, rgba(14, 14, 13, 0.56) 100%);
}

/* Ultra-dezenter Präzisions-Rasterhauch */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size: 28px 28px;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  margin-top: 1.15rem;
  font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.85rem);
  font-weight: 700;
  line-height: 1.07;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title-sub {
  display: inline-block;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero-subtitle {
  margin: 1.25rem 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.175rem);
  color: rgba(250, 247, 242, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-usp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.hero-usp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 15, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #FAF7F2;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.hero-phone-big {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.15rem);
}
@media (max-width: 639px) {
  .hero-phone-big {
    width: 100%;
    font-size: 1.3rem;
  }
  .hero-ctas .btn-wa,
  .hero-ctas .btn-secondary-light {
    width: 100%;
  }
}

/* Kastenlose Vertrauenszeile direkt unter den Hero-CTAs */
.hero-trust-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.88);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: color 0.25s ease;
}
.hero-trust-line strong {
  color: #ffffff;
}
.hero-trust-line:hover {
  color: #ffffff;
}

.google-stars {
  color: #fbbc04;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
}

/* ==========================================================================
   PAT-3 XXL-CONTAINER (Warm-Creme #FAF7F2 + dezente Linien über Leistungen + Galerie)
   ========================================================================== */
.pat-3-xxl {
  position: relative;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, transparent 24%, rgba(20, 24, 33, 0.032) 25%, rgba(20, 24, 33, 0.032) 26%, transparent 27%, transparent 74%, rgba(20, 24, 33, 0.032) 75%, rgba(20, 24, 33, 0.032) 76%, transparent 77%, transparent),
    linear-gradient(45deg, transparent 24%, rgba(9, 76, 158, 0.028) 25%, rgba(9, 76, 158, 0.028) 26%, transparent 27%, transparent 74%, rgba(9, 76, 158, 0.028) 75%, rgba(9, 76, 158, 0.028) 76%, transparent 77%, transparent);
  background-size: 56px 56px;
}

.section-pad {
  padding-block: clamp(3.75rem, 6.5vw, 6rem);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 900px) {
  .section-header--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title {
  font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 22ch;
}

.section-lead {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ==========================================================================
   SEKTION 2: LEISTUNGEN (SC-3 Minimal-Icon-Row + Creme/Weiß/Blau Balance)
   ========================================================================== */
.services-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.services-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 0.5rem;
}

.services-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.services-group-count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
}

.sc3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 3.25rem;
}
@media (min-width: 768px) {
  .sc3-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sc3-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.4s ease, transform 0.3s var(--ease-agency);
}
.sc3-row:hover {
  border-bottom-color: var(--accent);
}

.sc3-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.sc3-row:hover .sc3-icon-box {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.sl-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  background-color: var(--accent);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 0.3s ease;
}
.sc3-row:hover .sl-icon {
  background-color: #ffffff;
}

.sc3-content {
  min-width: 0;
}

.sc3-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.sc3-desc {
  margin: 0.35rem 0 0;
  font-size: 0.9125rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.sc3-tag {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.14rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ==========================================================================
   SEKTION 3: AUTOGALERIE (GAL-2 Masonry + Vorher/Nachher Beweis + Filter)
   ========================================================================== */
.vn-showcase-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 3.2vw, 2.25rem);
  margin-bottom: 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  transition: border-color 0.45s ease;
}
.vn-showcase-card:hover {
  border-color: var(--accent-border);
}
@media (min-width: 900px) {
  .vn-showcase-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.vn-slider {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  user-select: none;
  touch-action: none;
  background: var(--navy);
  isolation: isolate;
}

.vn-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.vn-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}

.vn-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 15;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.vn-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.vn-badge {
  position: absolute;
  top: 0.85rem;
  z-index: 10;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.vn-badge--before {
  left: 0.85rem;
  background: rgba(20, 22, 26, 0.84);
}
.vn-badge--after {
  right: 0.85rem;
  background: var(--accent);
}

.vn-specs {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hairline);
}
.vn-spec-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--ink);
  font-weight: 500;
}
.vn-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Filter-Pills */
.gal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gal-pill {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gal-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.gal-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 18px var(--accent-glow);
}

/* GAL-2 CSS Columns Masonry */
.gal-masonry {
  columns: 1;
  column-gap: 1.25rem;
}
@media (min-width: 640px) {
  .gal-masonry {
    columns: 2;
  }
}
@media (min-width: 1024px) {
  .gal-masonry {
    columns: 3;
  }
}

.gal-card {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transform: translateZ(0);
  isolation: isolate;
  transition: transform 0.35s var(--ease-agency), border-color 0.4s ease, box-shadow 0.4s ease;
}
.gal-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.gal-card.is-hidden {
  display: none;
}

.gal-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s var(--ease-agency);
}
.gal-card:hover img {
  transform: scale(1.03);
}

.gal-caption {
  padding: 0.9rem 1.15rem;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gal-cat {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.gal-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.12rem;
}

.gal-zoom-hint {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.gal-card:hover .gal-zoom-hint {
  background: var(--accent);
  color: #ffffff;
  transform: translate(2px, -2px);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 22, 26, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox-media {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 75vh;
}
.lightbox-media img {
  max-height: 75vh;
  width: auto;
  object-fit: contain;
}
.lightbox-bar {
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lightbox-nav {
  display: flex;
  gap: 0.5rem;
}
.lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.lightbox-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   SEKTION 4: CUSTOM-FOLIE 1 — 3-SCHRITTE WHATSAPP-ANFRAGE + NEUES CAR.LOTTIE
   (Weißer Sektion-Canvas <-> Creme Formular-Card <-> Neutral Carbon Lottie-Stage)
   ========================================================================== */
.wa-wizard-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .wizard-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
}

/* Neutral dunkle Carbon-Bühne links für neues blau/weißes Car.lottie */
.wizard-info-card {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.65rem, 3.5vw, 2.35rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.wizard-info-card h2 {
  color: #ffffff;
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.15rem);
  line-height: 1.15;
}

.wizard-info-lead {
  margin: 0.75rem 0 0;
  color: rgba(250, 247, 242, 0.82);
  font-size: 0.95rem;
}

.lottie-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Neues Car.lottie (800x800, nativ blau/weiß -> KEIN hue-rotate!) */
.lottie-box {
  width: 155px;
  height: 155px;
  flex-shrink: 0;
  filter: saturate(1.08) contrast(1.04);
}

.step-indicators {
  display: grid;
  gap: 0.65rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(250, 247, 242, 0.72);
  font-size: 0.875rem;
  transition: all 0.25s ease;
}
.step-indicator.is-active {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 165, 250, 0.6);
  color: #ffffff;
}
.step-indicator.is-done {
  border-color: rgba(52, 211, 153, 0.45);
  color: #FAF7F2;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-indicator.is-active .step-num {
  background: var(--accent);
  color: #ffffff;
}
.step-indicator.is-done .step-num {
  background: var(--wa);
  color: #ffffff;
}

/* Rechts: Warme Creme Form-Card (ARC-1) */
.wizard-form-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(1.65rem, 3.5vw, 2.35rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wizard-progress-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.wizard-progress-seg {
  height: 4px;
  border-radius: 999px;
  background: var(--hairline);
  transition: background-color 0.25s ease;
}
.wizard-progress-seg.is-filled {
  background: var(--accent);
}

.wizard-panel {
  display: none;
}
.wizard-panel.is-active {
  display: block;
}

.wizard-label-group {
  margin-bottom: 1.4rem;
}

.wizard-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-chip {
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.choice-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.choice-chip.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(9, 76, 158, 0.45);
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .field-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Inputs >= 16px font-size verhindert iOS Zoom */
.form-input,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-textarea {
  min-height: 92px;
  resize: vertical;
}

.plate-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.plate-d {
  position: absolute;
  left: 0.85rem;
  background: #003399;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.plate-input {
  padding-left: 2.85rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.wa-preview-box {
  margin-top: 1rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px dashed var(--accent-border);
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: pre-line;
  line-height: 1.55;
}

.wizard-nav {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wa-dsgvo-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SEKTION 5: KONTAKT & ANFAHRT (Warm-Creme Canvas + Weiße Card + CMP-2 Tresor)
   ========================================================================== */
#kontakt {
  background-color: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(1.65rem, 3.5vw, 2.35rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-agency);
}
a.contact-item:hover {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 12px 28px -10px var(--accent-glow);
  transform: translateY(-2px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
a.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-item-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.68);
}

.contact-item-val {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.contact-item-sub {
  display: block;
  font-size: 0.825rem;
  color: rgba(250, 247, 242, 0.78);
  margin-top: 0.18rem;
}

.hours-box {
  padding-top: 1.15rem;
  border-top: 1px solid var(--hairline);
}

.hours-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.hours-rows {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--hairline);
}
.hours-row:last-child {
  border-bottom: none;
}

/* CMP-2 2-Klick Google Maps Tresor (Neutrales Carbon statt grellem Blau) */
.maps-vault {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.maps-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 35%, rgba(9, 76, 158, 0.22), transparent 68%),
    linear-gradient(180deg, #1a1d24 0%, #111318 100%);
  position: relative;
}

.maps-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
}

.maps-pin-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(9, 76, 158, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.maps-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================================
   SEKTION 6: FOOTER (Visuelle Klammer zum Header — Clean White + SIG-5)
   ========================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}

.footer-main {
  padding-block: 3.25rem 2.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.925rem;
  color: var(--ink-muted);
}
.footer-nav a:hover {
  color: var(--accent);
}

.fb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.25s ease;
}
.fb-pill:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent-glow);
}

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.drehmoment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.drehmoment-badge .eyebrow-dot {
  width: 18px;
}
.drehmoment-badge:hover {
  color: var(--accent);
}

/* ==========================================================================
   FAIL-SAFE ENTRANCE MOTION & REDUCED MOTION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s var(--ease-agency), transform 0.6s var(--ease-agency);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .lottie-box {
    display: none;
  }
}
