/* Schotte Automotive — Interim-Website. Zentrales Design-System (Sie-Form-Projekt). */
:root {
  --dunkel: #1a171b;
  --anthrazit: #2a2730;
  --rot: #dc002e;
  --rot-dunkel: #b30026;
  --text: #23202a;
  --text-leise: #5c5866;
  --linie: #e4e2e6;
  --flaeche: #f6f5f7;
  --weiss: #ffffff;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.6;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-wrap: break-word;
}

a { color: var(--rot-dunkel); }
a:hover { color: var(--rot); }

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

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: var(--weiss); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.marke { display: inline-flex; align-items: center; text-decoration: none; }
.marke img { display: block; height: 40px; width: auto; }
.kopf-nav a { color: var(--text-leise); text-decoration: none; font-size: 14px; margin-left: 18px; font-weight: 500; }
.kopf-nav a:hover { color: var(--rot); }

/* Hero-Band mit Foto */
.band {
  position: relative;
  color: #f7f5f8;
  padding: 116px 0 96px;
  background:
    linear-gradient(90deg, rgba(26,23,27,.74) 0%, rgba(26,23,27,.46) 48%, rgba(26,23,27,.10) 100%),
    url("home-header-001.jpg") center right / cover no-repeat;
  background-color: var(--dunkel);
}
.band .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: #ff8098; margin: 0 0 14px; font-weight: 600; text-shadow: 0 1px 10px rgba(15,12,17,.45); }
.band h1 { font-size: clamp(30px, 5.4vw, 48px); line-height: 1.14; margin: 0 0 18px; color: #fff; font-weight: 700; max-width: 18ch; text-shadow: 0 2px 16px rgba(15,12,17,.5); }
.band .lead { font-size: clamp(17px, 2.4vw, 21px); max-width: 44ch; margin: 0; color: #f0edf2; text-shadow: 0 1px 12px rgba(15,12,17,.5); }
/* Scroll-CTA: pulsierender Pfeil nach unten */
.scroll-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 52px auto 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  color: #ffffff;
  background: rgba(255,255,255,.14);
  box-shadow: 0 4px 18px rgba(15,12,17,.30);
  text-decoration: none;
  animation: scroll-cta-puls 2.4s ease-in-out infinite;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.scroll-cta:hover,
.scroll-cta:focus-visible {
  color: #ff8098;
  border-color: rgba(255,128,152,.75);
  background: rgba(255,255,255,.22);
}
.scroll-cta-pfeil { display: block; filter: drop-shadow(0 1px 3px rgba(15,12,17,.45)); }

@keyframes scroll-cta-puls {
  0%, 100% { opacity: .45; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(7px); }
}

@media (prefers-reduced-motion: reduce) {
  /* Nur die dauerhaft pulsierende Pfeil-Animation abschalten. Das sanfte Scrollen
     ist eine kurze, bewusst ausgelöste Bewegung und bleibt aktiv. */
  .scroll-cta { animation: none; opacity: 1; }
}

/* Inhalt */
main { flex: 1 0 auto; }
/* scroll-margin-top: der Pfeil-Sprung stoppt etwas früher (Ziel höher angesetzt),
   damit ein Teil des Hero sichtbar bleibt und der Scrollweg kürzer wirkt. */
.inhalt { padding: 48px 0; scroll-margin-top: 140px; }
.grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.notiz { background: var(--flaeche); border-left: 4px solid var(--rot); padding: 14px 18px; margin: 0 0 28px; font-size: 15.5px; color: var(--text-leise); }

h2 { font-size: 24px; color: var(--dunkel); margin: 0 0 8px; }
h3 { font-size: 18px; color: var(--dunkel); margin: 0 0 4px; }
p { margin: 0 0 16px; }

.leistungen { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.leistungen li {
  border: 1px solid var(--linie);
  border-top: 3px solid var(--rot);
  padding: 18px 18px;
  background: var(--weiss);
  transition: box-shadow .2s ease, transform .2s ease;
}
.leistungen li:hover { box-shadow: 0 10px 26px rgba(26,23,27,.10); transform: translateY(-3px); }
.leist-icon { display: block; width: 34px; height: 34px; color: var(--rot); margin-bottom: 12px; }
.leistungen h3 { margin-bottom: 4px; }
.leistungen p { margin: 0; font-size: 14.5px; color: var(--text-leise); }

/* Kontakt-Sidebar */
.kontakt { border: 1px solid var(--linie); padding: 22px; background: var(--flaeche); position: sticky; top: 20px; }
.kontakt h2 { font-size: 19px; margin-bottom: 14px; }
.kontakt dl { margin: 0; }
.kontakt dt { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-leise); margin-top: 16px; font-weight: 600; }
.kontakt dt:first-child { margin-top: 0; }
.kontakt-icon { flex: none; width: 16px; height: 16px; color: var(--rot); }
.kontakt dd { margin: 3px 0 0 24px; font-size: 15.5px; }
.kontakt dd a { text-decoration: none; }
.kontakt address { font-style: normal; }

/* Prozess-Band: Ablauf in 5 Schritten */
.prozess-band { background: var(--flaeche); border-top: 1px solid var(--linie); padding: 50px 0 54px; }
.prozess-titel { text-align: center; font-size: 24px; margin: 0 0 6px; }
.prozess-lead { text-align: center; color: var(--text-leise); font-size: 15.5px; max-width: 54ch; margin: 0 auto 36px; }
.prozess-schritte {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  list-style: none; margin: 0; padding: 0;
  counter-reset: schritt;
}
/* durchgehende Linie hinter den Icon-Kreisen (Kreis 58px -> Mitte bei 29px) */
.prozess-schritte::before {
  content: ""; position: absolute; top: 29px; left: 10%; right: 10%;
  height: 2px; background: var(--linie); z-index: 0;
}
.prozess-schritte li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-icon {
  width: 58px; height: 58px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--weiss); border: 2px solid var(--rot); color: var(--rot);
  margin-bottom: 12px;
}
.ps-icon svg { width: 26px; height: 26px; }
.ps-nr { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--rot); font-weight: 600; margin-bottom: 3px; }
.prozess-schritte h3 { font-size: 15px; margin: 0; color: var(--dunkel); }

/* Rechtstext-Seiten */
.doc { padding: 40px 0 48px; max-width: 780px; }
.doc h1 { font-size: 30px; color: var(--dunkel); margin: 0 0 24px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; color: var(--dunkel); }
.doc h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .5px; color: var(--rot-dunkel); margin: 20px 0 4px; }
.doc p, .doc address { margin: 0 0 14px; }
.doc address { font-style: normal; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc .zurueck { display: inline-block; margin-top: 8px; font-size: 15px; text-decoration: none; }
.quelle { font-size: 13px; color: var(--text-leise); }

/* Fuß */
.fuss { background: var(--dunkel); color: #b6b2bd; margin-top: auto; padding: 26px 0; font-size: 14px; }
.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.fuss a { color: #ded9e3; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss nav a { margin-left: 16px; }
.fuss nav a:first-child { margin-left: 0; }

@media (max-width: 780px) {
  .band { padding: 76px 0 64px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .prozess-schritte { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .prozess-schritte::before { display: none; }
  .kontakt { position: static; }
  .leistungen { grid-template-columns: 1fr; }
  .kopf .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kopf-nav a { margin-left: 0; margin-right: 16px; }
  .fuss .wrap { flex-direction: column; align-items: flex-start; }
  .fuss nav a { margin-left: 0; margin-right: 16px; }
}
