/* ==========================================================================
   Kamper Clean – Gemeinsames Stylesheet (alle Seiten)
   Marke: #58267A (Lila/Violett) · Inter · helles Lila-Grau
   ========================================================================== */

/* Schrift selbst gehostet (woff2 in /fonts) – keine Google-Anfrage, DSGVO-freundlich */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800.woff2') format('woff2');
}

:root, [data-theme="light"] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.2rem);
  --text-2xl: clamp(2.25rem, 1.25rem + 3.2vw, 4.4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --color-bg: #f7f5fa;
  --color-surface: #ffffff;
  --color-surface-2: #f2edf7;
  --color-surface-offset: #ece5f3;
  --color-border: rgba(34, 20, 43, 0.12);
  --color-divider: rgba(34, 20, 43, 0.08);
  --color-text: #1e1724;
  --color-text-muted: #61546d;
  --color-text-faint: #8d8297;
  --color-primary: #58267A;
  --color-primary-hover: #471f63;
  --color-primary-active: #38184e;
  --color-primary-soft: #efe7f5;
  --color-text-inverse: #ffffff;
  --radius-sm: 0.5rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 6px 18px rgba(41, 23, 54, 0.06);
  --shadow-md: 0 16px 40px rgba(41, 23, 54, 0.11);
  --shadow-lg: 0 24px 60px rgba(41, 23, 54, 0.14);
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content: 1180px;
  --font-body: 'Inter', Arial, sans-serif;
  --font-display: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #fbf9fd 0%, #f5f1f9 100%);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}
.section {
  padding: clamp(var(--space-12), 7vw, var(--space-24)) 0;
}
.section--tight { padding: clamp(var(--space-10), 5vw, var(--space-16)) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title {
  font-size: var(--text-xl);
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-title--mt { margin-top: var(--space-5); }
.section-copy {
  max-width: 62ch;
  color: var(--color-text-muted);
  margin: 0;
}
.lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; }
.prose p { color: var(--color-text-muted); max-width: 68ch; }
.prose h2 { font-size: var(--text-lg); margin: var(--space-10) 0 var(--space-3); letter-spacing: -0.02em; }
.prose h3 { font-size: var(--text-base); font-weight: 700; margin: var(--space-6) 0 var(--space-2); }
.prose ul { padding-left: 1.2rem; color: var(--color-text-muted); }
.prose ul li { margin-bottom: 0.4rem; }
.prose a:not(.btn) { color: var(--color-primary); font-weight: 600; }
.prose a:not(.btn):hover { color: var(--color-primary-hover); }

/* ---------- Topbar / Navigation ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(251, 249, 253, 0.86);
  border-bottom: 1px solid var(--color-divider);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.brand img {
  width: 124px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.25rem;
}
.brand-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
}
.brand-text span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.nav {
  display: none;
  gap: 1.1rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: center;
}
.nav a { padding: 0.35rem 0; position: relative; }
.nav a:hover { color: var(--color-primary); }
.nav a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  gap: 0.1rem;
}
/* Unsichtbare Hover-Bruecke ueberbrueckt die optische Luecke (margin-top),
   damit das Dropdown beim langsamen Hinuebergehen nicht zuklappt. */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.6rem;
  display: none;
}
.nav-item:hover::after,
.nav-item:focus-within::after { display: block; }
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu { display: flex; }
.nav-menu a {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
}
.nav-menu a:hover { background: var(--color-primary-soft); color: var(--color-primary); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  border-color: rgba(88, 38, 122, 0.22);
  color: var(--color-primary);
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  color: var(--color-text);
}
.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  /* startet direkt unter der Topbar; --topbar-h wird per JS gesetzt, Fallback 64px.
     Höhe viewport-bezogen (dvh), da die Topbar wegen backdrop-filter ein eigener
     Containing Block ist und "bottom:0" sonst an der Topbar-Unterkante endet. */
  top: 100%;
  height: calc(100dvh - var(--topbar-h, 64px));
  z-index: 25;
  border-bottom: 1px solid var(--color-divider);
  /* deckend, damit der Seiteninhalt nicht durchscheint */
  background: var(--color-bg, #f7f5fa);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open { display: block; }
/* Hintergrund-Scroll sperren, wenn das mobile Menü offen ist */
body.nav-open { overflow: hidden; }
/* unten genug Platz, damit die letzten Links nicht hinter der Mobile-Bar liegen */
.mobile-nav .container {
  padding-top: 0.5rem;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text);
  font-size: var(--text-sm);
}
.mobile-nav a.sub { padding-left: 1.25rem; color: var(--color-text-muted); }
.mobile-nav a.group-label { font-weight: 800; color: var(--color-primary); border-bottom: none; padding-bottom: 0.25rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--color-text-faint); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb [aria-current="page"] { color: var(--color-text); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 var(--space-16);
}
.hero-grid {
  display: grid;
  gap: var(--space-10);
  align-items: start;
  overflow: hidden;
}
.hero-copy { min-width: 0; }
.hero-copy h1 {
  font-size: var(--text-2xl);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: var(--space-5) 0 var(--space-5);
  font-weight: 800;
  max-width: 14ch;
}
.hero-copy p {
  margin: 0 0 var(--space-6);
  max-width: 52ch;
  color: var(--color-text-muted);
}
.hero-points {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--color-text);
  font-size: var(--text-sm);
}
.hero-points i,
.mini-check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: var(--space-8);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.meta-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.meta-card strong {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.2rem;
}
.meta-card span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  align-self: start;
  margin-left: 0;
}
.hero-photo-wrap {
  position: relative;
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(88, 38, 122, 0.12);
}
.floating-card strong { display: block; margin-bottom: 0.3rem; }
.floating-card span { color: var(--color-text-muted); font-size: var(--text-sm); }

