/* ============================================================
   Deinauto24 – Stylesheet (Futuristic / Full-Screen)
   ============================================================ */

:root {
  --bg:        #13223f;
  --text:      #eaf1ff;
  --muted:     #93a4c8;
  --cyan:      #22d3ee;
  --blue:      #3b82f6;
  --gold:      #ffb703;
  --amber:     #ff8a00;
  --glass:     rgba(255,255,255,.06);
  --glass-brd: rgba(255,255,255,.18);
  --edge:      rgba(255,255,255,.34);   /* scharfe Kontur für Schaltflächen */
  --font:      "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: clip;   /* clip statt hidden: verhindert Seitwärts-Scroll, ohne sticky zu brechen */
  -webkit-font-smoothing: antialiased;
}

/* ---------- Animierter Hintergrund ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(1400px 800px at 50% -20%, #24365f 0%, transparent 60%), var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.b1 { width: 46vw; height: 46vw; left: -8vw;  top: -6vw;  background: #1d4ed8; }
.b2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw;   background: #b45309; animation-delay: -6s; }
.b3 { width: 38vw; height: 38vw; left: 30vw;  bottom: -14vw; background: #0e7490; animation-delay: -11s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(4vw,3vw) scale(1.12); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1000px 700px at 50% 40%, #000 0%, transparent 80%);
}

/* ---------- Top-Bar / Logo ---------- */
.top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 26px 20px 10px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  color: var(--gold);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(255,183,3,.25);
}
.logo-text { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.logo-accent { color: var(--gold); }
.logo-img { height: 120px; width: auto; display: block; }
.page-header .logo-img { height: 66px; }
/* Handy: Logo an Bildschirmbreite anpassen (nichts abschneiden) */
@media (max-width: 560px) {
  .logo-img { height: auto; width: min(88vw, 350px); }
  .page-header .logo-img { height: auto; width: min(55vw, 210px); }
}

/* Licht-Sweep über das Logo – nur beim Drüberfahren (wie die Panels) */
.logo { position: relative; overflow: hidden; }
.logo::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.9) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-14deg);
}
.logo:hover::after {
  transform: translateX(420%) skewX(-14deg);
  transition: transform 1.6s ease;
}

/* ---------- Split-Hero ---------- */
.split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 22px clamp(20px, 5vw, 64px) 26px;
  min-height: calc(100vh - 170px);
  align-items: center;
}

.panel {
  position: relative;
  display: flex;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border-radius: 26px;
  border: 1.5px solid var(--edge);
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
  min-height: 250px;
}
.panel:hover { transform: translateY(-8px); }

.panel-glow {
  position: absolute;
  inset: -2px;
  z-index: 0;
  opacity: .0;
  transition: opacity .35s;
  background: radial-gradient(600px 300px at 50% 0%, var(--_c, #fff), transparent 70%);
}
.panel:hover .panel-glow { opacity: .28; }

.panel-buy  { --_c: var(--cyan); }
.panel-sell { --_c: var(--gold); }
.panel-buy:hover  { border-color: rgba(34,211,238,.55); box-shadow: 0 30px 80px -30px rgba(34,211,238,.55); }
.panel-sell:hover { border-color: rgba(255,183,3,.55);  box-shadow: 0 30px 80px -30px rgba(255,183,3,.55); }

.panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 40px);
  align-self: center;
  width: 100%;
}
.panel-badge {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-brd);
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.panel-icon { color: var(--_c); filter: drop-shadow(0 0 14px currentColor); }
.panel h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.panel p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34ch; }
.panel-cta {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
  color: var(--_c);
}
.panel-cta .arrow { transition: transform .3s; }
.panel:hover .panel-cta .arrow { transform: translateX(6px); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 2;
  padding: 16px 20px 22px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .dot { margin: 0 8px; opacity: .5; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; min-height: auto; gap: 16px; padding-top: 10px; }
  .panel { min-height: 0; }
  /* Ankauf (für uns wichtiger) nach oben, Bestand darunter */
  .panel-sell { order: -1; }
  /* kompakter, damit der Verkauf-Button sofort sichtbar ist */
  .panel-content { padding: 20px 22px; gap: 8px; }
  .panel h2 { font-size: 1.55rem; }
  .panel p { font-size: .98rem; max-width: none; }
  .panel-icon svg { width: 52px; height: 52px; }
  .panel-badge { padding: 4px 10px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ============================================================
   ANKAUF – Assistent
   ============================================================ */
.wizard-page { display: flex; flex-direction: column; min-height: 100vh; }

.page-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;   /* bleibt beim Scrollen oben */
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(20px,5vw,48px);
  background: rgba(9, 15, 30, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-brd);
}
/* Platz für den fixierten Header schaffen */
.wizard-page { padding-top: 92px; }
@media (max-width: 560px) { .wizard-page { padding-top: 82px; } }
.page-header .logo-text { font-size: 1.4rem; }
.page-header .logo-mark { width: 40px; height: 40px; }
.back-link {
  color: var(--muted); text-decoration: none; font-size: .95rem;
  padding: 9px 16px; border-radius: 12px;
  border: 1px solid var(--glass-brd); background: var(--glass);
  backdrop-filter: blur(8px);
}
.back-link:hover { color: var(--text); border-color: rgba(255,255,255,.28); }

.wizard {
  position: relative; z-index: 2;
  width: 100%; max-width: 720px;
  margin: 10px auto 40px;
  padding: 0 20px;
  flex: 1;
}
.wizard-intro { text-align: center; margin-bottom: 26px; }
.wizard-intro h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px;
}
.wizard-intro p { color: var(--muted); font-size: 1.1rem; }

