/* =========================================================
   ProGutachten – Design System
   Kfz-Sachverständigenbüro | seriös, hochwertig, modern
   ========================================================= */

:root {
  /* Marke – Rot direkt aus der Logodatei abgeleitet (#C02028) */
  --color-red: #C02028;
  --color-red-light: #D93440;
  --color-red-dark: #8E1620;
  --color-black: #0A0C0D;
  --color-black-soft: #14181B;
  --color-steel: #7D8A93;      /* Mess- und Annotationsebene */
  --color-white: #FFFFFF;
  --color-gray-50: #F4F6F7;
  --color-gray-200: #DFE4E6;
  --color-gray-400: #98A2A8;
  --color-gray-600: #556066;

  /* Semantik */
  --bg: var(--color-white);
  --bg-alt: var(--color-gray-50);
  --bg-dark: var(--color-black);
  --text: var(--color-black);
  --text-muted: var(--color-gray-600);
  --text-invert: var(--color-white);
  --accent: var(--color-red);
  --accent-hover: var(--color-red-light);
  --accent-on-dark: #F0525E; /* aufgehelltes Signalrot – ausreichend Kontrast auf Tiefschwarz */
  --annotate: var(--color-steel);
  --border: var(--color-gray-200);
  --hairline-dark: rgba(255,255,255,0.12);

  /* Typografie */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --container-w: 1280px;
  /* Präzise, kleine Radien – Instrument statt Bubble */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(10, 12, 13, 0.07);
  --shadow-md: 0 10px 30px rgba(10, 12, 13, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 12, 13, 0.16);
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}
h3, h4 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { line-height: 1.7; margin: 0 0 1em; color: var(--text-muted); }
/* Deutsche Komposita sauber umbrechen statt überlaufen lassen */
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }
p, li { hyphens: auto; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--bg-dark); color: var(--text-invert); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--alt { background: var(--bg-alt); }

/* Prüfpositions-Label – Signature-Struktur: jeder Abschnitt ist eine Position im Protokoll.
   Messpunkt-Raute, Mono-Text in Stahlgrau, Haarlinie die beim Scrollen aufzieht. */
.eyebrow {
  --rule: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--annotate);
  margin-bottom: 22px;
  /* überschreibt die alte Inline-Zentrierung aus dem Bestand */
  justify-content: flex-start !important;
  text-align: left;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--accent);
  transform: rotate(45deg);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.32;
  transform: scaleX(var(--rule));
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Auf dunklen Flächen: gedämpftes Weiß statt Stahlgrau (Kontrast) */
.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

/* Kopf spannt die volle Breite (Haarlinie als Blattkante), Text bleibt in lesbarer Spalte */
.section-head { max-width: none; margin-bottom: 56px; }
.section-head h2 { max-width: 20ch; }
.section-head p { max-width: 62ch; }
/* Bewusst aufgehoben: Dauerzentrierung wich der linksbündigen Protokoll-Struktur */
.section-head--center { margin-left: 0; margin-right: 0; text-align: left; }
h1 { font-size: clamp(2.15rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); }
h3 { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-invert);
  box-shadow: 0 8px 24px rgba(192,32,40, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(192,32,40,0.45); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.section--dark .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline { color: var(--text-invert); }
.section--dark .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover { background: var(--text-invert); color: var(--bg-dark); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
  border-radius: 0;
}
.btn-ghost::after { content: "→"; margin-left: 4px; transition: transform var(--transition); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(6px); }

.btn-sm { padding: 12px 22px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(10,12,13,0.94);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-invert);
}
.logo img { height: 52px; width: auto; }
.logo span.accent { color: var(--accent); }

.nav-main { display: flex; align-items: center; gap: 18px; }
.nav-main a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-main a:hover::after, .nav-main a.is-active::after { width: 100%; }
.nav-main a.is-active { color: var(--text-invert); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .phone-link {
  color: var(--text-invert);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  position: relative;
  z-index: 1100;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text-invert);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 11px; }
