@charset "UTF-8";

:root {
  --bg-page: #ffffff;
  --bg-tint: #f0f6fc;
  --bg-card: #ffffff;
  --text-dark: #16233a;
  --text-muted: #5b6b82;
  --accent: #1c5f96;
  --accent-light: #2f8fd6;
  --accent-soft: #eaf4fc;
  --border: rgba(20, 40, 70, 0.09);
  --radius-lg: 20px;
  --radius-md: 14px;
  --pill: 999px;
  /* Eine Easing-Kurve, drei Dauerstufen – für alle Effekte der Seite */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 250ms;
  --dur-base: 450ms;
  --dur-slow: 600ms;
}

* { box-sizing: border-box; }

/* Für Screen-Reader sichtbar, visuell versteckt (z. B. Formular-Labels, wenn
   der Platzhaltertext optisch als Label ausreicht, aber echte <label>-Elemente
   für Barrierefreiheit trotzdem nötig sind). */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}

.btn--pill {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  padding: 16px 30px;
  border-radius: var(--pill);
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(47, 143, 214, 0.28);
  transition: transform var(--dur-fast) var(--ease);
  position: relative; overflow: hidden;
}
.btn--pill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-140%); transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn--pill:hover::after { transform: translateX(140%); }
.btn--pill:hover { transform: translateY(-2px); }

.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 14px 28px;
  border-radius: var(--pill);
}
.btn--outline:hover { background: var(--accent); color: #fff; }

/* Sentinel für den Header-Zustandswechsel (IntersectionObserver-Ziel, kein scroll-Listener) */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #eaf4fc; font-size: 0.85rem;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px; flex-wrap: wrap; gap: 10px;
}
.topbar__badge { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6fe3a6; flex: none;
  box-shadow: 0 0 0 0 rgba(111, 227, 166, 0.6);
  animation: topbar-pulse 2.2s var(--ease) infinite;
}
.topbar__dot--notdienst {
  background: #ffd166; box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.6);
  animation-name: topbar-pulse-amber;
}
@keyframes topbar-pulse-amber {
  0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(255, 209, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0); }
}
@keyframes topbar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 227, 166, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(111, 227, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 227, 166, 0); }
}
.topbar__phone {
  display: flex; align-items: center; gap: 7px;
  color: #fff; font-weight: 700;
  padding: 4px 12px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.14);
  transition: background var(--dur-base) var(--ease);
}
.topbar__phone:hover { background: rgba(255, 255, 255, 0.24); }

/* "24/7" schlicht aber klar hervorgehoben -- warmes Korallrot statt greller
   Alarmfarbe, ohne eigenes Mini-Badge (das wirkte in der schmalen Topbar-
   Pille zu gedraengt). Die grosse, luftige Kachel im Statistik-Balken
   bekommt separat ihr eigenes volles Verlaufs-Design (siehe .proof__stat--live). */
.highlight-247 {
  color: #ff5a5f; font-weight: 800;
}

/* Header */
.header {
  background: #ffffff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
.header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: 0 10px 30px rgba(20, 40, 70, 0.1);
  opacity: 0; transition: opacity var(--dur-base) var(--ease);
}
.header.is-scrolled::after { opacity: 1; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; gap: 24px;
}
.logo {
  display: flex; align-items: baseline; gap: 6px;
  font-weight: 700; font-size: 1.1rem; color: var(--text-dark);
  white-space: nowrap;
}
.logo strong { color: var(--accent); }
.logo__img { display: block; height: 56px; width: auto; }
.logo__subtitle {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 800;
  font-size: 1.3rem; letter-spacing: -0.01em; text-transform: none;
  color: var(--accent); line-height: 1;
}
.logo--footer .logo__img { height: 50px; }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.nav a:hover { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 800; font-size: 1.15rem;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease);
}
.header__phone svg { flex: none; }
.header__phone:hover { color: var(--accent-light); }
.header__phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone-eyebrow {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--text-muted);
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text-dark); }

/* Bewertungs-Ticker: endlos scrollendes Band, pausiert bei Hover */
.marquee {
  overflow: hidden; background: var(--bg-tint); border-block: 1px solid var(--border);
  padding: 16px 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee__track {
  display: flex; width: max-content; gap: 0;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  white-space: nowrap; font-size: 0.88rem; font-weight: 600; color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px; position: relative;
}
.marquee__item::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); opacity: 0.5;
}
.marquee__stars { color: #f5a623; letter-spacing: 2px; font-size: 0.95rem; }
.marquee__item strong { color: var(--accent); font-weight: 700; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-tint), #ffffff);
  padding: 70px 0 60px; position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(6px); z-index: 0;
}
.hero::before {
  top: -80px; left: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(47, 143, 214, 0.18), transparent 70%);
  animation: drift 16s ease-in-out infinite;
}
.hero::after {
  bottom: -100px; right: 8%; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(76, 83, 201, 0.12), transparent 70%);
  animation: drift 20s ease-in-out infinite reverse;
}
.hero__inner { position: relative; z-index: 1; }
.hero__inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center;
}
.hero__lead { color: var(--text-muted); font-size: 1.05rem; }

.hero__bullets {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero__bullets li {
  position: relative; padding-left: 26px; font-weight: 600; font-size: 0.95rem;
}
.hero__bullets li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}