/* Fortschritt */
.progress {
  display: flex; align-items: center; gap: 8px;
  margin: 0 auto 26px; max-width: 560px;
}
.progress .bar {
  flex: 1; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.10); overflow: hidden;
}
.progress .bar > span {
  display: block; height: 100%; width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.progress .count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* Karte */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}

.step { display: none; animation: fade .35s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step-label { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.step h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 6px 0 22px; letter-spacing: -.01em; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .92rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }

.input, .select {
  width: 100%;
  padding: 15px 16px;
  font-size: 1.05rem;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-brd);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.input::placeholder { color: #5f719a; }
.input:focus, .select:focus {
  border-color: rgba(255,183,3,.6);
  box-shadow: 0 0 0 4px rgba(255,183,3,.14);
  background: rgba(255,255,255,.06);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a4c8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.select:disabled { opacity: .5; cursor: not-allowed; }
.select option { background: #0b1020; color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Buttons */
.actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.btn:disabled { opacity: .6; cursor: default; pointer-events: none; }

/* Spam-Schutz: Honeypot komplett aus dem Blickfeld (nicht display:none – Bots ignorieren das eher) */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Versand-Fehlermeldung */
.form-error {
  margin: 18px 0 0; padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 90, 90, .12); border: 1px solid rgba(255, 90, 90, .4);
  color: #ffd7d7; font-size: .92rem; line-height: 1.45;
}
.danke-phone { margin-top: 20px; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* Gate: Vorschalt-Frage vor Schritt 1 – nur Frage + zwei große Buttons */
.gate h2 { text-align: center; }
.gate-btns { display: grid; gap: 14px; margin-top: 24px; }
.gate-btn {
  font-family: inherit; font-size: 1.08rem; font-weight: 800; color: var(--text);
  padding: 24px 18px; border-radius: 16px; cursor: pointer; text-align: center;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--glass-brd);
  transition: transform .15s, border-color .2s, box-shadow .25s;
}
.gate-btn:hover, .gate-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 183, 3, .55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ===== Ankauf-Landingpage (Briefing 16.07.2026) ===== */
html { scroll-behavior: smooth; }

.trust-line {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin: 22px auto 0; color: var(--muted); font-size: .92rem; font-weight: 600;
}
.trust-line span { white-space: nowrap; }
.trust-line-badge {
  display: block; width: min(88%, 340px); height: auto;
  margin: 14px auto 0; border-radius: 8px;
}

/* WICHTIG: position+z-index heben den Inhalt über die fixe Aurora-Ebene (deckender
   Hintergrund, z-index 0) – ohne das wird die ganze Sektion übermalt und ist unklickbar. */
.lp { position: relative; z-index: 2; width: 100%; max-width: 760px; margin: 0 auto; padding: 26px 20px 10px; }
.lp-section { margin: 54px 0; }
.lp-section h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 18px;
  background: linear-gradient(90deg, #fff, var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-section > p { color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.lp-section a:not(.btn) { color: var(--gold); }
.lp .btn-next { color: #1a1200; }   /* Buttons behalten dunkle Schrift auf Gold – lesbar */

/* Trust-Block */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px;
  padding: 20px 22px;
}
.trust-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.trust-card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 3px; margin-bottom: 6px; }
.badge-banner {
  display: block; width: 100%; max-width: 380px; height: auto;
  margin-top: 14px; border-radius: 8px;
}
.badge-urkunde {
  display: block; width: 100%; max-width: 300px; height: auto;
  margin: 14px auto 0; border-radius: 10px; border: 1px solid var(--glass-brd);
}

/* Ablauf in 3 Schritten */
.steps3 { list-style: none; counter-reset: schritt; display: grid; gap: 14px; }
.steps3 li {
  counter-increment: schritt; position: relative; padding: 18px 20px 18px 66px;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px;
  color: var(--muted); line-height: 1.6;
}
.steps3 li strong { color: var(--text); display: block; margin-bottom: 4px; }
.steps3 li::before {
  content: counter(schritt);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffd166, var(--gold)); color: #1a2440;
  font-weight: 800; font-size: 1.05rem;
}

/* Öffnungszeiten-Box */
.oeffnungszeiten {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px;
  padding: 18px 22px; margin-top: 6px;
}
.oeffnungszeiten h3 { font-size: 1rem; margin-bottom: 8px; color: var(--gold); }
.oeffnungszeiten p { color: var(--muted); line-height: 1.8; }

/* FAQ erste Ebene: zwei große Kacheln */
.faq-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 560px) { .faq-kacheln { grid-template-columns: 1fr; } }
.faq-kachel {
  font-family: inherit; font-size: 1.02rem; font-weight: 800; color: var(--text);
  padding: 22px 16px; border-radius: 16px; cursor: pointer; text-align: center;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--glass-brd);
  transition: transform .15s, border-color .2s, box-shadow .25s;
}
.faq-kachel:hover { transform: translateY(-2px); border-color: rgba(255, 183, 3, .55); }
.faq-kachel.active {
  border-color: var(--gold);
  background: rgba(255, 183, 3, .1);
  box-shadow: 0 8px 26px -10px rgba(255, 183, 3, .45);
}
.faq-gruppe-box { margin-bottom: 8px; }