.nav-toggle::after { bottom: 0; }
.nav-toggle.is-open::before { transform: translateY(11px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-11px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0c0c0c 0%, #1c0505 55%, #2b0808 100%);
  color: var(--text-invert);
  overflow: hidden;
  padding-top: 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(192,32,40,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(192,32,40,0.2), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 80%);
}
.hero .container { position: relative; z-index: 2; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}
.hero-content { max-width: 660px; }

/* ---------- Signature: Schadensaufnahme ---------- */
.scan-panel {
  position: relative;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(20,24,27,0.92) 0%, rgba(10,12,13,0.7) 100%);
  padding: 20px 22px 18px;
  max-width: 460px;
  margin-left: auto;
}
.scan-panel-head,
.scan-panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scan-panel-head {
  justify-content: space-between;
  color: rgba(255,255,255,0.72);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline-dark);
}
.scan-panel-az { color: var(--annotate); letter-spacing: 0.14em; }
.scan-svg { width: 100%; height: auto; display: block; margin: 6px 0; }
.scan-panel-foot {
  padding-top: 12px;
  border-top: 1px solid var(--hairline-dark);
  color: rgba(255,255,255,0.62);
  flex-wrap: wrap;
}
.scan-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 0 0 rgba(240,82,94,0.55);
  animation: scanPulse 2.6s ease-out infinite;
}
@keyframes scanPulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,82,94,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(240,82,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,82,94,0); }
}
.scan-panel-note { margin-left: auto; color: var(--annotate); letter-spacing: 0.12em; }

/* SVG-Ebenen */
.scan-svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scan-bracket path { stroke: var(--accent); stroke-width: 1.5; opacity: 0.75; }
.scan-dim path { stroke: rgba(255,255,255,0.2); stroke-width: 1; }
.scan-body { stroke: rgba(255,255,255,0.62); stroke-width: 1.5; }
.scan-detail, .scan-detail path { stroke: rgba(255,255,255,0.24); stroke-width: 1; }
.scan-detail rect { stroke: rgba(255,255,255,0.24); stroke-width: 1; fill: none; }
.scan-center { stroke: rgba(255,255,255,0.16); stroke-width: 1; stroke-dasharray: 5 7; }
.scan-marker circle { stroke: var(--accent-on-dark); stroke-width: 1.5; fill: rgba(192,32,40,0.14); }
.scan-marker path { stroke: var(--accent-on-dark); stroke-width: 1.2; }
.scan-leader { stroke: rgba(255,255,255,0.28) !important; stroke-width: 1 !important; }
.scan-label {
  fill: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  stroke: none;
}
.scan-sub {
  fill: var(--annotate);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  stroke: none;
}
.scan-sweep path { stroke: var(--accent-on-dark); stroke-width: 1.5; opacity: 0.85; filter: drop-shadow(0 0 6px rgba(240,82,94,0.7)); }
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--hairline-dark);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.68);
  background: rgba(255,255,255,0.025);
}
.hero-badge strong { color: var(--text-invert); font-weight: 700; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-cue .line { width: 40px; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after {
  content: "";
  position: absolute; left: -100%; top: 0; bottom: 0; width: 100%;
  background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { left: -100%; } 50% { left: 0; } 100% { left: 100%; } }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  color: var(--accent-on-dark);
  display: block;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
/* Grid-Kinder dürfen unter ihre Min-Content-Breite schrumpfen – sonst sprengen
   lange deutsche Komposita ("Nutzungsausfallentschädigung") die Spalte auf Mobil */
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* Messstrich zieht beim Hovern über die Oberkante – präzise statt verspielt */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-gray-400); }
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--accent);
  margin-bottom: 22px;
  transition: background var(--transition), color var(--transition);
}
.card:hover .card-icon { background: var(--accent); color: var(--text-invert); }
.card h3 { margin-bottom: 12px; }
.card p { margin-bottom: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-weight: 600; font-size: 0.88rem; color: var(--accent);
}
.card-link::after { content: "→"; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

.card--dark { background: var(--color-black-soft); border-color: rgba(255,255,255,0.08); color: var(--text-invert); }
.card--dark p { color: rgba(255,255,255,0.6); }
.card--dark .card-icon { background: rgba(255,255,255,0.06); color: var(--accent-on-dark); }

/* ---------- Zertifikats-Vorlage (klar als Platzhalter markiert) ---------- */
.cert-card {
  border-style: dashed;
  border-color: var(--border);
}
.cert-card .card-icon { color: var(--text-muted); background: var(--bg); }
.cert-pending {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Process / Ablauf ---------- */
.process-list { position: relative; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
/* Positionsnummern als echte Protokoll-Positionen: Mono, nicht dekorativ */
.process-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  padding-top: 2px;
}
.process-step h3 { margin-bottom: 8px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 32px;
  height: 100%;
}
.testimonial-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-quote { color: var(--text); margin-bottom: 20px; font-size: 1.02rem; line-height: 1.65; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--text-invert);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-meta { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 16px; height: 2px; }
.faq-icon::after { width: 2px; height: 16px; transition: transform var(--transition); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.faq-item.is-open .faq-answer { max-height: 400px; padding-bottom: 26px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(192,32,40,0.12);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }

.form-field input[type="file"] {
  padding: 12px 14px;
  cursor: pointer;
}
.form-field input[type="file"]::file-selector-button {
  padding: 8px 16px;
  margin-right: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-invert);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
}
.form-field input[type="file"]::file-selector-button:hover { background: var(--accent-hover); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-dark);
  color: var(--text-invert);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(192,32,40,0.4), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.65); margin-bottom: 0; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-col h4 { color: var(--text-invert); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.92rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--text-invert); }

