/* =========================================================
   Hausmeistereins GmbH - Hausmeisterservice Leipzig
   Design System
   ========================================================= */

:root {
  /* Brand blues (Kobaltblau RAL 5013) - Variablennamen beibehalten */
  --green-800: #003c62;   /* Hauptfarbe: Dunkelblau, Hero, Nav, Footer */
  --green-700: #005f91;   /* dunkler: Hover, Akzente */
  --green-600: #1f3855;   /* Kobaltblau: Links, Eyebrow, Hover */
  --green-500: #244a74;   /* primary */
  --green-450: #3f5e86;
  --green-400: #5e789a;
  --green-200: #bacad9;
  --green-100: #e3ebf3;
  --green-50:  #f2f6fa;

  /* Akzent: Mint/Türkis */
  --mustard:     #4DBFA3;
  --mustard-600: #3da48a;

  /* Neutrals (kühl, leicht blaugrau) */
  --ink:    #16202a;
  --ink-2:  #2c3a48;
  --muted:  #5a6b7b;
  --muted-2:#8793a1;
  --bg:     #fafbfd;
  --surface:#ffffff;
  --surface-2:#f1f5f9;
  --border: #e3e8ef;
  --border-2:#d1dae3;

  /* Accent for stars / ratings only */
  --gold: #e0a32e;

  /* Type */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22,38,60,.06), 0 2px 6px rgba(22,38,60,.05);
  --shadow: 0 6px 20px rgba(22,38,60,.08), 0 2px 6px rgba(22,38,60,.05);
  --shadow-lg: 0 24px 60px rgba(20,42,72,.16);

  --space-section: clamp(64px, 8vw, 120px);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 4px; }

/* ---------------- Layout helpers ---------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section--tint { background: var(--green-50); }
.section--dark { background: var(--green-800); color: #dce6f0; }
.section--soft { background: linear-gradient(180deg, #eef3f9 0%, #f5f8fc 100%); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-450); border-radius: 2px; }
.section--dark .eyebrow { color: var(--green-200); }
.section--dark .eyebrow::before { background: var(--green-200); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.section--dark .section-head p { color: #bccbdb; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--mustard); color: #fff; box-shadow: 0 8px 20px rgba(77,191,163,.30); }
.btn-primary:hover { background: var(--mustard-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(77,191,163,.38); }
.btn-ghost { background: transparent; color: var(--green-700); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--green-450); color: var(--green-600); background: var(--green-50); }
.btn-white { background: #fff; color: var(--green-700); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: #003c62;
  color: #cdd9e6;
  font-size: 14.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: center; min-height: 44px; gap: 18px; }
.topbar a { color: #cdd9e6; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: none; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; opacity: .85; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a svg { width: 17px; height: 17px; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; flex-wrap: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 16px; color: var(--ink-2);
  background: transparent; border: none;
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-trigger:hover, .nav-links > li > a.active { color: var(--green-600); background: var(--green-50); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 10px; transition: background .18s;
}
.dropdown a:hover { background: var(--green-50); }
.dropdown .di-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: var(--green-100); color: var(--green-600);
}
.dropdown .di-ico svg { width: 20px; height: 20px; }
.dropdown .di-t { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.dropdown .di-d { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* Brand / logo */
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand-logo { height: 30px; width: auto; display: block; flex: 0 0 auto; max-width: 100%; }
.footer-brand .brand-logo { height: 34px; }
.mm-head .brand-logo { height: 28px; }

