/* =========================================================
   Abschleppdienst ERMAN – Landingpage
   Schriften lokal (keine Verbindung zu Google, DSGVO)
========================================================= */

@font-face {
  font-family: 'Anton';
  src: url('assets/fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ff4a1c;
  --red-dark: #e03a0f;
  --green: #1fa855;
  --green-dark: #178a45;
  --ink: #121316;
  --ink-2: #1b1d21;
  --ink-3: #25282d;
  --line: #2f3238;
  --silver: #c9ccd1;
  --text: #f2f3f5;
  --muted: #a3a8b0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.1;
  margin: 0 0 .6em;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.accent { color: var(--red); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Live-Punkt ---------- */
.dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); margin-right: .4rem; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(31, 168, 85, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(31, 168, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, transform .15s, border-color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: var(--green-dark); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--red); }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.1rem; }
.btn--sm { padding: .5rem 1rem; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

.link { color: var(--red); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Topbar ---------- */
.topbar {
  background: #0a0b0d;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; gap: 1rem; }
.topbar a { color: var(--text); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 22, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin: 0; }
.logo__mark {
  font-family: var(--display);
  font-size: 2rem; line-height: 1;
  background: var(--red); color: #fff;
  padding: .25rem .55rem .3rem;
  border-radius: 6px;
  letter-spacing: 1px;
}
.logo__sub { font-size: .78rem; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--silver); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,19,22,.97) 0%, rgba(18,19,22,.88) 45%, rgba(18,19,22,.55) 100%),
    url('assets/img/sportwagen-nacht-1364.jpg') center / cover no-repeat;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); text-transform: uppercase; }
.lead { font-size: 1.2rem; color: var(--silver); max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.4rem; }

.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--silver); }
.eyebrow--plain { color: var(--red); }

.rating { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--silver); }
.rating:hover { color: #fff; }
.rating strong { color: #fff; }
.stars { color: #ffb400; letter-spacing: 2px; }

.badges { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li {
  font-size: .88rem; font-weight: 600;
  padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
}

.sos {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: grid; gap: .75rem;
}
.sos__label { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.sos__number {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05; text-decoration: none; color: #fff;
}
.sos__hint { margin: 0 0 .4rem; color: var(--muted); }
.sos__jobs { text-align: center; color: var(--muted); font-weight: 600; text-decoration: none; margin-top: .3rem; }
.sos__jobs:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--ink-2); }
.section--dark { background: #0a0b0d; }
.section__title { text-align: center; }
.section__intro { text-align: center; color: var(--muted); max-width: 60ch; margin: -0.5rem auto 2.5rem; font-size: 1.1rem; }
.subhead { margin-top: 3rem; font-size: 1.6rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Drei Gründe */
.path {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.path--urgent { border-color: var(--red); background: linear-gradient(180deg, rgba(255,74,28,.12), var(--ink-2) 60%); }
.path h3 { font-size: 1.7rem; }
.path .checks { flex: 1; }
.path__tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  padding: .25rem .6rem; border-radius: 6px; margin-bottom: 1rem;
  background: var(--ink-3); color: var(--silver);
}
.path--urgent .path__tag { background: var(--red); color: #fff; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 1rem; height: .55rem;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* Leistungen */
.service {
  background: var(--ink-3);
  border-radius: var(--radius);
  padding: 1.6rem;
  border-bottom: 4px solid var(--red);
}
.service p { color: var(--silver); margin-bottom: .6rem; }
.service__num { font-family: var(--display); font-size: 1.1rem; color: var(--red); display: block; margin-bottom: .6rem; }
.service--wide { border-bottom: 0; border-left: 4px solid var(--red); }

/* Split (Text + Bild) */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__inner--reverse .split__media { order: 2; }
.split__media { margin: 0; position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(0,0,0,.7); padding: .3rem .7rem; border-radius: 6px;
  font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.split__text p { color: var(--silver); }
.split__text strong { color: #fff; }

.steps-mini { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.steps-mini li { margin-bottom: .3rem; }
.steps-mini li::marker { color: var(--red); font-weight: 800; }

.note {
  background: var(--ink-3); border-left: 4px solid var(--red);
  padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; font-size: .97rem;
}

/* Ablauf */
.process {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: step;
}
.process li { background: var(--ink-2); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.process p { color: var(--silver); margin: 0; }
.process__num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--display); font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Kosten */
.cost-factors {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.cost-factors li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.cost-factors strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--red); letter-spacing: .5px; }
.cost-factors span { color: var(--silver); }
#kosten p.center { color: var(--silver); }

/* Jobs */
.jobs { display: grid; gap: .75rem; margin: 1.5rem 0; }
.job {
  background: var(--ink-3); border-radius: 10px; padding: 1rem 1.2rem;
  border-left: 4px solid var(--red);
}
.job h3 { font-family: var(--body); font-weight: 800; font-size: 1.05rem; letter-spacing: 0; margin: 0 0 .15rem; line-height: 1.3; }
.job p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Einsatzgebiet */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.areas li {
  padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line);
  font-weight: 600;
}
.areas li:first-child { background: var(--red); border-color: var(--red); }

/* FAQ */
details {
  background: var(--ink-3); border-radius: 10px; margin-bottom: .75rem;
  border: 1px solid var(--line);
}
summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--red); font-weight: 400;
}
details[open] summary::after { content: '–'; }
details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--silver); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.contact .subhead { margin-top: 2rem; font-size: 1.4rem; }
.contact .checks li { color: var(--silver); }
.contact__card {
  margin: 0; background: var(--ink-2); border-radius: var(--radius);
  border-top: 5px solid var(--red); padding: 1.6rem; box-shadow: var(--shadow);
}
.contact__card div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact__card div:last-child { border-bottom: 0; }
.contact__card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact__card dd { margin: .15rem 0 0; font-weight: 600; word-break: break-word; }
.contact__card a { text-decoration: none; }
.contact__card a:hover { color: var(--red); }

/* Rechtliches */
.legal h2 { font-size: 2rem; }
.legal p { color: var(--silver); font-size: .97rem; }
.legal strong { color: var(--text); }

/* Footer */
.footer { background: #0a0b0d; border-top: 3px solid var(--red); padding: 3rem 0 1rem; color: var(--muted); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--text); margin: 0 0 .8rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .4rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--red); }
.logo--footer { margin-bottom: 1rem; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* Mobile Anruf-Leiste */
.callbar { display: none; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1000px) {
  .grid--4, .process { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .sos { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 3px solid var(--red);
    padding: .5rem 16px 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a.nav__call { margin-top: .8rem; border-bottom: 0; padding: .85rem; }

  .grid--2, .grid--3, .split__inner, .contact, .cost-factors { grid-template-columns: 1fr; }
  .split__inner--reverse .split__media { order: 0; }
  #jobs .split__media { order: -1; }
}

@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .topbar__inner > span { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rating { flex-wrap: wrap; gap: .35rem; font-size: .95rem; }
  .grid--4, .process { grid-template-columns: 1fr; }
  .hero__actions .btn, .btn-row .btn { width: 100%; }
  .hero h1 { font-size: 2.5rem; }
  .logo__mark { font-size: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(0,0,0,.4);
  }
  .callbar a {
    padding: 1.05rem; text-align: center; font-weight: 800; text-decoration: none; color: #fff;
  }
  .callbar__call { background: var(--red); }
  .callbar__wa { background: var(--green); }
}