/* Compact page hero (subpages) */
.page-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.page-hero h1 {
  font-size: var(--text-xl);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: var(--space-4) 0 var(--space-4);
  max-width: 20ch;
}
.page-hero p { color: var(--color-text-muted); max-width: 60ch; margin: 0 0 var(--space-6); }

/* ---------- Strip cards ---------- */
.strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--space-10);
}
.strip-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.strip-card strong { display: block; margin-bottom: 0.3rem; }
.strip-card span { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: var(--space-10);
}
/* Zwei-Kachel-Variante (Startseite): immer max. 2 Spalten, zentriert */
.services-grid--duo { max-width: 880px; margin-left: auto; margin-right: auto; }
.service-card {
  background: var(--color-surface);
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface-offset);
}
.service-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
.service-body h3 {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.15;
}
.service-body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.service-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card:hover .service-link { gap: 0.6rem; }

/* ---------- Split / Panel ---------- */
.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.benefits {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-6);
}
.benefit {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.9rem;
  align-items: start;
}
.benefit strong { display: block; margin-bottom: 0.15rem; }
.benefit span { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- About ---------- */
.about-card {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface-offset);
  box-shadow: var(--shadow-md);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: var(--space-6);
}
.stat {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-primary-soft);
  border: 1px solid rgba(88, 38, 122, 0.12);
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  color: var(--color-primary);
}
.stat span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-8);
}
.step {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: var(--text-sm);
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.step h3 { margin: 0 0 0.45rem; font-size: var(--text-lg); }
.step p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Feature list (detail pages) ---------- */
.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--color-text);
  font-size: var(--text-sm);
}
.feature-list i {
  width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-style: normal; font-weight: 800; font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; margin-top: var(--space-8); }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.4rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.7rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 0.9rem; color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Area / local SEO ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.6rem;
  margin-top: var(--space-6);
}
.area-chip {
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  text-align: center;
}
.map-wrap {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Google Maps: Klick-zum-Laden (datenschutzkonform) ---------- */
.map-consent {
  /*margin-top: var(--space-8);*/
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(160deg, rgba(88, 38, 122, 0.92) 0%, rgba(40, 16, 58, 0.94) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 45%);
  color: #fff;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8) var(--space-6);
}
.map-consent-inner {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.map-consent-inner svg { color: #fff; opacity: 0.92; margin-bottom: var(--space-1); }
.map-consent-title {
  margin: 0;
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
}
.map-consent-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.map-consent-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.map-consent-text a:hover { color: rgba(255, 255, 255, 0.8); }
.map-consent-btn {
  margin-top: var(--space-3);
  background: #fff;
  color: var(--color-primary);
}
.map-consent-btn:hover { background: #f3e9fa; color: var(--color-primary); }
.map-consent iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Related services ---------- */
.related {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-8);
}
.related-card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-card strong { font-size: var(--text-base); }
.related-card span { color: var(--color-text-muted); font-size: var(--text-sm); }
.related-card .service-link { margin-top: 0.3rem; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: var(--space-12);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { margin: 0 0 0.6rem; font-size: var(--text-xl); letter-spacing: -0.03em; }
.cta-band p { margin: 0 0 var(--space-6); color: rgba(255,255,255,0.86); max-width: 56ch; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); }
.cta-band .btn-primary:hover { background: #f3e9fa; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-secondary:hover { border-color: #fff; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-8);
}
.contact-card {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact-card strong { display: block; margin-bottom: 0.4rem; }
.contact-card span,
.contact-card a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
.contact-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Blog ---------- */
/* Such- & Filterleiste */
.blog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-6);
}
.blog-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 16rem;
  min-width: 14rem;
  max-width: 24rem;
}
.blog-search svg {
  position: absolute;
  left: 0.95rem;
  color: var(--color-text-faint);
  pointer-events: none;
}
.blog-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-search input::placeholder { color: var(--color-text-faint); }
.blog-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-filter {
  padding: 0.55rem 1.05rem;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.blog-filter:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.blog-filter.is-active {
  color: var(--color-text-inverse);
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.blog-noresults {
  margin-top: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
@media (max-width: 640px) {
  .blog-tools { flex-direction: column; align-items: stretch; }
  .blog-search { max-width: none; }
}
.blog-grid { display: grid; gap: 1.15rem; margin-top: var(--space-10); }
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-surface-offset); }
.blog-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-tag { font-size: var(--text-xs); font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.04em; }
.blog-body h3 { margin: 0; font-size: var(--text-lg); line-height: 1.2; }
.blog-body p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.blog-body .service-link { margin-top: auto; }
/* Ganze Karte klickbar */
.blog-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.blog-card-link:hover .blog-body h3 { color: var(--color-primary); }
/* Ausgeblendete Elemente (Suche/Filter) sicher verstecken –
   sticht display:flex der Karten aus */
[hidden] { display: none !important; }

/* ---------- Blog-Artikel (Einzelseite) ---------- */
.container--narrow { max-width: 760px; }
.article { padding-top: var(--space-10); }
.article-head { margin-bottom: var(--space-6); }
.article-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 0;
}
.article-date {
  display: block;
  margin-top: var(--space-3);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}
.article-cover {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 1.4rem;
  background: var(--color-surface-offset);
  margin-bottom: var(--space-8);
}
.article .prose { font-size: var(--text-base); }
.article .prose p { max-width: none; }
.prose ol { padding-left: 1.2rem; color: var(--color-text-muted); }
.prose ol li { margin-bottom: 0.4rem; }
.prose h4 { font-size: var(--text-base); font-weight: 700; margin: var(--space-5) 0 var(--space-2); }
.prose strong { color: var(--color-text); }
.prose em { font-style: italic; }
.prose a:not(.btn) { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):hover { opacity: 0.8; }
.prose img { max-width: 100%; height: auto; border-radius: 1rem; margin: var(--space-6) 0; }
.article-back { margin-top: var(--space-10); }

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-12) 0 6rem;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-12);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-col strong { color: var(--color-text); font-size: var(--text-sm); display: block; margin-bottom: 0.6rem; }
.footer-col a, .footer-col span { display: block; color: var(--color-text-muted); margin-bottom: 0.35rem; font-size: var(--text-sm); }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-divider); padding-top: 1.25rem; display: grid; gap: 0.5rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}
.footer-legal a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.footer-legal a:hover { color: var(--color-primary); }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(251, 249, 253, 0.95);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--color-divider);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.mobile-bar .btn { min-height: 52px; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 4rem; }
  .split,
  .about-card { grid-template-columns: 1.05fr 0.95fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
  .cta-band > div { flex: 1; min-width: 280px; }
  .cta-band .cta-actions { margin: 0; }
  .mobile-bar { display: none; }
}

