/* ============================================================
   VALKPARTS — Honda-Valkyrie-Spezialist · Teile · Custom
   Dunkler Custom-Shop · Signal-Rot + Chrom
   Tokens: assets/brand-colors.css (vor dieser Datei laden)
   ============================================================ */

:root {
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sec-y: clamp(62px, 9vw, 126px);
  --font-display: 'Oswald', 'Saira Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --accent-hover: #8f2424;
  --border-strong: #3a3a40;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .92);
  --chrome-grad: linear-gradient(180deg, #eef1f3 0%, #c8ccd0 45%, #8d9296 100%);
  --header-h: 74px;
}

/* ---------- Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 600; line-height: 1.03;
  letter-spacing: .005em; text-transform: uppercase;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec-y) 0; position: relative; }
.section--surface { background: var(--color-surface); }
.section--elevated { background: var(--color-bg-elevated); }

.eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em;
  font-size: .76rem; font-weight: 600; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: .65em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--color-primary); display: inline-block; }
.eyebrow.chrome { color: var(--color-chrome); }
.eyebrow.chrome::before { background: var(--color-chrome); }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 58px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 16px 0 14px; }
.section-head p { color: var(--color-text-muted); font-size: 1.06rem; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--radius-sm);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 30px -12px var(--color-primary); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--color-primary); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--color-chrome); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.btn-chrome { border: 1.5px solid var(--color-chrome); color: var(--color-chrome); }
.btn-chrome:hover { background: var(--color-chrome); color: #14171a; transform: translateY(-2px); }
.btn-dark { background: var(--color-bg); color: #fff; border: 1px solid var(--border-strong); }
.btn-dark:hover { background: #000; border-color: var(--color-chrome); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); transition: opacity .35s; }
.header.scrolled { background: rgba(14, 14, 15, .93); backdrop-filter: blur(12px); border-bottom-color: var(--color-border); }
.header.scrolled::before { opacity: 0; }
.header-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: baseline; gap: 9px; flex-shrink: 0; font-family: var(--font-display); text-transform: uppercase; }
.brand .mark { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: #fff; }
.brand .mark b { color: var(--color-primary); font-weight: 700; }
.brand .brand-sub { font-size: .6rem; letter-spacing: .22em; color: var(--color-text-muted); border-left: 1px solid var(--border-strong); padding-left: 9px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .82); transition: color .2s; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-primary); transition: width .28s var(--ease); }
.nav a:hover { color: #fff; } .nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; font-size: .96rem; color: #fff; white-space: nowrap; }
.header-tel svg { width: 17px; height: 17px; color: var(--color-primary); }
.header .btn { padding: 11px 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding-top: var(--header-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 10, 11, .94) 0%, rgba(10, 10, 11, .62) 44%, rgba(10, 10, 11, .2) 78%, rgba(10, 10, 11, .5) 100%), linear-gradient(0deg, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, 0) 55%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(46px, 7vw, 94px); max-width: 800px; }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 5.4rem); font-weight: 700; margin: 22px 0 22px; }
.hero h1 .accent { color: var(--color-primary); }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .82); max-width: 580px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 60px); margin-top: clamp(40px, 6vw, 60px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hstat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: #fff; }
.hstat .num .unit { color: var(--color-primary); }
.hstat .lbl { font-size: .8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }

/* ---------- Pillars (Bereiche / Was wir machen) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pillar:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(200, 204, 208, .08); border: 1px solid var(--border-strong); margin-bottom: 18px; }
.pillar .ic svg { width: 24px; height: 24px; color: var(--color-chrome); }
.pillar h3 { font-size: 1.28rem; margin-bottom: 10px; }
.pillar p { color: var(--color-text-muted); font-size: .95rem; }

/* ---------- Brand Wall ---------- */
.brand-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(26px, 5vw, 56px); }
.brand-logo { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-width: 110px; height: 60px; }
.brand-logo img { max-height: 36px; max-width: 140px; width: auto; object-fit: contain; opacity: .55; filter: brightness(0) invert(1); transition: opacity .3s, transform .3s; }
.brand-logo:hover img { opacity: 1; transform: scale(1.05); }
.brand-logo.is-text { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .6); font-size: 1rem; text-align: center; transition: color .3s; }
.brand-logo.is-text:hover { color: var(--color-chrome); }
.brand-logo.is-text small { display: block; font-size: .58rem; letter-spacing: .2em; color: var(--color-text-muted); }