.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__rating {
  display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border);
  padding: 10px 18px; border-radius: var(--pill);
  box-shadow: 0 8px 20px rgba(20, 40, 70, 0.06);
}
.hero__rating strong { color: var(--accent); font-size: 1.05rem; }
.stars { color: #f5a623; letter-spacing: 2px; }

.hero__speed {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 0; font-size: 0.88rem; font-weight: 600; color: var(--accent);
}
.hero__speed svg { flex: none; color: var(--accent-light); }
.hero__speed strong { color: var(--text-dark); }

/* Hero-Bild: echtes Porträtfoto mit schwebenden Trust-Badges */
.hero__card {
  position: relative;
  min-height: 380px; max-width: 420px; margin: 0 auto;
  animation: hero-float 6s ease-in-out infinite;
}
.hero__card::before {
  content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(47, 143, 214, 0.28), transparent 72%);
  filter: blur(18px);
}
.hero__card-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 26px 55px rgba(18, 51, 84, 0.28);
}
.hero__card-img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.hero__card-shade {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(0deg, rgba(10, 20, 36, 0.75) 0%, transparent 100%);
  pointer-events: none;
}
.hero__card-person {
  position: absolute; left: 20px; bottom: 26px; z-index: 2; color: #fff;
}
.hero__card-person strong { display: block; font-size: 1.05rem; }
.hero__card-person span { display: block; font-size: 0.78rem; opacity: 0.85; }
.hero__graphic-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.96); color: var(--text-dark);
  border-radius: var(--radius-md); padding: 10px 14px;
  box-shadow: 0 14px 28px rgba(20, 40, 70, 0.22);
  white-space: nowrap;
}
.hero__graphic-badge svg { flex: none; color: var(--accent); }
.hero__graphic-badge strong { display: block; font-size: 0.95rem; color: var(--text-dark); line-height: 1.15; }
.hero__graphic-badge span { display: block; font-size: 0.7rem; color: var(--text-muted); }
.hero__graphic-badge--speed { top: 20px; left: -18px; animation: hero-float 5.5s ease-in-out infinite; }
.hero__graphic-badge--pro { top: 20px; right: -20px; animation: hero-float 6.5s ease-in-out infinite reverse; }
.hero__card-tag {
  position: absolute; z-index: 3; bottom: -22px; left: 20px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; font-size: 0.8rem; font-weight: 700;
  padding: 8px 16px; border-radius: var(--pill);
  box-shadow: 0 10px 22px rgba(20, 40, 70, 0.2);
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__card, .hero__graphic-badge--speed, .hero__graphic-badge--pro { animation: none; }
}

/* Trust strip */
.trust { background: var(--bg-tint); padding: 22px 0; border-bottom: 1px solid var(--border); }
.trust__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  color: var(--text-muted); font-size: 0.9rem;
}
.trust__item { display: flex; align-items: center; gap: 8px; }
.trust__item svg { flex: none; color: var(--accent-light); }
.trust__item strong { color: var(--text-dark); }
.trust__item--rating {
  background: var(--accent-soft); color: var(--text-dark);
  padding: 8px 16px; border-radius: var(--pill);
  border: 1px solid rgba(28, 95, 150, 0.18);
}
.trust__item--rating svg { color: #f5a623; }
.trust__item--rating strong { color: var(--accent); font-size: 1.05rem; }

/* Auffaelliger, wiederholbarer Anruf-Balken: macht die Telefonnummer selbst
   zum grossen Call-to-Action statt eines kleinen Text-Buttons. */
.call-bar {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  padding: 22px 0;
}
.call-bar__inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.call-bar__link {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--accent);
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800;
  padding: 14px 32px; border-radius: var(--pill);
  box-shadow: 0 12px 28px rgba(20, 40, 70, 0.22);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.call-bar__link:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20, 40, 70, 0.28); }
.call-bar__link svg { flex: none; }
.call-bar__hint { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 600; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--bg-tint); position: relative; overflow: hidden; }
/* Dezenter, sehr langsam driftender Farbakzent im Hintergrund – reine Deko, opacity/transform */
.section--tint::before {
  content: ""; position: absolute; top: -120px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 143, 214, 0.16), transparent 70%);
  filter: blur(10px); pointer-events: none; z-index: 0;
  animation: drift 18s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .section--tint::before { animation: none; }
}
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__lead { color: var(--text-muted); font-size: 1.05rem; }

.section--split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.section--split-reverse .guarantee-visual { order: 2; }
/* Sanierung-Sektion: Foto füllt die volle Spaltenhöhe statt zentriert mit
   Weißraum darüber/darunter zu stehen (Textspalte ist hier deutlich länger). */
.section--split-stretch { align-items: stretch; }
.section--split-stretch .guarantee-visual { min-height: 100%; }
.section--split-stretch .guarantee-visual__img { min-height: 100%; }
/* Wunsch: Foto in der Sanierung-Sektion im Hochformat statt über die volle
   Spaltenbreite gestreckt – wirkt fokussierter, wie ein Portrait-Ausschnitt.
   aspect-ratio direkt am Bild (statt am Flex-Container) gesetzt, damit die
   Höhe zuverlässig berechnet wird statt sich auf eine prozentuale Höhe in
   einem Flex-Container mit aspect-ratio-Parent zu verlassen. */
#sanierung .guarantee-visual {
  align-self: center; width: 100%; min-height: auto;
}
#sanierung .guarantee-visual__img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; min-height: auto;
}
@media (max-width: 900px) {
  #sanierung .guarantee-visual { max-width: 380px; margin: 0 auto; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Dringlichkeits-Statistiken: quantifizieren "warten lohnt sich nicht" statt
   nur Fliesstext -- Vorbild: wie Wettbewerber ihre Risiko-Sektion aufbauen. */
.risk-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 0 0 28px;
}
.risk-stats__item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 12px; text-align: center;
}
.risk-stats__item strong {
  display: block; color: var(--accent); font-size: 1.15rem; font-weight: 800; margin-bottom: 4px;
}
.risk-stats__item span { font-size: 0.76rem; color: var(--text-muted); line-height: 1.35; }
@media (max-width: 640px) {
  .risk-stats { grid-template-columns: 1fr; }
}

.risk-visual { display: flex; align-items: center; justify-content: center; }