/* FAQ-Akkordeon (modular: jede Frage ein <details class="faq-item">) */
.faq-gruppe { margin: 26px 0 12px; font-size: 1.05rem; color: var(--gold); }
.faq-item {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 12px;
  margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 700; font-size: .97rem;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.3rem; font-weight: 800; transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 18px 15px; color: var(--muted); line-height: 1.65; font-size: .93rem; }

/* Offene-Frage-Formular */
.tel-link { font-weight: 800; white-space: nowrap; text-decoration: none; }
.frage-form { margin-top: 18px; }
.frage-form .field { margin-bottom: 14px; }
textarea.input { resize: vertical; min-height: 100px; font-family: inherit; }
.frage-form .btn { width: 100%; }
.frage-danke { color: #7ee2a0; font-weight: 700; font-size: 1.05rem; text-align: center; padding: 16px 0; }

/* Abschluss-CTA */
.lp-cta { text-align: center; padding: 34px 0 20px; }
.lp-cta .btn { display: inline-block; text-decoration: none; margin-top: 8px; }
.btn {
  font-family: inherit; font-size: 1.02rem; font-weight: 700;
  padding: 15px 26px; border-radius: 14px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .25s, background .2s, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--muted);
  border-color: var(--glass-brd);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.btn-ghost[hidden] { display: none; }
.btn-next {
  background: linear-gradient(90deg, var(--gold), var(--amber));
  color: #1a1200;
  box-shadow: 0 12px 34px -12px rgba(255,138,0,.7);
  margin-left: auto;
}
.btn-next:hover { box-shadow: 0 20px 50px -12px rgba(255,138,0,1); transform: translateY(-2px); }
.btn-next:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* Zusammenfassung */
.summary { list-style: none; display: grid; gap: 10px; margin: 4px 0 8px; }
.summary li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd);
}
.summary li span:first-child { color: var(--muted); }
.summary li span:last-child { font-weight: 700; text-align: right; }

