/* ==========================================================================
   HausFrei — Stylesheet v2
   Premium, ruhige Designsprache: warmes Off-White, sehr dunkles elegantes
   Grün, frischer Akzent, Anthrazit-Text. Dezente Glass-/Glossy-Oberflaechen.
   Systemfonts, kein externer Font-Ladevorgang -> maximale Performance.
   ========================================================================== */

:root {
  /* Farben */
  --color-bg: #FAF9F5;
  --color-surface: #FFFFFF;
  --color-surface-soft: #F1EDE3;
  --color-ink: #171B18;
  --color-ink-soft: #4C5148;
  --color-primary: #0E2A22;
  --color-primary-2: #1E4B3C;
  --color-primary-tint: #E3ECE7;
  --color-accent: #2FA184;
  --color-accent-2: #58C79E;
  --color-line: #E7E3D7;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.75);

  --shadow-sm: 0 1px 2px rgba(14, 42, 34, 0.07);
  --shadow-md: 0 14px 32px -16px rgba(14, 42, 34, 0.28);
  --shadow-lg: 0 26px 60px -20px rgba(14, 42, 34, 0.38);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1180px;
  --header-height: 76px;
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink-soft);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3 {
  font-family: var(--font-sans);
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.45em; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding: 0; margin: 0; list-style: none; }

.icon { fill: currentColor; flex-shrink: 0; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

.section {
  padding: clamp(3.25rem, 8vw, 6.5rem) 0;
  position: relative;
}
.section-soft { background: var(--color-surface-soft); }

.section-head { max-width: 620px; margin: 0 0 44px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.section-head p { margin-bottom: 0; font-size: 1.05rem; }

.accent-text { color: var(--color-accent); }

/* Fade-in-on-scroll: sichtbar per Default (No-JS-sicher),
   erst mit aktivem JS ("js-ready") wird die Animation aktiviert. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease), background 0.28s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(155deg, var(--color-primary-2), var(--color-primary));
  color: #fff;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.06);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-glass:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-glass:active { transform: translateY(0) scale(0.98); }

.btn-whatsapp-glass {
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.22), rgba(37, 211, 102, 0.08));
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: var(--color-whatsapp-dark);
}
.btn-whatsapp-glass .icon { fill: var(--color-whatsapp-dark); }
.btn-whatsapp-glass:hover { background: linear-gradient(160deg, rgba(37, 211, 102, 0.3), rgba(37, 211, 102, 0.12)); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-large { padding: 17px 32px; font-size: 1.04rem; }
.full-width { width: 100%; }

/* ---------- Glass-Karten (sparsam eingesetzt) ---------- */
.glass-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 249, 245, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--color-line);
  /* Nur Hintergrund/Schatten ändern sich beim Scrollen – niemals die Höhe,
     damit es auf Mobile beim ersten Scrollen nicht ruckelt/springt. */
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 245, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo-img {
  height: 42px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.main-nav { flex: 1; display: none; }
.main-nav ul { display: flex; gap: 30px; justify-content: center; }
.main-nav a {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.96rem;
}
.main-nav a:hover { color: var(--color-primary); }

.header-actions { display: none; align-items: center; gap: 14px; }
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  font-size: 0.95rem;
}
.phone-cta .icon { width: 17px; height: 17px; }
.phone-cta.justify-center { justify-content: center; }

@media (min-width: 1040px) {
  .main-nav { display: block; }
  .header-actions { display: flex; }
}

/* Mobile-Menue als <details>/<summary> — funktioniert auch ohne JavaScript */
.mobile-nav { position: relative; margin-left: auto; }
@media (min-width: 1040px) { .mobile-nav { display: none; } }

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .bar {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.mobile-nav[open] summary .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav[open] summary .bar:nth-child(2) { opacity: 0; }
.mobile-nav[open] summary .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(88vw, 340px);
  /* Deutlich deckenderer Hintergrund als vorher, damit die Schrift immer
     gut lesbar bleibt – der Glass-Look bleibt durch den leichten Blur erhalten. */
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: block;
  padding: 11px 10px;
  border-radius: 10px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 1.02rem;
}
.mobile-menu a:hover { background: rgba(14, 42, 34, 0.06); text-decoration: none; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--color-line); padding-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(4rem, 9vw, 6rem); }

.hero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-ambient::before,
.hero-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-ambient::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--color-accent-2), transparent 70%);
  top: -140px; right: -110px;
  opacity: 0.45;
}
.hero-ambient::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 70% 70%, var(--color-primary-2), transparent 70%);
  bottom: -160px; left: -130px;
  opacity: 0.3;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { order: 1; }
.hero-media { order: 2; }

.hero-lede { font-size: 1.12rem; max-width: 46ch; }

.hero-checks { margin: 22px 0 30px; display: grid; gap: 11px; }
.hero-checks li {
  position: relative;
  padding-left: 28px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--color-accent-2), var(--color-accent));
  box-shadow: 0 2px 6px rgba(47, 161, 132, 0.35);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }

