/* ============================================================
   Reifenservice Schander — styles
   Durchgängig dunkel & weich · schwarz + rot (#E01E1E)
   ============================================================ */

:root {
  --red:       #E01E1E;
  --red-dark:  #b51717;
  --red-soft:  rgba(224, 30, 30, 0.12);
  --red-glow:  rgba(224, 30, 30, 0.30);

  --bg:        #15161a;   /* base */
  --bg-a:      #16171b;   /* section a */
  --bg-b:      #1b1c21;   /* section b (leicht heller) */
  --surface:   #202127;   /* cards */
  --surface-2: #262730;
  --line:      #2c2e35;

  --head:      #f1f2f4;   /* headings */
  --text:      #d4d7dd;   /* body */
  --muted:     #969ba3;   /* muted */

  --maxw: 1120px;
  --nav-h: 72px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Oswald", "Inter", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--text);
  line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .25s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -12px var(--red-glow); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--red-glow); }
.btn--ghost { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.22); color: var(--head); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn--lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: .9rem; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--pulse { animation: btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
  0%,100% { box-shadow: 0 10px 26px -12px var(--red-glow), 0 0 0 0 rgba(224,30,30,.45); }
  50%     { box-shadow: 0 14px 30px -12px var(--red-glow), 0 0 0 13px rgba(224,30,30,0); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(19,20,24,0.9); backdrop-filter: blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(0,0,0,.9);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em;
  border-radius: 10px; box-shadow: 0 6px 18px -8px var(--red-glow);
}
.nav__brand-text { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--head); font-size: 1.05rem; }
.nav__brand-text strong { font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__link {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  font-size: .95rem; color: rgba(255,255,255,0.8); padding: 10px 14px; border-radius: 9px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 20px) 24px 90px; overflow: hidden; background: #0d0e11;
}
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,16,19,.4) 0%, rgba(15,16,19,.55) 45%, rgba(21,22,26,.96) 100%),
    radial-gradient(80% 60% at 30% 40%, rgba(0,0,0,.25), transparent 70%);
}
.hero__content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; width: 100%; text-align: center; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .35em; color: var(--muted); font-size: .85rem; margin-bottom: 18px; opacity: 0; animation: heroFade .8s var(--ease) .05s forwards; }
.hero__title { font-family: var(--font-display); font-weight: 400; line-height: .9; letter-spacing: .02em; color: #fff; font-size: clamp(3.2rem, 11vw, 7.6rem); text-shadow: 0 10px 40px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.6); }
.hero__word { display: block; opacity: 0; transform: translateY(46px); animation: heroWordUp .95s var(--ease) forwards; }
.hero__word:nth-child(1) { animation-delay: .15s; }
.hero__word:nth-child(2) { animation-delay: .35s; }
@keyframes heroWordUp { to { opacity: 1; transform: none; } }
.hero__rule { display: block; height: 4px; width: 0; max-width: 200px; margin: 22px auto 0; border-radius: 3px; background: var(--red); box-shadow: 0 0 18px var(--red-glow); animation: heroRule .85s var(--ease) .7s forwards; }
@keyframes heroRule { to { width: 170px; } }
.hero__subtitle { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--head); font-size: clamp(1rem, 3vw, 1.45rem); margin-top: 20px; opacity: 0; animation: heroFade .8s var(--ease) .8s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; opacity: 0; animation: heroFade .8s var(--ease) .95s forwards; }
.hero__phone { display: inline-block; margin-top: 24px; font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; font-size: clamp(1.3rem, 4.5vw, 1.85rem); color: #fff; transition: color .2s var(--ease); opacity: 0; animation: heroFade .8s var(--ease) 1.1s forwards; }
.hero__phone:hover { color: var(--red); }
@keyframes heroFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--red); animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 80%{opacity:0;transform:translateY(12px)} 100%{opacity:0} }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--a { background: var(--bg-a); }
.section--b { background: var(--bg-b); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin: 0 auto clamp(38px, 6vw, 56px); text-align: center; }
.section__eyebrow { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; margin-bottom: 10px; }
.section__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; font-size: clamp(2rem, 6vw, 3rem); color: var(--head); }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: rgba(224,30,30,.45); box-shadow: 0 24px 46px -30px rgba(0,0,0,.9); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--red-soft); border: 1px solid rgba(224,30,30,.25); color: var(--red); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--red); color: #fff; transform: scale(1.06); }
.card__title { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--head); font-size: 1.2rem; margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: .95rem; }

/* ---------- Ölwechsel & Wartung ---------- */
.wartung { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.wartung__intro .section__title { margin: 4px 0 14px; }
.wartung__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; max-width: 44ch; }
.wartung__usps { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 28px; }
.usp { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; color: var(--head); }
.usp__ico { font-size: 1.25rem; line-height: 1; }
.wartung__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 38px); position: relative; overflow: hidden; }
.wartung__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 40px; color: var(--head); font-size: 1.05rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: .82rem; font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 620px); justify-content: center; gap: 28px; align-items: stretch; }
.contact__info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 38px); }
.contact__list { list-style: none; display: grid; gap: 20px; margin-bottom: 26px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); border: 1px solid rgba(224,30,30,.25); color: var(--red); }
.contact__ico svg { width: 23px; height: 23px; }
.contact__label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); margin-bottom: 3px; }
.contact__value { display: block; color: var(--text); font-size: 1rem; transition: color .2s var(--ease); }
a.contact__value:hover { color: var(--red); }
.contact__value--strong { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .03em; color: var(--head); }
.contact__route { display: inline-block; margin-top: 8px; color: var(--red); font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; border-bottom: 1px solid rgba(224,30,30,.45); transition: color .2s var(--ease), border-color .2s var(--ease); }
.contact__route:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: #101116; border-top: 3px solid var(--red); padding-top: 52px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 38px; }
.footer__col .nav__brand { margin-bottom: 14px; }
.footer__tag { color: var(--muted); }
.footer__title { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--head); font-size: .95rem; margin-bottom: 15px; }
.footer__link { display: block; color: var(--muted); margin-bottom: 10px; transition: color .2s var(--ease); }
a.footer__link:hover { color: var(--red); }
.footer__link--plain { color: #6f747c; }
.footer__bar { border-top: 1px solid var(--line); padding: 20px 24px; max-width: var(--maxw); margin: 0 auto; width: 100%; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #6f747c; font-size: .88rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal.is-visible { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span, .btn--pulse { animation: none !important; }
  .hero__eyebrow, .hero__subtitle, .hero__actions, .hero__phone, .hero__word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero__rule { width: 170px !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .wartung { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(19,20,24,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 18px 24px 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bar { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