.success {
  text-align: center; padding: 20px 0;
}
.success .check {
  width: 74px; height: 74px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(34,211,238,.14);
  border: 1px solid rgba(34,211,238,.5);
  color: var(--cyan);
  box-shadow: 0 0 40px -8px rgba(34,211,238,.6);
}
.success h2 { font-size: 1.7rem; margin-bottom: 8px; }
.success p { color: var(--muted); max-width: 40ch; margin: 0 auto; }

/* ---------- Segmented Control (Identifikations-Methode) ---------- */
.segmented {
  display: flex; gap: 6px; margin-bottom: 20px;
  padding: 5px; border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--edge);
}
.seg {
  flex: 1; font-family: inherit; font-size: .95rem; font-weight: 600;
  color: var(--muted); cursor: pointer;
  padding: 11px 8px; border-radius: 10px; border: none;
  background: transparent; transition: background .2s, color .2s;
  white-space: nowrap;
}
.seg { transition: background .2s, color .2s, transform .15s, box-shadow .25s; }
.seg:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(255,183,3,.6);
  background: rgba(255,183,3,.07);
}
.seg.active {
  color: #1a1200;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 12px 30px -10px rgba(255,138,0,.85);
  transform: none;
}
@media (max-width: 480px) {
  .segmented { flex-direction: column; }
  .seg { text-align: center; }
}

.method-panel { animation: fade .25s ease; }
.hint-inline {
  font-size: .72rem; font-weight: 700; color: var(--gold);
  background: rgba(255,183,3,.12); border-radius: 6px;
  padding: 1px 6px; margin-left: 4px;
}
.field-hint { display: block; color: var(--muted); font-size: .82rem; margin-top: 7px; line-height: 1.4; }

/* Motor-Aufklapper */
.motor-details { margin-top: 4px; border: 1px solid var(--glass-brd); border-radius: 12px; background: rgba(255,255,255,.03); }
.motor-details summary {
  cursor: pointer; padding: 12px 16px; font-size: .95rem; font-weight: 600; color: var(--muted);
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.motor-details summary::-webkit-details-marker { display: none; }
.motor-details summary::before { content: "＋"; color: var(--gold); font-weight: 800; }
.motor-details[open] summary::before { content: "－"; }
.motor-details summary:hover { color: var(--text); }
.motor-details .field { padding: 0 16px 14px; margin: 0; }

/* Sperr-Hinweis (Kraftstoff aus Fahrzeugdaten) */
.lock-note {
  margin-top: 8px; font-size: .85rem; color: var(--cyan);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.lock-note a { color: var(--muted); text-decoration: underline; }
.lock-note a:hover { color: var(--text); }

/* Fahrzeug-Trefferanzeige */
.id-result {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  font-size: .95rem; line-height: 1.45;
  border: 1px solid var(--glass-brd); background: rgba(255,255,255,.04);
  animation: fade .25s ease;
}
.id-result.ok   { border-color: rgba(34,211,238,.55); background: rgba(34,211,238,.09); box-shadow: 0 14px 34px -20px rgba(34,211,238,.7); }
.id-result.warn { border-color: rgba(255,183,3,.45);  background: rgba(255,183,3,.07); }
.id-result .veh { font-weight: 800; color: var(--text); font-size: 1.06rem; display: flex; align-items: center; gap: 9px; }
.id-result .veh .chk {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(34,211,238,.16); color: var(--cyan);
}
.id-result .spec  { color: var(--muted); margin-top: 5px; }
.id-result .codes { color: var(--muted); font-size: .82rem; margin-top: 7px; font-family: 'Courier New', monospace; letter-spacing: .04em; }
.id-result .warn-title { color: var(--gold); font-weight: 700; }

/* Euro-Feld */
.input-euro { position: relative; }
.input-euro .input { padding-right: 40px; }
.input-euro .euro {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 700; pointer-events: none;
}

/* ---------- Chip-Auswahl (Getriebe, Zustand) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-col { flex-direction: column; }
.chip {
  font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--text); text-align: left;
  padding: 14px 18px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--edge);
  transition: border-color .2s, background .2s, transform .1s, box-shadow .25s;
}
.chips:not(.chips-col) .chip { flex: 1; text-align: center; min-width: 130px; }
.chip:hover {
  border-color: rgba(255,183,3,.45);
  background: rgba(255,183,3,.07);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(255,183,3,.7);
}
.chip:active { transform: translateY(0); }
.chip.selected {
  border-color: rgba(255,183,3,.7);
  background: rgba(255,183,3,.12);
  box-shadow: 0 0 0 3px rgba(255,183,3,.14), 0 16px 34px -16px rgba(255,138,0,.75);
}

/* ---------- Foto-Upload ---------- */
.optional {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-brd); border-radius: 999px;
  padding: 2px 8px; margin-left: 6px; text-transform: none;
}
.step-hint { color: var(--muted); font-size: .95rem; margin: -12px 0 20px; line-height: 1.5; }

.dropzone {
  display: block; cursor: pointer;
  border: 2px dashed var(--edge);
  border-radius: 18px; padding: 34px 20px;
  text-align: center; color: var(--muted);
  background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s, color .2s, transform .15s, box-shadow .25s;
}
.dropzone:hover, .dropzone.drag {
  border-color: rgba(255,183,3,.6);
  background: rgba(255,183,3,.06);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(255,183,3,.7);
}
.dropzone-inner { display: grid; gap: 8px; place-items: center; }
.dropzone-inner svg { color: var(--gold); }
.dropzone-inner strong { font-size: 1.05rem; color: var(--text); }
.dropzone-inner small { font-size: .85rem; }

.thumb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px; margin-top: 16px;
}
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-brd); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-del {
  position: absolute; top: 5px; right: 5px;
  width: 24px; height: 24px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 16px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.thumb-del:hover { background: rgba(220,38,38,.9); }

/* ---------- Datenschutz-Häkchen ---------- */
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; cursor: pointer;
  color: var(--muted); font-size: .92rem; line-height: 1.5;
  padding: 4px; border-radius: 12px;
}
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-box {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid var(--glass-brd); background: rgba(255,255,255,.04);
  display: grid; place-items: center; color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.consent input:checked + .consent-box {
  background: linear-gradient(90deg, var(--gold), var(--amber));
  border-color: transparent; color: #1a1200;
}
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 4px rgba(255,183,3,.2); }
.consent-text a { color: var(--gold); }

