/* Automobile Dadi – Landingpage
   Liquid-Glass-Annäherung per backdrop-filter (keine offizielle Apple-Bibliothek, siehe Projektnotiz).
   Reines CSS/HTML/JS, kein Build-Schritt, ein Akzentton, ein Radius-System. */

:root {
  --bg: #0a0c10;
  --bg-elevated: #12151b;
  --text: #f2f4f7;
  --text-muted: #9aa3af;
  --accent: #34c78a;
  --accent-strong: #5fe0a8;
  --accent-rgb: 52, 199, 138;
  --accent-strong-rgb: 95, 224, 168;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.35);
  --radius: 20px;
  --radius-pill: 999px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

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

a { color: inherit; }

h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; margin: 0 0 0.5em; }

/* ---------- Liquid glass panel ---------- */
.glass-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 50px rgba(0,0,0,0.45);
}

@media (prefers-reduced-transparency: reduce) {
  .glass-frame { background: var(--bg-elevated); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Layout helpers ---------- */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 12, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name-light {
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  font-size: 13px;
  margin-left: 2px;
}

.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 0 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:active { transform: scale(0.98); }

/* ---------- Shimmer-Effekt (alle Buttons) ---------- */
.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 35%;
  height: 220%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.85) 50%, transparent 70%);
  transform: rotate(8deg);
  mix-blend-mode: overlay;
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shimmer {
  0% { left: -60%; }
  55%, 100% { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
}

.btn-primary { background: var(--accent); color: #06070a; }
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 24px 96px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.55;
  filter: saturate(0.8) brightness(0.95);
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,16,0.22) 0%, rgba(10,12,16,0.75) 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,12,16,0.6), rgba(10,12,16,0.12) 55%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb),0.22), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-inner-centered {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  max-width: 14ch;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.stars { color: var(--accent-strong); letter-spacing: 2px; }


/* ---------- Trust ---------- */
.trust { padding: 0 24px 96px; }
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 32px 0;
}
.trust-stat { display: flex; align-items: center; gap: 16px; }
.trust-number { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.trust-detail { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-muted); }
.trust-note { color: var(--text-muted); font-size: 15px; margin: 0 0 0 auto; }

/* ---------- USP ---------- */
.usp { padding: 0 0 96px; }
.usp h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 32px; }

.usp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.usp-card {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Spotlight-Hover-Effekt (usp-card) ---------- */
.usp-card .spotlight-glow {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.35), transparent 60%);
}
.usp-card .spotlight-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black, transparent 75%);
  mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black, transparent 75%);
}
.usp-card.is-hovering .spotlight-glow,
.usp-card.is-hovering .spotlight-canvas {
  opacity: 1;
}
.usp-card > *:not(.spotlight-glow):not(.spotlight-canvas) {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .usp-card .spotlight-glow,
  .usp-card .spotlight-canvas { display: none; }
}
@media (hover: none) {
  .usp-card .spotlight-glow,
  .usp-card .spotlight-canvas { display: none; }
}

.usp-featured {
  grid-row: 1 / 3;
  background: linear-gradient(160deg, rgba(var(--accent-rgb),0.16), rgba(255,255,255,0.02));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.usp-card h3 { font-size: 20px; margin-bottom: 10px; }
.usp-card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 0 0 96px; }
.testimonials h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 32px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
}
.testimonial-card p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--text);
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.testimonial-card cite {
  font-style: normal;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Bestand ---------- */
.bestand { padding: 0 0 96px; }
.bestand-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bestand-copy h2 { font-size: clamp(26px, 3vw, 36px); }
.bestand-copy p { color: var(--text-muted); font-size: 16px; max-width: 48ch; margin-bottom: 24px; }
.bestand-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.bestand-visual { padding: 10px; }
.bestand-visual img { width: 100%; height: auto; border-radius: calc(var(--radius) - 6px); aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Ueber uns ---------- */
.ueber-uns { padding: 0 0 96px; }
.ueber-uns h2 { font-size: clamp(26px, 3vw, 36px); }
.ueber-text { color: var(--text-muted); font-size: 17px; max-width: 62ch; }

/* ---------- Kontakt ---------- */
.kontakt { padding: 0 0 96px; }
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.kontakt-info { padding: 32px; }
.kontakt-info h2 { font-size: 26px; margin-bottom: 20px; }
.kontakt-info dl { margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.kontakt-info dt { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.kontakt-info dd { margin: 0; font-size: 17px; }
.kontakt-info a:not(.btn) { text-decoration: none; color: var(--text); }

.kontakt-map { min-height: 320px; padding: 0; }
.kontakt-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: inherit; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-inner a { text-decoration: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero-inner, .bestand-inner, .kontakt-inner { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-featured { grid-row: auto; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 20px;
    background: rgba(10, 12, 16, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .trust-note { margin-left: 0; }
}
