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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background-color: #000;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 10px clamp(20px, 4vw, 48px);
  background: linear-gradient(#000 40%, transparent);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.logo__icon {
  width: 58px;
  height: 58px;
  flex: none;
  overflow: visible;
}

/* Fernglas schwenkt weich zum zuletzt erfassten Punkt */
.logo__binoculars {
  transform-origin: 18px -8px;
  transform: rotate(0deg);
}

.logo__text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__radar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Radar bleicht nach links leicht aus */
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.1) 100%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

/* Unfall mit zwei Autos: steht aufrecht auf der Zielmarke des Radars (Position setzt radar.js), leicht gedreht */
.hero__car {
  position: absolute;
  left: 30%;
  top: 80%;
  width: clamp(280px, 42vw, 640px);
  height: auto;
  color: #ff3b4a;
  /* unsichtbar, bis der Suchstrahl den Unfall erfasst (radar.js setzt .is-detected) */
  opacity: 0;
  transition: opacity 2s ease;
  filter: drop-shadow(0 0 8px rgba(255, 26, 43, 0.7));
  transform: translate(-50%, -88%) perspective(900px) rotateY(-20deg);
  pointer-events: none;
}

.hero__car.is-detected {
  opacity: 1;
}

/* Klingelndes Handy rechts im Hero: nur sichtbar, während es klingelt */
.hero__phone {
  position: absolute;
  right: 12%;
  bottom: 16%;
  width: clamp(70px, 9vw, 124px);
  height: auto;
  color: #ff3b4a;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 26, 43, 0.8));
  transform-origin: 50% 85%;
  pointer-events: none;
}

.hero__phone.is-ringing {
  animation: phone-ring 2s ease-in-out both;
}

/* kurz einblenden, hin und her wackeln, kurz ausblenden – zusammen zwei Sekunden */
@keyframes phone-ring {
  0% { opacity: 0; transform: rotate(0deg); }
  12% { opacity: 1; transform: rotate(0deg); }
  22% { transform: rotate(-9deg); }
  32% { transform: rotate(9deg); }
  42% { transform: rotate(-9deg); }
  52% { transform: rotate(8deg); }
  62% { transform: rotate(-7deg); }
  72% { transform: rotate(5deg); }
  85% { opacity: 1; transform: rotate(0deg); }
  100% { opacity: 0; transform: rotate(0deg); }
}

@media (max-width: 820px) {
  .hero__phone {
    right: 9%;
    bottom: auto;
    top: 22%;
  }
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  /* dunkler Schein, damit die Schrift vor dem Radar lesbar bleibt */
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7);
}

.hero__subtitle {
  margin: clamp(16px, 2.5vw, 28px) 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
}

/* Inhaltsabschnitte unter dem Hero */
.section {
  position: relative;
  padding: clamp(72px, 11vw, 140px) clamp(20px, 5vw, 48px);
}

/* feine rote Trennlinie zwischen den Abschnitten */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, rgba(255, 26, 43, 0.55), transparent);
}

.section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.section p {
  margin: 0 0 1.3em;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.section .kicker {
  margin-bottom: 14px;
  color: #ff1a2b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.7em;
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section .lead {
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}

.section .statement {
  margin: 1.6em 0 0;
  padding-left: 20px;
  border-left: 3px solid #ff1a2b;
  color: #fff;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "✓";
  color: #ff1a2b;
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 2em 0 0;
}

.stats__item {
  padding: 22px 24px;
  border: 1px solid rgba(255, 26, 43, 0.35);
  border-radius: 14px;
  background: rgba(255, 26, 43, 0.06);
}

.stats dt {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

/* nachgestellte Google-Suchleiste */
.searchbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.6em;
  padding: 16px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  box-shadow: 0 0 0 1px rgba(255, 26, 43, 0.5), 0 0 40px rgba(255, 26, 43, 0.35);
}

.searchbar svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: #ff1a2b;
}

/* Abschluss mit Kontakt-Button */
.section--cta {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 26, 43, 0.22), transparent 65%);
}

