/* fabeus.de — ContractorHQ / tanduu.com design system (PHP-Seiten)
   Slate-950 + Amber-400/500, weißer Topbar, Violett nur Header-CTA.
   Icons: 2px-Strich (Lucide-Stil), keinEmoji-Icon-Spam. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --chq-slate-50: #f8fafc;
  --chq-slate-100: #f1f5f9;
  --chq-slate-200: #e2e8f0;
  --chq-slate-400: #94a3b8;
  --chq-slate-500: #64748b;
  --chq-slate-600: #475569;
  --chq-slate-700: #334155;
  --chq-slate-800: #1e293b;
  --chq-slate-900: #0f172a;
  --chq-slate-950: #020617;
  --chq-amber-400: #fbbf24;
  --chq-amber-500: #f59e0b;
  --chq-amber-600: #d97706;
  --chq-amber-50: #fffbeb;
  --chq-violet-600: #7c3aed;
  --chq-violet-700: #6d28d9;
  --chq-white: #ffffff;
  --chq-max: 80rem; /* 1280px */
  --chq-safe: clamp(1rem, 4vw, 1.75rem);
  --chq-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --chq-radius: 0.5rem;
  --chq-radius-lg: 0.75rem;
  --chq-stroke: 2;
}

/* Basis */
html { scroll-behavior: smooth; }
body.chq, body.fabeus-chq {
  margin: 0;
  font-family: var(--chq-font);
  color: var(--chq-slate-800);
  background: var(--chq-white);
  line-height: 1.6;
  padding-top: 4rem;
  -webkit-font-smoothing: antialiased;
}

/* ── Topbar (weiß — wie tanduu.com) ─ */
.chq-topbar,
header.chq-topbar,
.site-header.chq-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 4rem;
  display: flex;
  align-items: center;
  background: var(--chq-white) !important;
  border-bottom: 1px solid var(--chq-slate-200) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}

.chq-topbar-inner {
  width: 100%;
  max-width: var(--chq-max);
  margin: 0 auto;
  padding: 0 var(--chq-safe);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.chq-topbar a.logo img { display: block; height: 2.25rem; width: auto; }
.chq-nav { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .chq-nav { display: flex; } }
.chq-nav a {
  color: var(--chq-slate-600) !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.chq-nav a:hover { color: var(--chq-slate-900) !important; }

.chq-actions { display: flex; align-items: center; gap: 0.75rem; }
.chq-link-quiet {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--chq-slate-500) !important;
  text-decoration: none;
}
.chq-link-quiet:hover { color: var(--chq-slate-800) !important; }

.chq-btn-violet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--chq-violet-600) !important;
  color: var(--chq-white) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--chq-radius);
  border: none;
  transition: background 0.15s;
}
.chq-btn-violet:hover { background: var(--chq-violet-700) !important; }

.chq-btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  background: var(--chq-amber-500) !important;
  color: var(--chq-slate-950) !important;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: var(--chq-radius);
  transition: background 0.15s, transform 0.1s;
}
.chq-btn-amber:hover { background: var(--chq-amber-400) !important; }

.chq-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  background: transparent !important;
  color: var(--chq-white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--chq-radius);
  transition: background 0.15s, border-color 0.15s;
}
.chq-btn-outline:hover { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.4) !important; }
.chq-ghost, a.chq-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.1rem; font-size: 0.9rem; font-weight: 700;
  color: var(--chq-slate-800) !important; text-decoration: none !important;
  border: 1px solid var(--chq-slate-300); border-radius: var(--chq-radius); background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.chq-ghost:hover { border-color: var(--chq-amber-500); background: var(--chq-amber-50); }

/* ── Hero (dunkel + optional Bild) ─ */
.chq-hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: center;
  background: var(--chq-slate-950);
  color: #fff;
  padding: 3.5rem 0 4rem;
}
.chq-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
  opacity: 1;
}
.chq-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 70% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 30% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 45%);
}
.chq-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-size: cover;
  background-position: center;
}
.chq-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--chq-max);
  margin: 0 auto;
  padding: 0 var(--chq-safe);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .chq-hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Authorzeile (Bernard-Style) */
.chq-author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.chq-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--chq-amber-500);
  color: var(--chq-slate-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}