/* ---------- Info-Button + Overlay ---------- */
.info-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px; vertical-align: middle;
  font-family: inherit; font-size: .82rem; font-weight: 700;
  color: var(--gold); cursor: pointer;
  padding: 4px 10px 4px 5px; border-radius: 999px;
  background: rgba(255,183,3,.10);
  border: 1px solid rgba(255,183,3,.30);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.info-btn:hover {
  background: rgba(255,183,3,.18);
  box-shadow: 0 10px 24px -12px rgba(255,183,3,.8);
  transform: translateY(-1px);
}
.info-i {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  color: #1a1200; font-size: .74rem; font-weight: 900; font-style: italic;
}

.modal-backdrop[hidden] { display: none; }   /* hidden-Attribut muss gewinnen */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(5,7,15,.72);
  backdrop-filter: blur(6px);
  animation: fade .2s ease;
}
.modal {
  position: relative;
  width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #16223c, #0e1730);
  border: 1px solid var(--glass-brd);
  border-radius: 22px;
  padding: 30px 26px 26px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  animation: pop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { opacity:0; transform: translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--glass-brd); cursor: pointer;
  background: rgba(255,255,255,.05); color: var(--muted);
  font-size: 20px; line-height: 1; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: var(--text); }
.modal-title { font-size: 1.3rem; font-weight: 800; margin: 0 30px 8px 0; letter-spacing: -.01em; }
.modal-lead { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 18px; }

.info-illu {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-brd);
  background: #dfe7d8; padding: 10px;
  margin-bottom: 18px;
}
.info-illu svg { width: 100%; height: auto; display: block; }

