/* KOC Autoverwertung & Metallrecycling – Muster v1 (24.08.2026)
   CI: Schwarz + Orange-Verlauf aus dem KOC-Logo (#F59B1E -> #E2621B)
   Typo: Barlow Condensed (Display) + Inter (Text), beide lokal */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ink: #161616;
  --bg: #141414;
  --bg-2: #1d1d1d;
  --paper: #ffffff;
  --paper-2: #f4f2ef;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(0,0,0,.12);
  --muted: rgba(255,255,255,.72);
  --muted-dark: #565049;
  --orange: #f59b1e;
  --orange-deep: #e2621b;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--orange-deep) 100%);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 18px 50px -22px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  color: #f3f1ee;
  background: var(--bg);
}

/* Skip-Link */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--orange); color: #161616; font-weight: 600;
  padding: .65rem 1.1rem; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.4rem); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.2rem); }
[id] { scroll-margin-top: 5.5rem; }
section { padding: clamp(3.6rem, 8vw, 6.2rem) 0; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 3px; background: var(--grad); border-radius: 2px; }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

/* Warnstreifen-Akzent (Industrie-Signatur) */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-55deg,
    var(--orange) 0 16px, var(--orange-deep) 16px 32px,
    #211d18 32px 48px, #211d18 48px 64px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,20,20,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; padding: .7rem 0; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-koc {
  font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: .06em;
  color: #fff;
}
.brand-koc em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.main-nav { margin-left: auto; display: flex; gap: 1.5rem; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  padding: .4rem 0;
}
.main-nav a:hover { color: #fff; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; }

/* Buttons: ein Intent = ein Label */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; text-decoration: none; border-radius: 999px;
  padding: .85rem 1.6rem; font-size: 1rem; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  touch-action: manipulation;
}
.btn svg { flex: none; }
.btn-primary { background: var(--grad); color: #1a1206; box-shadow: 0 10px 26px -12px rgba(226,98,27,.65); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: #201f1d; color: #fff; border: 1.5px solid transparent; }
.btn-dark:hover { border-color: var(--orange); }

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 34rem; margin: 1.2rem 0 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-note { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.hero-note svg { color: var(--orange); flex: none; }

.hero-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow);
}
.hero-panel .hazard { position: absolute; inset: auto 0 0 0; }
.hero-panel-inner { padding: 1.6rem 1.6rem 2rem; }
.hero-panel h2 { font-size: 1.5rem; margin-bottom: 1rem; text-transform: none; letter-spacing: 0; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hero-panel li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: #e9e6e1; }
.hero-panel li svg { color: var(--orange); flex: none; margin-top: .18rem; }
.hero-panel a { font-weight: 600; text-decoration: none; color: #fff; white-space: nowrap; }
.hero-panel a:hover { color: var(--orange); }

/* ---------- Trust-Streifen ---------- */
.trust { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 2.4rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-variant-numeric: tabular-nums; line-height: 1;
  color: #fff;
}
.trust-num .star { color: var(--orange); }
.trust-label { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.trust-src { text-align: center; font-size: .74rem; color: var(--muted); margin: 1.4rem 0 0; }

/* ---------- Bereiche (asymmetrisch) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.area {
  border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .7rem;
}
.area-num {
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .18em;
  color: var(--orange);
}
.area h3 { text-transform: uppercase; font-weight: 700; font-size: 1.7rem; margin: 0; }
.area p { margin: 0; }
.area-link { margin-top: auto; padding-top: 1rem; font-weight: 600; text-decoration: none; color: var(--orange); }
.area-link:hover { text-decoration: underline; }
.area-1 { grid-column: span 7; background: var(--grad); color: #1d1104; }
.area-1 .area-num, .area-1 .area-link { color: #1d1104; }
.area-1 p { color: rgba(29,17,4,.85); }
.area-2 { grid-column: span 5; background: var(--bg-2); border: 1px solid var(--line); }
.area-2 p, .area-3 p { color: var(--muted); }
.area-3 { grid-column: span 12; background: var(--bg-2); border: 1px solid var(--line); flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1.2rem; }
.area-3 .area-head { flex: 1 1 16rem; display: flex; flex-direction: column; gap: .7rem; }
.area-3 .chip-row { flex: 2 1 24rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  font-size: .88rem; font-weight: 600; padding: .42rem .85rem; border-radius: 999px;
  background: rgba(245,155,30,.12); border: 1px solid rgba(245,155,30,.4); color: #ffd9a6;
}

/* ---------- Ablauf (vertikale Timeline) ---------- */
.steps { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-line { list-style: none; margin: 2.4rem 0 0; padding: 0; counter-reset: step; max-width: 56rem; }
.step-row {
  display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.4rem; align-items: start;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-row::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: 3.2rem; line-height: .9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.step-row h3 { margin-bottom: .35em; }
.step-row p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 42rem; }
.steps-note {
  margin-top: 1.8rem; display: flex; gap: .7rem; align-items: flex-start;
  font-size: .95rem; color: var(--muted); max-width: 52rem;
}
.steps-note svg { color: var(--orange); flex: none; margin-top: .15rem; }

/* Zustands-Chips im Ankauf */
.zustand-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .55rem; }

/* ---------- Fahrzeuge ---------- */
.cars-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem; justify-content: space-between; }
.cars-meta { font-size: .88rem; color: var(--muted); }
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.3rem; margin-top: 2.2rem; }
.car {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease;
}
.car:hover { transform: translateY(-4px); border-color: rgba(245,155,30,.55); }
.car figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #0d0d0d; }
.car img { width: 100%; height: 100%; object-fit: cover; }
.car-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.car h3 { font-family: var(--text); font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin: 0; }
.car-price {
  font-family: var(--display); font-weight: 700; font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.car-data { font-size: .84rem; color: var(--muted); margin-top: auto; }
.car-badge {
  align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: .2rem .6rem;
}
.cars-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cars-legal { font-size: .78rem; color: var(--muted); max-width: 44rem; }

/* ---------- Teile & Metall ---------- */
.parts { background: var(--bg); }
.parts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); margin-top: 2.2rem; }
.parts-card { background: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.parts-card h3 { color: var(--ink); }
.parts-card p { color: var(--muted-dark); font-size: .98rem; }
.parts-num {
  font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.parts-num small { font-size: 1.1rem; font-weight: 600; color: var(--orange-deep); }
.metal-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.metal-grid .chip { background: var(--paper-2); border-color: rgba(0,0,0,.16); color: #3d3a35; }
.parts-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Kundenstimmen ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.quote {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem;
}
.quote-stars { color: var(--orange); letter-spacing: .12em; font-size: .95rem; }
.quote blockquote { margin: 0; font-size: .99rem; color: #eceae6; }
.quote figcaption { font-size: .85rem; color: var(--muted); }
.quote figcaption strong { color: #fff; }
.quotes-src { margin-top: 1.5rem; font-size: .8rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.8rem, 4vw, 3rem); margin-top: 2.2rem; }
.contact-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); }
.contact-card h3 { color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { color: var(--orange-deep); flex: none; margin-top: .2rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--orange-deep); }
.contact-list .sub { display: block; font-size: .85rem; color: var(--muted-dark); font-weight: 400; }
.hours table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.hours th { padding: .5rem 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; color: var(--ink); }
.hours tr:last-child th { border-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hours td { padding: .5rem 0; border-bottom: 1px solid var(--line-dark); font-variant-numeric: tabular-nums; }
.hours td:last-child { text-align: right; }
.hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--muted-dark); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.route-note { font-size: .85rem; color: var(--muted-dark); margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 7rem; font-size: .9rem; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; }
.footer-cert { display: flex; align-items: center; gap: .6rem; max-width: 30rem; }
.footer-cert svg { color: var(--orange); flex: none; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: #fff; }

/* ---------- Mobile Sticky-Kontaktleiste ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 120;
  display: none; gap: .6rem; padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(16,16,16,.96); border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; font-size: .92rem; padding: .8rem .5rem; white-space: nowrap; }

/* ---------- Reveal (GSAP setzt nur transform/opacity) ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .parts-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-1, .area-2, .area-3 { grid-column: span 1; }
  .quotes-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 3.4rem 1fr; gap: 1rem; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #191919; border-bottom: 1px solid var(--line);
    padding: .6rem 1.2rem 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 1.5px solid var(--line);
    border-radius: 8px; color: #fff; padding: .5rem .7rem; cursor: pointer; touch-action: manipulation;
  }
  .header-cta { display: none; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 7.5rem; }
}
@media (max-width: 460px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Rechtsseiten (weisses Blatt) ---------- */
.legal-page { background: var(--bg); }
.legal-sheet {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem); margin: 3rem auto; max-width: 820px; box-shadow: var(--shadow);
}
.legal-sheet h1 { font-size: 2.4rem; }
.legal-sheet h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-sheet p, .legal-sheet li { color: #3c3934; font-size: .98rem; }
.todo-box {
  border: 2px dashed var(--orange-deep); border-radius: 10px; background: #fff7ec;
  padding: 1rem 1.2rem; color: #7c4a17; font-size: .95rem; margin: 1.2rem 0;
}
