/* =====================================================================
   H2O Pure Service – Trinkwasser-Risikoabschätzung
   Design-System & Styles
   Entwickelt von XpertSolution – www.xpertsolution.de
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Design Tokens                                                     */
/* ------------------------------------------------------------------ */
:root {
  /* Farben – "Reines Trinkwasser" */
  --navy-900: #06232e;
  --navy-800: #0a2e3d;
  --navy-700: #0e3a4d;
  --petrol-600: #0f5d78;
  --petrol-500: #12718f;
  --aqua-500: #0bb4c9;
  --aqua-400: #22c8dc;
  --aqua-300: #62dcec;
  --mint-400: #34d3a6;
  --ink: #0b1f28;
  --slate-700: #3a4b54;
  --slate-500: #5f7078;
  --slate-400: #8798a0;
  --line: #e2ebef;
  --surface: #ffffff;
  --surface-2: #f4f9fb;
  --surface-3: #eaf4f7;
  --cloud: #f8fbfc;

  /* Akzent / Signal */
  --accent: var(--aqua-500);
  --accent-strong: #089aad;
  --success: #1eae7d;
  --warning: #e0a92e;

  /* Typo */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 2px 8px rgba(10, 46, 61, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(10, 46, 61, 0.18);
  --shadow-lg: 0 40px 80px -24px rgba(10, 46, 61, 0.28);
  --shadow-glow: 0 20px 60px -18px rgba(11, 180, 201, 0.45);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  /* Verhindert seitliches Wischen/weiße Ränder auf Mobilgeräten –
     muss auf html UND body liegen, sonst kann der Viewport selbst pannen */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17px);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--aqua-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--aqua-300); color: var(--navy-900); }

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

.section {
  padding-block: clamp(64px, 9vw, 128px);
  position: relative;
}
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol-500);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-top: 16px;
}
.section-lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--slate-500);
  max-width: 62ch;
}
.section-head--center .section-lead { margin-inline: auto; }

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

/* ------------------------------------------------------------------ */
/* 4. Buttons                                                          */
/* ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(120deg, var(--aqua-500), var(--petrol-500));
}
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy-800);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--aqua-400); }
.btn--white-outline {
  --btn-bg: transparent; --btn-fg: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.btn--white-outline:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.btn--wa { background: #25d366; --btn-fg: #063; color:#053d20; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ------------------------------------------------------------------ */
/* 5. Header / Navigation                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
  z-index: -1;
}
.site-header.scrolled { height: 66px; }
.site-header.scrolled::before {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(10,46,61,.08), var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  white-space: nowrap;
}
.brand__name sub { font-size: 0.62em; font-weight: 800; }
.brand__name b { color: var(--accent-strong); font-weight: 800; }
.brand__tag {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-top: 4px;
  font-weight: 600;
}
.scrolled .brand__mark { width: 38px; height: 38px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--slate-700);
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
  position: relative;
}
.nav__links a:hover { color: var(--navy-900); background: var(--surface-3); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--navy-800);
  font-size: 0.98rem;
  padding: 8px 6px;
}
.nav__phone svg { width: 20px; height: 20px; color: var(--accent-strong); }
.nav__phone:hover { color: var(--accent-strong); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--surface-3);
  position: relative;
  z-index: 2;
}
.nav__toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header-Text: hell über dunklem Hero (oben & Menü geschlossen), dunkel bei Scroll */
body:not(.nav-open) .site-header:not(.scrolled) .brand__name { color: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .brand__name b { color: var(--aqua-300); }
body:not(.nav-open) .site-header:not(.scrolled) .brand__tag { color: rgba(255,255,255,.6); }
body:not(.nav-open) .site-header:not(.scrolled) .nav__links a { color: rgba(255,255,255,.86); }
body:not(.nav-open) .site-header:not(.scrolled) .nav__links a:hover { color: #fff; background: rgba(255,255,255,.12); }
body:not(.nav-open) .site-header:not(.scrolled) .nav__phone { color: #fff; }
body:not(.nav-open) .site-header:not(.scrolled) .nav__phone svg { color: var(--aqua-300); }
body:not(.nav-open) .site-header:not(.scrolled) .nav__toggle { background: rgba(255,255,255,.16); }
body:not(.nav-open) .site-header:not(.scrolled) .nav__toggle span { background: #fff; }

/* Bei geöffnetem Mobil-Menü: Header wie gescrollt (weißer Balken, dunkle Schrift) */
body.nav-open .site-header::before {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(10,46,61,.08), var(--shadow-sm);
}

/* ------------------------------------------------------------------ */
/* 6. Hero                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(60px, 8vw, 120px);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(11,180,201,.16), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #eaf6f9;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 0.86rem;
  font-weight: 600;
  color: #cdeef4;
  backdrop-filter: blur(6px);
}
.hero__pill b {
  background: var(--accent);
  color: var(--navy-900);
  font-size: 0.7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 800;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  margin-top: 22px;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--aqua-300), var(--mint-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: #b6d6df;
  max-width: 54ch;
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: #cfe6ec;
  font-weight: 500;
}
.hero__trust svg { width: 19px; height: 19px; color: var(--mint-400); flex: none; }

/* Hero-Visual */
.hero__visual { position: relative; }
.hero__card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 34px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.hero__card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 80% 0%, rgba(11,180,201,.25), transparent 60%);
  pointer-events: none;
}
.hero-drop { width: 100%; height: auto; }
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
  background: linear-gradient(150deg, var(--petrol-600), var(--navy-800));
}
.hero__meta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}
.hero__meta div {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__meta span { font-size: 0.74rem; color: #9fc3cd; letter-spacing: .03em; }

.hero__float {
  position: absolute;
  right: -14px; bottom: 34px;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.hero__float .dot {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--mint-400), var(--aqua-500));
  display: grid; place-items: center; color: #fff;
}
.hero__float .dot svg { width: 22px; height: 22px; }
.hero__float b { font-family: var(--font-display); font-size: 1rem; display:block; }
.hero__float span { font-size: 0.78rem; color: var(--slate-500); }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* Wellen unten */
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__waves svg { width: 100%; height: clamp(50px, 8vw, 110px); }

/* ------------------------------------------------------------------ */
/* 7. Trust-Leiste                                                     */
/* ------------------------------------------------------------------ */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.94rem;
}
.trustbar__item svg { width: 26px; height: 26px; color: var(--accent-strong); flex: none; }