/* About: Team-Foto + schwebendes Erfahrungs- & Zufriedenheits-Badge */
.about-visual { display: flex; align-items: center; justify-content: center; position: relative; padding: 20px; }
.about-visual__photo {
  width: 100%; max-width: 380px; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 45px rgba(20, 40, 70, 0.16);
}
.about-visual__photo--wide { max-width: 100%; aspect-ratio: 3 / 2; }
.about-visual__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual__ring-badge {
  position: absolute; top: -6%; left: 2%;
  width: 108px; height: 108px; border-radius: 50%;
  background: #fff; box-shadow: 0 14px 30px rgba(20, 40, 70, 0.16);
  padding: 10px;
}
.about-visual__ring { width: 100%; height: 100%; }
.about-visual__ring-fill {
  stroke-dasharray: 503; stroke-dashoffset: 503;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.about-visual.is-visible .about-visual__ring-fill { stroke-dashoffset: 5; }
.about-visual__center {
  position: absolute; inset: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.about-visual__center strong { font-size: 1.3rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.about-visual__center span { font-size: 0.55rem; color: var(--text-muted); margin-top: 3px; }
.about-badge {
  position: absolute; bottom: 6%; right: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; border-radius: var(--radius-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 14px 28px rgba(20, 40, 70, 0.2);
  animation: hero-float 5s ease-in-out infinite;
}
.about-badge__num { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.about-badge__text { font-size: 0.68rem; font-weight: 600; line-height: 1.15; opacity: 0.9; }
.guarantee-visual {
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 0; overflow: visible; position: relative;
}
.guarantee-visual__img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; border-radius: var(--radius-lg); }

/* Schwebendes Kennzahlen-Badge über dem Beratungsfoto */
.guarantee-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 32px rgba(20, 40, 70, 0.22);
}
.guarantee-badge__num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.guarantee-badge__text { font-size: 0.7rem; font-weight: 600; line-height: 1.2; opacity: 0.9; }
.guarantee-badge--insurance { left: -18px; right: auto; bottom: -18px; max-width: 220px; }
.guarantee-badge--insurance svg { flex: none; }
.guarantee-badge--insurance div { display: flex; flex-direction: column; }
.guarantee-badge--din { max-width: 200px; }
.guarantee-badge--din svg { flex: none; }
.guarantee-badge--din div { display: flex; flex-direction: column; }
.guarantee-badge--din .guarantee-badge__text:first-child { font-size: 0.85rem; font-weight: 800; }

.partner-logo { height: 40px; width: auto; margin-bottom: 14px; display: block; }

/* Hervorgehobene Callout-Box: komplette Versicherungsabwicklung */
.insurance-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid rgba(28, 95, 150, 0.18);
  border-radius: var(--radius-md); padding: 18px 20px; margin: 20px 0 24px;
}
.insurance-callout__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--accent); box-shadow: 0 6px 14px rgba(20, 40, 70, 0.1);
}
.insurance-callout p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-dark); }
.insurance-callout strong { color: var(--accent); }

/* Echte, ausführlichere Kundenstimme (statt nur kurzem Zitat) direkt im
   thematisch passenden Sanierung-Kontext – wirkt glaubwürdiger als generische
   Kurz-Zitate, ähnlich wie bei stärkeren Wettbewerbern beobachtet. */
.story-quote {
  margin: 0 0 24px; padding: 0 0 0 18px; border-left: 3px solid var(--accent-light);
}
.story-quote__mark { color: var(--accent-light); opacity: 0.6; display: block; margin-bottom: 4px; }
.story-quote p { margin: 0 0 8px; font-size: 0.94rem; line-height: 1.6; color: var(--text-dark); font-style: italic; }
.story-quote footer { font-size: 0.8rem; color: var(--text-muted); }
.story-quote footer a { color: var(--accent); font-weight: 600; }

