/* =========================================================
   Sickinger – Bad und Heizsysteme
   Design-System: „Das ruhige Bad – mit Wärme im Detail“
   ========================================================= */

/* ---------- Schriften (selbst gehostet, DSGVO) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/sourcesans3-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --kalkweiss: #F7F5F1;
  --stein: #E7E2DA;
  --stein-hell: #EFEBE5;
  --tiefwasser: #0A4C5E;
  --tiefwasser-dunkel: #073B49;
  --graphit: #1F2A30;
  --beere: #A8007E;
  --beere-hover: #8C0069;
  --klarwasser: #00CCFF;
  --waerme: #FF00FF;
  --wasser-text: #006F8A;
  --schiefer: #5F6368;

  --bg: var(--kalkweiss);
  --bg-card: var(--stein);
  --ink: var(--graphit);
  --ink-muted: var(--schiefer);
  --heading: var(--tiefwasser);
  --link: var(--wasser-text);
  --line: #D9D3C9;
  --cta: var(--beere);
  --on-cta: #fff;
  --secondary: var(--tiefwasser);
  --on-secondary: var(--kalkweiss);
  --focus: var(--tiefwasser);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

[data-theme="tiefwasser"] {
  --bg: var(--tiefwasser);
  --bg-card: rgba(255, 255, 255, .06);
  --ink: #E9EEEF;
  --ink-muted: #B9C9CD;
  --heading: var(--kalkweiss);
  --link: var(--klarwasser);
  --line: rgba(255, 255, 255, .16);
  --secondary: var(--kalkweiss);
  --on-secondary: var(--tiefwasser);
  --focus: var(--klarwasser);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--tiefwasser); color: var(--kalkweiss); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--tiefwasser); color: #fff; padding: 12px 18px; border-radius: var(--radius-md);
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--stein { background: var(--stein-hell); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 50, "WONK" 0;
  color: var(--heading);
  margin: 0 0 .5em;
  font-weight: 500;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display { font-size: clamp(2.4rem, 1.3rem + 3.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; }
.h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1.06; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem); line-height: 1.1; }
.h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); line-height: 1.22; font-weight: 600; }
.h4 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink); max-width: 38em; }
.muted { color: var(--ink-muted); }
.small { font-size: .9rem; }
.prose p, .prose ul { max-width: 40em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }

/* Eyebrow mit i-Strich */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: .85rem; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--link);
  margin: 0 0 18px;
}
.eyebrow::before, .i-mark {
  content: ""; display: inline-block; flex: none;
  width: 4px; height: 1.35em; border-radius: 4px;
  background: var(--marker, var(--klarwasser));
}
.i-mark { height: 1.1em; vertical-align: -.15em; margin-right: 10px; }
[data-topic="heizung"], .eyebrow[data-topic="heizung"], .topic-heizung { --marker: var(--waerme); }
[data-topic="bad"], .topic-bad { --marker: var(--klarwasser); }
.i-mark:not([data-topic]) { background: var(--tiefwasser); }
.eyebrow--duo::before { background: linear-gradient(var(--klarwasser) 0 50%, var(--waerme) 50% 100%); }

.duo-line {
  display: inline-block; width: 56px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--klarwasser), var(--waerme));
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--cta); --_fg: var(--on-cta);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  background: var(--_bg); color: var(--_fg);
  font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.14); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary:hover { --_bg: var(--beere-hover); }