.button {
  display: inline-block;
  margin-top: 0.6em;
  padding: 18px 38px;
  border-radius: 999px;
  background: #ff1a2b;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 36px rgba(255, 26, 43, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 52px rgba(255, 26, 43, 0.75);
}

.button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Fußzeile */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* Über mich: Foto links, Text rechts, Kennzahlen darunter */
.section--about .section__inner {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  column-gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section--about .section__inner > * {
  grid-column: 2;
}

.section--about .about__photo {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid rgba(255, 26, 43, 0.4);
  border-radius: 18px;
  box-shadow: 0 0 60px rgba(255, 26, 43, 0.18);
}

.section--about .stats {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .section--about .section__inner {
    grid-template-columns: 1fr;
  }

  .section--about .section__inner > *,
  .section--about .about__photo {
    grid-column: 1;
    grid-row: auto;
  }

  .section--about .about__photo {
    max-width: 340px;
    margin-bottom: 32px;
  }
}

/* Ablauf in nummerierten Schritten */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 36px 68px;
  counter-increment: step;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid #ff1a2b;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Verbindungslinie zwischen den Schritten */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 26, 43, 0.35);
}

.steps h3 {
  margin: 0 0 6px;
  padding-top: 8px;
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
}

/* Ausschlussgründe mit rotem Kreuz */
.nofit {
  margin: 0 0 2.2em;
  padding: 0;
  list-style: none;
}

.nofit li {
  position: relative;
  margin-bottom: 14px;
  padding: 22px 24px 22px 72px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.nofit li::before {
  content: "✕";
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 26, 43, 0.18);
  color: #ff1a2b;
  font-size: 0.95rem;
  font-weight: 800;
}

.nofit h3 {
  margin: 0 0 6px;
  padding-top: 3px;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.nofit p {
  margin: 0;
}

/* FAQ zum Aufklappen */
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq details:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff1a2b;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary:focus-visible {
  outline: 2px solid #ff1a2b;
  outline-offset: 2px;
}

.faq details p {
  margin: 0;
  padding: 0 0 24px;
}

.faq details p:not(:last-child) {
  padding-bottom: 14px;
}

.faq strong {
  color: #fff;
}

.faq mark {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 26, 43, 0.3);
  color: #fff;
}

.steps__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 26, 43, 0.6);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.steps p {
  margin: 0;
}

/* Navigation in der Kopfzeile */
.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: #ff1a2b;
}

/* Kopfbereich der Unterseiten */
.subhero {
  padding: clamp(150px, 20vw, 220px) clamp(20px, 5vw, 48px) clamp(56px, 8vw, 96px);
  background: radial-gradient(ellipse at 80% 0%, rgba(255, 26, 43, 0.2), transparent 60%);
}

.subhero .kicker {
  margin: 0 0 14px;
  color: #ff1a2b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subhero__title {
  margin: 0 0 0.5em;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.subhero .lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.45;
}

/* Liste mit Haken statt Kreuz */
.nofit--yes li::before {
  content: "✓";
}

/* Textlink innerhalb eines Abschnitts */
.textlink {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ff1a2b;
  text-underline-offset: 5px;
}

.textlink:hover,
.textlink:focus-visible {
  color: #ff1a2b;
}

/* Kopfzeile auf schmalen Bildschirmen: Navigation rutscht unter das Logo */
@media (max-width: 560px) {
  .site-nav {
    width: 100%;
    gap: 20px;
    font-size: 0.95rem;
  }
}

/* Referenz: Logo des Kunden und sein Video */
.referral {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 2.4em;
}

.referral__logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}

.referral__video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(255, 26, 43, 0.6);
  border-radius: 14px;
  background: rgba(255, 26, 43, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.referral__video svg {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: 50%;
  background: #ff1a2b;
  color: #fff;
}

@media (max-width: 640px) {
  .referral {
    grid-template-columns: 1fr;
  }

  .referral__logo {
    height: auto;
    max-width: 280px;
  }
}
