/* AutoDealer – Website-Design-System (identisch zur App: Gold auf Dunkel, ein Akzent) */
:root {
  --bg: #0B0C0F;
  --card: #15161B;
  --card-hi: #1C1E24;
  --border: #23252C;
  --text: #F2F3F5;
  --text-2: #A0A6B0;
  --text-3: #787E89;
  --gold: #C8A84B;
  --gold-light: #E8D48B;
  --radius: 16px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--bg);
  padding: 10px 18px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--gold); }
.brand svg { flex-shrink: 0; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text-2); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta {
  background: var(--gold); color: var(--bg);
  padding: 9px 18px; border-radius: 10px; font-weight: 700;
}
.nav .cta:hover { background: var(--gold-light); }

/* Hero */
.hero { padding: 84px 0 64px; }
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--gold); }
.hero .sub { color: var(--text-2); font-size: 1.15rem; margin: 20px 0 32px; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 1rem;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); text-decoration: none; }
.btn-secondary { border: 1px solid var(--border); color: var(--text); background: var(--card); }
.btn-secondary:hover { border-color: var(--gold); text-decoration: none; }
.hero-note { color: var(--text-3); font-size: 0.85rem; margin-top: 16px; }

/* Phone-Mockup (reines CSS, keine Bild-Assets = schnellste Ladezeit) */
.phone {
  width: 290px; margin: 0 auto;
  background: var(--bg); border: 8px solid #1F212A; border-radius: 34px;
  padding: 18px 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.phone .p-title { font-size: 1.05rem; font-weight: 700; }
.phone .p-sub { font-size: 0.75rem; color: var(--text-2); margin: 2px 0 10px; }
.phone .p-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px; margin-bottom: 9px;
}
.phone .p-toggle { display: flex; background: var(--card-hi); border-radius: 8px; padding: 3px; gap: 3px; margin-bottom: 10px; }
.phone .p-toggle span { flex: 1; text-align: center; font-size: 0.68rem; padding: 5px 0; border-radius: 6px; color: var(--text-2); }
.phone .p-toggle .on { background: var(--gold); color: var(--bg); font-weight: 700; }
.phone .p-label { font-size: 0.68rem; color: var(--text-2); }
.phone .p-price { font-size: 1.7rem; font-weight: 700; color: var(--gold); margin: 2px 0; }
.phone .p-range { font-size: 0.7rem; color: var(--text-3); }
.phone .p-conf { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.phone .p-conf .bar { flex: 1; height: 4px; background: var(--card-hi); border-radius: 2px; overflow: hidden; }
.phone .p-conf .bar i { display: block; height: 100%; width: 75%; background: #34C38F; }
.phone .p-conf small { font-size: 0.65rem; color: #34C38F; font-weight: 600; }
.phone .p-row { display: flex; justify-content: space-between; align-items: center; }
.phone .p-row .t { font-size: 0.78rem; font-weight: 600; }
.phone .p-row .m { font-size: 0.68rem; color: var(--text-3); }
.phone .p-row .v { font-size: 0.82rem; font-weight: 700; color: var(--gold); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: #0E0F13; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-kicker { color: var(--gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 10px 0 14px; letter-spacing: -0.01em; }
.section-intro { color: var(--text-2); max-width: 40rem; margin-bottom: 40px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 23px;
  background: rgba(200, 168, 75, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 0.93rem; }

/* Steps */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step + .step { margin-top: 26px; }
.step .num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px;
  background: rgba(200, 168, 75, 0.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: 0.95rem; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; color: var(--text-2); font-size: 0.95rem; }

/* B2B */
.b2b {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card) 0%, #17150e 100%);
  padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer p { color: var(--text-3); font-size: 0.85rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-2); font-size: 0.9rem; }

/* Rechtstexte */
.legal { padding: 60px 0 80px; max-width: 760px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 8px; }
.legal .stand { color: var(--text-3); font-size: 0.85rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 0.97rem; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal .placeholder {
  background: rgba(240, 169, 59, 0.1); border: 1px solid rgba(240, 169, 59, 0.4);
  color: #F0A93B; padding: 2px 8px; border-radius: 6px; font-weight: 600;
}

/* Hero-Glow hinter dem Phone-Mockup */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -12% -18%;
  background: radial-gradient(closest-side, rgba(200,168,75,0.16), transparent 72%);
  z-index: 0; pointer-events: none;
}
.hero-visual .phone { position: relative; z-index: 1; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.35rem; color: var(--gold); letter-spacing: -0.01em; }
.hero-stats div span { font-size: 0.82rem; color: var(--text-3); }

/* Bento-Grid für Funktionen */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--card-hi) 0%, var(--card) 34%);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bento-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.55), transparent);
}
.bento-card:hover { transform: translateY(-3px); border-color: rgba(200,168,75,0.35); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bento-head .icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(200,168,75,0.10); border: 1px solid rgba(200,168,75,0.25);
  display: flex; align-items: center; justify-content: center;
}
.bento-card h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.bento-card > p { color: var(--text-2); font-size: 0.94rem; max-width: 42rem; }
.bento-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25); border-radius: 999px; padding: 3px 10px;
  margin-left: auto; white-space: nowrap;
}

