/* ==========================================================================
   Rafo Reinigung – Design System
   Stil: Trust & Authority | Navy + Blau-CTA (passend zum Logo)
   ========================================================================== */

/* ==========================================================================
   Schriften – lokal gehostet (DSGVO: keine Übertragung an Google)
   ========================================================================== */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-v44-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/open-sans-v44-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-v44-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-v44-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin_latin-ext-700.woff2') format('woff2');
}

:root {
  /* Farben */
  --color-primary: #0F172A;       /* Navy */
  --color-primary-700: #1E293B;
  --color-secondary: #334155;
  --color-accent: #0369A1;        /* Blau-CTA */
  --color-accent-600: #0284C7;
  --color-accent-50: #E0F2FE;
  --color-background: #F6F8FB;
  --color-surface: #FFFFFF;
  --color-foreground: #0B1220;
  --color-muted: #E8ECF1;
  --color-muted-text: #4A5A6E;
  --color-border: #E4EAF1;
  --color-border-strong: #D3DCE6;
  --color-success: #16A34A;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;

  /* Typografie */
  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radius & Schatten – getönt auf Navy (kein generisches Schwarz) */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, .07), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, .18), 0 8px 20px -8px rgba(15, 23, 42, .12);
  --shadow-accent: 0 10px 28px -8px rgba(3, 105, 161, .45);

  /* Layout */
  --container: 1180px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .24s;
}

/* --------------------------------------------------------------------------
   Reset / Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.14;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

/* --------------------------------------------------------------------------
   Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--muted { background: var(--color-surface); }

/* Galerie und Ablauf teilen denselben Hintergrund -> Abstand dazwischen straffen */
#galerie { padding-bottom: clamp(32px, 4vw, 56px); }
#ablauf { padding-top: clamp(32px, 4vw, 56px); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--color-muted-text);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled {
  background: var(--color-muted);
  color: var(--color-muted-text);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--call {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--call:hover { background: var(--color-accent-600); box-shadow: 0 14px 32px -8px rgba(3, 105, 161, .55); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #06301a;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .5);
}
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); color: #06301a; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(246, 248, 251, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.site-header.is-scrolled {
  background: rgba(246, 248, 251, .9);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .25);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand strong { font-size: 1.15rem; letter-spacing: .01em; }
.brand span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .18em; color: var(--color-muted-text); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-secondary);
  transition: background-color var(--dur), color var(--dur);
}
.nav-links a:hover { background: var(--color-muted); color: var(--color-primary); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(90% 90% at 88% -10%, rgba(56, 189, 248, .28) 0%, rgba(3, 105, 161, 0) 50%),
    radial-gradient(80% 80% at 0% 110%, rgba(3, 105, 161, .35) 0%, rgba(3, 105, 161, 0) 55%),
    linear-gradient(160deg, #0F172A 0%, #13233f 55%, #0a1322 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  opacity: .5;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .005em;
  margin-bottom: 22px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--color-whatsapp); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.08;
}
.hero h1 .accent { color: #7dd3fc; }
.hero p.lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #cbd5e1;
  max-width: 52ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: #e2e8f0;
}
.hero-trust svg { width: 18px; height: 18px; color: var(--color-whatsapp); flex: none; }

/* Hero-Visual / Bild-Platzhalter */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Neutraler Foto-Platzhalter (kein illustratives Bild) */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  color: var(--color-muted-text);
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, #eef2f7 55%, #e6ecf3 100%);
}
.img-placeholder svg { width: 56px; height: 56px; color: var(--color-accent); opacity: .8; margin-bottom: 6px; }
.img-placeholder span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-secondary);
}
.img-placeholder small { font-size: .86rem; color: var(--color-muted-text); }
.hero-visual .floating-card {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.floating-card .fc-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-accent-50);
  color: var(--color-accent);
}
.floating-card .fc-icon svg { width: 24px; height: 24px; }
.floating-card strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.floating-card span { font-size: .85rem; color: var(--color-muted-text); }

