@import url("../fonts/fonts.css");

/* ============================================================
   HEIDER AUTO-MIX — Design-System
   Navy + Markenblau, dunkles Automotive-Theme, 8px-Raster
   ============================================================ */

:root {
  /* Marken-Navy */
  --navy-950: #060d18;
  --navy-900: #0a1931;
  --navy-850: #0c1d39;
  --navy-800: #102545;
  --navy-700: #163056;
  --navy-600: #1d3e6b;

  /* Markenblau */
  --brand: #249bd7;
  --brand-light: #45c2ff;
  --brand-glow: #38d0ff;
  --brand-dark: #107eb5;
  --brand-deep: #234093;

  /* Neutral / hell */
  --white: #ffffff;
  --paper: #f5f8fc;
  --paper-2: #eaf1f9;
  --ink: #0c1830;
  --ink-soft: #38445c;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(12, 24, 48, 0.10);

  /* Status */
  --green: #2fbf71;
  --green-soft: rgba(47, 191, 113, 0.14);
  --amber: #f5a623;
  --red: #e8554e;

  /* Glas */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);

  /* Text auf dunkel */
  --t-hi: #f4f8ff;
  --t-mid: #b3c1da;
  --t-lo: #7e8da8;

  /* Maße / Raster (8px) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  /* Schatten */
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --sh-md: 0 12px 30px rgba(4, 10, 22, 0.28);
  --sh-lg: 0 30px 70px rgba(4, 10, 22, 0.45);
  --sh-glow: 0 10px 40px rgba(36, 155, 215, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--t-hi);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--navy { background: var(--navy-900); }
.section--deep { background: var(--navy-950); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-light);
}
.section--light .eyebrow { color: var(--brand-dark); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.h-sec { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; margin: 14px 0 18px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--t-mid); max-width: 62ch; }
.section--light .lead { color: var(--ink-soft); }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  border-radius: var(--r-pill); position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 55%, var(--brand-dark));
  color: #00121f; box-shadow: var(--sh-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(56, 208, 255, 0.45); }
.btn--ghost { background: var(--glass-2); color: var(--t-hi); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #04210f; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.4); }
.btn--lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 16px 0;
}
.header--scrolled {
  background: rgba(8, 17, 32, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(0, 0, 0, 0.28);
  padding: 10px 0;
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: height 0.3s var(--ease); }
.header--scrolled .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.94rem;
  color: var(--t-mid); padding: 9px 14px; border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--white); background: var(--glass-2); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--t-hi); }
.header__phone svg { width: 18px; height: 18px; color: var(--brand-light); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--glass-border); }
.burger span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.55) 0%, rgba(6, 13, 24, 0.30) 35%, rgba(6, 13, 24, 0.82) 88%),
    linear-gradient(90deg, rgba(6, 13, 24, 0.88) 0%, rgba(6, 13, 24, 0.30) 55%, rgba(6, 13, 24, 0) 100%);
}
.hero__glow { position: absolute; z-index: 1; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; right: -10%; top: -10%; background: radial-gradient(circle, rgba(56, 208, 255, 0.22), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; max-width: 720px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
.hero h1 .accent { background: linear-gradient(120deg, var(--brand-light), var(--brand-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--t-mid); margin: 22px 0 32px; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); }
.trust-pill strong { font-family: var(--font-head); }
.stars { color: #ffc24b; letter-spacing: 1px; font-size: 0.95rem; }

.status-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px;
  border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; font-size: 0.88rem;
  background: var(--green-soft); color: #7af0ad; border: 1px solid rgba(47, 191, 113, 0.3);
}
.status-pill.closed { background: rgba(232, 85, 78, 0.12); color: #ffb1ac; border-color: rgba(232, 85, 78, 0.3); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.7); animation: pulse 2s infinite; }
.status-pill.closed .status-dot { background: var(--red); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,113,0.6);} 70% { box-shadow: 0 0 0 8px rgba(47,191,113,0);} 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0);} }

