/* RM Reifenentsorgung — Anthrazit, Papierweiss, EIN warmer Bernstein-Akzent. Fraunces + Inter, lokal. */
:root {
  --ink: #12161b;        --ink-2: #1d2733;      --ink-3: #26323f;
  --paper: #f6f4f0;      --paper-2: #e9e4da;
  --muted: #a7aeb8;      --line: rgba(246,244,240,.12);
  --accent: #e39a3c;     --accent-2: #f2b866;   --accent-deep: #b86f22;
  --grad: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-deep));
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Grundlagen ---------- */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: auto; }             /* kein scroll-behavior: smooth — kollidiert mit Lenis! */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 40px;
  background: linear-gradient(180deg, rgba(18,22,27,.8), rgba(18,22,27,0));
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 38px; width: auto; }
.nav__brand-text {
  font-family: var(--font-display); font-size: 15px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--paper); opacity: .85; padding-top: 4px;
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.nav__links a:hover { color: var(--paper); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__tel { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--paper); }
.nav__tel:hover { color: var(--accent-2); }
.nav__cta {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: var(--ink);
  padding: 11px 22px; border-radius: 999px;
  transition: transform .3s, background .3s;
}
.nav__cta:hover { transform: scale(1.05); background: var(--accent-2); }

/* ---------- Scrub-Sektionen (Hero + Hof) ---------- */
.scrub { position: relative; }
.scrub__stage { position: relative; height: 100vh; overflow: hidden; background: var(--ink); }
.scrub__media, .scrub__media video, .scrub__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Statisches Poster aus dem HTML liegt unten; Video bzw. Ken-Burns-Bild, die
   buildScrub() davor einhaengt, liegen darueber. isolation: isolate haelt diese
   z-index-Werte IM Medienrahmen, sonst decken Video und Vignette die Headlines,
   Labels und den Fortschrittsbalken zu (gesehen am 09.09.2026). */
.scrub__media { isolation: isolate; }
.scrub__poster { z-index: 0; }
.scrub__media video, .scrub__media > img:not(.scrub__poster) { z-index: 1; }
.scrub__media::after { z-index: 2; }
.scrub__media::after {          /* Vignette + weiche Kanten oben/unten fuer Textlesbarkeit */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(18,22,27,.6)),
    linear-gradient(180deg, rgba(18,22,27,.4), transparent 28%, transparent 72%, rgba(18,22,27,.6));
  pointer-events: none;
}
.scrub__headlines { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; padding: 0 24px; }
.scrub__headline {
  position: absolute; text-align: center; max-width: 1100px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 6.4vw, 100px); line-height: 1.02;
  letter-spacing: -.015em;
  opacity: 0; will-change: opacity, transform;
}
/* Erste Headline schon vor dem JavaScript sichtbar (entspricht updateHeads(0)) */
.scrub__headlines .scrub__headline:first-child { opacity: 1; }
.scrub__headline .l1 { display: block; color: var(--paper); text-shadow: 0 3px 14px rgba(0,0,0,.6), 0 8px 60px rgba(0,0,0,.55); }
.scrub__headline .l2 {
  display: block; font-style: italic; font-weight: 400; padding-bottom: .08em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* zwei Schatten: vor der sonnigen Bildmitte des Reifenfelds sonst zu wenig Kontrast */
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.75)) drop-shadow(0 10px 40px rgba(0,0,0,.5));
}
.scrub__label {
  position: absolute; font-size: 10px; letter-spacing: .28em; color: var(--muted);
  text-transform: uppercase;
}
.scrub__label--tl { left: 40px; bottom: 34px; }
.scrub__label--br { right: 40px; bottom: 34px; }
.scrub__progress {
  position: absolute; left: 40px; right: 40px; bottom: 64px; height: 1px;
  background: rgba(246,244,240,.14);
}
.scrub__progress span { display: block; height: 100%; width: 0%; background: var(--grad); }
.scrub__hint {
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  animation: hintPulse 2.2s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ---------- Allgemeine Sektionen ---------- */
.section { padding: 160px 40px; max-width: 1200px; margin: 0 auto; }
.eyebrow {
  font-size: 11px; letter-spacing: .34em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 28px;
}
.eyebrow--warm { color: var(--accent-2); }
h2 em { font-style: italic; font-weight: 400; color: var(--accent-2); }

/* Leistung */
.vision { text-align: center; max-width: 1050px; }
.vision__heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.01em;
}
.vision__body {
  margin: 36px auto 0; max-width: 660px;
  color: var(--muted); font-size: 17px; line-height: 1.75;
}
.vision__fuer { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.vision__fuer li {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
}

/* Preise */
.preise { max-width: 1300px; }
.preise__heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 64px;
}
.preise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.preis {
  position: relative; border-radius: 16px; padding: 34px 28px 30px; min-height: 260px;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink-2);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.preis--dunkel { background: var(--ink-3); color: var(--paper); border: 1px solid var(--line); box-shadow: none; }