.media-placeholder {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-primary-tint), var(--color-surface-soft));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-primary);
  text-align: center;
  padding: 24px;
}
.media-placeholder .icon { width: 44px; height: 44px; opacity: 0.55; }
.media-placeholder p {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* Hero-Bild auf Mobile komplett ausblenden – kein Platzhalter, keine leere Fläche. */
@media (max-width: 899px) {
  .hero-media { display: none; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; }
}

/* ---------- Cards / Leistungen ---------- */
.card-grid {
  display: grid;
  /* minmax(0, 1fr) statt 1fr: verhindert, dass lange, nicht trennbare
     deutsche Wörter (z. B. "Dachbodenentrümpelung") die Spalte über den
     Viewport hinaus aufdrücken und die rechte Spalte dadurch abgeschnitten wird. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  padding: 18px 16px;
  min-width: 0;
}
.card h3, .card p {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--color-primary-tint), rgba(255, 255, 255, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.card-icon .icon { width: 19px; height: 19px; fill: none; stroke: var(--color-primary); stroke-width: 1.6; }
.card h3 { font-size: 0.96rem; line-height: 1.3; }
.card p { margin-bottom: 0; font-size: 0.85rem; line-height: 1.45; }

@media (min-width: 640px) {
  .card-grid { gap: 22px; }
  .card { padding: 28px; }
  .card-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; }
  .card-icon .icon { width: 24px; height: 24px; }
  .card h3 { font-size: 1.15rem; }
  .card p { font-size: 1rem; line-height: 1.6; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Warum HausFrei (bewusst minimal, kein Card-Look) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 36px;
}
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-check .icon { width: 15px; height: 15px; fill: none; stroke: var(--color-accent); stroke-width: 2.2; }
.feature h3 { color: var(--color-primary); font-size: 1.08rem; margin-bottom: 0.3em; }
.feature p { margin-bottom: 0; }

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Ablauf / Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
.timeline-step { padding: 26px 24px; position: relative; }
.step-number {
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  background: linear-gradient(155deg, var(--color-accent-2), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.timeline-step h3 { font-size: 1.05rem; }
.timeline-step p { margin-bottom: 0; font-size: 0.95rem; }

.step-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-whatsapp-dark);
}
.step-whatsapp-link .icon { transition: transform 0.2s var(--ease); }
.step-whatsapp-link:hover .icon { transform: translateX(3px); }

.center-cta { text-align: center; margin-top: 40px; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

/* ---------- Zeitaufwand ---------- */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.duration-item { padding: 20px; min-width: 0; }
/* Objektart (Label) und Zeitangabe (Wert) klar typografisch getrennt:
   kleine, dezente Großbuchstaben-Bezeichnung oben, große fette Zeitangabe darunter. */
.duration-item h3 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.duration-item p {
  margin: 0;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.08rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

@media (min-width: 700px) {
  .duration-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Vorher / Nachher ---------- */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.before-after-pair { padding: 18px; }
.ba-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--color-primary-tint), var(--color-surface-soft));
  border: 1px dashed rgba(14, 42, 34, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  opacity: 0.8;
}

@media (min-width: 700px) {
  .before-after-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Bewertungen (Slider, direkt unter dem Hero) ---------- */
.reviews-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-slide {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  padding: 36px 30px;
  text-align: center;
}

.reviews-nav {
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.reviews-nav:hover { background: var(--color-primary-tint); transform: translateY(-2px); }
.reviews-nav:active { transform: translateY(0); }
.reviews-nav[hidden] { display: none; }

/* Pfeile nur zeigen, wenn tatsächlich mehr als eine Bewertung vorhanden ist
   (steuert script.js per [data-multi] am .reviews-slider). */
@media (min-width: 700px) {
  .reviews-slider[data-multi] .reviews-nav { display: flex; }
}

/* ---------- Kundenstimmen (weiter unten, eigener Bereich) ---------- */
.reviews-placeholder {
  padding: 44px;
  text-align: center;
}
.google-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.stars { color: var(--color-accent); letter-spacing: 3px; font-size: 1.15rem; }
.google-badge span:last-child { font-size: 0.9rem; color: var(--color-ink-soft); font-weight: 600; }
.reviews-placeholder p { margin: 0 auto; }

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
}

/* ---------- WhatsApp-Foto-CTA ---------- */
.whatsapp-section { position: relative; overflow: hidden; }
.whatsapp-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.whatsapp-card h2 { margin-bottom: 8px; }
.whatsapp-card p { margin-bottom: 0; }
.whatsapp-card .fine-print { font-size: 0.85rem; color: var(--color-ink-soft); opacity: 0.85; margin-top: 10px; margin-bottom: 0; }

@media (min-width: 800px) {
  .whatsapp-card { flex-direction: row; align-items: center; justify-content: space-between; }
  .whatsapp-card > div { flex: 1; }
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 6px 22px; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; font-size: 0.96rem; }

/* ---------- Einsatzgebiet ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.area-list li {
  background: var(--glass-bg-strong);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-pill);
  padding: 9px 19px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--color-primary);
}
.area-note { font-size: 0.95rem; }

/* ---------- Kontaktformular ---------- */
.contact-form { padding: 34px; }
.contact-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 34px;
}
.contact-form fieldset:last-of-type { margin-bottom: 24px; }
.contact-form legend {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--color-primary);
  padding: 0 0 18px;
  letter-spacing: -0.01em;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; transition: opacity 0.2s var(--ease); }
.form-field.is-hidden { display: none; }
.form-field label { font-weight: 700; font-size: 0.9rem; color: var(--color-ink); }

input, select, textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, #ffffff, var(--color-surface-soft));
  color: var(--color-ink);
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(14, 42, 34, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(47, 161, 132, 0.16), inset 0 1px 2px rgba(14, 42, 34, 0.04);
}
textarea { resize: vertical; min-height: 110px; }

.form-hint { font-size: 0.92rem; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--color-ink-soft); text-align: center; margin-top: 14px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  cursor: pointer;
  font-weight: 500;
}
.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--color-line);
  background: #fff;
  margin-top: 2px;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(14, 42, 34, 0.05);
}
.checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(155deg, var(--color-accent-2), var(--color-accent));
  border-color: var(--color-accent);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.checkbox-label input[type="checkbox"]:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Kontaktart-Auswahl (WhatsApp / Telefon / E-Mail) ---------- */