.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--t-lo); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--brand-light), transparent); animation: scrolldown 1.8s infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Stats / Zahlen ---------- */
.stats { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { text-align: center; padding: 14px 8px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); background: linear-gradient(120deg, var(--brand-light), var(--brand-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { color: var(--t-mid); font-size: 0.88rem; margin-top: 8px; }

/* ---------- Cards / Glas ---------- */
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg); backdrop-filter: blur(10px); }

/* ---------- Fahrzeug-Filter + Grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filter { position: relative; }
.filter select, .filter input {
  appearance: none; background: var(--glass-2); border: 1px solid var(--glass-border);
  color: var(--t-hi); padding: 12px 38px 12px 16px; border-radius: var(--r-pill);
  font-size: 0.92rem; min-width: 150px; cursor: pointer; transition: border 0.2s, background 0.2s;
}
.filter select:hover, .filter input:hover { border-color: var(--brand); }
.filter::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--brand-light); pointer-events: none; font-size: 0.8rem; }
.filter--text::after { display: none; }
.filter option { background: var(--navy-800); color: var(--t-hi); }
.filters__count { margin-left: auto; color: var(--t-mid); font-size: 0.9rem; }
.filters__count strong { color: var(--brand-light); font-family: var(--font-head); }

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(56, 208, 255, 0.4); }
.vcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-800); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.vcard:hover .vcard__media img { transform: scale(1.06); }
.vcard__badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; font-size: 0.74rem; background: rgba(6,13,24,0.7); backdrop-filter: blur(6px); border: 1px solid var(--glass-border); }
.vcard__badge--hot { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #00121f; border: none; }
.vcard__fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(6,13,24,0.6); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid var(--glass-border); transition: 0.25s; }
.vcard__fav:hover { background: rgba(6,13,24,0.85); transform: scale(1.08); }
.vcard__fav svg { width: 18px; height: 18px; fill: none; stroke: var(--t-hi); stroke-width: 2; transition: 0.25s; }
.vcard__fav.active svg { fill: var(--brand-glow); stroke: var(--brand-glow); }
.vcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.vcard__title { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; }
.vcard__sub { color: var(--t-lo); font-size: 0.85rem; margin-top: 2px; }
.vcard__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.spec { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--glass-2); font-size: 0.8rem; color: var(--t-mid); }
.spec svg { width: 14px; height: 14px; color: var(--brand-light); }
.vcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.vcard__price .from { display: block; font-size: 0.72rem; color: var(--t-lo); }
.vcard__price .amt { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--t-hi); }
.vcard__price .rate { display: block; font-size: 0.76rem; color: var(--brand-light); margin-top: 2px; }
.vcard__cta { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; transition: 0.25s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--wa { background: #25d366; color: #04210f; }
.icon-btn--wa:hover { transform: translateY(-2px); }
.icon-btn--info { background: var(--glass-2); border: 1px solid var(--glass-border); }
.icon-btn--info:hover { background: var(--brand); color: #00121f; transform: translateY(-2px); }
.fleet-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--t-mid); }
.fleet-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; text-align: center; }

/* ---------- Tools (Rechner + Bewertung) ---------- */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tool {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 40px); position: relative; overflow: hidden;
}
.tool::before { content: ""; position: absolute; top: -40%; right: -20%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(56,208,255,0.12), transparent 65%); pointer-events: none; }
.tool__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tool__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #00121f; flex-shrink: 0; }
.tool__icon svg { width: 26px; height: 26px; }
.tool h3 { font-size: 1.4rem; }
.tool__desc { color: var(--t-mid); font-size: 0.96rem; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field > label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--t-hi); }
.field .val { float: right; color: var(--brand-light); font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--navy-700); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-light), var(--brand)); cursor: pointer; box-shadow: 0 0 0 4px rgba(56,208,255,0.18), var(--sh-sm); transition: transform 0.15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: linear-gradient(135deg, var(--brand-light), var(--brand)); cursor: pointer; box-shadow: 0 0 0 4px rgba(56,208,255,0.18); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-line { display: flex; flex-direction: column; gap: 7px; }
.input-line label { font-family: var(--font-head); font-weight: 600; font-size: 0.84rem; color: var(--t-mid); }
.input-line input, .input-line select {
  background: var(--navy-850); border: 1px solid var(--glass-border); color: var(--t-hi);
  padding: 12px 14px; border-radius: var(--r-sm); font-size: 0.94rem; transition: border 0.2s;
  appearance: none;
}
.input-line input:focus, .input-line select:focus { border-color: var(--brand); }
.input-line select { background-image: none; }
.input-line option { background: var(--navy-800); }