/* ------------------------------------------------------------------ */
/* 8. Leistungen                                                       */
/* ------------------------------------------------------------------ */
.services { background: linear-gradient(180deg, var(--cloud), var(--surface-2)); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--aqua-500), var(--mint-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--surface-3);
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}
.svc-card__icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--surface-3), #fff);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}
.svc-card__icon svg { width: 30px; height: 30px; }
.svc-card h3 {
  margin-top: 22px;
  font-size: 1.32rem;
  position: relative; z-index: 1;
}
.svc-card p { margin-top: 12px; color: var(--slate-500); font-size: 0.98rem; }
.svc-card ul { margin-top: 18px; display: grid; gap: 9px; }
.svc-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--slate-700);
}
.svc-card li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 3px; }
.svc-card__link {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.svc-card__link svg { width: 18px; height: 18px; transition: transform .3s; }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ */
/* 9. Ablauf / Prozess                                                 */
/* ------------------------------------------------------------------ */
.process { background: var(--navy-900); color: #dceef2; overflow: hidden; }
.process .section-title { color: #fff; }
.process .section-lead { color: #a7cdd7; }
.process .eyebrow { color: var(--aqua-300); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step__num {
  width: 54px; height: 54px; flex: none;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem;
  color: var(--navy-900);
  background: linear-gradient(140deg, var(--aqua-300), var(--mint-400));
  box-shadow: var(--shadow-glow);
}
.step__line { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(98,220,236,.5), rgba(98,220,236,0)); }
.step:last-child .step__line { display: none; }
.step h3 { color: #fff; font-size: 1.14rem; }
.step p { margin-top: 10px; color: #9fc3cd; font-size: 0.94rem; }

/* ------------------------------------------------------------------ */
/* 10. Warum wir + Stats                                               */
/* ------------------------------------------------------------------ */
.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.feature-list { display: grid; gap: 20px; margin-top: 20px; }
.feature {
  display: flex; gap: 18px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.feature__ic {
  width: 50px; height: 50px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-3);
  color: var(--accent-strong);
}
.feature__ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin-top: 6px; color: var(--slate-500); font-size: 0.94rem; }

.why__aside { display: flex; flex-direction: column; gap: 24px; }
.why-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--shadow-md);
  background: linear-gradient(150deg, var(--petrol-600), var(--navy-800));
}

.stats-panel {
  background: linear-gradient(155deg, var(--petrol-600), var(--navy-800));
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 46px);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stats-panel::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(11,180,201,.4), transparent 70%);
}
.stats-panel h3 { color: #fff; font-size: 1.4rem; position: relative; }
.stats-panel > p { color: #bfe0e8; margin-top: 10px; position: relative; }
.stats-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 22px;
}
.stat b {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  display: block;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #fff, var(--aqua-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.86rem; color: #bfe0e8; }

/* ------------------------------------------------------------------ */
/* 11. Zielgruppen                                                     */
/* ------------------------------------------------------------------ */
.audience { background: var(--surface-2); }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.aud-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.aud-card__ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--aqua-500), var(--petrol-500));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.aud-card__ic svg { width: 28px; height: 28px; }
.aud-card h3 { margin-top: 20px; font-size: 1.16rem; }
.aud-card p { margin-top: 10px; color: var(--slate-500); font-size: 0.93rem; }

/* ------------------------------------------------------------------ */
/* 12. Wissen / Rechtlicher Rahmen                                     */
/* ------------------------------------------------------------------ */
.knowledge__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.norm-list { display: grid; gap: 16px; }
.norm {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.norm__tag {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-strong);
  font-size: 0.86rem;
  letter-spacing: .02em;
  flex: none;
  min-width: 118px;
}
.norm p { color: var(--slate-600, var(--slate-500)); font-size: 0.94rem; }
.norm p b { color: var(--navy-800); }

.knowledge__visual {
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.limit-badge {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.limit-badge__val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  line-height: 1;
}
.limit-badge__val small { font-size: 0.9rem; color: var(--slate-500); font-weight: 600; }
.limit-badge p { color: var(--slate-500); font-size: 0.92rem; }
.mini-facts { display: grid; gap: 14px; }
.mini-fact { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--slate-700); }
.mini-fact svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 3px; }