.btn--secondary { --_bg: var(--secondary); --_fg: var(--on-secondary); }
.btn--ghost { --_bg: transparent; --_fg: var(--heading); border-color: currentColor; }
.btn--ghost::after { background: var(--heading); opacity: .08; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .98rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--heading); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link svg { transition: transform .35s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--klarwasser), var(--waerme));
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease-out), border-color .3s, background-color .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--kalkweiss) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.nav-open .site-header::before { background: var(--kalkweiss); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 170px; height: auto; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  color: var(--graphit); text-decoration: none; font-weight: 500; font-size: 1.02rem;
  background: none; border: 0; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.nav__link:hover, .nav__item--has-sub:hover > .nav__link { background: var(--stein); }
.nav__link[aria-current="page"], [data-active] > .nav__link { color: var(--tiefwasser); box-shadow: inset 0 -2px 0 var(--tiefwasser); border-radius: 0; }
.nav__toggle svg { transition: transform .3s var(--ease-out); }
.nav__item--has-sub { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 10px); left: 50%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px;
  width: 620px; padding: 26px 28px;
  background: var(--kalkweiss); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(31, 42, 48, .28);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.subnav::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-sub:hover .subnav, .nav__item--has-sub:focus-within .subnav, .nav__item--has-sub.is-open .subnav {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__item--has-sub:hover .nav__toggle svg, .nav__item--has-sub.is-open .nav__toggle svg { transform: rotate(180deg); }
.subnav__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--schiefer); margin: 0 0 4px; display: flex; align-items: center; }
.subnav__label--spaced { margin-top: 14px; }
.subnav a { display: block; padding: 10px 12px; margin-inline: -12px; border-radius: var(--radius-md); text-decoration: none; transition: background-color .2s; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--stein-hell); }
.subnav a strong { display: block; color: var(--tiefwasser); font-weight: 600; }
.subnav a span { display: block; color: var(--schiefer); font-size: .92rem; line-height: 1.4; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--tiefwasser); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone:hover span { text-decoration: underline; }
.nav__mobile-cta { display: none; }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--tiefwasser); border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
}
@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .brand img { width: 140px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .site-header__actions { margin-left: auto; gap: 10px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 90;
    background: var(--kalkweiss); padding: 24px var(--gutter) 40px;
    overflow-y: auto; display: flex; flex-direction: column; gap: 28px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .6s var(--ease-out), visibility .6s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 0; font-family: var(--font-serif); font-size: 1.6rem; color: var(--tiefwasser); border-radius: 0; }
  .nav__link:hover, .nav__item--has-sub:hover > .nav__link { background: none; }
  .nav__link[aria-current="page"], [data-active] > .nav__link { box-shadow: none; }
  .subnav {
    position: static; transform: none; width: auto; opacity: 1; visibility: visible;
    grid-template-columns: 1fr; padding: 0 0 18px; border: 0; box-shadow: none; background: none;
    display: none;
  }
  .nav__item--has-sub.is-open .subnav { display: grid; transform: none; }
  .nav__item--has-sub:hover .subnav { transform: none; }
  .nav__item--has-sub:not(.is-open):hover .subnav { display: none; }
  .nav__mobile-cta { display: grid; gap: 12px; }
  .nav .nav__item { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .nav.is-open .nav__item { opacity: 1; transform: none; }
  .nav.is-open .nav__item:nth-child(2) { transition-delay: .06s; }
  .nav.is-open .nav__item:nth-child(3) { transition-delay: .12s; }
  .nav.is-open .nav__item:nth-child(4) { transition-delay: .18s; }
}

/* Mobile Anruf-Button */
.mobile-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: none; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: var(--radius-pill);
  background: var(--beere); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(168, 0, 126, .6);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.mobile-call.is-visible { transform: none; }
@media (max-width: 720px) { .mobile-call { display: inline-flex; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .9rem; color: var(--ink-muted); margin-bottom: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--heading); text-decoration: underline; }

/* ---------- Hero Startseite ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); padding-bottom: var(--section); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title { margin-bottom: 24px; }
.hero__title .duo-line { display: block; margin-top: 26px; }
.hero__lead { margin-bottom: 34px; }

.hero__media { position: relative; }
.hero__arch { aspect-ratio: 4 / 5; }
.hero__badge {
  position: absolute; left: -36px; bottom: 12%;
  background: var(--kalkweiss); border-radius: var(--radius-lg); padding: 18px 22px;
  border: 1px solid var(--line); display: flex; gap: 14px; align-items: center;
  box-shadow: 0 24px 50px -28px rgba(31, 42, 48, .35);
}
.hero__badge-num { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--tiefwasser); font-weight: 500; }
.hero__badge-text { font-size: .95rem; line-height: 1.35; color: var(--ink-muted); }
.hero__badge-text strong { color: var(--graphit); display: block; }
.hero__seal {
  position: absolute; right: -14px; top: 8%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--tiefwasser); color: var(--kalkweiss);
  display: grid; place-items: center; text-align: center;
}
.hero__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__seal-inner { font-family: var(--font-serif); line-height: 1; }
.hero__seal-inner small { display: block; font-family: var(--font-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; opacity: .8; }
.hero__seal-inner span { font-size: 1.7rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__arch { aspect-ratio: 1 / 1; }
  .hero__badge { left: 0; bottom: 6%; }
  .hero__seal { right: 0; width: 100px; height: 100px; }
}

/* ---------- Bogen-Bild (ArchImage) ---------- */
.arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--stein);
  isolation: isolate;
}
.arch img, .rounded img, .media-fill img { width: 100%; height: 100%; object-fit: cover; }
.arch img, [data-parallax] img { will-change: transform; }
.rounded { border-radius: var(--radius-lg); overflow: hidden; background: var(--stein); position: relative; }
.media-cap { margin-top: 12px; font-size: .88rem; color: var(--ink-muted); line-height: 1.45; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 104px); position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.page-hero__media .arch { aspect-ratio: 4 / 5; max-height: 640px; }
.page-hero__lead { margin-bottom: 32px; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 440px; }
}