.tool__result { margin-top: 22px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(36,155,215,0.16), rgba(56,208,255,0.06)); border: 1px solid rgba(56,208,255,0.25); }
.tool__result .rlabel { font-size: 0.84rem; color: var(--t-mid); }
.tool__result .rval { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); background: linear-gradient(120deg, var(--brand-light), var(--brand-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.tool__result .rnote { font-size: 0.78rem; color: var(--t-lo); margin-top: 8px; }
.tool__steps { display: flex; gap: 8px; margin-bottom: 22px; }
.tool__steps .dot { flex: 1; height: 4px; border-radius: 4px; background: var(--navy-700); transition: background 0.3s; }
.tool__steps .dot.on { background: linear-gradient(90deg, var(--brand-light), var(--brand)); }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc {
  background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; transition: transform 0.35s var(--ease), border-color 0.35s; position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(56,208,255,0.4); }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(56,208,255,0.12); color: var(--brand-light); margin-bottom: 20px; }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc p { color: var(--t-mid); font-size: 0.94rem; }
.svc ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.svc li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--t-mid); }
.svc li svg { width: 16px; height: 16px; color: var(--brand-light); flex-shrink: 0; margin-top: 3px; }

/* ---------- Ueber uns ---------- */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__media .tag { position: absolute; bottom: 18px; left: 18px; background: rgba(6,13,24,0.78); backdrop-filter: blur(8px); padding: 12px 18px; border-radius: var(--r-md); border: 1px solid var(--glass-border); }
.about__media .tag b { font-family: var(--font-head); display: block; }
.about__media .tag span { font-size: 0.82rem; color: var(--t-mid); }
.usp-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp__ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(56,208,255,0.12); color: var(--brand-light); display: grid; place-items: center; flex-shrink: 0; }
.usp__ic svg { width: 20px; height: 20px; }
.usp b { font-family: var(--font-head); }
.usp p { color: var(--t-mid); font-size: 0.9rem; }

/* ---------- Bewertungen ---------- */
.rev-top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 44px; }
.rev-score { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); }
.rev-score__big { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); }
.section--light .rev-score { background: var(--white); border-color: var(--line-dark); box-shadow: var(--sh-sm); }
.rev-score__meta span { display: block; }
.rev-score__meta .src { font-family: var(--font-head); font-weight: 700; }
.rev-score__meta .cnt { font-size: 0.82rem; color: var(--ink-soft); }
.rev-grid { columns: 3; column-gap: 22px; }
.rev {
  break-inside: avoid; margin-bottom: 22px; background: var(--white); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm);
}
.rev .stars { font-size: 1rem; margin-bottom: 12px; }
.rev p { color: var(--ink); font-size: 0.98rem; }
.rev__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rev__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--white); flex-shrink: 0; }
.rev__who b { font-size: 0.92rem; color: var(--ink); }
.rev__who span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Suchauftrag ---------- */
.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-border); }
.finder__copy { padding: clamp(32px, 4vw, 52px); background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.finder__form { padding: clamp(32px, 4vw, 52px); background: var(--glass); }
.finder h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
.finder p { color: var(--t-mid); margin-top: 14px; }
.finder__list { margin-top: 22px; display: grid; gap: 12px; }
.finder__list li { display: flex; gap: 10px; align-items: center; color: var(--t-mid); font-size: 0.92rem; }
.finder__list svg { width: 18px; height: 18px; color: var(--brand-light); flex-shrink: 0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-border); }
.contact__info { padding: clamp(30px, 4vw, 48px); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.contact__form { padding: clamp(30px, 4vw, 48px); background: var(--glass); }
.ci-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci-row:last-of-type { border-bottom: none; }
.ci-row__ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(56,208,255,0.12); color: var(--brand-light); display: grid; place-items: center; flex-shrink: 0; }
.ci-row__ic svg { width: 20px; height: 20px; }
.ci-row b { font-family: var(--font-head); display: block; margin-bottom: 2px; }
.ci-row a, .ci-row span, .ci-row p { color: var(--t-mid); font-size: 0.94rem; }
.ci-row a:hover { color: var(--brand-light); }
.hours-line { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--t-mid); padding: 3px 0; }
.hours-line.today { color: var(--brand-light); font-weight: 700; }
.map-embed { margin-top: 8px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--navy-800); position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) brightness(0.9); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; padding: 24px; background: var(--navy-850); }
.map-consent p { color: var(--t-mid); font-size: 0.88rem; max-width: 36ch; margin-inline: auto; }