/* Mobile */
.nav-toggle { display: none; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border-2); background: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--green-800); color: #dde7f1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(0,60,98,.42), transparent 62%),
    linear-gradient(100deg, rgba(0,30,52,.94) 0%, rgba(0,45,74,.86) 34%, rgba(0,55,90,.66) 64%, rgba(0,60,98,.42) 100%);
}
.hero .container { position: relative; z-index: 2; display: block; padding-block: clamp(72px, 9vw, 128px); }
.hero-text { max-width: 800px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 24px rgba(6,20,12,.28), inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 15px; font-weight: 600; color: #f3faf5; letter-spacing: .005em;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero-badge:hover { transform: translateY(-3px); border-color: rgba(143,227,177,.5); box-shadow: 0 14px 32px rgba(6,20,12,.36), inset 0 1px 0 rgba(255,255,255,.22); }
.hero-badge .hb-ico {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(143,227,177,.32), rgba(143,227,177,.12));
  border: 1px solid rgba(143,227,177,.4);
  color: #a6efc4;
}
.hero-badge .hb-ico svg { width: 18px; height: 18px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .03em; color: #cfdcea;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4DBFA3; box-shadow: 0 0 0 4px rgba(77,191,163,.30); }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; margin-top: 22px; }
.hero h1 .hl { color: #4DBFA3; }
.hero-lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: #c6d4e4; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 38px; }
.hero-trust .ht {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-trust .ht b { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; line-height: 1; display: inline-flex; align-items: baseline; }
.hero-trust .ht b .plus { color: var(--mustard); margin-left: 1px; -webkit-text-fill-color: var(--mustard); }
.hero-trust .ht b[style] { color: #4DBFA3 !important; -webkit-text-fill-color: #4DBFA3 !important; }
.hero-trust .ht b .num, .hero-trust .ht b .plus { font-size: inherit; line-height: inherit; }
.hero-trust .ht .num { font-variant-numeric: tabular-nums; }
.hero-trust .ht span { font-size: 14px; color: #aebed0; }

.hero-visual { position: relative; }
.hero-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-card .hc-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex: 0 0 auto; }
.hero-card .hc-ico svg { width: 22px; height: 22px; }
.hero-card b { font-family: var(--font-display); font-size: 15px; display: block; }
.hero-card span { font-size: 13px; color: var(--muted); }
.hero-card.c1 { top: 22px; left: -10px; }
.hero-card.c2 { bottom: 26px; right: -8px; }

/* ---------------- Image placeholders ---------------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--green-100), var(--green-100) 14px, var(--green-50) 14px, var(--green-50) 28px);
  border: 1px solid var(--border);
  display: grid; place-items: center; min-height: 220px; color: var(--green-700);
}
.ph::after {
  content: attr(data-label);
  font-family: "Public Sans", monospace;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  background: rgba(255,255,255,.82); color: var(--green-700);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
}
.ph.dark {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.08) 14px, rgba(255,255,255,.03) 14px, rgba(255,255,255,.03) 28px);
  border-color: rgba(255,255,255,.16);
}
.ph.dark::after { background: rgba(22,38,60,.55); color: #dde7f1; border-color: rgba(255,255,255,.2); }
.ph-tall { min-height: 460px; }
.ph-hero { min-height: 420px; aspect-ratio: 4/5; }

/* ---------------- Stats strip ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 18px; }
.stat b { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); font-weight: 800; color: var(--green-600); line-height: 1; display: block; }
.stat span { display: block; margin-top: 10px; font-size: 15.5px; color: var(--muted); font-weight: 500; }

/* ---------------- Service cards ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; height: 100%;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }
.svc-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 20px; }
.svc-ico svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 22px; margin-bottom: 12px; }
.svc-card > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.svc-list li svg { width: 18px; height: 18px; color: var(--green-450); flex: 0 0 auto; margin-top: 3px; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--green-600); margin-top: auto; }
.svc-more svg { width: 17px; height: 17px; transition: transform .2s; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ---------------- Feature / benefits ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }
.feat-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; border: none; }
.feat-ico svg { width: 27px; height: 27px; }
.feat h3 { font-size: 20px; }
.feat p { color: var(--muted); font-size: 16px; }

/* ---------------- Split (about / owner) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--owner { grid-template-columns: 320px 1fr; gap: 48px; }
.split.reverse .split-media { order: 2; }
.split-body h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 16px; }
.split-body > p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.check-list li svg { width: 22px; height: 22px; color: var(--green-500); flex: 0 0 auto; margin-top: 2px; }

/* Owner card */
.owner-card { position: relative; width: 100%; max-width: 340px; }
.owner-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lg); }
.owner-badge {
  position: absolute; right: -10px; bottom: -28px;
  background: var(--green-500); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 230px;
}
.owner-badge b { font-family: var(--font-display); font-size: 17px; display: block; }
.owner-badge span { font-size: 13.5px; color: #cfe0f0; }
.signature { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 26px; color: var(--green-700); margin-top: 30px; line-height: 1.2; }
.sig-name { display: block; font-size: 15px; color: var(--muted); font-style: normal; font-weight: 500; margin-top: 8px; }

/* ---------------- Steps / Ablauf ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-500); color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 2px;
  background: linear-gradient(90deg, var(--green-200), transparent);
}

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 19px; height: 19px; color: var(--gold); }
.testi blockquote { font-size: 17px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: 0 0 auto; }
.testi-author b { font-family: var(--font-display); font-size: 15.5px; display: block; }
.testi-author span { font-size: 13.5px; color: var(--muted); }
.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 13.5px; color: var(--muted); background: var(--surface-2);
  border: 1px dashed var(--border-2); border-radius: 999px; padding: 8px 16px;
}
.placeholder-note svg { width: 15px; height: 15px; color: var(--green-450); }

/* ---------------- Gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; display: block; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 20px 16px; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .005em;
  background: linear-gradient(transparent, rgba(7,22,14,.82));
}
.gallery-cap::after { content: ""; display: inline-block; width: 18px; height: 2px; background: #5fe0a0; margin-left: 10px; vertical-align: middle; transition: width .25s ease; }
.gallery-item:hover .gallery-cap::after { width: 34px; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------------- Area chips ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.section--dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: #dce6f2; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: #fff; border: 2px solid #3da48a; border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { border-color: #3da48a; box-shadow: 0 4px 20px rgba(61,164,138,.18); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 18.5px; color: var(--ink);
}
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: #4DBFA3; border-radius: 2px; transition: transform .25s; }
.faq-q .pm::before { top: 50%; left: 4px; right: 4px; height: 2.5px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 4px; bottom: 4px; width: 2.5px; transform: translateX(-50%); }
.faq-item.open .faq-q .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 18px 26px 30px; color: var(--muted); font-size: 16.5px; border-top: 1px solid #3da48a; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ci-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ci-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex: 0 0 auto; }
.ci-ico svg { width: 22px; height: 22px; }
.ci-row b { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 3px; }
.ci-row a, .ci-row span { color: var(--muted); font-size: 16px; }
.ci-row a:hover { color: var(--green-600); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--green-500); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--border-2); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-450); box-shadow: 0 0 0 4px rgba(31,56,85,.16); background: #fff;
}
.field .err-msg { font-size: 13px; color: #c0392b; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d66; }
.field.invalid .err-msg { display: block; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.check-field input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--green-500); }
.check-field a { color: var(--green-600); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .fs-ico { width: 66px; height: 66px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-ico svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------------- Page hero (subpages) ---------------- */
.page-hero { background: var(--green-800); color: #dde7f1; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: 0; }
.page-hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(0,30,52,.94) 0%, rgba(0,45,74,.86) 42%, rgba(0,55,90,.62) 74%, rgba(0,60,98,.40) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(800px 400px at 85% -20%, rgba(0,60,98,.40), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(56px, 7vw, 96px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: #aac0d6; margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; max-width: 760px; }
.page-hero .lead { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: #c6d4e4; max-width: 640px; }
.page-hero .hero-cta { margin-top: 30px; }

/* Prose (article content on subpages) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 0; }
.prose h3 { font-size: 22px; margin-top: 36px; margin-bottom: 12px; }
.prose p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.prose ul.dotted { display: grid; gap: 12px; margin-top: 20px; }
.prose ul.dotted li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--ink-2); }
.prose ul.dotted li svg { width: 22px; height: 22px; color: var(--green-500); flex: 0 0 auto; margin-top: 1px; }

.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.aside-card h3 { font-size: 20px; margin-bottom: 8px; }
.aside-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 20px; }
.aside-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.aside-list a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: background .18s, color .18s; }
.aside-list a:hover, .aside-list a.active { background: var(--green-50); color: var(--green-700); }
.aside-list a svg { width: 18px; height: 18px; color: var(--green-450); flex: 0 0 auto; }

/* ---------------- CTA band ---------------- */
.cta-band { background: #003c62; color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -40%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 700px; margin-inline: auto; }
.cta-band p { color: #cfe0f0; font-size: 19px; margin-top: 16px; max-width: 560px; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #003c62; color: #b4c4d6; padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: 15.5px; color: #a2b6ca; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #c6d4e4; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--green-500); color: #fff; transform: translateY(-2px); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 16px; font-family: var(--font-display); margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 15px; color: #a2b6ca; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 4px; color: #6f9bc8; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: #8b9db4; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------------- Floating Call button ---------------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #16293f; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(22,41,63,.45); transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 32px; height: 32px; }

/* ---------------- Legal pages ---------------- */
.legal { max-width: 820px; }
.legal .fill { background: var(--green-50); border: 1px dashed var(--green-200); color: var(--green-700); border-radius: 6px; padding: 1px 10px; font-weight: 600; font-family: "Public Sans", monospace; font-size: .92em; }
.legal-note { display: flex; gap: 14px; align-items: flex-start; background: #fff8ec; border: 1px solid #f0dcae; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; }
.legal-note svg { width: 24px; height: 24px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.legal-note b { font-family: var(--font-display); display: block; margin-bottom: 4px; color: var(--ink); }
.legal-note p { font-size: 15.5px; color: var(--ink-2); }
.legal h2 { font-size: 24px; margin-top: 44px; margin-bottom: 12px; }
.legal h3 { font-size: 19px; margin-top: 26px; margin-bottom: 8px; }
.legal p { color: var(--ink-2); font-size: 16.5px; margin-top: 12px; }
.legal ul.bullets { list-style: disc; padding-left: 22px; margin-top: 12px; color: var(--ink-2); }
.legal ul.bullets li { margin-top: 8px; font-size: 16.5px; }
.legal-meta { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal-hint { display: flex; gap: 14px; align-items: flex-start; background: #eef4fb; border: 1px solid #c9dcf0; border-radius: var(--radius); padding: 16px 20px; margin-top: 18px; }
.legal-hint svg { width: 20px; height: 20px; color: #2e74b5; flex: 0 0 auto; margin-top: 3px; }
.legal-hint p { margin: 0; font-size: 15.5px; color: #284766; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------- Google Maps Einbettung ---------------- */
.map-embed {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow); background: var(--surface-2);
}
.map-embed iframe { filter: grayscale(.12) contrast(1.02); transition: filter .3s ease; }
.map-embed:hover iframe { filter: none; }
.map-embed .map-open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-500); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow);
  pointer-events: none; transition: transform .2s ease, background .2s ease;
}
.map-embed .map-open::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.5 7-11a7 7 0 1 0-14 0c0 5.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.5 7-11a7 7 0 1 0-14 0c0 5.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.map-embed:hover .map-open { transform: translateY(-2px); background: var(--green-600); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--owner { grid-template-columns: 260px 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .layout-2col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .svc-grid, .feat-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 960px) {
  .nav-links, .topbar-left .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-phone { display: none; }
  .mobile-menu { display: block; }
  .topbar .container { justify-content: center; gap: 16px; }
  .topbar-item span { white-space: nowrap; }
  .nav { min-height: 66px; gap: 10px; }
  .nav-actions { flex: 0 0 auto; }
  .brand-logo { height: 28px; }
}
@media (max-width: 540px) {
  /* Im Header nur noch das Logo + Menue Button, der CTA steckt im Menue */
  .nav-actions .btn-primary { display: none; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .container { padding-inline: 18px; }
  .split--owner { grid-template-columns: 1fr; gap: 28px; }
  .split--owner .owner-card { max-width: 300px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .hero-trust .ht b { font-size: 26px; }
  .svc-grid, .feat-grid, .testi-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { display: none; }
  .topbar-left { gap: 14px; }
  .owner-badge { right: 12px; bottom: 14px; padding: 14px 18px; }
  .owner-badge b { font-size: 16px; }
  /* CTA Buttons voll und gut tippbar */
  .hero-cta { width: 100%; gap: 12px; }
  .hero-cta .btn { width: 100%; flex: 1 1 100%; }
  .cta-band .hero-cta { width: 100%; }
  .section-head { margin-bottom: 36px; }
  .svc-card, .testi { padding: 26px 22px; }
  .form-card { padding: 26px 20px; }
  .faq-q { padding: 18px 20px; font-size: 17px; }
  .faq-a-inner { padding: 0 20px 20px; }
  .ci-row { padding: 16px 0; }
  .page-hero .hero-cta .btn, .page-hero .hero-cta { width: 100%; }
  .map-embed iframe { height: 320px; }
  .fab-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .fab-wa svg { width: 28px; height: 28px; }
}
@media (max-width: 420px) {
  .topbar { font-size: 12.5px; }
  .topbar .container { gap: 12px; }
  .topbar-social { gap: 11px; }
  .topbar-item svg { width: 14px; height: 14px; }
  .mm-panel { padding: 20px 18px; width: min(340px, 92vw); }
  .mm-head .brand-sub { display: none; }
  .brand .logo-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10.5px; }
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 17px; }
  .section-head h2 { font-size: 27px; }
  .stat b { font-size: 34px; }
  .chips { gap: 8px; }
  .chip { padding: 8px 13px; font-size: 14px; }
}

/* ---------------- Mobile menu ---------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(18,40,28,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s;
  overflow: hidden;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: #fff; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mm-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-2); background: #fff; display: grid; place-items: center; }
.mm-close svg { width: 24px; height: 24px; }
.mm-links { display: flex; flex-direction: column; gap: 2px; }
.mm-links > a, .mm-acc-trigger { padding: 14px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; background: none; border: none; width: 100%; text-align: left; }
.mm-links > a:hover, .mm-acc-trigger:hover { background: var(--green-50); }
.mm-acc-trigger svg { width: 20px; height: 20px; transition: transform .2s; }
.mm-acc.open .mm-acc-trigger svg { transform: rotate(180deg); }
.mm-sub { max-height: 0; overflow: hidden; transition: max-height .3s; }
.mm-acc.open .mm-sub { max-height: 600px; }
.mm-sub a { display: block; padding: 11px 12px 11px 24px; font-size: 16px; color: var(--muted); border-radius: 8px; }
.mm-sub a:hover { background: var(--green-50); color: var(--green-700); }
.mm-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------------- Cookie Einwilligung ---------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: flex; justify-content: center; padding: 18px;
  pointer-events: none;
}
.cookie-card {
  pointer-events: auto;
  width: 100%; max-width: 920px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  display: flex; flex-direction: column;
  transform: translateY(140%); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
  border-top: 4px solid var(--green-500);
}
.cookie-banner.show .cookie-card { transform: none; opacity: 1; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h3 { font-size: 19px; margin-bottom: 6px; }
.cookie-text p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cookie-text a { color: var(--green-600); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-actions .btn { padding: 13px 22px; font-size: 15px; }

/* Cookie Einstellungen (zweite Ebene) */
.cookie-main { display: flex; align-items: center; gap: 28px; }
.cookie-settings { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-cat-head b { font-family: var(--font-display); font-size: 16px; }
.cookie-cat p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.cookie-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; display: inline-block; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: var(--border-2); border-radius: 26px; transition: background .2s; }
.cookie-slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cookie-switch input:checked + .cookie-slider { background: var(--green-500); }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-switch.is-fixed { cursor: not-allowed; opacity: .7; }
.cookie-settings-actions { display: flex; justify-content: flex-end; }
.cookie-settings-actions .btn { padding: 12px 22px; font-size: 15px; }

/* Karten Platzhalter, solange keine Zustimmung vorliegt */
.map-consent {
  position: absolute; inset: 0; z-index: 3;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 28px;
  background: var(--green-50);
}
.map-consent svg { width: 40px; height: 40px; color: var(--green-500); }
.map-consent p { font-size: 15.5px; color: var(--ink-2); max-width: 420px; }
.map-consent a { color: var(--green-600); text-decoration: underline; }

@media (max-width: 720px) {
  .cookie-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
  .cookie-main { flex-direction: column; align-items: stretch; gap: 18px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
  .cookie-settings-actions .btn { width: 100%; }
}