/* --------------------------------------------------------------------------
   Image-Platzhalter (Hinweis-Overlay)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 14px, #e6ebf2 14px 28px);
  color: var(--color-muted-text);
}
.ph[data-label]::after {
  content: attr(data-label);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .85);
  border: 1px dashed var(--color-secondary);
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .s-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--color-accent-50), #fff);
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  margin-bottom: 18px;
}
.service-card .s-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.service-card p { color: var(--color-muted-text); font-size: .98rem; }
.service-card ul { margin-top: 14px; display: grid; gap: 8px; }
.service-card li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--color-secondary); }
.service-card li svg { width: 18px; height: 18px; color: var(--color-success); flex: none; margin-top: 2px; }
.service-card.is-soon { border-style: dashed; background: var(--color-background); }
.service-card.is-soon .tag {
  display: inline-block; margin-top: 12px;
  font-size: .78rem; font-weight: 600; color: var(--color-accent);
  background: var(--color-accent-50); padding: 4px 10px; border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   Vorher / Nachher Slider
   -------------------------------------------------------------------------- */
.ba-wrap { max-width: 880px; margin-inline: auto; }
.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  user-select: none;
  touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
/* Leichter Zoom-Ausgleich: Nachher-Aufnahme war etwas weiter herausgezoomt */
.ba-after img { transform: scale(1.12); transform-origin: center 64%; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-tag {
  position: absolute; top: 14px;
  z-index: 3;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .8rem;
  padding: 6px 13px; border-radius: var(--radius-full);
  color: #fff;
}
.ba-tag--before { left: 14px; background: rgba(15, 23, 42, .78); }
.ba-tag--after { right: 14px; background: rgba(3, 105, 161, .9); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  z-index: 4;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(15,23,42,.1);
}
.ba-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--color-accent);
}
.ba-grip svg { width: 24px; height: 24px; }
.ba-range {
  position: absolute; inset: 0;
  z-index: 5;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-hint {
  text-align: center;
  margin-top: 16px;
  font-size: .92rem;
  color: var(--color-muted-text);
}

/* --------------------------------------------------------------------------
   Ablauf (Steps)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .step-num {
  counter-increment: step;
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--color-accent), var(--color-primary));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-accent);
}
.step .step-num::before { content: counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: 7px; }
.step p { color: var(--color-muted-text); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Einsatzgebiet
   -------------------------------------------------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-list li {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: .92rem; font-weight: 600; color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur), color var(--dur);
}
.area-list li:hover { transform: translateY(-2px); border-color: var(--color-accent); color: var(--color-primary); }
.area-list svg { width: 15px; height: 15px; color: var(--color-accent); }
.area-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.area-map img,
.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Datenschutzfreundliche Karten-Fassade (Klick zum Laden) */
.map-consent {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  display: block;
  position: relative;
  background: var(--color-muted) url('../assets/map.svg') center / cover no-repeat;
  font-family: inherit;
}
.map-consent__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .25), rgba(15, 23, 42, .55));
  color: #fff;
}
.map-consent__overlay svg { width: 30px; height: 30px; }
.map-consent__overlay strong { font-family: var(--font-heading); font-size: 1.1rem; }
.map-consent__overlay small { max-width: 30ch; font-size: .8rem; line-height: 1.45; color: #E2E8F0; }
.map-consent__overlay a { color: #fff; text-decoration: underline; }
.map-consent:hover .map-consent__overlay { background: linear-gradient(180deg, rgba(15, 23, 42, .3), rgba(15, 23, 42, .62)); }
.map-consent:focus-visible { outline: 3px solid var(--color-accent-600); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Warum Rafo
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.why-card {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.why-card .w-icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-accent-50);
  color: var(--color-accent);
}
.why-card .w-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.06rem; margin-bottom: 5px; }
.why-card p { font-size: .93rem; color: var(--color-muted-text); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact {
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(3,105,161,.5) 0%, rgba(3,105,161,0) 50%),
    linear-gradient(160deg, #0F172A 0%, #11203a 60%, #0b1424 100%);
  background-color: #0F172A;
  color: #fff;
}
.contact .container {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.contact-head { max-width: 760px; }
.contact h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.contact .lead { color: #cbd5e1; margin-top: 14px; font-size: 1.08rem; }
.contact-phone {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 14px;
}
.contact-phone .cp-icon {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  color: var(--color-whatsapp);
}
.contact-phone .cp-icon svg { width: 28px; height: 28px; }
.contact-phone span { display: block; font-size: .85rem; color: #94a3b8; }
.contact-phone strong { font-family: var(--font-heading); font-size: 1.45rem; color: #fff; }
.contact-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Formular */
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  color: var(--color-foreground);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-form .form-sub { color: var(--color-muted-text); font-size: .92rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.field label .req { color: #dc2626; }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-foreground);
  background: var(--color-background);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, .15);
}
.form-note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--color-muted-text);
  display: flex; gap: 8px; align-items: flex-start;
}
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--color-accent); }

/* --------------------------------------------------------------------------
   Preisrechner (Quote Wizard)
   -------------------------------------------------------------------------- */
.quote {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--color-foreground);
}
.quote__main { padding: clamp(22px, 3vw, 40px); }

/* Fortschritt – benannte Schritt-Leiste (Signature) */
.quote__progress {
  display: flex;
  list-style: none;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.quote__progress li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.quote__progress li:not(:first-child)::before {
  content: "";
  position: absolute;
  right: 50%;
  left: -50%;
  top: 17px;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
  transition: background var(--dur);
}
.quote__progress li.is-active::before,
.quote__progress li.is-done::before { background: var(--color-accent); }
.quote__num {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-muted-text);
  transition: background var(--dur), border-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.quote__progress li.is-done .quote__num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.quote__progress li.is-active .quote__num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(3, 105, 161, .18);
}
.quote__plabel {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--color-muted-text);
  transition: color var(--dur);
}
.quote__progress li.is-done .quote__plabel { color: var(--color-secondary); }
.quote__progress li.is-active .quote__plabel { color: var(--color-accent); }
@media (max-width: 560px) { .quote__plabel { display: none; } }