/* ---------- Reveal animation base state (GSAP controls the rest) ---------- */
.reveal { opacity: 0; }

/* ---------- Breadcrumb / Page hero (Unterseiten) ---------- */
.page-hero {
  padding: 180px 0 80px;
  background: linear-gradient(160deg, #0c0c0c 0%, #1c0505 60%, #2b0808 100%);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(192,32,40,0.35), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--text-invert); }
.page-hero p.lead { max-width: 640px; font-size: 1.1rem; color: rgba(255,255,255,0.7); }

/* ---------- Echtes Foto (Rahmen + Bildunterschrift) ---------- */
.photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.photo.ratio-1-1 { aspect-ratio: 1/1; }
.photo.ratio-16-9 { aspect-ratio: 16/9; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.photo:hover img { transform: scale(1.04); }
/* Bildunterschrift als Beleg-Annotation */
.photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 30px 16px 13px;
}
.photo-caption::before {
  content: "";
  width: 6px; height: 6px;
  flex-shrink: 0;
  background: var(--accent);
  transform: rotate(45deg);
}
.photo { border-radius: var(--radius-sm); }

/* ---------- Image placeholder (bis echte Fotos vorliegen) ---------- */
/* Platzhalter im Instrumenten-Look: Messraster statt Emoji */
.img-placeholder {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-black-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.12);
  isolation: isolate;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 0;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.09) 50%, transparent 65%);
  background-size: 200% 100%;
  animation: placeholderShimmer 3.2s ease-in-out infinite;
  z-index: 1;
}
.img-placeholder span {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 18px;
  font-weight: 500;
  color: var(--annotate);
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}
.img-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.img-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
@keyframes placeholderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes placeholderShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Ambient orbs (dezente Bewegung im Hintergrund) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb--a {
  width: 420px; height: 420px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(192,32,40,0.55), transparent 70%);
}
.orb--b {
  width: 320px; height: 320px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(192,32,40,0.35), transparent 70%);
  animation-delay: -6s;
  animation-duration: 15s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -32px) scale(1.08); }
}
.hero .container, .page-hero .container { position: relative; z-index: 2; }

/* ---------- Marquee (Trust-Ticker) ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-dark);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Trust-Ticker als Datenleiste statt Schlagzeile */
.marquee-track span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-track span.dot { color: var(--accent); font-size: 0.8rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pain-point / Problem cards ---------- */
.problem-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 30px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.problem-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 1.3rem;
}
.problem-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.problem-card p { margin-bottom: 0; }