/* Fakten „Auf einen Blick“ – AIO-freundlich */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.facts > div { padding: 26px 24px 24px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.2; color: var(--heading); }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Section-Heads ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; }
.section-head--split .lead { margin-bottom: .6em; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Scroll-Text (Wort für Wort) ---------- */
.statement { padding-block: var(--section); }
.statement__text {
  font-family: var(--font-serif); font-variation-settings: "SOFT" 50;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.22; letter-spacing: -.015em;
  color: var(--tiefwasser); max-width: 22em; margin: 0; font-weight: 400; text-wrap: pretty;
}
.statement__text .w { opacity: .16; transition: opacity .25s linear; }
.statement__text .w.on { opacity: 1; }
.statement__text em { font-style: italic; }
.statement__meta { display: flex; gap: 16px; align-items: center; margin-top: 36px; color: var(--ink-muted); }

/* ---------- Leistungen: gestapelte Karten ---------- */
.stack { display: grid; gap: 28px; }
.stack__card {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: grid; grid-template-columns: 1fr 1fr; min-height: min(560px, 74vh);
  border-radius: 24px; overflow: hidden; background: var(--stein);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack__card:nth-child(2) { background: #E2DDD4; }
.stack__card:nth-child(3) { background: #DCD6CC; }
.stack__card--dark { background: var(--tiefwasser) !important; }
.stack__card--graphit { background: var(--graphit) !important; }
.stack__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.stack__num { font-family: var(--font-serif); font-size: .95rem; color: var(--ink-muted); margin-bottom: auto; padding-bottom: 32px; display: flex; align-items: center; gap: 14px; }
.stack__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack__card h3 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.08; font-weight: 500; }
.stack__card p { max-width: 30em; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 28px; }
.stack__tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .9rem; color: var(--ink-muted); }
.stack__media { position: relative; overflow: hidden; }
.stack__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
@media (max-width: 820px) {
  .stack__card { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .stack__media { aspect-ratio: 16 / 11; order: -1; }
}

/* ---------- Split / Feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.benefits { list-style: none; display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.benefits li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.benefits__n { font-family: var(--font-serif); color: var(--wasser-text); font-size: 1.05rem; padding-top: 2px; }
.benefits strong { display: block; color: var(--heading); font-size: 1.1rem; margin-bottom: 2px; }
.benefits span { color: var(--ink-muted); }
[data-theme="tiefwasser"] .benefits__n { color: var(--klarwasser); }

.check-list { list-style: none; display: grid; gap: 12px; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--marker, var(--klarwasser)) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm-1.3 12.6L4 8.9l1.3-1.3 2.4 2.4 5-5L14 6.3l-6.3 6.3Z'/%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 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm-1.3 12.6L4 8.9l1.3-1.3 2.4 2.4 5-5L14 6.3l-6.3 6.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list--dark li::before { background: var(--tiefwasser); }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

/* Bildkomposition mit zwei Bildern */
.duo-media { position: relative; padding-bottom: 16%; }
.duo-media__main { aspect-ratio: 4 / 5; width: 78%; }
.duo-media__sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--bg); border-radius: var(--radius-lg); }

/* ---------- Vorher / Nachher ---------- */
.ba {
  position: relative; aspect-ratio: 1800 / 1370; max-height: 760px; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--stein);
  user-select: none; touch-action: pan-y; --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px);
  pointer-events: none;
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M11 8 5 14l6 6M17 8l6 6-6 6' fill='none' stroke='%230A4C5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__handle::after { outline: 3px solid var(--klarwasser); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: 18px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(31, 42, 48, .72); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px); pointer-events: none;
}
.ba__tag--before { left: 18px; }
.ba__tag--after { right: 18px; background: rgba(10, 76, 94, .85); }