/* Schritte */
.quote__step { display: none; }
.quote__step.is-active { display: block; animation: quoteIn var(--dur) var(--ease); }
@keyframes quoteIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quote__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.quote__eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}
.quote__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.quote__sub { color: var(--color-muted-text); margin: 8px 0 22px; font-size: .96rem; }
.quote__err { color: #dc2626; font-size: .88rem; font-weight: 600; margin-top: 14px; }

/* Auswahl-Karten (Flächen) */
.opt-grid { display: grid; gap: 14px; }
.opt-grid--2 { grid-template-columns: 1fr 1fr; }
.opt-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.opt-card:hover { border-color: var(--color-border-strong); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--color-accent-50), #d3eafb);
  color: var(--color-accent);
  display: grid; place-items: center;
  transition: background var(--dur), color var(--dur);
}
.opt-card__icon svg { width: 24px; height: 24px; }
.opt-card__body { display: flex; flex-direction: column; gap: 2px; }
.opt-card__body strong { font-family: var(--font-heading); color: var(--color-primary); }
.opt-card__body small { color: var(--color-muted-text); font-size: .84rem; }
.opt-card__mark {
  margin-left: auto;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  display: grid; place-items: center;
  transition: border-color var(--dur), background var(--dur);
}
.opt-card:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-50);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, .12);
}
.opt-card:has(input:checked) .opt-card__mark { border-color: var(--color-accent); background: var(--color-accent); }
.opt-card:has(input:checked) .opt-card__mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.opt-card:has(input:checked) .opt-card__icon {
  background: linear-gradient(145deg, var(--color-accent-600), var(--color-primary));
  color: #fff;
}
.opt-card:has(input:focus-visible) { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Größe */
.size-display { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1; color: var(--color-primary); }
.size-display small { font-size: 1.4rem; color: var(--color-muted-text); }
.size-caption { color: var(--color-muted-text); margin-top: 4px; }
.size-range { width: 100%; margin-top: 18px; accent-color: var(--color-accent); height: 6px; cursor: pointer; }
.size-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--color-muted-text); margin-top: 6px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  padding: 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-weight: 600; font-size: .9rem;
  color: var(--color-secondary);
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.chip:hover { border-color: var(--color-border-strong); }
.chip.is-active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.size-exact { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.size-exact label { font-weight: 600; color: var(--color-secondary); font-size: .9rem; }
.size-exact__input {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-background);
  padding: 0 12px;
}
.size-exact__input:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, .15); }
.size-exact__input input { width: 80px; border: none; background: none; padding: 11px 0; font: inherit; text-align: center; color: var(--color-foreground); }
.size-exact__input input:focus { outline: none; }
.size-exact__input span { color: var(--color-muted-text); }