/* ---------- Floating CTA (sticky Anruf-Button) ---------- */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-invert);
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(192,32,40,0.45);
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s, background var(--transition);
}
.floating-cta.is-visible { transform: translateY(0); opacity: 1; }
.floating-cta:hover { background: var(--accent-hover); }
.floating-cta-ring {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 640px) {
  .floating-cta { right: 16px; bottom: 16px; padding: 15px; }
  .floating-cta-text { display: none; }
}

/* ---------- Utilities ---------- */
[id] { scroll-margin-top: 120px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; padding: 48px; }
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: none; }
  .scan-panel { margin-left: 0; max-width: 420px; }
  .hero { min-height: 0; padding-bottom: 80px; }
}

@media (max-width: 1080px) {
  .nav-main { display: none; }
  .header-cta .phone-link span { display: none; }
  .nav-toggle { display: block; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 36px 24px; }
  .process-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .process-num { font-size: 1.8rem; }
}

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { color: var(--text-invert); font-family: var(--font-display); font-size: 1.6rem; }
.mobile-nav a.is-active { color: var(--accent-on-dark); }
/* CTA-Paar untereinander statt nebeneinander – zwei große Buttons passen bei 390px nicht in eine Zeile */
.mobile-nav .header-cta {
  margin-top: 24px;
  flex-direction: column;
  width: min(320px, calc(100% - 48px));
}
.mobile-nav .header-cta .btn { width: 100%; }

/* =========================================================
   Accessibility
   ========================================================= */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--accent);
  color: var(--text-invert);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible {
  outline-color: var(--text-invert);
}

/* ---------- Icon-System (ersetzt Emoji) ---------- */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}
.icon-lg { width: 1.6rem; height: 1.6rem; }
.card-icon .icon, .problem-icon .icon { width: 24px; height: 24px; color: currentColor; }

/* ---------- Stempel-Ecke (dezentes Wiedererkennungsmerkmal) ---------- */
.stamp {
  position: relative;
}
.stamp::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  opacity: 0.18;
  transform: rotate(8deg);
  pointer-events: none;
}

/* =========================================================
   Reduced Motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; }
}

/* =========================================================
   Standorte & Zertifikate (Erweiterung)
   ========================================================= */

/* ---------- Karten als Link-Wrapper (Einzugsgebiet-Karten) ---------- */
.card-link-wrap { display: block; text-decoration: none; }
.card-link-wrap .card-link { pointer-events: none; }

/* ---------- Zertifikate: Grid, Vorschaubild, Lightbox-Trigger ---------- */
.cert-card { display: flex; flex-direction: column; }
.cert-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert-meta { font-size: 0.82rem; color: var(--text-muted); margin: 4px 0 0; display: flex; flex-direction: column; gap: 2px; }
.cert-meta strong { color: var(--text); font-weight: 600; }
.cert-view-btn {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
}
.cert-view-btn:hover { background: var(--accent); color: var(--text-invert); }
.cert-view-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border);
  color: var(--text-muted);
}
.cert-view-btn:disabled:hover { background: transparent; color: var(--text-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.88); backdrop-filter: blur(4px); }
.lightbox-content {
  position: relative; z-index: 1;
  max-width: min(90vw, 720px);
  max-height: 86vh;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform var(--transition);
  overflow: auto;
}
.lightbox.is-open .lightbox-content { transform: scale(1); }
.lightbox-content img { border-radius: var(--radius-sm); width: 100%; height: auto; display: block; }
.lightbox-caption { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-invert);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.lightbox-close:hover { background: var(--accent-hover); }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: -12px; right: -8px; width: 36px; height: 36px; }
}