.chq-author-text .chq-name { font-size: 0.75rem; font-weight: 800; color: #fff; margin: 0; line-height: 1.1; }
.chq-author-text .chq-sub { font-size: 0.7rem; color: var(--chq-slate-400); margin: 0.15rem 0 0; max-width: 20rem; }
.chq-pill-amber {
  display: none;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--chq-amber-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
}
@media (min-width: 30rem) { .chq-pill-amber { display: inline-flex; } }

.chq-h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}
.chq-h1 .chq-gold { color: var(--chq-amber-400); }
.chq-h1 .chq-dim { display: block; color: #cbd5e1; font-size: 0.7em; margin-top: 0.35em; }

.chq-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 32rem;
  margin: 0 0 1.5rem;
}
.chq-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chq-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
}
.chq-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.chq-micro { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; margin-top: 1.5rem; }
.chq-micro span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: #94a3b8; }
.chq-ico-amber { width: 1rem; height: 1rem; stroke: var(--chq-amber-500); flex-shrink: 0; }

/* Testimonial / Glass (rechts) */
.chq-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--chq-radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.75rem;
  max-width: 24rem;
  margin-left: auto;
}
.chq-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.chq-star { width: 1rem; height: 1rem; color: var(--chq-amber-400); fill: currentColor; }
.chq-quote { font-size: 0.9rem; line-height: 1.65; color: #e2e8f0; margin: 0 0 1.2rem; }
.chq-who { display: flex; align-items: center; gap: 0.65rem; }
.chq-who-av { width: 2.4rem; height: 2.4rem; border-radius: 9999px; background: #334155; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: #fff; }
.chq-who-name { font-size: 0.8rem; font-weight: 600; color: #fff; margin: 0; }
.chq-who-loc { font-size: 0.7rem; color: rgba(251, 191, 36, 0.7); margin: 0.1rem 0 0; }
.chq-badge-soft { font-size: 0.65rem; color: #94a3b8; background: rgba(255,255,255,0.05); border-radius: 9999px; padding: 0.2rem 0.5rem; margin-left: auto; }

/* Trust-Leiste */
.chq-trust {
  position: relative;
  z-index: 2;
  background: #0c1222;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
  padding: 0.9rem 0;
}
.chq-trust-inner {
  max-width: var(--chq-max);
  margin: 0 auto;
  padding: 0 var(--chq-safe);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.5rem;
  font-size: 0.8rem;
}
.chq-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.chq-ico { width: 1rem; height: 1rem; stroke: #94a3b8; stroke-width: 2; fill: none; }

/* Sektionen (hell) */
.chq-wrap { width: 100%; max-width: var(--chq-max); margin: 0 auto; padding: 0 var(--chq-safe); }
.chq-sec { padding: 3.5rem 0; }
.chq-sec--muted { background: var(--chq-slate-50); }
.chq-sec--white { background: var(--chq-white); }
.chq-sec h2, .chq-sec h3 { color: var(--chq-slate-900); }
.chq-sec-title { text-align: center; margin: 0 0 0.4rem; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; letter-spacing: -0.02em; }
.chq-sec-sub { text-align: center; color: var(--chq-slate-500); max-width: 40rem; margin: 0 auto 2rem; font-size: 0.95rem; }
.chq-over { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chq-slate-400); text-align: center; margin: 0 0 0.4rem; }

/* Karten (Vergleich) */
.chq-card {
  background: #fff;
  border: 1px solid var(--chq-slate-200);
  border-radius: var(--chq-radius-lg);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chq-card:hover { border-color: #fcd34d; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06); }
.chq-card-top { border-top-width: 4px; border-top-style: solid; }
.chq-link-amber { color: var(--chq-amber-600) !important; font-weight: 700; }
.chq-link-amber:hover { text-decoration: underline; }

/* Tabelle (Stadttabelle) */
.chq-table-wrap { overflow-x: auto; border-radius: var(--chq-radius); border: 1px solid var(--chq-slate-200); }
.chq-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.chq-table th {
  text-align: left; padding: 0.7rem 1rem;
  background: var(--chq-slate-900);
  color: #fff;
  font-weight: 600;
}
.chq-table td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--chq-slate-200); }
.chq-table tr:nth-child(even) { background: var(--chq-slate-50); }
.chq-table a { color: var(--chq-amber-600) !important; font-weight: 600; }
.chq-table a:hover { text-decoration: underline; }

/* About (weiß — tanduu „Why trust“) */
.chq-about-sec { background: #fff; border-top: 1px solid var(--chq-slate-200); border-bottom: 1px solid var(--chq-slate-200); padding: 3.5rem 0; }
.chq-about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) { .chq-about-grid { grid-template-columns: 0.4fr 0.6fr; } }
.chq-stat-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--chq-slate-100); }
@media (min-width: 40rem) { .chq-stat-bar { grid-template-columns: repeat(4, 1fr); } }
.chq-stat-num { font-size: 1.5rem; font-weight: 900; color: var(--chq-slate-900); }
.chq-stat-lbl { font-size: 0.65rem; color: var(--chq-slate-500); line-height: 1.3; }

/* Dark block (optional, wie tanduu „standard“) */
.chq-sec--dark { background: var(--chq-slate-950); color: #e2e8f0; }
.chq-sec--dark h2 { color: #fff; }

/* Footer */
.chq-footer, footer.chq-footer, .site-footer.chq-footer {
  background: var(--chq-slate-950) !important;
  color: #e2e8f0 !important;
  border-top: 1px solid #1e293b;
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}
.chq-footer a { color: #cbd5e1 !important; }
.chq-footer a:hover { color: #fff !important; }
.chq-footer-bottom { border-top: 1px solid #334155; margin-top: 1.5rem; padding-top: 1.25rem; }

/* details/summary (Ratgeber-FAQ) */
body.chq details, body.fabeus-chq details {
  background: #fff;
  border: 1px solid var(--chq-slate-200);
  border-radius: var(--chq-radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
body.chq summary, body.fabeus-chq summary { padding: 0.9rem 1.1rem; color: var(--chq-slate-900); font-weight: 600; cursor: pointer; }
body.chq summary::after, body.fabeus-chq summary::after { color: var(--chq-amber-600) !important; }
body.chq details > div, body.fabeus-chq details > div { color: var(--chq-slate-600) !important; }

/* Sticky CTA (mobil) + Cookie — Farben anpassen */
#cookie-banner { border-top-color: var(--chq-slate-200) !important; }
.btn-cookie-accept { background: var(--chq-amber-500) !important; color: var(--chq-slate-950) !important; font-weight: 700; }

/* Hilfsklassen */
.chq-hide-sm { display: none; }
@media (min-width: 56rem) { .chq-hide-sm { display: block; } }

/* Legacy-Variablen (bestehende index.php-Inline) */
body.chq, body.fabeus-chq {
  --brand: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --violet: #7c3aed;
  --violet-light: #c4b5fd;
  --brand-2: #f59e0b;
  --maxw: var(--chq-max);
  --safe: var(--chq-safe);
}

/* Startseite: Karten-Grid */
body.chq .pcard {
  background: #fff;
  border: 1px solid var(--chq-slate-200);
  border-radius: var(--chq-radius-lg);
  padding: 1.25rem 1.15rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
body.chq .pcard:hover { box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08); }
body.chq .pcard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
body.chq .pcard-name { font-size: 1.05rem; font-weight: 800; color: var(--chq-slate-900); }
body.chq .pcard-stars { font-weight: 800; color: var(--chq-amber-500); font-size: 1.1rem; }
body.chq .pcard-btn {
  display: block; text-align: center;
  background: var(--chq-slate-900) !important;
  color: #fff !important;
  padding: 0.6rem 0.75rem; border-radius: var(--chq-radius);
  font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: 0.75rem;
}
body.chq .pcard-btn:hover { background: var(--chq-slate-800) !important; }
body.chq .chq-cta-navy {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--chq-radius-lg);
  padding: 1.35rem; color: #e2e8f0;
}
body.chq .chq-cta-navy a[href^="tel"] { display: block; text-align: center; background: var(--chq-amber-500) !important; color: var(--chq-slate-950) !important; font-weight: 800; padding: 0.6rem; border-radius: var(--chq-radius); text-decoration: none; }

/* Teaser-Karten (Ratgeber-Links) */
body.chq .chq-link-card {
  display: block; background: #fff; border: 1px solid var(--chq-slate-200);
  border-radius: var(--chq-radius); padding: 1.1rem; text-decoration: none;
  color: var(--chq-slate-800); transition: border-color 0.2s, box-shadow 0.2s;
}
body.chq .chq-link-card:hover { border-color: var(--chq-amber-500); box-shadow: 0 2px 12px rgba(15,23,42,0.06); }
body.chq .chq-link-card strong { display: block; margin-bottom: 0.25rem; color: var(--chq-slate-900); }
body.chq .chq-link-card span { font-size: 0.9rem; color: var(--chq-slate-500); }

/* Icon-Teaser (ehemals Emoji) */
.chq-ico-sq { width: 2.4rem; height: 2.4rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: var(--chq-amber-50); border: 1px solid rgba(245, 158, 11, 0.35); margin-bottom: 0.75rem; }
.chq-ico-sq svg { width: 1.2rem; height: 1.2rem; stroke: var(--chq-amber-600); fill: none; stroke-width: 2; }

/* About-Block hell (tanduu „Why trust“) */
.chq-about-sec h2, .chq-about-sec .chq-bio-h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; color: var(--chq-slate-900); font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.02em; line-height: 1.2; }
.chq-verified { position: relative; display: inline-block; }
.chq-verified::after {
  content: "Verifizierter Experte";
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase;
  background: var(--chq-amber-500); color: var(--chq-slate-950);
  padding: 0.2rem 0.45rem; border-radius: 0.25rem;
  pointer-events: none;
}
@media (min-width: 64rem) {
  .chq-about-grid.about-grid { grid-template-columns: 0.42fr 0.58fr; }
}
body.chq .about-photo, body.chq img.about-photo { border-radius: 1rem; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); }
body.chq .about-photo-placeholder { border-radius: 1rem; background: linear-gradient(135deg, var(--chq-slate-800), var(--chq-slate-950)); }

/* Sticky CTA (mobil) */
.sticky-cta, body.chq .sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--chq-amber-500) !important; color: var(--chq-slate-950) !important;
  padding: 0.9rem var(--chq-safe); text-align: center; box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  display: none;
}
.sticky-cta a { color: var(--chq-slate-950) !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
@media (max-width: 768px) { .sticky-cta, body.chq .sticky-cta { display: block; } }
@media (min-width: 769px) { .sticky-cta, body.chq .sticky-cta { display: none !important; } }

/* Cookie-Banner + Modal (Startseite) */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: #fff; padding: 1.1rem var(--chq-safe); z-index: 9999; display: none;
  flex-direction: column; gap: 0.9rem; border-top: 2px solid var(--chq-slate-200);
  box-shadow: 0 -5px 20px rgba(0,0,0,.12);
}
@media (min-width: 48rem) {
  #cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; max-width: var(--chq-max); margin: 0 auto; left: 50%; transform: translateX(-50%); width: 100%; }
}
#cookie-settings-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1.1rem; }
#cookie-settings-modal .modal-content { background: #fff; padding: 1.5rem; border-radius: 0.75rem; max-width: 32rem; width: 100%; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn-cookie-settings { background: #fff; border: 2px solid var(--chq-slate-300); color: var(--chq-slate-800); padding: 0.45rem 0.65rem; border-radius: 0.5rem; font-weight: 600; cursor: pointer; }

/* Fuß: CTA-Block */
body.chq .site-footer h3, body.chq .site-footer h4 { color: #fff; }
body.chq .btn.btn-primary, body.chq .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--chq-amber-500) !important; color: var(--chq-slate-950) !important; border: none; border-radius: var(--chq-radius);
  font-weight: 800; padding: 0.65rem 1.25rem; text-decoration: none;
}
body.chq .btn.btn-primary:hover, body.chq .btn-primary:hover { background: var(--chq-amber-400) !important; }
body.chq .site-footer .btn, body.chq footer .btn[href*="bayern"] {
  background: rgba(255,255,255,0.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 0.5rem; padding: 0.45rem 0.9rem; font-size: 0.85rem; text-decoration: none;
}
body.chq .site-footer .btn:hover { background: rgba(255,255,255,0.12) !important; }

/* Landing/Artikel: Hero mit Foto-Overlay (bestehende Klasse) */
.fabeus-chq .hero-section, body.chq-landing .hero-section {
  background-color: #020617;
  background-size: cover; background-position: center;
  border-radius: 0; padding: 2.5rem 0 2.75rem;
  position: relative;
}
.fabeus-chq .hero-section h1, body.chq-landing .hero-section h1 { text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
body.chq .container { width: 100%; max-width: var(--chq-max); margin: 0 auto; padding: 0 var(--chq-safe); }
body.chq .content-section, body.fabeus-chq .content-section { border-color: var(--chq-slate-200) !important; }
body.fabeus-chq .header-cta { border-radius: var(--chq-radius) !important; }
body.fabeus-chq header:not(.chq-topbar) { /* älteres Markup: auf weißes Design */ background: #fff !important; border-bottom: 1px solid var(--chq-slate-200) !important; }
body.fabeus-chq .header-cta { background: var(--chq-violet-600) !important; color: #fff !important; }

/* index.php: Legacy-Klassen (Hero bis HTML komplett auf chq-* umgestellt) */
body.chq .site-header, body.chq > header {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000 !important;
  height: 4rem !important; display: flex !important; align-items: center;
  background: #fff !important; border-bottom: 1px solid var(--chq-slate-200) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}
body.chq .header-inner { width: 100%; max-width: var(--chq-max); margin: 0 auto; padding: 0 var(--chq-safe);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
body.chq a.logo img { height: 2.25rem; width: auto; }
body.chq .nav-compare { color: var(--chq-slate-600) !important; font-weight: 600; font-size: 0.875rem; }
body.chq .header-cta { background: var(--chq-violet-600) !important; color: #fff !important; font-weight: 700;
  padding: 0.5rem 1rem !important; border-radius: var(--chq-radius) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; }
body.chq .header-cta:hover { background: var(--chq-violet-700) !important; }
body.chq h2 { color: var(--chq-slate-900); font-weight: 900; letter-spacing: -0.02em; }
body.chq .btn, body.chq .btn.primary, body.chq .btn-primary { text-decoration: none; border-radius: var(--chq-radius); }
body.chq .btn.primary, body.chq .btn-primary { background: var(--chq-amber-500) !important; color: var(--chq-slate-950) !important; border: none; font-weight: 800; }
body.chq .btn-emergency { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.3) !important; border-radius: var(--chq-radius); font-weight: 600; }
body.chq .hero-section {
  position: relative; overflow: hidden; min-height: min(78vh, 46rem);
  display: block; background: #020617; color: #fff; padding: 3.5rem 0 3.25rem; margin: 0;
}
body.chq .hero-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 100% 80% at 70% 20%, rgba(245, 158, 11, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 30% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}
body.chq .hero-section h1 { color: #fff !important; margin: 0 0 1rem; font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.12; }
body.chq .gradient-text { color: var(--chq-amber-400) !important; background: none !important; -webkit-text-fill-color: var(--chq-amber-400) !important; }
body.chq .hero-tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 9999px; padding: 0.35rem 0.8rem; margin-bottom: 1.1rem; }
body.chq .hero-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56rem) { body.chq .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
body.chq .ping-dot { position: relative; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--chq-amber-400);
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); animation: chq-ping 1.8s ease-in-out infinite; }
@keyframes chq-ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.35); } 50% { box-shadow: 0 0 0 0.4rem rgba(251,191,36,0); } }
body.chq .label-tag { color: var(--chq-slate-500); }
body.chq .trust-bar { display: flex; background: #0c1222 !important; color: #cbd5e1 !important;
  border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; padding: 0.85rem 0; }
body.chq .trust-bar span, body.chq .trust-bar a { color: #cbd5e1 !important; }
body.chq .trust-bar a[href^="tel"] { color: #fbbf24 !important; }
body.chq .site-footer { background: var(--chq-slate-950) !important; border-top: 1px solid #1e293b !important; }
body.chq .hero-section { position: relative; }
body.chq .chq-hero--bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.1;
  background: url("herosection_sanitaer_rohr_kanal_elektro.webp") center/cover no-repeat;
  pointer-events: none;
}
body.chq .hero-section .container { position: relative; z-index: 1; }