/* Formular generisch */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; }
.form-field input, .form-field select, .form-field textarea {
  background: var(--navy-850); border: 1px solid var(--glass-border); color: var(--t-hi);
  padding: 13px 15px; border-radius: var(--r-sm); font-size: 0.95rem; transition: border 0.2s; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(56,208,255,0.14); }
.form-field input.invalid, .form-field textarea.invalid { border-color: var(--red); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--t-lo); margin: 4px 0 18px; }
.form-consent input { margin-top: 3px; accent-color: var(--brand); }
.form-consent a { color: var(--brand-light); text-decoration: underline; }
.form-note { font-size: 0.8rem; color: var(--t-lo); margin-top: 12px; text-align: center; }
.form-ok { padding: 18px; border-radius: var(--r-md); background: var(--green-soft); border: 1px solid rgba(47,191,113,0.3); color: #aef0c8; display: none; align-items: center; gap: 10px; }
.form-ok.show { display: flex; }
.form-ok svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; transition: color 0.2s; }
.faq-q:hover { color: var(--brand-light); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--glass-border); display: grid; place-items: center; flex-shrink: 0; transition: 0.3s var(--ease); color: var(--brand-light); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--brand); color: #00121f; border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--t-mid); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 52px; margin-bottom: 18px; }
.footer__brand p { color: var(--t-mid); font-size: 0.9rem; max-width: 32ch; }
.footer h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-lo); margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a { color: var(--t-mid); font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: var(--brand-light); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--glass-border); display: grid; place-items: center; transition: 0.25s; }
.footer__social a:hover { background: var(--brand); color: #00121f; transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer__bottom p, .footer__bottom a { font-size: 0.84rem; color: var(--t-lo); }
.footer__made { font-size: 0.8rem; }
.footer__made a { color: var(--t-mid); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,0.45); transition: transform 0.25s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; color: #04210f; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Cookie-Consent ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px; margin-inline: auto; background: rgba(10,25,49,0.96); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--sh-lg); transform: translateY(160%); transition: transform 0.5s var(--ease); }
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie p { font-size: 0.86rem; color: var(--t-mid); }
.cookie p a { color: var(--brand-light); text-decoration: underline; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Modal (Fahrzeug-Detail / Termin) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,9,18,0.78); backdrop-filter: blur(6px); }
.modal__box { position: relative; z-index: 1; width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto; background: var(--navy-850); border: 1px solid var(--glass-border); border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(6,13,24,0.7); display: grid; place-items: center; border: 1px solid var(--glass-border); }
.modal__close:hover { background: var(--red); }
.modal__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.modal__body { padding: clamp(24px, 3vw, 36px); }
.modal__body h3 { font-size: 1.6rem; }
.detail-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.detail-spec { background: var(--glass-2); border-radius: var(--r-sm); padding: 14px; }
.detail-spec span { font-size: 0.76rem; color: var(--t-lo); display: block; }
.detail-spec b { font-family: var(--font-head); font-size: 1.02rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Demo-Hinweis ---------- */
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--t-lo); padding: 6px 13px; border-radius: var(--r-pill); background: var(--glass-2); border: 1px dashed var(--glass-border); }
.demo-note svg { width: 14px; height: 14px; color: var(--amber); }

/* ---------- Scroll-Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---------- Rechtsseiten (Legal) ---------- */
.legal { padding: 140px 0 90px; }
.legal__box { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; color: var(--brand-light); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--t-mid); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--brand-light); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--t-mid); }
.legal .back:hover { color: var(--brand-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { columns: 2; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .nav--mobile {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 90px 24px 28px;
    background: rgba(8,17,32,0.98); backdrop-filter: blur(18px);
    transform: translateY(-100%); transition: transform 0.4s var(--ease); z-index: 99;
  }
  .nav--mobile.open { transform: translateY(0); }
  .nav--mobile a { font-size: 1.1rem; padding: 14px 16px; color: var(--t-hi); border-bottom: 1px solid var(--line); }
  .nav--mobile .btn { margin-top: 16px; }
  .tools-grid, .about, .finder, .contact { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .finder, .contact { border-radius: var(--r-lg); }
}
@media (max-width: 620px) {
  .fleet { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .rev-grid { columns: 1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row, .field-grid, .detail-specs { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .filters__count { margin-left: 0; width: 100%; }
}