.contact-pref-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.contact-pref-option { position: relative; cursor: pointer; }
.contact-pref-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.contact-pref-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, #ffffff, var(--color-surface-soft));
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-pref-option input:checked + .contact-pref-card {
  border-color: var(--color-accent);
  color: var(--color-primary);
  background: var(--color-primary-tint);
  box-shadow: 0 0 0 3px rgba(47, 161, 132, 0.16);
}
.contact-pref-option input:focus-visible + .contact-pref-card {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.contact-pref-card .icon { fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 420px) {
  .contact-pref-card { font-size: 0.8rem; padding: 14px 6px; }
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 2; }
  .form-grid.single { grid-template-columns: 1fr; }
  .form-grid.single .form-field { max-width: 60%; }
}

/* ---------- Abschluss CTA ---------- */
.closing-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(165deg, var(--color-primary-2), var(--color-primary));
  color: #fff;
}
.closing-cta h2 { color: #fff; }
.closing-cta p { color: rgba(255, 255, 255, 0.78); margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-img { height: 36px; width: auto; }
.footer-brand span { color: #fff; font-weight: 800; font-size: 1.15rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6em; }
.site-footer p { color: rgba(255, 255, 255, 0.72); }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  /* env(safe-area-inset-bottom) + zusätzlicher Abstand, damit der Button nicht
     von der unteren Browser-/Bedienleiste auf Mobile überlagert wird. */
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(155deg, #34e07a, var(--color-whatsapp));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(29, 168, 81, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 400;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp-float .icon { width: 26px; height: 26px; fill: #fff; }

@media (min-width: 480px) {
  .whatsapp-float { width: 58px; height: 58px; right: 22px; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Mobile-Feinschliff ---------- */
@media (max-width: 640px) {
  .section-head { margin-bottom: 30px; }

  /* Leistungen: 2-spaltiges, kompaktes Karten-Grid */
  .card-grid { gap: 10px; }
  .card { padding: 14px 12px; }
  .card h3 { font-size: 0.88rem; margin-bottom: 0.3em; }
  .card p { font-size: 0.8rem; }
  .card-icon { width: 32px; height: 32px; margin-bottom: 10px; }
  .card-icon .icon { width: 17px; height: 17px; }

  /* 5 klare Schritte: weniger Innenabstand, engerer Abstand zwischen den Karten */
  .timeline { gap: 14px; }
  .timeline-step { padding: 20px 18px; }
  .step-number { font-size: 1.7rem; margin-bottom: 6px; }

  /* WhatsApp-Foto-CTA kompakter */
  .whatsapp-card { padding: 24px 20px; gap: 18px; }

  /* Bewertungen-Platzhalter kompakter */
  .reviews-placeholder { padding: 28px 20px; }
  .review-slide { padding: 28px 22px; }

  /* Kontaktart-Auswahl: etwas kompakter */
  .contact-pref-card { padding: 14px 8px; font-size: 0.85rem; }

  /* Kontaktformular: weniger Innenabstand und Abstand zwischen Feldgruppen */
  .contact-form { padding: 22px 18px; }
  .contact-form fieldset { margin-bottom: 26px; }
  .form-grid { gap: 14px; }

  /* Vorher/Nachher-Karten etwas enger */
  .before-after-grid { gap: 14px; }
  .before-after-pair { padding: 14px; }

  /* Footer: weniger Leerraum zwischen den Blöcken */
  .footer-grid { gap: 30px; margin-bottom: 34px; }
  .site-footer { padding: 44px 0 22px; }
}