.preis__wert {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 4.2vw, 64px); line-height: 1; letter-spacing: -.02em;
}
.preis--dunkel .preis__wert { font-size: clamp(30px, 3vw, 44px); }
.preis__name {
  margin-top: 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-deep);
}
.preis--dunkel .preis__name { color: var(--accent-2); }
.preis__desc { margin-top: auto; padding-top: 26px; font-size: 14px; line-height: 1.6; color: rgba(29,39,51,.72); }
.preis--dunkel .preis__desc { color: var(--muted); }
.preise__note { margin-top: 28px; max-width: 720px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Marktvergleich */
.vergleich { text-align: center; }
.vergleich__heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 64px;
}
.balken { max-width: 860px; margin: 0 auto; text-align: left; }
.balken__zeile { margin-bottom: 30px; }
.balken__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.balken__reihe { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 14px; margin-bottom: 8px; }
.balken__wer { font-size: 13px; color: var(--paper); }
.balken__spur { position: relative; height: 34px; background: rgba(246,244,240,.06); border-radius: 6px; }
.balken__bar {
  position: absolute; top: 0; bottom: 0; left: calc(var(--von) * 1%); width: 0;
  border-radius: 6px; transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.balken.ist-da .balken__bar { width: calc((var(--bis) - var(--von)) * 1%); }
.balken__bar--rm { background: var(--grad); }
.balken__bar--markt { background: rgba(246,244,240,.28); }
.balken__wert {
  position: absolute; left: calc(var(--bis) * 1% + 12px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--paper);
  opacity: 0; transition: opacity .5s .9s;
}
.balken__spur--voll .balken__wert { left: auto; right: 12px; }
.balken.ist-da .balken__wert { opacity: 1; }
.balken__skala { display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.balken__skala div:last-child { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.vergleich__beispiel {
  margin: 72px 0 28px; font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 24px; color: var(--paper);
}
.vergleich__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.stat__value {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.02em; line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { margin-top: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vergleich__note { margin: 48px auto 0; max-width: 720px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Ablauf */
.ablauf { max-width: 1200px; }
.ablauf__heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 56px;
}
.ablauf__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schritt { position: relative; padding: 28px 24px 28px 0; border-top: 1px solid var(--line); }
.schritt__nr {
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-style: italic; font-size: 16px; letter-spacing: .1em; color: var(--accent-2);
}
.schritt__titel { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.schritt__text { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* Kontakt */
.kontakt { max-width: 1200px; padding-bottom: 140px; }
.kontakt__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.kontakt__heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.015em;
}
.kontakt__body { margin-top: 24px; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.kontakt__direkt { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.kontakt__direkt a {
  width: max-content; color: var(--accent-2);
  border-bottom: 1px solid rgba(242,184,102,.35); padding-bottom: 2px;
  transition: border-color .3s;
}
.kontakt__direkt a:hover { border-color: var(--accent-2); }
.kontakt__logo { width: 260px; margin-top: 56px; opacity: .92; }

.anfrage {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 16px; color-scheme: dark;
}
.anfrage label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.anfrage input, .anfrage select, .anfrage textarea {
  width: 100%; font: 500 16px/1.4 var(--font-body); color: var(--paper);
  background: rgba(18,22,27,.6); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; letter-spacing: 0; text-transform: none; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.anfrage textarea { resize: vertical; min-height: 90px; }
.anfrage input:focus, .anfrage select:focus, .anfrage textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227,154,60,.18);
}
.anfrage__zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.anfrage__einw {
  flex-direction: row; align-items: flex-start; gap: 12px;
  text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.55; color: var(--muted);
}
.anfrage__einw input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.anfrage__einw a { color: var(--accent-2); text-decoration: underline; }
/* Honeypot: Klasse heisst bewusst "honeypot"; fuer Menschen unsichtbar, ohne display:none
   (manche Bots ueberspringen display:none-Felder und wuerden sonst nicht auffallen). */
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.anfrage__turnstile { min-height: 0; }
.anfrage__btn {
  font: 600 13px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); border: 0; border-radius: 999px;
  padding: 18px 36px; cursor: pointer; margin-top: 6px;
  transition: transform .3s, background .3s;
}
.anfrage__btn:hover { transform: scale(1.03); background: var(--accent-2); }
.anfrage__note { font-size: 12px; line-height: 1.5; color: var(--muted); }
.anfrage__status { font-size: 14px; color: var(--accent-2); min-height: 1em; }
.anfrage__status.ist-fehler { color: #f0908a; }
.anfrage__danke { padding: 20px 0; }
.anfrage__danke strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.anfrage__danke p { color: var(--muted); line-height: 1.6; }
.anfrage__danke a { color: var(--accent-2); }

/* Footer */
.footer {
  display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: 28px 40px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .06em; line-height: 1.7; color: var(--muted);
}
.footer a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246,244,240,.35); transition: color .3s; }
.footer a:hover { color: var(--accent-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Reveals */
[data-reveal] { opacity: 0; transform: translateY(36px); }

@media (prefers-reduced-motion: reduce) {
  .scrub__hint { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav__links, .nav__tel, .nav__brand-text { display: none; }
  .nav__brand img { height: 32px; }
  .nav__cta { padding: 10px 16px; font-size: 11px; }
  .section { padding: 110px 22px; }
  .preise__grid { grid-template-columns: repeat(2, 1fr); }
  .preis { min-height: 0; padding: 26px 22px 24px; }
  .vergleich__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .ablauf__grid { grid-template-columns: repeat(2, 1fr); }
  .balken__reihe, .balken__skala { grid-template-columns: 56px 1fr; gap: 10px; }
  .balken__wert { font-size: 12px; }
  .kontakt__grid { grid-template-columns: 1fr; gap: 40px; }
  .kontakt__logo { width: 180px; margin-top: 36px; }
  .anfrage { padding: 24px 20px; }
  .anfrage__zeile { grid-template-columns: 1fr; }
  .footer { padding: 24px 20px; }
  .scrub__label--tl, .scrub__progress { left: 20px; }
  .scrub__label--br, .scrub__progress { right: 20px; }
  .scrub__label--br { display: none; }   /* kollidiert auf schmalen Screens mit dem linken Label */
}
@media (max-width: 560px) {
  .preise__grid { grid-template-columns: 1fr; }
  .ablauf__grid { grid-template-columns: 1fr; }
  .schritt { padding: 22px 0; }
  .scrub__headline { font-size: clamp(34px, 9.5vw, 48px); }
}