/* Listen-Optionen (Extras + Intervall) */
.opt-list { display: flex; flex-direction: column; gap: 12px; }
.opt-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.opt-row:hover { border-color: var(--color-border-strong); }
.opt-row input { position: absolute; opacity: 0; pointer-events: none; }
.opt-row__icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--color-accent-50), #d3eafb);
  color: var(--color-accent);
  display: grid; place-items: center;
  transition: background var(--dur), color var(--dur);
}
.opt-row:has(input:checked) .opt-row__icon {
  background: linear-gradient(145deg, var(--color-accent-600), var(--color-primary));
  color: #fff;
}
.opt-row__icon svg { width: 22px; height: 22px; }
.opt-row__body { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.opt-row__body strong { font-family: var(--font-heading); color: var(--color-primary); font-size: .98rem; }
.opt-row__body small { color: var(--color-muted-text); font-size: .84rem; }
.opt-row__price { font-weight: 700; color: var(--color-accent); font-size: .92rem; white-space: nowrap; }
.opt-row__badge {
  font-size: .76rem; font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--color-muted);
  color: var(--color-secondary);
  white-space: nowrap;
}
.opt-row__badge--save { background: #dcfce7; color: #15803d; }
.opt-row__check {
  width: 24px; height: 24px; flex: none;
  border: 2px solid var(--color-border-strong);
  border-radius: 7px;
  display: grid; place-items: center;
  color: #fff;
  transition: border-color var(--dur), background var(--dur);
}
.opt-row__check svg { width: 14px; height: 14px; opacity: 0; transition: opacity var(--dur); }
.opt-row__check--radio { border-radius: 50%; }
.opt-row:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-50);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, .1);
}
.opt-row:has(input:checked) .opt-row__check { background: var(--color-accent); border-color: var(--color-accent); }
.opt-row:has(input:checked) .opt-row__check svg { opacity: 1; }
.opt-row:has(input:checked) .opt-row__check--radio { background: var(--color-accent); }
.opt-row:has(input:checked) .opt-row__check--radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.opt-row:has(input:focus-visible) { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Kontaktfelder */
.quote__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.quote__fields .field { margin: 0; }
.quote__fields .field--full { grid-column: 1 / -1; }

/* Navigation */
.quote__nav { display: flex; align-items: center; gap: 14px; margin-top: clamp(22px, 3vw, 30px); }
.quote__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  color: var(--color-muted-text);
  padding: 10px 4px;
  transition: color var(--dur);
}
.quote__back:hover { color: var(--color-primary); }
.quote__back svg { width: 18px; height: 18px; }
.quote__nav .btn { margin-left: auto; }
.quote__send { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.quote__send .btn { margin-left: 0; }
.quote__alt { margin-top: 14px; font-size: .9rem; color: var(--color-muted-text); }
.linkbtn { color: var(--color-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.linkbtn:hover { color: var(--color-accent-600); }
.linkbtn:disabled { color: var(--color-muted-text); text-decoration: none; cursor: not-allowed; }

/* Live-Zusammenfassung */
.quote__summary {
  position: relative;
  align-self: stretch;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(3, 105, 161, .45) 0%, rgba(3, 105, 161, 0) 55%),
    linear-gradient(160deg, #0F172A 0%, #11203a 70%, #0b1424 100%);
  color: #fff;
  padding: clamp(24px, 3vw, 36px);
}
.quote__summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #7dd3fc);
}
.quote__summary-title { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: #7dd3fc; margin-bottom: 18px; }
.sum { display: flex; flex-direction: column; }
.sum > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.sum dt { color: #94a3b8; font-size: .92rem; flex: none; }
.sum dd { font-weight: 600; text-align: right; }
.sum-price { margin-top: 22px; }
.sum-price__ca { display: block; font-size: .82rem; color: #94a3b8; }
.sum-price strong { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.05; }
.sum-price__rate { font-size: .82rem; color: #94a3b8; }
.sum-note { margin-top: 14px; font-size: .8rem; color: #94a3b8; display: flex; gap: 8px; align-items: flex-start; }
.sum-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #7dd3fc; }
.sum-checks { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.sum-checks li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #cbd5e1; }
.sum-checks li svg { width: 18px; height: 18px; flex: none; color: var(--color-whatsapp); }

@media (prefers-reduced-motion: reduce) {
  .quote__step.is-active { animation: none; }
}
@media (max-width: 880px) {
  .quote { grid-template-columns: 1fr; }
  .opt-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .quote__fields { grid-template-columns: 1fr; }
  .quote__nav { flex-wrap: wrap; }
  .quote__nav .btn { width: 100%; }
  .quote__send { width: 100%; flex-wrap: wrap; gap: 12px; }
}

.editor-hint {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #FEF9C3;
  border: 1px solid #FDE68A;
  color: #854d0e;
  font-size: .82rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary);
  color: #cbd5e1;
  padding-block: 52px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-heading); color: #fff; font-size: 1.15rem; }
.site-footer p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .03em; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .92rem; transition: color var(--dur); }
.footer-col a:hover { color: #fff; }
.footer-col svg { width: 16px; height: 16px; color: var(--color-accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: .85rem;
  color: #94a3b8;
}
.footer-bottom a:hover { color: #fff; }
.footer-credit {
  margin-top: 16px;
  text-align: center;
  font-size: .78rem;
  color: #64748b;
}
.footer-credit a {
  color: #64748b;
  transition: color var(--dur);
}
.footer-credit a:hover { color: #cbd5e1; }

/* --------------------------------------------------------------------------
   "Bald verfügbar"-Badges
   -------------------------------------------------------------------------- */
.tag--soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #92500e;
  background: #FEF3C7;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* Rechner: Dach-Option (bald verfügbar) */
.opt-card--soon { cursor: not-allowed; opacity: .7; }
.opt-card--soon:hover { border-color: var(--color-border); }
.opt-card__soon {
  margin-left: auto;
  align-self: center;
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #92500e;
  background: #FEF3C7;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Rechner: "Verfugen inkl."-Hinweis */
.quote__incl {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-success);
}
.quote__incl svg { width: 18px; height: 18px; flex: none; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.carousel { max-width: 470px; margin-inline: auto; }
.carousel__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b1220;
}
.carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 4 / 5;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: #0b1220;
  cursor: zoom-in;
}
.carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 2;
  transition: background var(--dur), opacity var(--dur);
}
.carousel__arrow:hover { background: #fff; }
.carousel__arrow:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow[disabled] { opacity: 0; pointer-events: none; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border-strong);
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
}
.carousel__dot.is-active { background: var(--color-accent); transform: scale(1.35); }
.carousel__dot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.carousel__slide img { transition: transform .5s var(--ease); }
.carousel__slide:hover img { transform: scale(1.03); }
.carousel__slide:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 12, 24, .9);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(92vw, 720px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: background var(--dur);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Folge uns (Social)
   -------------------------------------------------------------------------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
}
.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-card--insta {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
}
.social-card--tiktok {
  background: linear-gradient(135deg, #1b1f24 0%, #25303b 100%);
}
.social-card__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
}
.social-card__icon svg { width: 21px; height: 21px; color: #fff; }
.social-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.social-card__body strong { font-family: var(--font-heading); font-size: 1.15rem; }
.social-card__body span { font-size: .92rem; opacity: .92; }
.social-card__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: .92rem;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .18);
  white-space: nowrap;
  transition: background var(--dur);
}
.social-card:hover .social-card__cta { background: rgba(255, 255, 255, .3); }
.social-card__cta svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Mobile sticky CTA bar
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .1);
}
.mobile-cta .btn { flex: 1; min-height: 50px; }

/* --------------------------------------------------------------------------
   Reveal-Animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Gestaffeltes Einblenden innerhalb der Grids */
.services-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.why-grid .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.why-grid .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4),
.why-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.legal .updated { color: var(--color-muted-text); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--color-secondary); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--color-accent); text-decoration: underline; }
.legal .ph-text {
  background: #FEF9C3;
  border-radius: 4px;
  padding: 1px 6px;
  color: #854d0e;
  font-weight: 600;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-weight: 600; color: var(--color-accent);
}
.back-link svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Cookie-Consent (Banner + Einstellungs-Dialog)
   -------------------------------------------------------------------------- */
.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  margin-inline: auto;
  max-width: 680px;
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  animation: cc-in .35s var(--ease);
}
@keyframes cc-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cc-banner__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--color-accent-50);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
}
.cc-banner__icon svg { width: 26px; height: 26px; }
.cc-banner__title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 6px;
}
.cc-banner__text {
  font-size: 14px;
  color: var(--color-muted-text);
  line-height: 1.6;
}
.cc-banner__text a { color: var(--color-accent); text-decoration: underline; }
.cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14.5px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cc-btn:active { transform: scale(.98); }
.cc-btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.cc-btn--primary:hover { background: var(--color-accent-600); }
.cc-btn--secondary {
  background: var(--color-primary);
  color: #fff;
}
.cc-btn--secondary:hover { background: var(--color-primary-700); }
.cc-btn--link {
  padding: 11px 10px;
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}