@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr); gap: 4.5rem; }
  .hero-copy p { max-width: 48ch; }
  .hero-visual { max-width: 460px; justify-self: end; }
}

@media (max-width: 767px) {
  /* Anrufen & WhatsApp oben ausblenden – die untere Mobile-Bar deckt das ab,
     so bleibt die Topbar kompakt (nur Logo + Menü-Button). */
  .top-actions .btn { display: none; }
  .top-actions .nav-toggle { display: inline-grid; }
  .brand img { width: 96px; height: 60px; }
  .floating-card { position: static; margin-top: 1rem; }
  .strip-card { word-break: break-word; overflow-wrap: anywhere; }
  .hero-copy h1 { line-height: 1.15; max-width: 16ch; }
  .page-hero h1 { line-height: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* === Blog-Artikel (PHP-CMS) === */
.article-container { max-width: 760px; margin: 0 auto; }
.article-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 16px);
  margin-bottom: var(--space-6, 1.5rem);
  display: block;
}
.post-meta { color: var(--color-text-muted); font-size: var(--text-sm); }
.prose blockquote {
  border-left: 3px solid var(--color-primary);
  margin: var(--space-5, 1.25rem) 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  color: var(--color-text-muted);
  font-style: italic;
}
.prose ol { padding-left: 1.2rem; color: var(--color-text-muted); }
.prose ol li { margin-bottom: 0.4rem; }
.prose strong { color: var(--color-text); }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: var(--color-primary); }
.blog-card > a { display: block; }