/* ---------- Vehicle Grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; font-weight: 500; padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border-strong); color: var(--color-text-muted); transition: all .25s var(--ease); }
.chip:hover { color: #fff; border-color: var(--color-text-muted); }
.chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vcard { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.vcard:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.vcard-media { position: relative; aspect-ratio: 16 / 11; background: #0c0c0d; overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .vcard-media img { transform: scale(1.06); }
.vcard-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 600; padding: 6px 12px; border-radius: 5px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.vcard-badge.is-new { background: var(--color-primary); border-color: var(--color-primary); }
.vcard-badge.is-used { background: rgba(200, 204, 208, .16); border-color: var(--color-chrome); color: var(--color-chrome); }
.vcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.vcard-body h3 { font-size: 1.38rem; font-weight: 600; }
.vcard-type { font-size: .85rem; color: var(--color-text-muted); margin-top: 4px; }
.vcard-specs { display: flex; gap: 16px; margin: 20px 0 22px; padding: 16px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.spec { flex: 1; }
.spec-num { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1; color: var(--color-chrome); }
.spec-lbl { font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-muted); margin-top: 6px; }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 12px; }
.price { display: flex; flex-direction: column; }
.price .from { font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-muted); }
.price .val { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; }
.vcard-foot .btn { padding: 11px 18px; font-size: .85rem; }

/* ---------- Split (Custom/Heckumbau · Teile) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-text h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 16px 0 18px; }
.split-text p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.split-text p strong { color: var(--color-text); font-weight: 600; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; border: 1px solid var(--color-border); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.portrait { aspect-ratio: 4 / 4.6; }
.checklist { margin: 22px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; color: var(--color-text); font-size: 1rem; }
.checklist svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* ---------- Trust / Heritage ---------- */
.heritage-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin: 28px 0; }
.heritage-stats .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; color: var(--color-primary); }
.heritage-stats .lbl { font-size: .8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.quote { margin-top: 26px; padding: 22px 26px; background: var(--color-bg-elevated); border-left: 3px solid var(--color-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quote p { font-size: 1.06rem; color: var(--color-text); font-style: italic; margin: 0 0 10px; }
.quote .stars { color: #f5b301; letter-spacing: 3px; font-size: .95rem; }
.quote .who { color: var(--color-text-muted); font-size: .85rem; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.form-intro h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 16px; }
.form-intro p { color: var(--color-text-muted); margin-bottom: 22px; }
.form-contactline { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--color-text); }
.form-contactline svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
.testdrive { background: var(--color-bg-elevated); border: 1px solid var(--color-border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; background: var(--color-bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--color-text); font-family: var(--font-body); font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(170, 45, 45, .2); }
.field textarea { resize: vertical; min-height: 90px; }
.check { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 22px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--color-primary); flex-shrink: 0; }
.check label { font-size: .9rem; color: var(--color-text-muted); text-transform: none; letter-spacing: 0; }
.form-note { font-size: .78rem; color: var(--color-text-muted); margin-top: 14px; text-align: center; }

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; text-align: center; padding: clamp(88px, 14vw, 176px) 0; }
.closing-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 10, 11, .82), rgba(10, 10, 11, .92)); }
.closing .container { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(2.2rem, 5.5vw, 4.1rem); font-weight: 700; max-width: 900px; margin: 0 auto 22px; }
.closing p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 580px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.footer { background: #0c0c0d; padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .mark { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-brand .mark b { color: var(--color-primary); }
.footer-brand p { color: var(--color-text-muted); font-size: .92rem; max-width: 320px; margin-top: 12px; }
.footer-col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: #fff; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col p { color: var(--color-text-muted); font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--color-primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--color-primary); flex-shrink: 0; margin-top: 3px; }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-border); height: 180px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid var(--color-border); font-size: .82rem; color: var(--color-text-muted); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ============================================================
   MOTION — "Erleben" (reduced-motion gated, FOUC-safe)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: vp-kenburns 26s ease-in-out 1.4s infinite alternate; }
  @keyframes vp-kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
  .hero .eyebrow { animation: vp-rise .8s var(--ease) .15s both; }
  .hero h1 { animation: vp-rise .9s var(--ease) .28s both; }
  .hero-sub { animation: vp-rise .85s var(--ease) .44s both; }
  .hero-actions { animation: vp-rise .85s var(--ease) .58s both; }
  .hero-stats { animation: vp-rise .9s var(--ease) .72s both; }
  @keyframes vp-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  [data-rv] { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  [data-rv].in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav, .header-cta .header-tel { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav.open { display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(12, 12, 13, .98); backdrop-filter: blur(14px); padding: 12px 0; border-bottom: 1px solid var(--color-border); margin: 0; }
  .nav.open a { padding: 15px var(--gut); width: 100%; border-bottom: 1px solid var(--color-border); }
  .split, .form-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media, .split-media.portrait { aspect-ratio: 16 / 10; }
  .hero { min-height: 86vh; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; } .hstat { flex: 1 1 40%; }
  .brand-wall { gap: 24px; } .brand-logo { min-width: 40%; }
}