/* Dark comparison chart card */
.chart-card {
  width: 100%;
  background: linear-gradient(160deg, #0b1220, #121d33);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px rgba(10, 20, 40, 0.35);
}
.chart-card__head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
}
.chart-card__title { font-weight: 700; font-size: 0.85rem; color: #dbe6f5; }
.chart-card__legend { display: flex; gap: 14px; font-size: 0.72rem; color: #9aa7bd; }
.chart-dot-legend {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px;
}
.chart-dot-legend--bad { background: #ef4444; }
.chart-dot-legend--good { background: #3ddc84; }

.chart-card__svg { width: 100%; height: auto; overflow: visible; display: block; }

.chart-grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }

.chart-area { opacity: 0; transition: opacity var(--dur-slow) var(--ease) 0.35s; }
.risk-visual.is-visible .chart-area { opacity: 1; }

.chart-line {
  fill: none; stroke-width: 2.5; stroke-linecap: round;
  /* Statt stroke-dashoffset (Paint-Property) wird nur opacity animiert */
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease) 0.2s;
}
.chart-line--bad { stroke: #ef4444; }
.chart-line--good { stroke: #3ddc84; transition-delay: 0.55s; }
.risk-visual.is-visible .chart-line { opacity: 1; }

.chart-dot {
  transform-box: view-box; transform-origin: center;
  opacity: 0; transform: scale(0);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.chart-dot--bad { fill: #ef4444; transition-delay: 1.5s; transform-origin: 380px 20px; }
.chart-dot--good { fill: #3ddc84; transition-delay: 2s; transform-origin: 380px 158px; }
.risk-visual.is-visible .chart-dot { opacity: 1; transform: scale(1); }

.chart-callout {
  opacity: 0; transform: translateY(6px) scale(0.92);
  transform-box: view-box; transform-origin: 155px 48px;
  transition: opacity var(--dur-slow) var(--ease) 2.2s, transform var(--dur-slow) var(--ease) 2.2s;
}
.risk-visual.is-visible .chart-callout { opacity: 1; transform: translateY(0) scale(1); }
.chart-callout rect { fill: #16233a; stroke: #3ddc84; stroke-width: 1.2; }
.chart-callout__text {
  font-family: 'Poppins', system-ui, sans-serif; font-size: 11px; font-weight: 800; fill: #3ddc84;
}

.chart-end-label {
  font-family: 'Poppins', system-ui, sans-serif; font-size: 10px; font-weight: 600;
  opacity: 0; transition: opacity var(--dur-slow) var(--ease);
}
.chart-end-label--bad { fill: #f2a0a0; transition-delay: 1.6s; }
.chart-end-label--good { fill: #8be8b4; transition-delay: 2.1s; }
.risk-visual.is-visible .chart-end-label { opacity: 1; }

.chart-card__stats {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.chart-card__stats div {
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.chart-card__stats strong { font-size: 1.4rem; font-weight: 800; color: #fff; }
.chart-card__stats span { font-size: 0.68rem; color: #9aa7bd; }
.risk-visual.is-visible .chart-card__stats div { opacity: 1; transform: translateY(0); }
.risk-visual.is-visible .chart-card__stats div:nth-child(1) { transition-delay: 2.3s; }
.risk-visual.is-visible .chart-card__stats div:nth-child(2) { transition-delay: 2.45s; }
.risk-visual.is-visible .chart-card__stats div:nth-child(3) { transition-delay: 2.6s; }

/* Rohr-Illustration: Verstopfung & Wasserstau als klare Linien-Icon-Grafik */
.section--risk { position: relative; overflow: hidden; }
.section--risk__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section--risk__decor::before,
.section--risk__decor::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(14px);
}
.section--risk__decor::before {
  top: -120px; right: -80px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(47, 143, 214, 0.14), transparent 70%);
  animation: drift 18s ease-in-out infinite;
}
.section--risk__decor::after {
  bottom: -140px; left: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(224, 138, 60, 0.12), transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}
.section--risk .section--split { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .section--risk__decor::before, .section--risk__decor::after { animation: none; }
}

.pipe-card {
  padding: 20px; text-align: center; max-width: 320px; margin: 0 auto;
  transition: transform 0.3s var(--ease);
}
.pipe-card:hover { transform: translateY(-6px); }
.pipe-card__title { display: block; font-weight: 700; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 16px; }
.pipe-card__svg { width: 100%; max-width: 280px; height: auto; overflow: visible; display: block; margin: 0 auto; }

.pipe-illustration__caption {
  margin: 16px 0 0; font-size: 0.8rem; color: var(--text-muted);
}
.pipe-illustration__bubble { opacity: 0; }
.pipe-illustration__drop { opacity: 0; }
.pipe-illustration__shimmer { opacity: 0; }
.pipe-illustration__warn { transform-box: fill-box; transform-origin: center; opacity: 0; }
.pipe-illustration__clog { transform-box: fill-box; transform-origin: center; }

@keyframes pipe-shimmer-sweep {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: translateX(220px); opacity: 0; }
}
@keyframes pipe-bubble-rise {
  0% { transform: translate(0, 0) scale(0.7); opacity: 0; }
  12% { opacity: 0.95; }
  55% { transform: translate(2px, -16px) scale(1); }
  100% { transform: translate(-2px, -32px) scale(0.85); opacity: 0; }
}
@keyframes pipe-drop-fall {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.9; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes pipe-warn-ping {
  0% { opacity: 0.5; transform: scale(0.85); }
  80% { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}
@keyframes pipe-clog-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(224, 138, 60, 0)); }
  50% { filter: drop-shadow(0 0 5px rgba(224, 138, 60, 0.5)); }
}

.risk-visual.is-visible .pipe-illustration__shimmer { animation: pipe-shimmer-sweep 3.2s ease-in-out infinite; }
.risk-visual.is-visible .pipe-illustration__bubble.b1 { animation: pipe-bubble-rise 3s ease-out infinite; }
.risk-visual.is-visible .pipe-illustration__bubble.b2 { animation: pipe-bubble-rise 3s ease-out infinite 1s; }
.risk-visual.is-visible .pipe-illustration__bubble.b3 { animation: pipe-bubble-rise 3s ease-out infinite 2s; }
.risk-visual.is-visible .pipe-illustration__drop.d1 { animation: pipe-drop-fall 2.2s ease-in infinite 0.5s; }
.risk-visual.is-visible .pipe-illustration__drop.d2 { animation: pipe-drop-fall 2.2s ease-in infinite 1.4s; }
.risk-visual.is-visible .pipe-illustration__warn.warn1 { animation: pipe-warn-ping 2.6s ease-out infinite; }
.risk-visual.is-visible .pipe-illustration__warn.warn2 { animation: pipe-warn-ping 2.6s ease-out infinite 1.3s; }
.risk-visual.is-visible .pipe-illustration__clog { animation: pipe-clog-pulse 2.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .pipe-illustration__shimmer,
  .pipe-illustration__bubble,
  .pipe-illustration__drop,
  .pipe-illustration__warn,
  .pipe-illustration__clog { animation: none !important; }
  .pipe-illustration__bubble, .pipe-illustration__drop, .pipe-illustration__shimmer { opacity: 0; }
  .pipe-illustration__warn { opacity: 0.35; }
}

/* Scroll-Reveal (progressive enhancement: ohne .js bleibt alles sofort sichtbar) */
.js .reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.94);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Gestaffelte Listen: 100ms Versatz pro Kind, rein in CSS über nth-child gelöst */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 600ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 700ms; }

/* Mobil: Effekte reduzieren statt nur verkleinern – kein Versatz, kürzerer Weg */
@media (max-width: 767px) {
  .reveal-stagger > * { transition-delay: 0ms !important; }
  .js .reveal { transform: translateY(20px) scale(0.97); }
}

/* Stats / step cards */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 22px; text-align: center;
  box-shadow: 0 8px 24px rgba(20, 40, 70, 0.05);
}
.step-card__num {
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent-light); margin-bottom: 8px;
}
.step-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* Persönlicher Team-Auftritt: echte Fotos + Zitate statt Anonymität */
.owner-quote { padding: 56px 0; }
.owner-quote__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1180px; margin: 0 auto;
}
.owner-quote__card {
  background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.owner-quote__card::before {
  content: "\201C"; position: absolute; top: 2px; right: 14px; z-index: 0;
  font-size: 4.5rem; font-weight: 800; line-height: 1; color: var(--accent-soft);
  font-family: Georgia, 'Times New Roman', serif; pointer-events: none;
}
.owner-quote__card > * { position: relative; z-index: 1; }
.owner-quote__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 40, 70, 0.14);
  border-color: var(--accent-light);
}
.owner-quote__photo {
  flex: none; width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fff; margin-bottom: 14px;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 10px 26px rgba(20, 40, 70, 0.16);
}
.owner-quote__mark {
  color: var(--accent-light); opacity: 0.6; margin-bottom: 4px;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.owner-quote__card:hover .owner-quote__mark { opacity: 1; transform: scale(1.1); }
.owner-quote__text { color: var(--text-dark); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
.owner-quote__author { margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(28, 95, 150, 0.12); width: 100%; }
.owner-quote__author strong { display: block; color: var(--text-dark); font-size: 0.94rem; margin-top: 8px; }
.owner-quote__author span { color: var(--text-muted); font-size: 0.8rem; }
/* Hervorhebung für unseren eigenen Bausachverständigen – seltene Qualifikation
   bei kleinen Handwerksbetrieben, verdient extra Sichtbarkeit. */
.owner-quote__card--featured {
  border-color: var(--accent-light);
  box-shadow: 0 16px 32px rgba(20, 40, 70, 0.14);
}
.owner-quote__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 14px; border-radius: var(--pill); white-space: nowrap;
  box-shadow: 0 6px 16px rgba(20, 40, 70, 0.22);
}
@media (max-width: 1024px) {
  .owner-quote__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .owner-quote__grid { grid-template-columns: 1fr; }
}

/* Team-Galerie: asymmetrisches Bild-Raster (ein grosses + zwei kleinere Fotos) */
.team-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 180px);
  gap: 16px; position: relative; z-index: 1;
}
.team-gallery__item {
  margin: 0; position: relative; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 40, 70, 0.1);
}
.team-gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.team-gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-slow, 0.5s) var(--ease);
}
.team-gallery__item:hover img { transform: scale(1.06); }
.team-gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(10, 18, 32, 0.85) 0%, transparent 100%);
  color: #fff; font-size: 0.85rem; font-weight: 600;
}
@media (max-width: 720px) {
  .team-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .team-gallery__item--wide { grid-column: span 1; grid-row: span 1; }
  .team-gallery__item { height: 220px; }
}