/* ------------------------------------------------------------------ */
/* 13. FAQ                                                             */
/* ------------------------------------------------------------------ */
.faq { background: var(--surface-2); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--surface-3);
  display: grid; place-items: center;
  position: relative;
  transition: background .3s, transform .3s;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute;
  background: var(--accent-strong);
  border-radius: 2px;
}
.faq-item summary .plus::before { width: 13px; height: 2.5px; }
.faq-item summary .plus::after { width: 2.5px; height: 13px; transition: transform .3s; }
.faq-item[open] summary .plus { background: var(--accent); }
.faq-item[open] summary .plus::before,
.faq-item[open] summary .plus::after { background: #fff; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--slate-500); font-size: 0.97rem; }

/* ------------------------------------------------------------------ */
/* 14. Kontakt                                                         */
/* ------------------------------------------------------------------ */
.contact { background: var(--navy-900); color: #dceef2; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 10% 0%, rgba(11,180,201,.16), transparent 55%);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 5vw, 64px);
  position: relative;
}
.contact .section-title { color: #fff; }
.contact .eyebrow { color: var(--aqua-300); }
.contact__lead { color: #a7cdd7; margin-top: 18px; font-size: 1.08rem; max-width: 46ch; }

.contact-methods { margin-top: 32px; display: grid; gap: 14px; }
.cmethod {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, transform .3s, border-color .3s;
}
.cmethod:hover { background: rgba(255,255,255,.09); transform: translateX(5px); border-color: rgba(255,255,255,.2); }
.cmethod__ic {
  width: 50px; height: 50px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--aqua-500), var(--petrol-500));
  color: #fff;
}
.cmethod--wa .cmethod__ic { background: #25d366; }
.cmethod__ic svg { width: 24px; height: 24px; }
.cmethod__ic svg { color: #fff; }
.cmethod div { min-width: 0; }
.cmethod div span { display: block; font-size: 0.78rem; color: #8fb6c1; letter-spacing: .04em; text-transform: uppercase; }
.cmethod div b { font-family: var(--font-display); font-size: 1.12rem; color: #fff; overflow-wrap: break-word; }

.contact-hours {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(52,211,166,.12);
  border: 1px solid rgba(52,211,166,.3);
  font-size: 0.9rem; color: #bff0dd;
}
.contact-hours svg { width: 18px; height: 18px; color: var(--mint-400); }

/* Formular */
.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.4rem; }
.contact-form > p { color: var(--slate-500); margin-top: 8px; font-size: 0.95rem; }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem; font-weight: 700;
  color: var(--navy-800);
  font-family: var(--font-display);
}
.field label .req { color: var(--accent-strong); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--aqua-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(34,200,220,.16);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #e06767; }
.form-consent {
  grid-column: 1 / -1;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.86rem; color: var(--slate-500);
}
.form-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.form-consent a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.form-note {
  grid-column: 1 / -1;
  display: flex; gap: 10px; align-items: center;
  font-size: 0.85rem; color: var(--slate-400);
}
.form-note svg { width: 16px; height: 16px; flex: none; }
.form-status {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e6f7ef; color: #12724f; border: 1px solid #b9e6d1; }
.form-status.err { background: #fdecec; color: #a52222; border: 1px solid #f2c4c4; }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots ein Köder */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ------------------------------------------------------------------ */
/* 15. CTA-Band                                                        */
/* ------------------------------------------------------------------ */
.cta-band { padding-block: clamp(48px, 6vw, 84px); background: var(--surface); }
.cta-band__inner {
  background: linear-gradient(130deg, var(--aqua-500), var(--petrol-600) 90%);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 60px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-band__inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 90% 20%, rgba(255,255,255,.22), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); position: relative; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 10px; position: relative; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ------------------------------------------------------------------ */
/* 16. Footer                                                          */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #a7c4cd; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name b { color: var(--aqua-300); }
.footer__brand .brand__tag { color: #6d949f; }
.footer__about { margin-top: 20px; font-size: 0.92rem; color: #85a7b1; max-width: 34ch; }
.footer__social { margin-top: 22px; display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #cfe6ec;
  transition: background .3s, transform .3s;
}
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 {
  color: #fff; font-size: 0.95rem;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col li { font-size: 0.93rem; color: #9dbfc9; transition: color .2s; }
.footer__col a:hover { color: var(--aqua-300); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--aqua-300); flex: none; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #7fa3ad;
}
.footer__bottom a { color: #b9d6de; }
.footer__bottom a:hover { color: var(--aqua-300); }
.footer__credit { display: flex; align-items: center; gap: 8px; }
.footer__credit b { color: #fff; }

/* ------------------------------------------------------------------ */
/* 17. Floating-Buttons                                                */
/* ------------------------------------------------------------------ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 74px);
  z-index: 89;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--navy-800);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent-strong); }
.to-top svg { width: 22px; height: 22px; }

/* Der schwebende WhatsApp-Button erscheint nur in der mobilen Ansicht
   (dort, wo auch das Burger-Menü greift). Auf dem Desktop führen Telefon,
   E-Mail, Formular sowie die WhatsApp-Karte im Kontaktbereich zum Ziel. */
@media (min-width: 961px) {
  .wa-float { display: none; }
  /* Ohne WhatsApp-Button rückt "nach oben" auf dessen Platz nach unten */
  .to-top { bottom: clamp(16px, 3vw, 28px); }
}

/* ------------------------------------------------------------------ */
/* 18. Legal-Seiten                                                    */
/* ------------------------------------------------------------------ */
.legal-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #eaf6f9;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 70px));
  padding-bottom: clamp(40px, 6vw, 70px);
}
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { color: #a7cdd7; margin-top: 14px; }
.legal-body { padding-block: clamp(48px, 6vw, 90px); background: var(--surface); }
.legal-body .container { max-width: 860px; }
.legal-body h2 {
  font-size: 1.4rem; margin-top: 42px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 26px; margin-bottom: 8px; }
.legal-body p, .legal-body li { color: var(--slate-700); margin-bottom: 12px; font-size: 0.98rem; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-body a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong { color: var(--navy-800); }
.legal-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  margin-bottom: 26px;
}
.legal-card p { margin-bottom: 6px; }

/* ------------------------------------------------------------------ */
/* 19. Scroll-Reveal                                                   */
/* ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* 20. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step:nth-child(2) .step__line { display: none; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .why__grid,
  .knowledge__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .knowledge__grid { direction: ltr; }
  /* Grid-Kinder dürfen schmaler werden als ihr Inhalt (verhindert
     horizontales Aufblähen der Seite auf schmalen Bildschirmen) */
  .hero__grid > *,
  .why__grid > *,
  .knowledge__grid > *,
  .faq__grid > *,
  .contact__grid > * { min-width: 0; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--nav-h) + 20px) 24px 30px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav__links { transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav__links a:hover { background: var(--surface-2); }
  .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }
  .nav-scrim {
    position: fixed; inset: 0;
    background: rgba(6,35,46,.5);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .4s;
    z-index: 99;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Norm-Kacheln (TrinkwV, VDI 6023, DVGW): Label über dem Text
     statt daneben – die Zeile war sonst breiter als der Bildschirm */
  .norm { flex-direction: column; gap: 10px; }
  .norm__tag { min-width: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__float { right: 8px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step__line { display: none !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .trustbar__inner { justify-content: flex-start; }

  /* Hero-Karte kompakter, damit die drei Kennzahlen sicher passen */
  .hero__card { padding: 22px; }

  /* Schwebe-Karte verdeckt auf kleinen Screens die Kennzahlen –
     deshalb fließt sie hier unterhalb der Karte mit */
  .hero__float { position: static; margin-top: 14px; animation: none; }
  .hero__meta { gap: 8px; }
  .hero__meta div { padding: 12px 8px; }
  .hero__meta strong { font-size: 1.25rem; }
  .hero__meta span { font-size: 0.68rem; }

  /* Statistik-Kacheln kompakter */
  .stat { padding: 18px 14px; }

  /* Lange deutsche Wörter in großen Überschriften dürfen trennen */
  .hero h1, .section-title, .cta-band h2 { hyphens: auto; overflow-wrap: break-word; }

  /* "Warum wir"-Kacheln: Textspalte darf schrumpfen, lange Wörter trennen */
  .feature > div { min-width: 0; }
  .feature p, .feature h3 { hyphens: auto; overflow-wrap: break-word; }
}
