/* Auto&Reifen Service Karagöz, Übach-Palenberg — helles Werkstatt-Design mit
   kräftigem Orange (Reifen-Schwerpunkt). Vierte KFZ-Site: bewusst anders als
   Uwimana (Slate/Rot), H.I (Carbon/Lime) und ABM (Navy/Gold).
   Schrift: Barlow Condensed (lokal, 600/700). */

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

:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #6b6560;
  --line: #e7e2dc;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --sun: #f59e0b;
  --ice: #0ea5e9;
  --green: #16a34a;
  --dark: #292524;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.08; text-transform: uppercase; color: var(--dark); }
h3 { font-size: 19px; text-transform: uppercase; letter-spacing: 0.03em; }

.demo-banner { background: var(--dark); color: #d6d3d1; text-align: center; font-size: 12.5px; padding: 7px 16px; letter-spacing: 0.02em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(250 249 247 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.03em; color: var(--dark); text-decoration: none; line-height: 1; }
.brand span { display: block; font-family: var(--body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--orange); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #57534e; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 180ms ease; }
.nav-links a:hover { color: var(--orange-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 11px; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; border: 0; font-family: var(--body); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.btn-primary { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; box-shadow: 0 6px 18px rgb(234 88 12 / 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(234 88 12 / 0.4); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--dark); background: var(--card); }
.btn-ghost:hover { border-color: var(--orange); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.btn-nav { margin-left: 4px; white-space: nowrap; }
.nav-call { display: none; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero-bg { position: absolute; inset: 0; background: url("hero.jpg") center 45% / cover no-repeat; opacity: 0.42; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(28 25 23 / 0.94) 30%, rgb(28 25 23 / 0.55) 68%, rgb(234 88 12 / 0.2)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; padding-top: 78px; padding-bottom: 86px; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: #fdba74; margin-bottom: 14px; }
.hero h1 { font-size: clamp(48px, 8vw, 92px); line-height: 0.98; text-transform: uppercase; margin-bottom: 18px; }
.hero .sub { font-size: 17.5px; color: #d6d3d1; max-width: 48ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero .btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.28); color: #f5f5f4; }
.hero .btn-ghost:hover { border-color: rgb(255 255 255 / 0.6); }
.hero-note { font-size: 13.5px; color: #a8a29e; }
.stars-inline { color: var(--sun); letter-spacing: 1px; }

/* WOW 1: Saison-Flip Sommer ⇄ Winter */
.season-flip { position: relative; display: inline-grid; }
.season { grid-area: 1 / 1; white-space: nowrap; }
.season em { font-style: normal; color: var(--orange); }
.s-sommer { color: var(--sun); }
.s-winter { color: #7dd3fc; opacity: 0; }
html.js .s-sommer { animation: season-a 8s ease-in-out infinite; }
html.js .s-winter { animation: season-b 8s ease-in-out infinite; }
@keyframes season-a {
  0%, 42% { opacity: 1; transform: translateY(0); }
  50%, 92% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes season-b {
  0%, 42% { opacity: 0; transform: translateY(14px); }
  50%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* WOW 2: Radmuttern über Kreuz (Reihenfolge 1-3-5-2-4) */
.wheel-wrap { justify-self: center; text-align: center; }
.wheel { width: min(280px, 60vw); height: auto; display: block; margin: 0 auto; }
.w-tire { fill: #171412; stroke: #3f3a36; stroke-width: 3; }
.w-rim { fill: url(#rim-grad); stroke: #a8a29e; stroke-width: 2; }
.w-ring { fill: none; stroke: #f5f2ee; stroke-width: 2.5; opacity: 0.8; }
.w-ribs { fill: none; stroke: #3f3a36; stroke-width: 7; stroke-dasharray: 4 7; }
.w-spokes rect { fill: #8a8580; stroke: #6b6560; stroke-width: 1; }
.w-hub { fill: #57534e; }
.w-nut { fill: #78716c; stroke: #44403c; stroke-width: 1; }
/* Muttern ziehen erst an, wenn das Gate offen ist — sonst verpufft der Moment dahinter */
.w-nut { transform-box: fill-box; transform-origin: center; }
html.js.gate-open .w-nut { animation: nut-tight 0.5s ease forwards; }
html.js.gate-open .n1 { animation-delay: 0.6s; }
html.js.gate-open .n3 { animation-delay: 1.1s; }
html.js.gate-open .n5 { animation-delay: 1.6s; }
html.js.gate-open .n2 { animation-delay: 2.1s; }
html.js.gate-open .n4 { animation-delay: 2.6s; }
@keyframes nut-tight {
  0% { fill: #78716c; transform: scale(1); }
  50% { fill: var(--sun); transform: scale(1.45); filter: drop-shadow(0 0 5px rgb(245 158 11 / 0.9)); }
  100% { fill: var(--orange); transform: scale(1); filter: none; }
}
.wheel-g { transform-box: fill-box; transform-origin: center; }
html.js.gate-open .wheel-g { animation: wheel-nudge 3.3s ease 0.6s 1; }
@keyframes wheel-nudge {
  0%, 100% { transform: rotate(0); }
  8% { transform: rotate(1.6deg); } 12% { transform: rotate(0); }
  23% { transform: rotate(-1.6deg); } 27% { transform: rotate(0); }
  38% { transform: rotate(1.6deg); } 42% { transform: rotate(0); }
  53% { transform: rotate(-1.6deg); } 57% { transform: rotate(0); }
  68% { transform: rotate(1.6deg); } 72% { transform: rotate(0); }
}
.wheel-caption { margin-top: 14px; font-size: 13px; color: #a8a29e; }

/* ── Trust (WOW 5: Wuchtgewicht pendelt aus) ─────────── */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 22px 20px; }
.trust-item { display: flex; align-items: center; gap: 13px; justify-content: center; }
.trust-item strong { display: block; font-size: 15.5px; line-height: 1.3; color: var(--dark); }
.trust-item span:last-child { font-size: 13px; color: var(--muted); }
.t-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff7ed; color: var(--orange); flex-shrink: 0; }
.balance-svg { transform-origin: 50% 22%; }
html.js .balance-item.in .balance-svg { animation: balance-out 1.8s cubic-bezier(0.36, 0, 0.3, 1) 0.3s 1; }
@keyframes balance-out {
  0% { transform: rotate(0); } 18% { transform: rotate(22deg); }
  42% { transform: rotate(-15deg); } 65% { transform: rotate(8deg); }
  85% { transform: rotate(-3deg); } 100% { transform: rotate(0); }
}

/* ── Sektionen ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: #f3f0ec; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* WOW 3: Profiltiefen-Messer */
.tread-gauge { max-width: 640px; margin: 0 auto 44px; }
.tg-label { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--muted); margin-bottom: 10px; text-align: center; }
.tg-bar { position: relative; height: 26px; border-radius: 13px; overflow: hidden; background: #edeae5; display: flex; }
.tg-zone { height: 100%; }
.tg-red { width: 20%; background: rgb(220 38 38 / 0.18); }
.tg-yellow { width: 30%; background: rgb(245 158 11 / 0.18); }
.tg-green { width: 50%; background: rgb(22 163 74 / 0.18); }
.tg-fill { position: absolute; inset: 0; right: auto; width: 0; background: linear-gradient(90deg, #dc2626, var(--sun) 40%, var(--green) 75%); opacity: 0.85; }
html.js .tread-gauge.in .tg-fill { animation: tg-fill 1.8s cubic-bezier(0.33, 1, 0.68, 1) 0.3s forwards; }
@keyframes tg-fill { to { width: 100%; } }
.tg-marker { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--dark); background: #fff; border-radius: 8px; padding: 1px 8px; opacity: 0; }
html.js .tread-gauge.in .tg-marker { animation: tg-marker 0.5s ease 2s forwards; }
@keyframes tg-marker { to { opacity: 1; } }
.tg-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(28 25 23 / 0.1); border-color: #d8d2ca; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: #fff7ed; color: var(--orange); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; color: var(--dark); }
.card p { font-size: 14.5px; color: #57534e; }
html.js .cards .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .cards .reveal:nth-child(5) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(6) { transition-delay: 180ms; }

.cta-row { margin-top: 44px; text-align: center; }
.cta-row p { color: var(--muted); margin-bottom: 14px; }

/* ── WOW 4: Reifenstapel wächst ──────────────────────── */
.tirestack { height: 90px; overflow: hidden; position: relative; }
.tirestack::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 8px; height: 2px; background: var(--line); border-radius: 1px; }
.ts-svg { width: 100%; height: 100%; display: block; }
.ts-tire { fill: #292524; }
.ts-top { fill: #3f3a36; }
.ts-hole { fill: #57534e; }
html.js .ts { opacity: 0; transform: translateY(-26px); }
html.js .tirestack.in .ts { animation: ts-drop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards; }
html.js .tirestack.in .t1 { animation-delay: 0.1s; }
html.js .tirestack.in .t2 { animation-delay: 0.45s; }
html.js .tirestack.in .t3 { animation-delay: 0.8s; }
@keyframes ts-drop { to { opacity: 1; transform: translateY(0); } }

/* ── Bewertungen ─────────────────────────────────────── */
.rating-panel { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: var(--dark); color: #fff; border-radius: 22px; padding: 48px 52px; }
.rating-big { text-align: center; }
.rating-big strong { font-family: var(--display); font-size: 96px; font-weight: 700; line-height: 1; display: block; color: var(--sun); }
.rating-stars { color: var(--sun); font-size: 24px; letter-spacing: 4px; display: block; margin-top: 6px; }
.rating-sub { display: block; font-size: 13.5px; color: #a8a29e; margin-top: 8px; }
.rating-copy h2 { color: #fff; }
.rating-copy p { color: #d6d3d1; margin: 12px 0 22px; max-width: 52ch; }
.rating-panel .btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.3); color: #f5f5f4; }
.rating-panel .btn-ghost:hover { border-color: #fff; }
.rating-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Über uns ────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.about-copy p { margin-top: 14px; color: #44403c; }
.about-cta { margin-top: 24px; }
.about-photo img { border-radius: 18px; box-shadow: 0 18px 44px rgb(28 25 23 / 0.16); }
.about-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ── Kontakt & Formular ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-card, .contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.contact-card h3, .contact-form-wrap h3 { color: var(--dark); margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: #57534e; margin-bottom: 16px; }
.contact-form { display: grid; gap: 16px; margin-top: 6px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--dark); }
.contact-form input[type="text"], .contact-form textarea { padding: 12px 14px; font-size: 16px; font-family: var(--body); border: 1.5px solid var(--line); border-radius: 10px; background: #fdfcfb; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(234 88 12 / 0.14); }
.contact-form button { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.form-note a { color: var(--orange-dark); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #a8a29e; padding: 30px 0; font-size: 13.5px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer a { color: #d6d3d1; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.made-by a { margin: 0; }

.sticky-call { display: none; }

/* ── Responsiv ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 58px; }
  .wheel-wrap { justify-self: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .rating-panel { grid-template-columns: 1fr; gap: 28px; padding: 38px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .nav-num { display: none; }
  .nav-call { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .section { padding: 60px 0; }
  .sticky-call { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; text-align: center; padding: 15px 18px; border-radius: 14px; background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgb(234 88 12 / 0.4); }
  body { padding-bottom: 76px; }
}

/* Reduzierte Bewegung: Animationen aus, Endzustände sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .s-sommer, html.js .s-winter, html.js.gate-open .w-nut, html.js.gate-open .wheel-g,
  html.js .balance-item.in .balance-svg, html.js .tread-gauge.in .tg-fill,
  html.js .tread-gauge.in .tg-marker, html.js .tirestack.in .ts,
  .btn, .card {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .s-winter, html.js .s-winter { opacity: 0; }
  .s-sommer, html.js .s-sommer { opacity: 1; transform: none; }
  .w-nut, html.js .w-nut { fill: var(--orange); }
  .tg-fill { width: 100%; }
  .tg-marker { opacity: 1; }
  html.js .ts { opacity: 1; transform: none; }
}