/* Mini-Visuals in den Bento-Karten */
.mini { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 13px; font-size: 0.82rem; color: var(--text-2);
}
.chip strong { color: var(--text); font-weight: 600; }
.chip .dot { width: 7px; height: 7px; border-radius: 4px; background: #34C38F; }
.chip-price {
  background: rgba(200,168,75,0.1); border-color: rgba(200,168,75,0.3);
  color: var(--gold); font-weight: 700; font-size: 0.95rem;
}
.chip-mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0.08em; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.mini-toggle {
  display: flex; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 3px; gap: 3px; width: 100%; max-width: 250px;
}
.mini-toggle span { flex: 1; text-align: center; font-size: 0.74rem; padding: 7px 4px; border-radius: 7px; color: var(--text-2); }
.mini-toggle .on { background: var(--gold); color: var(--bg); font-weight: 700; }
.mini-bar { width: 100%; max-width: 300px; }
.mini-bar .track { height: 5px; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.mini-bar .track i { display: block; height: 100%; width: 75%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.mini-bar small { display: block; margin-top: 6px; font-size: 0.72rem; color: var(--text-3); }

/* Vertrauens-Leiste unter dem Bento */
.trust-bar {
  margin-top: 18px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--card);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.trust-bar div {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 18px 14px; font-size: 0.88rem; color: var(--text-2);
}
.trust-bar div + div { border-left: 1px solid var(--border); }
.trust-bar svg { flex-shrink: 0; }

/* Mobile */
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-2 { grid-column: span 1; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar div { justify-content: flex-start; }
  .trust-bar div + div { border-left: none; border-top: 1px solid var(--border); }
  .hero-stats { gap: 20px; }
}

@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .b2b { grid-template-columns: 1fr; padding: 28px 22px; }
  .nav a:not(.cta) { display: none; }
  section { padding: 52px 0; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .phone { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ── Facelift 24.07.2026: Logo, Screenshots, Preise ─────────────────── */
.brand-logo { display: inline-block; vertical-align: middle; }
.hero-visual img {
  width: 100%; max-width: 360px; height: auto; border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(200,168,75,.18);
  display: block; margin: 0 auto;
}
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 300px);
  gap: 18px; overflow-x: auto; padding: 28px 4px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img {
  width: 100%; height: auto; border-radius: 18px; scroll-snap-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(200,168,75,.14);
}
.pricing {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 16px; margin-top: 32px;
}
.price-card {
  position: relative; background: var(--card, #14151a);
  border: 1px solid rgba(200,168,75,.16); border-radius: 16px; padding: 22px;
}
.price-card.featured { border-color: rgba(200,168,75,.55); }
.price-card .badge {
  position: absolute; top: -11px; right: 16px; background: #C8A84B; color: #14100a;
  font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.price-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.price-card .price { font-size: 1.7rem; font-weight: 800; color: #C8A84B; margin: 0; }
.price-card .price span { font-size: .85rem; font-weight: 600; color: var(--text-2, #9aa0aa); }
.price-card .price-sub { color: var(--text-2, #9aa0aa); font-size: .84rem; margin: 2px 0 14px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.price-card li { font-size: .88rem; color: var(--text-2, #cfd3da); padding-left: 20px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #C8A84B; font-weight: 700; }
.pricing-note { color: var(--text-2, #9aa0aa); font-size: .84rem; margin-top: 18px; text-align: center; }


/* ── Feinschliff 24.07.: Anker unter Sticky-Header, Galerie-Scrollbalken ── */
[id] { scroll-margin-top: 84px; }
body { overflow-x: clip; }
.shots {
  scrollbar-width: thin;
  scrollbar-color: rgba(200,168,75,.55) rgba(255,255,255,.06);
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.shots::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(200,168,75,.75), rgba(200,168,75,.45));
  border-radius: 999px;
}
.shots::-webkit-scrollbar-thumb:hover { background: rgba(200,168,75,.9); }