.info-points { list-style: none; display: grid; gap: 10px; }
.info-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem; color: var(--text); line-height: 1.45;
}
.info-points li span[class^="dot-"] {
  flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px;
}
.dot-gold { background: var(--gold); box-shadow: 0 0 10px rgba(255,183,3,.7); }
.dot-mute { background: var(--muted); }
.info-points strong { color: #fff; }

/* ============================================================
   MEHR EFFEKTE
   ============================================================ */

/* Einflug der Start-Panels */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.home .panel { opacity: 0; animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.home .panel-buy  { animation-delay: .10s; }
.home .panel-sell { animation-delay: .22s; }
.home .top-bar, .home .tagline, .home .site-footer { opacity: 0; animation: rise .6s ease forwards; }
.home .tagline { animation-delay: .05s; }

/* Licht-Sweep über Panels & Haupt-Buttons */
.panel::after,
.btn-next::after,
.seg.active::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 46%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.panel::after { z-index: 1; border-radius: inherit; }
.btn-next, .seg.active { position: relative; overflow: hidden; }
.btn-next::after, .seg.active::after { border-radius: inherit; }
.panel:hover::after,
.btn-next:hover::after { transform: translateX(130%); transition: transform .85s ease; }
.seg.active::after { animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 0%,55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* Schimmer auf dem Fortschrittsbalken */
.progress .bar > span { position: relative; overflow: hidden; }
.progress .bar > span::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-100%);
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* Wizard-Karte & Panels: sanftes Auftauchen der Schritte bleibt (fade) */
.wizard .card { animation: rise .5s ease; }

/* Info-Grafik: dezenter Rahmen-Glow */
.info-illu { box-shadow: 0 14px 40px -22px rgba(255,183,3,.5); }

@media (prefers-reduced-motion: reduce) {
  .home .panel, .home .top-bar, .home .tagline, .home .site-footer,
  .wizard .card { opacity: 1 !important; animation: none !important; }
  .panel::after, .btn-next::after, .seg.active::after,
  .progress .bar > span::after, .logo::after { display: none; }
}

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; width: 100%; padding: 16px clamp(16px,4vw,40px) 60px; flex: 1; }
.legal h1 { font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 6px; }
.legal .lead { color: var(--muted); margin-bottom: 26px; }
.legal h2 { font-size: 1.2rem; font-weight: 800; margin: 30px 0 10px; color: var(--gold); }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal strong { color: var(--text); font-weight: 700; }
.legal a { color: var(--gold); }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.ph { color: #ffd66b; background: rgba(255,183,3,.12); border: 1px dashed rgba(255,183,3,.4); padding: 0 6px; border-radius: 5px; font-style: italic; }

/* ============================================================
   FAHRZEUG-GALERIE (Unsere Fahrzeuge)
   ============================================================ */
.fz-page { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; width: 100%; padding: 0 clamp(16px,4vw,40px) 40px; flex: 1; }
.fz-hero { text-align: center; padding: 10px 0 6px; }
.fz-hero h1 { font-size: clamp(1.8rem,4.5vw,2.8rem); font-weight: 800; letter-spacing: -.02em; }
.fz-hero p { color: var(--muted); font-size: 1.1rem; margin-top: 6px; }

/* Filter-/Sortierleiste */
.fz-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin: 24px 0 22px; padding: 14px 16px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(12px);
}
.fz-bar .fz-count { font-weight: 700; }
.fz-bar .fz-count span { color: var(--gold); }
.fz-bar select {
  appearance: none; font-family: inherit; font-size: .95rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1.5px solid var(--edge); border-radius: 12px;
  padding: 10px 40px 10px 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a4c8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.fz-bar select option { background: #0b1020; }

/* Karten-Raster */
.fz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.fz-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; border: 1.5px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(12px); text-decoration: none; color: var(--text);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.fz-card:hover { transform: translateY(-6px); border-color: rgba(255,183,3,.55); box-shadow: 0 26px 60px -28px rgba(255,183,3,.6); }

.fz-img {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #16223c, #0b1526);
  display: grid; place-items: center;
}
.fz-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fz-img .fz-placeholder { color: rgba(255,183,3,.5); }
.fz-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,183,3,.16);
  color: var(--gold); border: 1px solid rgba(255,183,3,.4); backdrop-filter: blur(6px);
}

.fz-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fz-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.fz-sub { color: var(--muted); font-size: .9rem; margin-top: 2px; }

.fz-price { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.fz-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }

.fz-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.fz-specs span {
  font-size: .82rem; color: var(--muted); background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-brd); border-radius: 8px; padding: 5px 9px;
}
.fz-cta {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--gold); font-size: .98rem;
}
.fz-cta .arrow { transition: transform .3s; }
.fz-card:hover .fz-cta .arrow { transform: translateX(5px); }