/* ---------- Regionalkarte ---------- */
.region-map-wrap {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.region-map-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(192,32,40,0.28), transparent 55%);
  pointer-events: none;
}
.region-map { position: relative; z-index: 1; width: 100%; height: auto; }
.region-map .region-line { stroke: rgba(255,255,255,0.18); stroke-width: 1; fill: none; }
.region-map .region-point circle { fill: var(--accent-on-dark); }
.region-map .region-point text { fill: rgba(255,255,255,0.85); font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.region-map .region-point--hq circle { fill: var(--text-invert); r: 7; }
.region-map .region-point--hq text { fill: var(--text-invert); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.region-map .region-point { cursor: pointer; }
.region-map .region-point:hover circle { fill: var(--text-invert); }
.region-map-note {
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* =========================================================
   Navigations-Dropdowns (Desktop) + Mobile-Unterebenen
   ========================================================= */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Chevron als Hinweis auf Unterseiten */
.nav-item::after {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition), border-color var(--transition);
  pointer-events: none;
}
.nav-item:hover::after,
.nav-item:focus-within::after {
  border-color: var(--accent-on-dark);
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 14px;
  min-width: 244px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1), transform 0.28s cubic-bezier(0.16,1,0.3,1), visibility 0.28s;
  z-index: 1100;
}
/* Unsichtbare Brücke, damit das Menü beim Rüberfahren nicht wegklappt */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover {
  background: rgba(192,32,40,0.55);
  color: var(--text-invert);
  padding-left: 18px;
}
.nav-dropdown a.is-active {
  background: rgba(192,32,40,0.3);
  color: var(--text-invert);
}
.nav-dropdown .nav-dropdown-all {
  margin-top: 6px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  color: var(--accent-on-dark);
  font-weight: 600;
}
.nav-dropdown .nav-dropdown-all:hover {
  background: transparent;
  color: var(--text-invert);
  padding-left: 18px;
}

/* ---------- Mobile: aufklappbare Unterebenen ---------- */
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.mobile-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--text-invert);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0;
}
.mobile-sub-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-on-dark);
  border-bottom: 2px solid var(--accent-on-dark);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--transition);
}
.mobile-nav-group.is-open .mobile-sub-toggle::after {
  transform: translateY(1px) rotate(225deg);
}
.mobile-subnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding var(--transition);
}
.mobile-nav-group.is-open .mobile-subnav {
  max-height: 520px;
  padding: 18px 0 4px;
}
.mobile-nav .mobile-subnav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.mobile-nav .mobile-subnav a.is-active { color: var(--accent-on-dark); }

/* ---------- Formular: Rückmeldung & Fehlerzustände ---------- */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid;
}
.form-status--pending { background: var(--bg-alt); border-color: var(--border); color: var(--text-muted); }
.form-status--ok { background: #E9F5EE; border-color: #BFE0CD; color: #14603A; }
.form-status--error { background: #FDECED; border-color: #F3C6C9; color: #8E1620; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--accent); }
.field-error { color: var(--accent); font-size: 0.8rem; font-weight: 500; }

/* ---------- Cookie-Einwilligung ---------- */
.consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1300;
  background: var(--color-black-soft);
  color: rgba(255,255,255,0.82);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.consent.is-visible { opacity: 1; transform: translateY(0); }
.consent-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.consent-text strong {
  display: block;
  color: var(--text-invert);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 5px;
}
.consent-text p { margin: 0; font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.66); }
.consent-text a { color: var(--accent-on-dark); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions .btn-outline { color: var(--text-invert); }
.consent-actions .btn-outline:hover { background: var(--text-invert); color: var(--bg-dark); }
@media (max-width: 780px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; }
}

/* ---------- Logo: darf nicht gestaucht werden ---------- */
.logo { flex-shrink: 0; }
.logo img { object-fit: contain; }

@media (max-width: 700px) {
  /* Header-CTA weicht dem Logo – die Handlungsaufforderung steht direkt
     darunter im Hero, im Menü und als Anruf-Button unten rechts */
  .site-header .header-cta { display: none; }
  .logo img { height: 46px; }
  .site-header .container { gap: 16px; }
}
@media (max-width: 380px) {
  .logo img { height: 40px; }
}