/* Problem-Finder: interaktiver Schnelltest zwischen Trust-Strip und Services */
.problem-finder__chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  margin-bottom: 28px;
}
.problem-finder__chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--pill);
  padding: 11px 20px; font: inherit; font-size: 0.88rem; font-weight: 600;
  color: var(--text-dark); cursor: pointer;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}
.problem-finder__chip svg { flex: none; color: var(--accent); transition: color var(--dur-base) var(--ease); }
.problem-finder__chip:hover { transform: translateY(-2px); border-color: var(--accent-light); }
.problem-finder__chip.is-active {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-color: transparent; color: #fff;
}
.problem-finder__chip.is-active svg { color: #fff; }
.problem-finder__answer {
  max-width: 720px; margin: 0 auto; background: var(--bg-tint);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 34px; text-align: center; min-height: 168px;
}
.problem-finder__panel { display: none; animation: finder-fade-in 0.25s ease; }
.problem-finder__panel.is-active { display: block; }
.problem-finder__panel h3 { color: var(--text-dark); margin-bottom: 10px; }
.problem-finder__panel p { color: var(--text-muted); margin-bottom: 20px; }
.problem-finder__panel .btn-row { justify-content: center; }
@keyframes finder-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .problem-finder__answer { padding: 26px 20px; }
}

/* Services: Kernleistungen */
.services-featured {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 44px;
}
.feature-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 40, 70, 0.1);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 22px 40px rgba(20, 40, 70, 0.18); }
/* Modifier: breite Einzelkarte (z. B. Foto-Banner im Ablauf-Bereich) statt
   3-spaltigem Grid – nutzt dieselbe bewährte Medien-/Overlay-Optik. */
.feature-card--wide { margin-bottom: 40px; }
.feature-card--wide .feature-card__media { height: 380px; }
/* Foto ist im Querformat aufgenommen (Köpfe eher mittig) – bei diesem sehr
   breiten Banner sonst leicht oben abgeschnitten, daher Bildausschnitt nach
   oben verschoben statt strikt zentriert. */
.feature-card--wide .feature-card__media img { object-position: center 25%; }
@media (max-width: 767px) {
  .feature-card--wide .feature-card__media { height: 260px; }
}
.feature-card__media { position: relative; overflow: hidden; height: 320px; }
.feature-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease);
  filter: saturate(0.92) contrast(1.03);
}
.feature-card:hover .feature-card__media img { transform: scale(1.1); }
/* Dezenter, gleichmäßiger Dunkel-Schleier über dem ganzen Bild – gleicht helle
   Stockfotos (z. B. Dichtheitsprüfung) an die dunkleren, stimmungsvollen
   Einsatzfotos an, damit alle drei Karten wie eine zusammengehörige Serie wirken. */
.feature-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.18) 0%, rgba(8, 16, 30, 0.12) 45%, rgba(8, 16, 30, 0.45) 100%);
}
.feature-card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 6px 14px; border-radius: var(--pill);
}
.feature-card__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 60px 22px 22px;
  background: linear-gradient(0deg, rgba(10, 18, 32, 0.92) 0%, rgba(10, 18, 32, 0.55) 55%, transparent 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.feature-card__overlay h3 { color: #fff; margin-bottom: 2px; }
.feature-card__overlay p {
  color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; margin-bottom: 0;
  max-width: 92%;
}
.feature-card__arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  opacity: 0; transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.feature-card:hover .feature-card__arrow { opacity: 1; transform: translateX(0); }

/* Die erste Leistung führt visuell durch den Bereich; die zwei folgenden
   Leistungen bilden eine klare, schnell erfassbare Nebenachse. */
.services-featured .feature-card--split {
  display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1fr);
  background: #fff; min-height: 218px;
}
.services-featured .feature-card--split .feature-card__media { height: auto; min-height: 218px; }
.services-featured .feature-card--split .feature-card__media::after { display: none; }
.services-featured .feature-card--split .feature-card__body {
  padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.services-featured .feature-card--split .feature-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--chip-accent, var(--accent));
  background: color-mix(in srgb, var(--chip-accent, var(--accent)) 14%, #fff);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.feature-card:hover .feature-card__icon {
  background: var(--chip-accent, var(--accent));
  color: #fff; transform: scale(1.08) rotate(-4deg);
}
.services-featured .feature-card--split .feature-card__body h3 { color: var(--text-dark); margin-bottom: 0; }
.services-featured .feature-card--split .feature-card__body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }
.services-featured .feature-card--primary { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.services-featured .feature-card--primary .feature-card__media { min-height: 0; height: 420px; }
.services-featured .feature-card--primary .feature-card__body { min-height: 0; padding: 28px 30px; }
.services-featured .feature-card--primary .feature-card__body p { font-size: 0.98rem; max-width: 34rem; }
.services-featured .feature-card--primary .feature-card__media img { object-position: center 58%; }

@media (max-width: 800px) {
  .services-featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .services-featured .feature-card--primary { grid-row: auto; }
  .services-featured .feature-card--primary .feature-card__media { height: 280px; }
}
@media (max-width: 520px) {
  .services-featured .feature-card--split { grid-template-columns: 1fr; }
  .services-featured .feature-card--split .feature-card__media { height: 200px; min-height: 0; }
  .services-featured .feature-card--primary .feature-card__media { height: 250px; }
  .services-featured .feature-card--split .feature-card__body,
  .services-featured .feature-card--primary .feature-card__body { min-height: 0; padding: 23px 22px 25px; }
}

/* Services: weitere Leistungen als schlichte Feature-Checkliste --
   robust und professionell statt selbst gebauter Illustrationen. */
.services-more__title { text-align: center; margin-bottom: 26px; }
.service-check-grid {
  list-style: none; padding: 0; margin: 0 auto; max-width: 980px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; position: relative; z-index: 1;
}
.service-check-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px;
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.service-check-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
  box-shadow: 0 12px 24px rgba(20, 40, 70, 0.1);
}
.service-check-item__mark {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
}
.service-check-item h4 { font-size: 0.98rem; margin: 0 0 3px; color: var(--text-dark); }
.service-check-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