.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 600;
}
.cc-modal {
  width: 100%;
  max-width: 560px;
  max-height: min(86vh, 720px);
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  animation: cc-in .3s var(--ease);
}
.cc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.cc-modal__title { font-size: 22px; }
.cc-modal__close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-muted-text);
  background: var(--color-muted);
  transition: background var(--dur) var(--ease);
}
.cc-modal__close:hover { background: var(--color-border-strong); }
.cc-modal__close svg { width: 18px; height: 18px; }
.cc-modal__intro {
  font-size: 14px;
  color: var(--color-muted-text);
  margin-bottom: 18px;
}
.cc-cat {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  background: var(--color-background);
}
.cc-cat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cc-cat__head strong {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 15.5px;
  margin-right: auto;
}
.cc-cat__always {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-success);
  white-space: nowrap;
}
.cc-cat p {
  font-size: 13.5px;
  color: var(--color-muted-text);
  line-height: 1.6;
}
.cc-cat code {
  background: var(--color-muted);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12.5px;
}

.cc-switch {
  flex: 0 0 auto;
  width: 46px; height: 26px;
  border-radius: var(--radius-full);
  background: var(--color-border-strong);
  position: relative;
  transition: background var(--dur) var(--ease);
  padding: 0;
}
.cc-switch__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease);
}
.cc-switch.is-on { background: var(--color-accent); }
.cc-switch.is-on .cc-switch__knob { transform: translateX(20px); }
.cc-switch--locked {
  background: var(--color-success);
  cursor: default;
}
.cc-switch--locked .cc-switch__knob { transform: translateX(20px); }