/* ---------- Ablauf / Prozess ---------- */
.process { position: relative; display: grid; gap: 0; list-style: none; counter-reset: step; }
.process__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.process__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--klarwasser), var(--waerme)); transform-origin: 50% 0; transform: scaleY(0); }
.process__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding-bottom: clamp(32px, 5vw, 56px); }
.process__step:last-child { padding-bottom: 0; }
.process__dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--line); color: var(--ink-muted);
  font-family: var(--font-serif); font-size: 1.2rem; position: relative; z-index: 1;
  transition: border-color .5s, color .5s, background-color .5s;
}
.process__step.is-active .process__dot { border-color: var(--klarwasser); color: var(--heading); }
.process__step h3 { margin-bottom: 8px; padding-top: 10px; }
.process__meta { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin-bottom: 6px; }
.process__step p { max-width: 36em; color: var(--ink-muted); margin: 0; }
[data-theme="tiefwasser"] .process__step p { color: var(--ink-muted); }

/* Horizontale Bildstrecke (Ablauf-Grafiken, Galerie) */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 42vw, 580px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
}
.rail__track > * { scroll-snap-align: start; }
.rail__item figure { margin: 0; }
.rail__item .rounded { aspect-ratio: 1010 / 435; background: #fff; }
.rail__item .rounded img { object-fit: contain; }
.rail__item figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-muted); }
.rail__item figcaption strong { color: var(--heading); display: block; font-size: 1.05rem; }
.rail__controls { display: flex; gap: 10px; }
.rail__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; color: var(--heading); cursor: pointer; display: grid; place-items: center;
  transition: background-color .25s, border-color .25s, color .25s;
}
.rail__btn:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.rail__btn:disabled { opacity: .35; pointer-events: none; }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
@media (max-width: 700px) { .rail__track { grid-auto-columns: 84vw; } }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); line-height: 1; color: var(--heading); font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 12px; color: var(--ink-muted); font-size: 1rem; max-width: 16em; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; position: relative;
  transition: transform .5s var(--ease-out), background-color .3s;
}
.card--kalk { background: var(--kalkweiss); border: 1px solid var(--line); }
.card--link:hover { transform: translateY(-4px); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: var(--kalkweiss); color: var(--tiefwasser); }
[data-theme="tiefwasser"] .card__icon { background: rgba(255,255,255,.1); color: var(--klarwasser); }
.card__icon--warm { color: var(--beere); }
[data-theme="tiefwasser"] .card__icon--warm { color: #FF7AE0; }
.card .text-link { margin-top: auto; padding-top: 16px; }
.card--media { padding: 0; overflow: hidden; }
.card--media .card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card--media:hover .card__img img { transform: scale(1.04); }
.card--media .card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }

.cert-card { border-top: 2px solid var(--tiefwasser); padding-top: 22px; }
.cert-card__code { font-family: var(--font-serif); font-size: 1.9rem; color: var(--tiefwasser); margin-bottom: 10px; line-height: 1; }
.cert-card h3 { font-family: var(--font-sans); font-variation-settings: normal; font-size: 1.08rem; color: var(--graphit); line-height: 1.4; }
.cert-card p { color: var(--ink-muted); margin: 0; }
.certs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .certs__grid { grid-template-columns: 1fr; } }

/* Logo-Laufband */
.marquee { margin-top: clamp(56px, 7vw, 88px); overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); list-style: none; }
.marquee__list img { height: 60px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; mix-blend-mode: multiply; }
.marquee__list li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tabelle Vergleich ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare caption { text-align: left; font-size: .9rem; color: var(--ink-muted); caption-side: bottom; padding-top: 12px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-serif); font-weight: 600; color: var(--heading); font-size: 1.15rem; border-bottom: 2px solid var(--heading); }
.compare tbody th { font-weight: 600; color: var(--graphit); width: 26%; }
.compare td:last-child { background: rgba(0, 204, 255, .06); }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px 10px; font-size: .95rem; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 10px 18px; border-radius: var(--radius-pill); background: var(--kalkweiss); border: 1px solid var(--line); font-weight: 500; }

/* ---------- Galerie / Projekte ---------- */
.project { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.project + .project { margin-top: clamp(56px, 8vw, 110px); }
.project:nth-child(even) > :first-child { order: 2; }
.project__media .rounded, .project__media .arch { aspect-ratio: 1; }
.project__label { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) > :first-child { order: 0; }
}

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery .g-a { grid-column: span 7; }
.gallery .g-b { grid-column: span 5; }
.gallery .g-c { grid-column: span 6; }
.gallery .rounded { aspect-ratio: 4 / 3; background: #fff; }
.gallery .rounded img { object-fit: contain; }
@media (max-width: 760px) { .gallery .g-a, .gallery .g-b, .gallery .g-c { grid-column: span 12; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-family: var(--font-serif); font-variation-settings: "SOFT" 50; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--heading); line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover::after { background-color: var(--stein); }
.faq__answer { padding: 0 60px 26px 0; color: var(--ink); }
.faq__answer p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .faq__answer { padding-right: 0; } }

/* ---------- Förder-Box ---------- */
.funding { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.funding__item { border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); background: var(--kalkweiss); border: 1px solid var(--line); }
.funding__item h3 { margin-bottom: 12px; }
.funding__tag { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--stein); color: var(--graphit); margin-bottom: 18px; }
.note { font-size: .92rem; color: var(--ink-muted); border-left: 3px solid var(--line); padding-left: 16px; margin-top: 28px; max-width: 60em; }
@media (max-width: 760px) { .funding { grid-template-columns: 1fr; } }