.fz-empty { text-align: center; color: var(--muted); padding: 40px 20px; grid-column: 1 / -1; }
.fz-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; }

/* ---------- Fahrzeug-Detailansicht (Overlay) ---------- */
.fzd-overlay {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: 16px;
  background: rgba(5,8,16,.8); backdrop-filter: blur(8px);
  animation: fade .2s ease;
}
.fzd-overlay[hidden] { display: none; }
.fzd-modal {
  position: relative; width: 100%; max-width: 860px; max-height: 92vh;
  overflow-y: auto; border-radius: 22px;
  background: linear-gradient(180deg, #1a2947, #101b33);
  border: 1.5px solid var(--edge);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  animation: pop .25s cubic-bezier(.2,.8,.2,1);
}
.fzd-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--glass-brd);
  background: rgba(5,8,16,.6); color: #fff; font-size: 22px; cursor: pointer;
  backdrop-filter: blur(6px);
}
.fzd-close:hover { background: rgba(220,38,38,.8); }

.fzd-gallery { position: relative; aspect-ratio: 16/9; background: #0b1526; overflow: hidden; border-radius: 22px 22px 0 0; }
.fzd-img, .fzd-img img { width: 100%; height: 100%; }
.fzd-img img { object-fit: cover; display: block; }
.fzd-img { display: grid; place-items: center; color: rgba(255,183,3,.5); }
.fzd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-brd);
  background: rgba(5,8,16,.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s;
}
.fzd-nav:hover { background: rgba(255,183,3,.35); }
.fzd-nav.prev { left: 12px; }
.fzd-nav.next { right: 12px; }
.fzd-count {
  position: absolute; bottom: 12px; right: 14px;
  font-size: .8rem; font-weight: 700; color: #fff;
  background: rgba(5,8,16,.6); border-radius: 999px; padding: 4px 12px; backdrop-filter: blur(6px);
}

.fzd-body { padding: clamp(18px, 3vw, 30px); }
.fzd-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
.fzd-sub { color: var(--muted); margin-top: 2px; }
.fzd-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--gold); margin: 10px 0 4px; }
.fzd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.fzd-chips span {
  font-size: .8rem; font-weight: 700; color: var(--gold);
  background: rgba(255,183,3,.12); border: 1px solid rgba(255,183,3,.35);
  border-radius: 999px; padding: 4px 12px;
}
.fzd-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin: 16px 0;
}
.fzd-grid div {
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd);
  border-radius: 12px; padding: 10px 12px;
}
.fzd-grid small { display: block; color: var(--muted); font-size: .75rem; }
.fzd-grid strong { font-size: .95rem; }
.fzd-details { border: 1px solid var(--glass-brd); border-radius: 12px; background: rgba(255,255,255,.03); margin: 6px 0 14px; }
.fzd-details summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--muted); list-style: none; }
.fzd-details summary::before { content: "＋ "; color: var(--gold); font-weight: 800; }
.fzd-details[open] summary::before { content: "－ "; }
.fzd-details ul {
  columns: 2; gap: 20px; list-style: none; padding: 0 16px 14px; margin: 0;
  color: var(--muted); font-size: .92rem; line-height: 1.9;
}
.fzd-details li::before { content: "✓ "; color: var(--gold); }
.fzd-text { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 14px 0; padding-top: 14px; border-top: 1px solid var(--glass-brd); }
.fzd-text h4 { margin: 0 0 8px; color: var(--text); font-size: 1rem; }
.fzd-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.fzd-btn {
  flex: 1; min-width: 200px; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 1.05rem; padding: 15px 20px; border-radius: 14px;
  transition: transform .15s, box-shadow .25s;
}
.fzd-btn:hover { transform: translateY(-2px); }
.fzd-btn.call { background: linear-gradient(90deg, var(--gold), var(--amber)); color: #1a1200; box-shadow: 0 14px 34px -14px rgba(255,138,0,.8); }
.fzd-btn.mail { background: transparent; color: var(--gold); border: 1.5px solid rgba(255,183,3,.55); }
.fzd-nr { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 12px; }
@media (max-width: 560px) {
  .fzd-details ul { columns: 1; }
  .fzd-gallery { aspect-ratio: 4/3; }
}
