/* ============================================================
   Autozentrum Kozak — Erstentwurf
   Brand: Schwarz #0A0B0D · Orange #F99A40 · Chrom
   Fonts: Inter (UI/Text) + Michroma (Tech-Labels), self-hosted
   Radius-System: einheitlich 10px (Cards, Buttons, Inputs)
   ============================================================ */

@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Michroma'; src: url('../assets/fonts/Michroma-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0B0D;
  --surface: #141518;
  --surface-2: #1C1C1E;
  --surface-3: #262628;
  --line: rgba(244, 244, 245, 0.08);
  --accent: #F99A40;
  --accent-deep: #E07E1F;
  --text: #F4F4F5;
  --text-muted: #A5A5A9;
  --text-dim: #8E8E90;
  --radius: 10px;
  --wrap: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #0A0B0D; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Icons (Phosphor inline) */
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p  { max-width: 65ch; }

.eyebrow {
  font-family: 'Michroma', 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #17110A; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(244,244,245,0.25); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.18s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; background: none; border: 0; color: var(--text); cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-burger .ic { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(249, 154, 64, 0.10), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(244, 244, 245, 0.05), transparent 55%),
    linear-gradient(160deg, #101114 0%, #0A0B0D 55%, #0D0E11 100%);
}
.hero-bg::after {
  /* diagonaler Chrom-Lichtstreifen wie auf den Printsachen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(244,244,245,0.045) 50%, transparent 58%);
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: calc(var(--nav-h) + 48px) 24px 64px;
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: 48px;
  width: 100%;
}
.hero-sub { color: var(--text-muted); margin: 1.2rem 0 2rem; font-size: 1.08rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55)); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- Bento Leistungen ---------- */
.bento {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px;
}
.bento-cell {
  grid-column: span 2;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.bento-wide { grid-column: span 3; }
.bento-cell:hover { border-color: rgba(249, 154, 64, 0.45); transform: translateY(-3px); }
.bento-cell.has-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  opacity: 0.55; transition: opacity 0.3s var(--ease), transform 0.6s var(--ease);
}
.bento-cell.has-img:hover::before { opacity: 0.7; transform: scale(1.03); }
.bento-cell.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,0.92) 20%, rgba(10,11,13,0.25) 65%, transparent);
}
.cell-body { position: relative; z-index: 1; padding: 28px; }
.cell-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: var(--radius);
  background: rgba(249, 154, 64, 0.12);
  color: var(--accent);
}
.cell-icon .ic { width: 24px; height: 24px; }
.cell-body p { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Split (Über uns / Kontakt) ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split-copy p { color: var(--text-muted); margin-bottom: 1em; }
.split-copy p.eyebrow { color: var(--accent); }
.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%; object-fit: cover; aspect-ratio: 16 / 10;
}
.checklist {
  list-style: none; margin-top: 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.checklist .ic { color: var(--accent); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 48px;
}
.steps li { border-top: 1px solid var(--line); padding-top: 20px; position: relative; }
.step-nr {
  font-family: 'Michroma', sans-serif;
  font-size: 1.6rem; color: var(--accent);
  display: block; margin-bottom: 10px;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Autohaus Band ---------- */
.band {
  position: relative; padding: 140px 0;
  background-image: var(--band-img);
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,0.94) 25%, rgba(10,11,13,0.55) 70%, rgba(10,11,13,0.35)); }
.band-inner { position: relative; z-index: 1; }
.band-inner p { color: var(--text-muted); margin: 0.6rem 0 1.8rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quotes blockquote {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote-icon { color: var(--accent); }
.quote-icon .ic { width: 26px; height: 26px; }
.quotes p { color: var(--text); font-size: 0.97rem; }
.quotes footer { margin-top: auto; display: flex; flex-direction: column; }
.quotes footer span { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--accent); margin-top: 3px; }
.contact-list a { display: block; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid rgba(244,244,245,0.16);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75em 1em;
  font: inherit; font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.18s var(--ease);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field.invalid input, .field.invalid textarea { border-color: #E8420A; }
.field-error { color: #FF8A5C; font-size: 0.82rem; }
.form-note { font-size: 0.88rem; color: var(--accent); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: #08090B; border-top: 1px solid var(--line); padding-top: 72px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px;
}
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p, .footer-col p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 0.8em; }
.footer-col h4 {
  font-family: 'Michroma', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px; font-weight: 400;
}
.footer-col a { display: block; text-decoration: none; color: var(--text-dim); font-size: 0.95rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: var(--text-dim); font-size: 0.85rem; }
.inglory-badge {
  display: inline-flex; align-items: center;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-size: 0.78rem; text-decoration: none; letter-spacing: 0.02em;
}
.inglory-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Reveal Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell, .bento-wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 32px); gap: 8px; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; }
  .hero-copy { text-align: left; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .band { background-attachment: scroll; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 11, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px; }
}