/* ---------- CTA-Band + Formular ---------- */
.cta-band { overflow: hidden; }
.cta-band__arc { position: absolute; left: 0; right: 0; top: 8%; width: 100%; height: 90%; color: rgba(255,255,255,.1); pointer-events: none; }
.cta-band__grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.cta-band__list { list-style: none; display: grid; gap: 12px; margin: 28px 0 36px; }
.cta-band__list li { padding-left: 30px; position: relative; }
.cta-band__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--klarwasser); }
.cta-band__contact { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-line__label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.contact-line__value { font-family: var(--font-serif); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: var(--heading); transition: color .25s; }
.contact-line:hover .contact-line__value { color: var(--link); }
@media (max-width: 960px) { .cta-band__grid { grid-template-columns: 1fr; } }

.enquiry {
  background: var(--kalkweiss); color: var(--graphit); border-radius: 20px; padding: clamp(24px, 3.5vw, 44px);
  --heading: var(--tiefwasser); --ink: var(--graphit); --ink-muted: var(--schiefer); --line: #D9D3C9; --focus: var(--tiefwasser); --link: var(--wasser-text);
  --secondary: var(--tiefwasser); --on-secondary: var(--kalkweiss);
}
.enquiry fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.enquiry legend { padding: 0; margin-bottom: 18px; color: var(--tiefwasser); }
.enquiry__progress { height: 4px; background: var(--stein); border-radius: 4px; overflow: hidden; margin-bottom: 12px; display: none; }
.enquiry__progress span { display: block; height: 100%; width: 33.3%; background: var(--tiefwasser); border-radius: 4px; transition: width .6s var(--ease-out); }
.enquiry__stepinfo { font-size: .85rem; color: var(--schiefer); margin-bottom: 18px; display: none; }
.enquiry.is-stepped .enquiry__progress, .enquiry.is-stepped .enquiry__stepinfo { display: block; }
.enquiry.is-stepped .enquiry__step { display: none; }
.enquiry.is-stepped .enquiry__step.is-current { display: block; animation: stepIn .5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; height: 100%; padding: 14px 16px 14px 18px; border-radius: var(--radius-md);
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s;
  border-left: 4px solid var(--klarwasser);
}
.choice--warm span { border-left-color: var(--waerme); }
.choice strong { display: block; color: var(--tiefwasser); }
.choice small { display: block; color: var(--schiefer); font-size: .88rem; line-height: 1.35; }
.choice:hover span { border-color: var(--tiefwasser); border-left-color: inherit; }
.choice input:checked + span { border-color: var(--tiefwasser); background: #EEF5F6; box-shadow: inset 0 0 0 1px var(--tiefwasser); }
.choice input:focus-visible + span { outline: 3px solid var(--tiefwasser); outline-offset: 2px; }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--line); background: #fff; color: var(--graphit);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tiefwasser); box-shadow: 0 0 0 3px rgba(10, 76, 94, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--beere); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--beere); font-size: .9rem; margin: 8px 0 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .92rem; color: var(--schiefer); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tiefwasser); }
.enquiry__nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.enquiry__nav [data-enquiry-next], .enquiry__nav [data-enquiry-submit] { margin-left: auto; }
.enquiry__note { font-size: .85rem; color: var(--schiefer); margin: 18px 0 0; }
.form-status { padding: 14px 18px; border-radius: var(--radius-md); background: #FBEAF5; color: #6D0052; margin-bottom: 18px; }

/* ---------- Team / Über uns ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.team__card .arch { aspect-ratio: 4 / 5; max-width: 400px; display: grid; place-items: center; }
.team__placeholder { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 4vw, 7rem); color: rgba(10, 76, 94, .25); }
.team__card h3 { margin: 22px 0 4px; }
.team__card p { color: var(--ink-muted); margin: 0; }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; color: var(--heading); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-muted); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 10px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: v; list-style: none; border-top: 1px solid var(--line); }
.values li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); counter-increment: v; }
.values li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.values li::before { content: "0" counter(v); display: block; font-family: var(--font-serif); color: var(--link); margin-bottom: 16px; }
.values h3 { font-size: 1.3rem; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-muted); }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .values li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
}

/* Jobs */
.job { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job h3 { margin-bottom: 6px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-muted); font-size: .95rem; list-style: none; }
.job__meta li::before { content: "·"; margin-right: 8px; }
.job__meta li:first-child::before { content: none; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } }
.job-detail { border-radius: 20px; background: var(--stein-hell); padding: clamp(26px, 4vw, 56px); }
.job-detail + .job-detail { margin-top: 24px; }
.job-detail__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.job-detail__cols h4 { font-family: var(--font-sans); font-variation-settings: normal; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.job-detail__cols ul { list-style: none; display: grid; gap: 10px; }
.job-detail__cols li { padding-left: 20px; position: relative; }
.job-detail__cols li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--tiefwasser); }
@media (max-width: 900px) { .job-detail__cols { grid-template-columns: 1fr; } }