.section__cta {
  margin-top: 44px; display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap; color: var(--text-muted);
}

/* Button-Gruppe: mehrere CTAs nebeneinander, linksbündig (z. B. Sanierung-Sektion) */
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }


/* Warum wir: dekorativer Hintergrund passend zu den Icon-Farben der Karten */
.section--warum { position: relative; overflow: hidden; }
.section--warum__decor {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.section--warum__decor::before,
.section--warum__decor::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(14px);
}
.section--warum__decor::before {
  top: -140px; left: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(111, 180, 234, 0.22), transparent 70%);
  animation: drift 19s ease-in-out infinite;
}
.section--warum__decor::after {
  bottom: -160px; right: -60px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(138, 147, 240, 0.16), transparent 70%);
  animation: drift 23s ease-in-out infinite reverse;
}
.section--warum .section__head,
.section--warum .compare { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .section--warum__decor::before, .section--warum__decor::after { animation: none; }
}

/* Vergleich: andere Firmen vs. Brauer */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.compare__col {
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative;
}
.compare__col h3 { margin-bottom: 20px; }
.compare__col--bad {
  background: #fbf4f3; border: 1px solid rgba(220, 70, 60, 0.16);
}
.compare__col--bad h3 { color: #b5453c; }
.compare__col--good {
  background: linear-gradient(160deg, #fff, var(--accent-soft));
  border: 2px solid var(--accent-light);
  box-shadow: 0 20px 45px rgba(28, 95, 150, 0.14);
  transform: translateY(-6px);
}
.compare__col--good h3 { color: var(--accent); }
.compare__badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--pill); margin-bottom: 14px;
}
.compare__list { list-style: none; margin: 0; padding: 0; }
.compare__list li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-weight: 600; font-size: 0.95rem; color: var(--text-dark); line-height: 1.5;
}
.compare__list li:last-child { margin-bottom: 0; }
.compare__list--bad li::before {
  content: "✕"; position: absolute; left: 0; top: 0;
  color: #d9463c; font-weight: 800;
}
.compare__list--bad li { color: var(--text-muted); font-weight: 500; }
.compare__list--good li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare__col--good { transform: none; }
}

/* Vertrauen in Zahlen + Bewertungen */
.proof__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--text-dark); border-radius: var(--radius-lg);
  padding: 36px 28px; margin-bottom: 56px;
  position: relative; overflow: hidden;
}
/* Bugfix: <picture> selbst ist (anders als sein <img>) nicht positioniert und
   nahm dadurch bisher unsichtbar eine eigene Grid-Spalte ein – das schob alle
   4 Stat-Kacheln um eine Position und ließ die letzte in eine neue Zeile
   umbrechen. picture komplett aus dem Grid-Fluss nehmen. */
.proof__stats > picture { position: absolute; inset: 0; z-index: 0; }
.proof__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.28; z-index: 0;
}
.proof__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(22, 35, 58, 0.94), rgba(22, 35, 58, 0.75));
}
.proof__stats::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.06) 2px, transparent 2px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 15% 20%, black 0%, transparent 70%);
  pointer-events: none;
}
.proof__stat {
  text-align: center; position: relative; z-index: 2;
  padding: 20px 14px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.proof__stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--chip-accent, rgba(255, 255, 255, 0.3));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--chip-accent, #2f8fd6) 35%, transparent);
}
.proof__stat-icon {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--chip-accent, var(--accent-light)) 22%, transparent);
  color: var(--chip-accent, var(--accent-light));
  transition: transform var(--dur-base) var(--ease);
}
.proof__stat:hover .proof__stat-icon { transform: scale(1.12) rotate(-6deg); }
/* Die 24/7-Kachel komplett hervorheben: warmer Gold-Verlauf (statt grellem
   Alarm-Rot) mit feinem Glanz-Swipe -- wirkt hochwertig statt aufdringlich,
   passend zum gleichen Farbcode wie die Topbar-Pille (.highlight-247). */
.proof__stat--live {
  background: linear-gradient(135deg, #ffb648, #ff8a3d);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(255, 138, 61, 0.32);
  position: relative; overflow: hidden;
}
.proof__stat--live::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: highlight-247-shine 3.6s ease-in-out infinite;
}
@keyframes highlight-247-shine {
  0%, 40% { transform: translateX(-130%); }
  60%, 100% { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .proof__stat--live::after { animation: none; display: none; }
}
.proof__stat--live:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(255, 138, 61, 0.45);
}
.proof__stat--live .proof__stat-icon {
  background: rgba(22, 35, 58, 0.18); color: #16233a;
}
.proof__stat--live .proof__stat-icon { position: relative; }
.proof__stat--live .proof__stat-icon::after {
  content: ""; position: absolute; top: -2px; right: -2px;
  width: 10px; height: 10px; border-radius: 50%; background: #1c8a4c;
  box-shadow: 0 0 0 0 rgba(28, 138, 76, 0.6);
  animation: topbar-pulse 2.2s var(--ease) infinite;
}
.proof__stat strong {
  display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  color: #fff; margin-bottom: 4px;
}
.proof__stat span { color: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 600; }
.proof__stat--live strong, .proof__stat--live span { color: #16233a; position: relative; z-index: 2; }
.proof__stat--live span { opacity: 0.78; }

/* Bewertungs-Karte: dunkle Karte mit großen Sternen, angelehnt an das
   Trustindex/Google-Widget der Brauer-Schwesterseite. */
.rating-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  max-width: 280px; margin: 0 auto 32px; padding: 26px 30px 22px;
  background: var(--text-dark); border-radius: var(--radius-lg); position: relative; overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 40, 70, 0.28);
  border: 1px solid rgba(255,255,255,0.08);
}
.rating-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 30% 0%, rgba(47, 143, 214, 0.28), transparent 65%);
  pointer-events: none;
}
.rating-card > * { position: relative; z-index: 1; }
.rating-card__title {
  color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rating-card__stars { font-size: 1.6rem; color: #fbbc05; letter-spacing: 2px; }
.rating-card__count { font-size: 0.85rem; color: rgba(255,255,255,0.72); }
.rating-card__count strong { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.rating-card__google { height: 22px; width: auto; margin-top: 6px; }
.rating-card__verified {
  font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: 0.03em;
  margin-top: 2px;
}
.rating-card__cta { margin-top: 14px; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px 22px; box-shadow: 0 8px 24px rgba(20, 40, 70, 0.05);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 40, 70, 0.1);
  border-color: var(--accent-light);
}
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-card__head strong { display: block; font-size: 0.92rem; color: var(--text-dark); }
.review-card__verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; color: var(--text-muted);
}
.review-card__verified svg { color: var(--accent-light); }
.review-card .stars { display: block; margin-bottom: 10px; font-size: 0.95rem; }
.review-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; line-height: 1.55; }
.reviews__note {
  text-align: center; font-size: 0.78rem; color: var(--text-muted);
  margin: 18px 0 0; opacity: 0.85;
}
.reviews__note a {
  color: var(--accent); font-weight: 600; text-decoration: none;
  margin-left: 4px; white-space: nowrap;
}
.reviews__note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .proof__stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .reviews__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .proof__stats { grid-template-columns: 1fr 1fr; }
}