.cc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.cc-modal__actions .cc-btn { flex: 1 1 auto; }
.cc-modal__links {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted-text);
}
.cc-modal__links a { color: var(--color-accent); text-decoration: underline; }

/* Footer-Link "Cookie-Einstellungen" */
.cc-footer-link {
  color: inherit;
  text-decoration: none;
  padding: 0;
  font-size: inherit;
}
.cc-footer-link:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .cc-banner { flex-direction: column; gap: 12px; padding: 18px; bottom: 12px; left: 12px; right: 12px; }
  .cc-banner__actions .cc-btn--primary,
  .cc-banner__actions .cc-btn--secondary { flex: 1 1 100%; }
  .cc-banner__actions .cc-btn--link { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; aspect-ratio: 16/11; }
  .contact .container { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile-Menü ausgeklappt */
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px;
    gap: 4px;
  }
  .site-header.open .nav-links a { padding: 14px; }
  .site-header.open .nav-cta {
    display: flex; flex-direction: column;
    position: absolute;
    top: calc(var(--nav-h) + 1px); left: 0; right: 0;
    transform: translateY(232px);
    background: var(--color-surface);
    padding: 0 12px 14px;
    gap: 10px;
  }
  .site-header.open .nav-cta .btn { width: 100%; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .social-card { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .social-card__cta { margin-left: 0; width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
