/* AGS Pannenhilfe 24/7 – Stylesheet
   Keine externen Schriftarten/Skripte (DSGVO-freundlich, schnell). */

:root {
  --yellow: #FFC400;
  --yellow-dark: #E0A800;
  --red: #D7141A;
  --red-dark: #A80F14;
  --black: #111111;
  --gray-900: #1C1C1C;
  --gray-700: #3A3A3A;
  --gray-500: #6B6B6B;
  --gray-100: #F4F4F2;
  --white: #FFFFFF;
  --green-wa: #1EA952;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.12);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* Platz für mobile Aktionsleiste */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 4px solid var(--yellow);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-badge {
  background: var(--red); color: var(--white);
  font-weight: 900; font-size: 22px; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 8px; border: 2px solid var(--white);
  line-height: 1.1;
}
.brand-text { font-weight: 800; font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.brand-text span { display: block; color: var(--yellow); font-size: 13px; }

.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--black);
  font-weight: 800; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.header-call:hover { background: var(--yellow-dark); }
.header-call svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.86) 55%, rgba(215,20,26,.85) 100%),
    repeating-linear-gradient(45deg, #222 0 14px, #1a1a1a 14px 28px);
  color: var(--white);
  padding: 56px 0 64px;
}
.hero-badge {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-weight: 800; font-size: 14px; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.08; font-weight: 900; letter-spacing: -.5px;
  margin-bottom: 16px;
}
.hero h1 .h-line { display: block; color: var(--white); }



.hero h1 .h-white { color: var(--white); margin-top: 6px; }
.hero p.lead { font-size: clamp(17px, 2.3vw, 21px); color: #E6E6E6; max-width: 640px; margin-bottom: 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 18px; text-decoration: none;
  padding: 16px 24px; border-radius: 12px; min-height: 56px;
  transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-call { background: var(--yellow); color: var(--black); }
.btn-call:hover { background: var(--yellow-dark); }
.btn-wa { background: var(--green-wa); color: var(--white); }
.btn-wa:hover { background: #178A42; }
.btn-number { font-size: clamp(26px, 3.4vw, 32px); letter-spacing: .5px; padding: 18px 30px; min-height: 68px; }
.btn-number svg { width: 28px; height: 28px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: #F0F0F0; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.15; margin-bottom: 10px; }
.section-sub { color: var(--gray-500); font-size: 18px; max-width: 680px; margin-bottom: 36px; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.service-head {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; color: var(--white);
}
.service-head svg { width: 40px; height: 40px; flex: none; }
.service-head h3 { font-size: 21px; font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.service-head small { display: block; font-size: 14px; font-weight: 600; text-transform: none; opacity: .92; margin-top: 2px; }
.s-red   .service-head { background: var(--red); }
.s-yellow .service-head { background: var(--yellow); color: var(--black); }
.s-blue  .service-head { background: #1F5FBF; }
@media (min-width: 900px) { .service-head { min-height: 106px; } }
.service-img { margin: 0; line-height: 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.service-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.service ul { list-style: none; padding: 18px 22px 22px; display: grid; gap: 10px; }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.s-red li svg { color: var(--red); }
.s-yellow li svg { color: var(--yellow-dark); }
.s-blue li svg { color: #1F5FBF; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--yellow); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--yellow); font-weight: 900; font-size: 20px; margin-bottom: 12px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--gray-700); }

/* ---------- Einsatzgebiet ---------- */
.area-box {
  background: var(--black); color: var(--white); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 20px;
}
.area-box h3 { font-size: 24px; color: var(--yellow); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cities li { background: #262626; border: 1px solid #3a3a3a; padding: 6px 12px; border-radius: 999px; font-size: 15px; }
.area-note { color: #CFCFCF; font-size: 15px; }

/* ---------- Galerie (später mit Fotos füllen) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--gray-700); }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--yellow); color: var(--black); text-align: center;
}
.contact .section-title { margin-bottom: 8px; }
.contact p { font-size: 18px; margin-bottom: 24px; }
.contact .cta-row { justify-content: center; }
.contact .btn-call { background: var(--black); color: var(--yellow); }
.contact .btn-call:hover { background: #000; }
.contact-mail { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #BDBDBD; padding: 32px 0; font-size: 15px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #E6E6E6; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 18px rgba(0,0,0,.25);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px calc(14px + env(safe-area-inset-bottom)); min-height: 64px;
  font-weight: 900; font-size: 17px; text-decoration: none;
}
.mobile-bar svg { width: 22px; height: 22px; }
.mobile-bar .mb-call { background: var(--yellow); color: var(--black); }
.mobile-bar .mb-wa { background: var(--green-wa); color: var(--white); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
}
@media (max-width: 520px) {
  .header-call .hc-text { display: none; }
  .header-call { padding: 10px 12px; }
  .btn { width: 100%; }
  section { padding: 48px 0; }
  .hero { padding: 40px 0 48px; }
}

/* ---------- Rechtstexte ---------- */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; }
.legal h3 { font-size: 18px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--gray-700); margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal .back { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--red); text-decoration: none; }

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