/* Ablauf: 3 Schritte */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.process__step {
  background: var(--text-dark); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative; overflow: hidden;
  min-height: 200px; display: flex; flex-direction: column; justify-content: center;
}
.process__num {
  position: absolute; right: 8px; bottom: -18px;
  font-size: 6.5rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,0.07); pointer-events: none;
}
.process__body { position: relative; z-index: 1; }
.process__body h3 { color: #fff; }
.process__body p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0; }
.process__cta { display: flex; justify-content: center; }

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

/* Niederlassungen: prominente Karten statt kleiner Pill-Chips – rückt die
   5 Standorte deutlicher in den Vordergrund (Reichshof als Zentrale hervorgehoben). */
.location-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.location-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 14px; text-align: center; width: 100%; font: inherit; cursor: pointer;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(20, 40, 70, 0.12);
  border-color: var(--accent-light);
}
.location-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.location-card__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.location-card strong { color: var(--text-dark); font-size: 1.05rem; }
.location-card__tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: var(--pill);
}
.location-card--main {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)); border-color: transparent;
  box-shadow: 0 14px 30px rgba(20, 40, 70, 0.18);
}
.location-card--main strong { color: #fff; }
.location-card--main .location-card__icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.location-card--main .location-card__tag { background: rgba(255, 255, 255, 0.22); color: #fff; }
/* Wird per JS gesetzt, wenn ein Anzeigenlink gezielt auf diesen Standort
   verweist (?stadt=...) oder der Besucher die Stadt selbst anklickt – hebt
   die passende Karte optisch hervor. */
.location-card--highlight,
.location-card.is-active:not(.location-card--main) {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 14px 30px rgba(20, 40, 70, 0.14);
}
.location-card--highlight { animation: location-highlight-pop 0.5s var(--ease); }
@keyframes location-highlight-pop {
  0% { transform: scale(0.96); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@media (max-width: 900px) {
  .location-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .location-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Detail-Panel: zeigt Ortsteile/Umlandgemeinden der ausgewaehlten Stadt --
   ein einzelner, klar lesbarer Block statt Text in jeder kleinen Karte. */
.location-detail {
  max-width: 700px; margin: 28px auto 0; padding: 22px 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-light) 8%, #fff), color-mix(in srgb, var(--accent) 4%, #fff));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-align: center;
}
.location-detail__label {
  display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px;
}
.location-detail__label strong { color: var(--accent); }
.location-detail__places {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.location-detail__place {
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 6px 14px; border-radius: var(--pill);
  box-shadow: 0 2px 6px rgba(20, 40, 70, 0.05);
  animation: location-place-in 0.35s var(--ease) backwards;
}
.location-detail__place:nth-child(1) { animation-delay: 0.02s; }
.location-detail__place:nth-child(2) { animation-delay: 0.06s; }
.location-detail__place:nth-child(3) { animation-delay: 0.1s; }
.location-detail__place:nth-child(4) { animation-delay: 0.14s; }
.location-detail__place:nth-child(5) { animation-delay: 0.18s; }
.location-detail__place:nth-child(6) { animation-delay: 0.22s; }
.location-detail__place:nth-child(7) { animation-delay: 0.26s; }
.location-detail__gmb {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  border-top: 1px dashed color-mix(in srgb, var(--accent) 25%, transparent);
  padding-top: 14px; width: 100%; justify-content: center;
}
.location-detail__gmb svg { flex-shrink: 0; }
.location-detail__gmb:hover { text-decoration: underline; }
@keyframes location-place-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .location-detail__place { animation: none; }
}
.area-note {
  max-width: 640px; margin: 28px auto 0; text-align: center;
  color: var(--text-muted); font-size: 0.85rem;
}

/* Final CTA */
.section--cta {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta__decor {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 2px, transparent 2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
}
.cta__inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta__inner p { color: rgba(255,255,255,0.9); }
.cta__inner h2 { color: #fff; }
.cta__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px; border-radius: var(--pill);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.cta__badge strong { font-size: 1.05rem; }
.cta__badge .stars { color: #ffd166; letter-spacing: 1px; }
.cta__mail { margin-top: 18px; font-size: 0.9rem; }
.cta__mail a { color: #fff; font-weight: 700; text-decoration: underline; }
.cta__trust {
  margin: 16px 0 0; font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}
.section--cta .btn--pill {
  background: #fff; color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* "oder" Trenner zwischen Anruf-CTA und Rückruf-Formular */
.callback-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 32px 0 24px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem;
}
.callback-divider::before, .callback-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.25);
}

/* Rückruf-Formular: Lead-Erfassung für Besucher, die nicht sofort anrufen
   möchten (z. B. Anzeigen-Klicks außerhalb der Geschäftszeiten). */
.callback-form {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px 26px; text-align: left;
  box-shadow: 0 20px 44px rgba(10, 20, 40, 0.18);
}
.callback-form h3 { color: var(--text-dark); font-size: 1.1rem; margin-bottom: 10px; text-align: center; }
.callback-form p.callback-form__steps {
  margin: 0 0 20px; text-align: center; font-size: 0.82rem; color: var(--text-muted);
}
.callback-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.callback-form input,
.callback-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 14px; font: inherit; font-size: 0.92rem; color: var(--text-dark);
  background: #fbfcfe; transition: border-color var(--dur-fast) var(--ease);
}
.callback-form input:focus, .callback-form textarea:focus {
  outline: none; border-color: var(--accent-light);
}
.callback-form textarea { margin-bottom: 14px; resize: vertical; min-height: 52px; }
.callback-form__consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; cursor: pointer;
}
.callback-form__consent input { flex: none; width: auto; margin-top: 3px; accent-color: var(--accent); }
.callback-form__consent a { color: var(--accent); }
.callback-form .btn--lg { width: 100%; justify-content: center; }
.callback-form__hint {
  margin: 12px 0 0; font-size: 0.76rem; color: var(--text-muted); text-align: center;
}
@media (max-width: 560px) {
  .callback-form__row { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  background: var(--bg-tint); color: var(--text-muted); padding: 56px 0 0;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent), #4c53c9);
}
.footer__inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer h4 { color: var(--text-dark); margin-bottom: 12px; font-size: 1rem; }
.footer__text { font-size: 0.9rem; }
.footer__text a { color: var(--accent); }
.footer__text--icons { display: flex; flex-direction: column; gap: 8px; }
.footer__text--icons span { display: flex; align-items: center; gap: 8px; }
.footer__text--icons svg { flex: none; color: var(--accent-light); }
.logo--footer { margin-bottom: 14px; color: var(--text-dark); }

/* Vertrauens-Siegel-Reihe */
.trust-seals {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  padding: 24px 24px 8px; border-top: 1px solid var(--border);
}
.trust-seal {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 130px; text-align: center;
}
.trust-seal svg { color: var(--accent); }
.trust-seal span { font-size: 0.76rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 24px; font-size: 0.8rem;
}
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: var(--text-muted); }
.footer__legal a:hover { color: var(--accent); }
.footer__credits { color: var(--text-muted); opacity: 0.75; }
.footer__credits a { color: inherit; text-decoration: underline; }

/* Legal pages (Impressum/Datenschutz) */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 1.05rem; margin-top: 32px; color: var(--text-dark); }
.legal p { color: var(--text-muted); }
.legal a { color: var(--accent); text-decoration: underline; }
.legal__note { margin-top: 40px; font-size: 0.8rem; font-style: italic; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #fff; color: var(--text-dark);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  width: 640px; max-width: calc(100% - 32px); box-shadow: 0 12px 30px rgba(20,40,70,0.15); z-index: 100;
  animation: cookie-in var(--dur-slow) var(--ease);
}
.cookie-banner p { margin: 0; font-size: 0.85rem; line-height: 1.5; flex: 1 1 320px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.cookie-banner.is-hidden {
  opacity: 0; transform: translateX(-50%) translateY(20px); visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s var(--dur-base);
  pointer-events: none;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Sticky Mobile-CTA: verkürzt den Weg zum Anruf, nur auf kleinen Screens sichtbar */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: none;
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__link {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 16px 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(20, 40, 70, 0.25);
  flex: 1 1 auto;
}
.sticky-cta__whatsapp {
  flex: 0 0 auto; width: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(20, 40, 70, 0.25);
}
.sticky-cta__link svg { flex: none; }
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
}

/* Nach-oben-Button: links unten (Desktop), damit er nicht mit dem
   Exit-Intent-Hinweis (rechts unten) oder der mobilen Sticky-Leiste kollidiert. */
.back-to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 140;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(20, 40, 70, 0.18);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), background var(--dur-fast) var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: #fff; }
@media (max-width: 900px) {
  .back-to-top { left: auto; right: 16px; bottom: 84px; width: 40px; height: 40px; }
}

/* Exit-Intent: dezenter Slide-up statt Vollbild-Popup, nur Desktop
   (pointer: fine), einmal pro Sitzung, per JS getriggert. */
.exit-intent {
  position: fixed; right: 24px; bottom: 24px; z-index: 160;
  max-width: 320px; background: #fff; border-radius: var(--radius-lg);
  padding: 20px 22px 22px; box-shadow: 0 20px 44px rgba(10, 20, 40, 0.22);
  border: 1px solid var(--border);
  transform: translateY(140%); opacity: 0;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}
.exit-intent.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.exit-intent p { font-size: 0.9rem; color: var(--text-dark); margin: 0 0 14px; padding-right: 18px; }
.exit-intent strong { color: var(--accent); }
.exit-intent .btn--pill { width: 100%; justify-content: center; }
.exit-intent__close {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px;
  border-radius: 50%; border: none; background: var(--bg-tint); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.exit-intent__close:hover { background: var(--border); }
@media (max-width: 640px) {
  .exit-intent { display: none; } /* Desktop-Only, Mobile hat bereits die Sticky-CTA-Leiste */
}

/* Responsive */
@media (max-width: 900px) {
  .nav, .header__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner, .section--split { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__card { min-height: 300px; margin: 0 20px 30px; }
  .hero__graphic-badge--speed { left: 14px; top: -14px; }
  .hero__graphic-badge--pro { right: auto; left: 14px; top: 54px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services-featured { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid > *:nth-child(even) { margin-top: 0; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header.nav-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    animation: nav-slide-down var(--dur-base) var(--ease);
  }
  .header.nav-open .header__actions {
    display: flex; flex-direction: column; align-items: flex-start; position: absolute;
    top: calc(100% + 160px); left: 0; right: 0; background: #fff;
    padding: 0 24px 20px;
    animation: nav-slide-down var(--dur-base) var(--ease);
  }
}
@keyframes nav-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .cookie-banner { bottom: 78px; }
}

@media (max-width: 640px) {
  .hero__bullets { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .mini-grid > *:nth-child(even) { margin-top: 0; }
  .topbar__inner { justify-content: center; text-align: center; }
}

/* Reduced Motion: alle Übergänge/Animationen aus, Endzustand sofort, kein Restwackeln */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------------------------------------------------------------------------
   FAQ-Accordion (Abschnitt "Gut zu wissen")
   --------------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem; color: var(--text-dark);
}
.faq-item__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease);
}
.faq-item__a p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); line-height: 1.6; }
.faq-item.is-open .faq-item__a { max-height: 320px; }