/* Kontakt-Seite */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--stein-hell); text-decoration: none; color: var(--graphit); display: block; transition: background-color .3s, transform .4s var(--ease-out); }
a.contact-card:hover { background: var(--stein); transform: translateX(4px); }
.contact-card__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--schiefer); margin-bottom: 6px; display: block; }
.contact-card__value { font-family: var(--font-serif); font-size: 1.4rem; color: var(--tiefwasser); line-height: 1.3; }
.contact-grid .enquiry { background: var(--kalkweiss); border: 1px solid var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Bogen-Trenner ---------- */
.arc-divider { display: block; width: 100%; height: 48px; color: var(--line); }
.arc-divider path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.arc-divider.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.no-js .arc-divider path, .reduced .arc-divider path { stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 32px; background: var(--graphit); --bg: var(--graphit); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__wordmark { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--kalkweiss); margin: 0; line-height: 1; letter-spacing: -.01em; }
.site-footer__claim { color: var(--ink-muted); margin: 10px 0 22px; display: flex; gap: 14px; align-items: center; }
.site-footer__text { color: var(--ink-muted); max-width: 26em; font-size: 1rem; }
.site-footer__head { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--kalkweiss); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--klarwasser); text-decoration: underline; }
.site-footer address { color: var(--ink); line-height: 1.8; font-size: 1rem; }
.site-footer__hours { color: var(--ink-muted); font-size: .95rem; margin-top: 12px; }
.site-footer__area { font-size: .95rem; color: var(--ink-muted); padding: 22px 0; border-top: 1px solid var(--line); margin: 0; }
.site-footer__area strong { color: var(--ink); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-muted); }
.site-footer__bottom p { margin: 0; }
.legal-list { display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; }
.legal-list li { color: var(--ink-muted); cursor: default; }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- 404 / Danke ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.center-page .eyebrow { justify-content: center; }
.center-page .btn-row { justify-content: center; }

/* =========================================================
   Scroll-Animationen (nur mit JS, respektiert Reduced Motion)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Wortweise Headlines */
.js [data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .sw > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .sw > span { transform: none; }

/* Bogen-Bild enthüllen */
.js [data-arch-reveal] { clip-path: inset(100% 0 0 0 round 999px 999px 16px 16px); transition: clip-path 1.5s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-arch-reveal] img { transform: scale(1.18); transition: transform 2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-arch-reveal].is-in { clip-path: inset(0 0 0 0 round 999px 999px 16px 16px); }
.js [data-arch-reveal].is-in img { transform: scale(1); }
.js [data-img-reveal] { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-img-reveal].is-in { clip-path: inset(0 0 0 0 round 16px); }

/* Linien zeichnen */
.js [data-draw] { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2.4s var(--ease-in-out); }
.js .is-in [data-draw], .js [data-draw].is-in { stroke-dashoffset: 0; }

.duo-line { transform-origin: 0 50%; }
.js .is-in .duo-line, .js .duo-line.is-in { animation: grow 1.2s var(--ease-out) both .4s; }
@keyframes grow { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .sw > span, .js [data-arch-reveal], .js [data-arch-reveal] img, .js [data-img-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-draw] { stroke-dashoffset: 0 !important; }
  .statement__text .w { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .hero__seal svg { animation: none; }
}

.process-wrap { position: relative; }
.js [data-arch-reveal][data-parallax] img { transition: none; transform: none; }
.stack__body .btn { align-self: flex-start; }

/* --- Überarbeitung Runde 2 --- */
/* Kursive Wörter in animierten Headlines nicht abschneiden */
.js [data-split] .sw { padding-inline-end: .14em; margin-inline-end: -.14em; }
/* Kennzahlen: beliebige Anzahl gleich breit */
.stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 820px) { .stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
/* Bildkomposition mit nur einem Bild */
.duo-media:not(:has(.duo-media__sub)) { padding-bottom: 0; }
.duo-media__main:only-child { width: 100%; }
/* Vorher/Nachher untereinander, ohne Überlappung */
.vn-pair { display: grid; gap: 16px; }
.vn-pair figure { margin: 0; }
.vn-pair .rounded { aspect-ratio: 1800 / 1370; }
.rail__head .h2 { text-wrap: pretty; }
/* Listen-Striche pixelgenau (gleiche Stärke in jeder Zeile) */
.job-detail__cols li, .cta-band__list li { line-height: 28px; }
.job-detail__cols li::before { top: 13px; height: 2px; }
.cta-band__list li::before { top: 13px; height: 2px; }
/* Rahmenlinien werden auf ganze Gerätepixel gerundet → identische Strichstärke bei jeder Skalierung */
.job-detail__cols li::before { height: 0; background: none; border-top: 2px solid var(--tiefwasser); }
.cta-band__list li::before { height: 0; background: none; border-top: 2px solid var(--klarwasser); }

/* Geschäftsführung: kompakte Porträtkarten (Fotos liegen nur klein vor) */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: var(--kalkweiss); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.person__photo { aspect-ratio: 130 / 186; width: 150px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 4px; }
.person__role { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--link); margin-bottom: 12px; }
.person p:last-child { margin: 0; color: var(--ink-muted); }
.contact-team .person { grid-template-columns: 96px 1fr; gap: 20px; padding: 18px; }
.contact-team .person__photo { width: 96px; }
.contact-team .person p:last-child { display: none; }
.contact-team .people { grid-template-columns: 1fr; gap: 12px; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person { grid-template-columns: 110px 1fr; gap: 18px; padding: 18px; } .person__photo { width: 110px; } }

/* Video mit Klick-zum-Laden (kein YouTube-Kontakt vor dem Klick) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--graphit); }
.video__poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__poster { filter: brightness(.55); transition: transform 1.2s var(--ease-out), filter .6s; }
.video:hover .video__poster { transform: scale(1.03); filter: brightness(.48); }
.video__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: none; border: 0; color: #fff; cursor: pointer; }
.video__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--beere); padding-left: 4px; transition: transform .4s var(--ease-out); box-shadow: 0 0 0 0 rgba(168,0,126,.5); animation: pulse 2.4s infinite; }
.video__play:hover .video__icon { transform: scale(1.08); }
.video__label { font-weight: 600; font-size: 1.1rem; }
.video__note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 20px; font-size: .85rem; color: rgba(255,255,255,.82); text-align: center; }
.video.is-playing .video__play, .video.is-playing .video__note, .video.is-playing .video__poster { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(168,0,126,0); } 100% { box-shadow: 0 0 0 0 rgba(168,0,126,0); } }
@media (max-width: 600px) { .video { aspect-ratio: 4 / 3; } .video__icon { width: 68px; height: 68px; } }

/* Kundenstimmen */
.stars { color: var(--beere); letter-spacing: .12em; font-size: 1.05rem; margin: 0 0 16px; line-height: 1; }
.reviews__score { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 1.1rem; }
.reviews__score .stars { margin: 0; font-size: 1.3rem; }
.reviews__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 20px; }
.review { margin: 0; background: var(--kalkweiss); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.review--featured { grid-row: span 2; background: var(--tiefwasser); border-color: var(--tiefwasser); color: var(--kalkweiss); }
.review--featured .stars { color: #FF7AE0; }
.review blockquote { margin: 0 0 24px; }
.review blockquote p { margin: 0; font-family: var(--font-serif); font-variation-settings: "SOFT" 50; font-size: 1.15rem; line-height: 1.5; color: var(--heading); }
.review--featured blockquote p { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.4; color: var(--kalkweiss); }
.review figcaption { margin-top: auto; display: grid; gap: 4px; font-size: .9rem; color: var(--ink-muted); }
.review--featured figcaption { color: #B9C9CD; }
.review__topic { font-weight: 600; color: var(--graphit); display: inline-flex; align-items: center; }
.review--featured .review__topic { color: var(--kalkweiss); }
.reviews__more { margin-top: 28px; }
@media (max-width: 1000px) { .reviews__grid { grid-template-columns: 1fr 1fr; } .review--featured { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .reviews__grid { grid-template-columns: 1fr; } }
.contact-team .person h3 { font-size: 1.25rem; }

/* ===== Responsive-Feinschliff (Audit 320–1920 px) ===== */
/* Lange deutsche Wörter dürfen umbrechen statt überzulaufen */
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4, dd, summary, .contact-card__value, .review blockquote p { overflow-wrap: break-word; }
@media (max-width: 600px) {
  h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4, dd, summary { hyphens: auto; -webkit-hyphens: auto; }
}
/* Kleine Versal-Labels: mind. 14 px (Zielgruppe 50+) */
.facts dt, .site-footer__head, .contact-card__label, .funding__tag, .contact-line__label, .subnav__label, .project__label, .process__meta, .person__role, .job-detail__cols h4 { font-size: .875rem; }
/* Textlinks: größere Touch-Fläche ohne Layoutänderung */
.text-link { padding-block: 10px; margin-block: -8px; background-position: 0 calc(100% - 8px); }
/* Fakten-Leiste auf kleinen Handys einspaltig */
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 18px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}
/* Bilder mit fester Maximalbreite nie breiter als ihr Container */
img[style*="max-width"] { width: 100%; height: auto; }
/* Vergleichstabelle auf dem Handy als gestapelte Karten */
@media (max-width: 640px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: var(--kalkweiss); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 12px; }
  .compare tbody th { padding: 0 0 10px; border: 0; font-family: var(--font-serif); font-size: 1.15rem; color: var(--heading); width: auto; }
  .compare td { padding: 8px 0; border: 0; border-top: 1px solid var(--line); background: none !important; }
  .compare td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
  .compare td:last-child::before { color: var(--link); }
}
/* Personenkarten auf sehr schmalen Displays */
@media (max-width: 400px) {
  .person { grid-template-columns: 88px 1fr; gap: 14px; padding: 16px; }
  .person__photo { width: 88px; }
  .person h3 { font-size: 1.2rem; }
}
/* Grid-Spalten dürfen schmaler als ihr längstes Wort werden */
.faq > *, .split > *, .section-head--split > *, .cta-band__grid > *, .contact-grid > *, .hero__grid > *, .page-hero__grid > *, .project > * { min-width: 0; }
.hero__badge-num { white-space: nowrap; }
.statement__meta { flex-wrap: wrap; }
@media (max-width: 480px) { .hero__badge { left: 12px; right: 12px; bottom: 12px; } .hero__badge-num { font-size: 2rem; } }
@media (max-width: 900px) { .duo-media { max-width: 520px; margin-inline: auto; width: 100%; } .split > .rounded[style*="aspect-ratio:4/5"], .split > div > .rounded[style*="aspect-ratio:4/5"] { max-width: 520px; } }

/* ===== Anpassungen Runde 4 ===== */

/* Bädergalerie: Vorher/Nachher als großes Paar, kein Überlappen */
.vn-gallery { display: grid; gap: clamp(32px, 4vw, 56px); }
.vn-figure { margin: 0; }
.vn-figure__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vn-figure__pair .rounded { background: #fff; aspect-ratio: 3 / 4; }
.vn-figure__pair .rounded img { object-fit: contain; }
.vn-figure figcaption { margin-top: 14px; }
@media (max-width: 640px) { .vn-figure__pair { grid-template-columns: 1fr; } }
/* Zeitleiste über die volle Breite */
.timeline--breit li { grid-template-columns: 200px 1fr; max-width: 980px; }
@media (max-width: 640px) { .timeline--breit li { grid-template-columns: 1fr; } }
/* Video-Vorschau mit Logo: heller Hintergrund, kein Abdunkeln */
.video--logo { background: var(--stein-hell); }
.video--logo .video__poster { filter: none; object-fit: contain; }
.video--logo:hover .video__poster { filter: none; transform: none; }
.video--logo .video__play { color: var(--tiefwasser); }
.video--logo .video__note { color: var(--schiefer); }
/* FAQ: etwas mehr Luft zwischen den Fragen */
.faq__item summary { padding: 30px 0; }
.faq__answer { padding-bottom: 30px; }
/* Logo-Vorschau: Abspielen-Knopf unter das Logo */
.video--logo .video__play { place-content: end center; padding-bottom: 9%; }
