/* ==========================================================================
   Buchholz Gebäude- und Industriedienstleistungen
   Ein Stylesheet, keine externen Ressourcen. Nur helles Theme.
   Signature-Element: die "Abzieherkante" (schräge Kante, einmalige Wischbewegung)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 100%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben (vom Logo abgeleitet: #3483AE / #0F3A5F) */
  --c-night: #0c1f2e;       /* Text, dunkle Flächen */
  --c-steel: #1b4a6e;       /* Flächen, Hover */
  --c-brand: #1672b0;       /* Links, Linien (4,8:1 auf Papier) */
  --c-signal: #f2c230;      /* einziger Akzent, nie als Text auf Hell */
  --c-signal-hover: #f7d25a;
  --c-paper: #f3f6f8;       /* Seitenhintergrund */
  --c-surface: #fcfdfe;     /* helle Flächen, Header */
  --c-text: #0c1f2e;
  --c-text-2: #475766;      /* 6,9:1 auf Papier */
  --c-line: #d3dbe2;
  --c-line-strong: #a9b6c2;
  --c-on-dark: #eef3f7;
  --c-on-dark-2: #b4c4d1;   /* 8:1 auf Nachtblau */
  --c-error: #b3261e;
  --c-ok: #1d7a4c;

  /* Typografie */
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --stretch-display: 72%;
  --stretch-head: 80%;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);

  /* Raster und Abstände (8-px-Basis) */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);

  /* Form: eine Eckenrundung für alles */
  --radius: 4px;
  --edge-angle: -14deg;     /* Winkel der Abzieherkante (Logo-Gebäudekante) */

  /* Bewegung */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  /* Schatten, auf den Hintergrund getönt */
  --shadow: 0 1px 2px rgb(12 31 46 / 0.06), 0 12px 32px -16px rgb(12 31 46 / 0.28);

  /* Ebenen */
  --z-bar: 40;
  --z-header: 50;
  --z-menu: 45;

  --header-h: 72px;
  --subnav-h: 0px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgb(22 114 176 / 0.15);
  overflow-x: clip;
}

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.012em;
  word-spacing: 0.06em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-stretch: var(--stretch-display); font-weight: 760; line-height: 1.02; }
h2 { font-size: var(--fs-h2); font-stretch: var(--stretch-display); }
h3 { font-size: var(--fs-h3); font-stretch: var(--stretch-head); font-weight: 680; line-height: 1.15; }
h4 { font-size: 1.125rem; font-stretch: var(--stretch-head); font-weight: 680; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s2); }

a { color: var(--c-brand); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-steel); text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible { outline-color: var(--c-signal); }

::selection { background: var(--c-signal); color: var(--c-night); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-night);
  color: var(--c-on-dark);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: var(--s2); color: var(--c-on-dark); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--c-surface); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text-2); max-width: 60ch; }
.muted { color: var(--c-text-2); }
.measure { max-width: 65ch; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.section-head { display: grid; gap: var(--s2); max-width: 62ch; margin-bottom: var(--s5); }
.section-head p { color: var(--c-text-2); }

/* Kategorie-Label (sparsam: max. 1 pro 3 Sektionen) */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-steel);
}
.label::before {
  content: "";
  width: 22px;
  height: 10px;
  background: var(--c-signal);
  transform: skewX(var(--edge-angle));
}

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-signal);
  --btn-fg: var(--c-night);
  --btn-bd: var(--c-signal);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-stretch: 90%;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
/* Abzieherkante im Button: fährt beim Hover einmal durch */
.btn::after {
  content: "";
  position: absolute;
  inset: -2px auto -2px 0;
  width: 40%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.35), transparent);
  transform: translateX(-120%) skewX(var(--edge-angle));
  pointer-events: none;
}
.btn:hover { color: var(--btn-fg); text-decoration: none; background: var(--btn-hover, var(--c-signal-hover)); border-color: var(--btn-hover, var(--c-signal-hover)); }
.btn:active { transform: translateY(1px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover::after { transform: translateX(320%) skewX(var(--edge-angle)); transition: transform 0.7s var(--ease); }
}

.btn--dark { --btn-bg: var(--c-night); --btn-fg: var(--c-on-dark); --btn-bd: var(--c-night); --btn-hover: var(--c-steel); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-night); --btn-bd: var(--c-night); --btn-hover: var(--c-night); }
.btn--ghost:hover { color: var(--c-on-dark); }
.btn--ghost-light { --btn-bg: rgb(12 31 46 / 0.35); --btn-fg: var(--c-on-dark); --btn-bd: rgb(238 243 247 / 0.7); --btn-hover: var(--c-on-dark); }
.btn--ghost-light:hover { color: var(--c-night); }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.link-strong {
  font-weight: 650;
  color: var(--c-night);
  text-decoration: underline;
  text-decoration-color: var(--c-signal);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}
.link-strong:hover { color: var(--c-steel); text-decoration-color: var(--c-steel); }

/* ---------- Status (echter Zustand: geöffnet / geschlossen) ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 550;
  color: var(--c-text-2);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line-strong);
  flex: none;
}
.status[data-state="open"]::before { background: var(--c-ok); box-shadow: 0 0 0 3px rgb(29 122 76 / 0.18); }
.status[data-state="closed"]::before { background: var(--c-line-strong); }
.on-dark .status { color: var(--c-on-dark-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s3);
  height: var(--header-h);
}
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: var(--s3); }
.nav__list { display: flex; gap: var(--s3); list-style: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--c-night);
  font-weight: 600;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 3px;
  background: var(--c-signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--c-night); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-night);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-brand); }
.header-phone .icon { color: var(--c-brand); }

.header-status { white-space: nowrap; }

.menu-toggle,
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-night);
  touch-action: manipulation;
}
.header-call { background: var(--c-signal); border-color: var(--c-signal); }
.menu-toggle .icon,
.header-call .icon { width: 24px; height: 24px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1120px) {
  .header-status { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 128px; }
  .menu-toggle,
  .header-call { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: var(--z-menu);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--c-line); }
  .nav__link { display: block; padding-block: 1rem; font-size: 1.25rem; font-stretch: var(--stretch-head); }
  .nav__link::after { bottom: 0.6rem; width: 48px; right: auto; }
  .nav .header-phone { padding-block: 1rem; font-size: 1.125rem; border-top: 1px solid var(--c-line); }
  .nav .btn { margin-top: var(--s2); }
}

/* ---------- Mobile Kontaktleiste ---------- */
.contact-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .contact-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-bar);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--c-surface);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px -16px rgb(12 31 46 / 0.35);
  }
  .contact-bar .btn { width: 100%; padding-inline: 0.75rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(calc(100dvh - var(--header-h)), 820px);
  padding-block: var(--s6) var(--s6);
  color: var(--c-on-dark);
  background: var(--c-night);
  overflow: hidden;
}
.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media { z-index: -2; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(12 31 46 / 0.92) 0%, rgb(12 31 46 / 0.78) 38%, rgb(12 31 46 / 0.25) 75%, rgb(12 31 46 / 0.1) 100%),
    linear-gradient(0deg, rgb(12 31 46 / 0.65) 0%, rgb(12 31 46 / 0) 45%);
}
.hero__content { display: grid; gap: var(--s3); max-width: 58rem; }
.hero h1 { color: #fcfdfe; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-on-dark); max-width: 38rem; }
.hero .btn-row { margin-top: var(--s1); }

/* Signature: matter Schleier wird einmal abgezogen */
.hero__veil { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__veil {
    position: absolute;
    inset: 0 -30% 0 0;
    z-index: -1;
    display: block;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(180 196 209 / 0) 0, rgb(180 196 209 / 0.55) 6%, rgb(180 196 209 / 0.55) 100%);
    transform: translateX(0);
    animation: squeegee 1.6s var(--ease) 0.25s forwards;
  }
  .hero__veil::before {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 2%;
    width: 5px;
    background: var(--c-signal);
    transform: skewX(var(--edge-angle));
  }
  .hero__content > * { animation: rise 0.8s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.12s; }
  .hero__content > :nth-child(3) { animation-delay: 0.22s; }
}
@keyframes squeegee {
  to { transform: translateX(105%); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .hero { min-height: calc(92dvh - var(--header-h) - 64px); padding-block: var(--s5) var(--s6); }
  .hero__media::after {
    background: linear-gradient(0deg, rgb(12 31 46 / 0.94) 0%, rgb(12 31 46 / 0.7) 55%, rgb(12 31 46 / 0.35) 100%);
  }
  .hero .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Kennzahlen ---------- */
.facts { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.fact {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  padding: var(--s4) var(--s3) var(--s4) 0;
}
.fact + .fact { padding-left: var(--s4); border-left: 1px solid var(--c-line); }
.fact__value {
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
  font-stretch: var(--stretch-display);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fact__value span { color: var(--c-brand); }
.fact__label { font-weight: 600; }
.fact .status { margin-top: 0.25rem; }
@media (max-width: 767px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 7.5rem 1fr; align-items: center; column-gap: var(--s2); padding: var(--s3) 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); }
  .fact__value { grid-row: span 2; font-size: 2.75rem; }
}

/* ---------- Beckenreinigung-Teaser ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4) var(--s3);
  align-items: center;
}
.feature__media { grid-column: 1 / 8; position: relative; padding-bottom: var(--s5); }
.feature__main { aspect-ratio: 4 / 3; }
.frame.feature__inset {
  position: absolute;
  right: calc(-1 * var(--s5));
  bottom: 0;
  width: 34%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--c-paper);
  box-shadow: var(--shadow);
}
.feature__body { grid-column: 9 / 13; display: grid; gap: var(--s3); }
.feature__body .btn-row { margin-top: var(--s1); }
@media (max-width: 960px) {
  .feature__media,
  .feature__body { grid-column: 1 / -1; }
  .frame.feature__inset { right: var(--s2); width: 36%; }
}

/* Bildrahmen mit Wisch-Enthüllung */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-line);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* Abdeckung mit gelber Klinge an der Vorderkante, wird einmal "abgezogen" */
  .frame--wipe::after {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: -15%;
    width: 140%;
    background: linear-gradient(90deg, var(--c-signal) 0 5px, var(--c-paper) 5px);
    transform: translateX(0) skewX(var(--edge-angle));
    transition: transform 1.3s var(--ease);
    pointer-events: none;
  }
  .frame--wipe.is-in::after { transform: translateX(105%) skewX(var(--edge-angle)); }
}

/* ---------- Leistungsübersicht (Startseite) ---------- */
.groups { display: grid; gap: var(--s6); }
.group {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--c-line-strong);
}
.group__head { grid-column: 1 / 4; display: grid; gap: var(--s1); align-content: start; }
.group__head p { color: var(--c-text-2); font-size: var(--fs-small); }
.group__tiles {
  grid-column: 4 / 13;
  display: grid;
  gap: var(--s3);
  list-style: none;
}
.group__tiles--4 { grid-template-columns: repeat(2, 1fr); }
.group__tiles--3 { grid-template-columns: repeat(3, 1fr); }

.tile {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 0.75rem;
  height: 100%;
  color: var(--c-night);
  text-decoration: none;
}
.tile .frame { aspect-ratio: 4 / 3; width: 100%; }
.tile__title {
  display: block;
  font-size: 1.1875rem;
  font-stretch: var(--stretch-head);
  font-weight: 680;
  line-height: 1.2;
}
.tile:hover { color: var(--c-night); }
@media (hover: hover) {
  .tile img { transition: transform 0.6s var(--ease); }
  .tile:hover img { transform: scale(1.03); }
  .tile:hover .tile__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
}

@media (max-width: 960px) {
  .group__head,
  .group__tiles { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .group__tiles--4,
  .group__tiles--3 { grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .group__tiles--3 > :first-child { grid-column: span 2; }
  .group__tiles--3 > :first-child .tile .frame { aspect-ratio: 16 / 10; }
  .tile__title { font-size: 1.0625rem; }
}

/* Weitere Leistungen als Tag-Liste */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.tags li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: var(--fs-small);
  font-weight: 550;
}
.more {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s3);
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--c-line-strong);
}
.more h3 { grid-column: 1 / 4; }
.more .tags { grid-column: 4 / 13; }
@media (max-width: 960px) {
  .more h3,
  .more .tags { grid-column: 1 / -1; }
}

/* ---------- Für wen / Warum ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4) var(--s3);
  list-style: none;
}
.audience li { display: grid; gap: 0.6rem; align-content: start; padding-top: var(--s3); border-top: 3px solid var(--c-brand); }
.audience p { color: var(--c-text-2); }
@media (max-width: 960px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

.reasons {
  display: grid;
  gap: 0;
  margin-top: var(--s6);
  list-style: none;
  counter-reset: none;
}
.reasons li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s3);
  align-items: baseline;
  padding-block: var(--s3);
}
.reasons li + li { border-top: 1px solid var(--c-line); }
.reasons strong {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-stretch: var(--stretch-display);
  font-weight: 720;
  line-height: 1.1;
}
.reasons span { color: var(--c-text-2); }
@media (max-width: 767px) {
  .reasons li { grid-template-columns: 1fr; gap: var(--s1); }
}

/* ---------- Ablauf ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  list-style: none;
  counter-reset: step;
}
.steps li { position: relative; display: grid; gap: var(--s2); align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-size: clamp(4rem, 3rem + 3vw, 6rem);
  font-stretch: 62%;
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-brand);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 4.5rem;
  right: calc(-1 * var(--s4) + 0.5rem);
  height: 3px;
  background: linear-gradient(90deg, var(--c-signal), rgb(242 194 48 / 0));
}
.steps li:last-child::after { display: none; }
.steps p { color: var(--c-text-2); }
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; gap: var(--s4); }
  .steps li { grid-template-columns: 4.5rem 1fr; column-gap: var(--s2); }
  .steps li::before { grid-row: span 2; font-size: 4rem; }
  .steps li::after { display: none; }
}

/* ---------- Kundenstimmen ---------- */
.reviews { display: grid; gap: var(--s5); }
.reviews__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s2) var(--s3);
  align-items: end;
}
.reviews__head .label,
.reviews__head h2 { grid-column: 1 / 8; }
.rating {
  grid-column: 9 / 13;
  grid-row: 1 / span 2;
  display: grid;
  gap: 0.6rem;
  justify-items: end;
  text-align: right;
}
.rating__text { color: var(--c-text-2); }
.rating__text strong { color: var(--c-night); font-size: 1.25rem; font-stretch: var(--stretch-head); }

/* Fünf Sterne mit dezentem Leuchten */
.stars { display: flex; gap: 0.35rem; }
.star {
  width: clamp(28px, 2vw + 16px, 40px);
  height: auto;
  fill: var(--c-signal);
  filter: drop-shadow(0 0 6px rgb(242 194 48 / 0.55)) drop-shadow(0 1px 1px rgb(12 31 46 / 0.18));
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* Einmaliges Aufleuchten nacheinander, danach ein sehr ruhiges Glimmen */
  .rating.reveal .star { opacity: 0.25; transform: scale(0.85); }
  .rating.reveal.is-in .star {
    animation: star-on 0.6s var(--ease) forwards, star-glow 4s ease-in-out 1.6s infinite;
  }
  .rating.reveal.is-in .star:nth-child(2) { animation-delay: 0.1s, 1.7s; }
  .rating.reveal.is-in .star:nth-child(3) { animation-delay: 0.2s, 1.8s; }
  .rating.reveal.is-in .star:nth-child(4) { animation-delay: 0.3s, 1.9s; }
  .rating.reveal.is-in .star:nth-child(5) { animation-delay: 0.4s, 2s; }
}
@keyframes star-on {
  to { opacity: 1; transform: none; }
}
@keyframes star-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

.reviews__list {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s4);
  align-items: stretch;
}
.review {
  display: grid;
  gap: var(--s3);
  align-content: start;
  margin: 0;
  padding: var(--s4);
  border-top: 3px solid var(--c-signal);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow);
}
.review blockquote {
  margin: 0;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-stretch: var(--stretch-head);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.review blockquote p { text-wrap: pretty; }
.review figcaption { display: grid; gap: 0.1rem; }
.review figcaption strong { font-weight: 700; }
.review figcaption span { color: var(--c-text-2); font-size: var(--fs-small); }
.review__praise { display: grid; gap: 0.6rem; padding-top: var(--s2); border-top: 1px solid var(--c-line); }
.review__praise p { font-size: var(--fs-small); font-weight: 600; color: var(--c-text-2); }
.review__praise ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; }
.review__praise li { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); font-weight: 600; }
.review__praise .icon { color: var(--c-brand); width: 1.1em; height: 1.1em; }
.reviews__note { font-size: 0.8125rem; color: var(--c-text-2); }

@media (max-width: 960px) {
  .reviews__head .label,
  .reviews__head h2,
  .rating { grid-column: 1 / -1; grid-row: auto; justify-items: start; text-align: left; }
  .reviews__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .review { padding: var(--s3); }
}

/* ---------- Einsatzgebiet ---------- */
.area {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4) var(--s3);
  align-items: center;
}
.area__map { grid-column: 1 / 6; }
.area__body { grid-column: 7 / 13; display: grid; gap: var(--s3); }
.locator { width: 100%; height: auto; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.locator .grid-line { stroke: var(--c-line); stroke-width: 1; }
.locator .ring { fill: none; stroke: var(--c-brand); stroke-width: 1.25; }
.locator .ring--2 { stroke-opacity: 0.55; }
.locator .ring--3 { stroke-opacity: 0.3; }
.locator .edge { fill: var(--c-signal); }
.locator .pin { fill: var(--c-night); }
.locator .pin-halo { fill: var(--c-signal); }
.locator text { font-family: var(--font); fill: var(--c-night); }
.locator .t-city { font-size: 22px; font-weight: 720; font-stretch: 75%; }
.locator .t-sub { font-size: 13px; fill: var(--c-text-2); }
.locator .t-n { font-size: 12px; font-weight: 700; fill: var(--c-text-2); }
@media (max-width: 960px) {
  .area__map,
  .area__body { grid-column: 1 / -1; }
  .area__map { max-width: 520px; }
}

/* ---------- Abschluss-CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 3rem + 8vw, 10rem);
  color: var(--c-on-dark);
  background: var(--c-night);
  overflow: hidden;
}
.cta__media,
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media { z-index: -1; }
.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(12 31 46 / 0.94) 0%, rgb(12 31 46 / 0.82) 45%, rgb(12 31 46 / 0.45) 100%);
}
.cta__body { display: grid; gap: var(--s3); max-width: 40rem; }
.cta h2 { color: #fcfdfe; }
.cta p { color: var(--c-on-dark); font-size: var(--fs-lead); }
.cta__edge {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 58%;
  width: 6px;
  background: var(--c-signal);
  transform: skewX(var(--edge-angle));
  z-index: -1;
}
@media (max-width: 767px) { .cta__edge { left: 88%; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-night);
  color: var(--c-on-dark-2);
  padding-block: var(--s6) var(--s4);
  font-size: var(--fs-small);
}
.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: var(--c-signal); }
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 2fr;
  gap: var(--s4) var(--s3);
}
.footer-brand { display: grid; gap: var(--s2); align-content: start; }
.footer-brand__name {
  color: #fcfdfe;
  font-size: 1.75rem;
  font-stretch: var(--stretch-display);
  font-weight: 740;
  line-height: 1.05;
}
.site-footer h2 {
  margin-bottom: var(--s2);
  color: #fcfdfe;
  font-size: 1rem;
  font-stretch: 90%;
  font-weight: 650;
  letter-spacing: 0;
}
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem var(--s2); margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgb(180 196 209 / 0.2);
}
.footer-bottom ul { display: flex; gap: var(--s3); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.page-head .container { display: grid; gap: var(--s3); }
.page-head::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  right: 12%;
  width: 8px;
  background: var(--c-signal);
  transform: skewX(var(--edge-angle));
}
.page-head::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  right: -10%;
  width: calc(22% - 8px);
  background: var(--c-paper);
  transform: skewX(var(--edge-angle));
}
.page-head > .container { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .page-head::after { right: 4%; width: 6px; }
  .page-head::before { display: none; }
}

/* ---------- Leistungsseite ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgb(243 246 248 / 0.96);
  border-bottom: 1px solid var(--c-line);
}
@supports (backdrop-filter: blur(8px)) {
  .subnav { background: rgb(243 246 248 / 0.86); backdrop-filter: blur(8px); }
}
.subnav__inner { display: flex; align-items: center; gap: var(--s3); min-height: 60px; }
.filter { display: flex; gap: 0.25rem; flex: none; padding: 3px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.filter button {
  min-height: 36px;
  padding: 0.3rem 0.8rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  touch-action: manipulation;
}
.filter button:hover { background: var(--c-paper); }
.filter button[aria-pressed="true"] { background: var(--c-night); color: var(--c-on-dark); }
.chips {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  mask-image: linear-gradient(90deg, #000 90%, transparent);
  padding-block: 0.5rem;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  display: block;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
  color: var(--c-text-2);
  font-size: var(--fs-small);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.chips a:hover { color: var(--c-night); background: var(--c-surface); }
.chips a[aria-current="true"] { color: var(--c-night); background: var(--c-surface); box-shadow: inset 0 -3px 0 var(--c-signal); }
@media (max-width: 960px) {
  .subnav__inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .filter { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .subnav__inner > * { min-width: 0; }
}

.svc-group { padding-top: var(--section-y); }
.svc-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--c-line-strong); }
.svc-group__head p { color: var(--c-text-2); }
.svc-group__head h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-stretch: var(--stretch-head); color: var(--c-steel); }
.svc h3 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem); font-stretch: var(--stretch-display); font-weight: 720; line-height: 1.05; }
.svc { padding-top: var(--s6); }
.svc[hidden],
.svc-group[hidden],
.svc-pair[hidden] { display: none; }
.svc__body { display: grid; gap: var(--s2); align-content: start; }
.svc__body .btn { justify-self: start; margin-top: var(--s2); }
.svc__points { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: var(--s1); }
.svc__points li {
  padding: 0.3rem 0.7rem;
  border-left: 3px solid var(--c-signal);
  background: var(--c-surface);
  font-size: var(--fs-small);
  font-weight: 550;
}

/* Layout A: Bildband über volle Breite, Text zweispaltig */
.svc--band .frame { aspect-ratio: 2 / 1; margin-bottom: var(--s4); }
.svc--band .svc__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s3); }
.svc--band .svc__cols > :first-child { grid-column: 1 / 6; }
.svc--band .svc__cols > :last-child { grid-column: 7 / 13; }

/* Layout B: versetztes Bild-Text-Paar */
.svc--split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4) var(--s3); align-items: center; }
.svc--split .frame { grid-column: 1 / 7; aspect-ratio: 4 / 3; }
.svc--split .svc__body { grid-column: 8 / 13; }
.svc--split.svc--flip .frame { grid-column: 7 / 13; grid-row: 1; }
.svc--split.svc--flip .svc__body { grid-column: 1 / 6; grid-row: 1; }

/* Layout C: Paar kompakter Leistungen nebeneinander */
.svc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.svc--compact { display: grid; gap: var(--s3); align-content: start; }
.svc--compact .frame { aspect-ratio: 16 / 10; }

/* Beckenreinigung: Galerie */
.svc--feature { padding-top: var(--s6); }
.svc--feature .svc__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s3); margin-bottom: var(--s4); }
.svc--feature .svc__cols > :first-child { grid-column: 1 / 7; }
.svc--feature .svc__cols > :last-child { grid-column: 8 / 13; align-self: end; }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s2);
  margin: 0;
  list-style: none;
}
.gallery figure { margin: 0; display: grid; gap: 0.5rem; }
.gallery .frame { height: auto; }
.gallery__b .frame { height: 100%; }
.gallery figcaption { font-size: var(--fs-small); color: var(--c-text-2); }
.gallery__a { grid-column: 1 / 9; }
.gallery__a .frame { aspect-ratio: 4 / 3; }
.gallery__b { grid-column: 9 / 13; }
.gallery__b .frame { aspect-ratio: auto; }
.gallery__c { grid-column: 1 / 7; }
.gallery__c .frame { aspect-ratio: 4 / 3; }
.gallery__d { grid-column: 7 / 13; }
.gallery__d .frame { aspect-ratio: 4 / 3; }
.gallery__d img { object-position: 50% 40%; }
.gallery__b,
.gallery__a { display: grid; }
.gallery__b { grid-template-rows: 1fr; }

@media (max-width: 960px) {
  .svc--band .svc__cols > :is(:first-child, :last-child),
  .svc--feature .svc__cols > :is(:first-child, :last-child),
  .svc--split .frame,
  .svc--split .svc__body,
  .svc--split.svc--flip .frame,
  .svc--split.svc--flip .svc__body { grid-column: 1 / -1; grid-row: auto; }
  .svc--band .frame { aspect-ratio: 16 / 10; }
  .svc-pair { grid-template-columns: 1fr; gap: 0; }
  .gallery__a,
  .gallery__c,
  .gallery__d { grid-column: 1 / -1; }
  .gallery__b { grid-column: 1 / -1; }
  .gallery__b .frame { aspect-ratio: 3 / 4; max-height: 70vh; }
}
@media (min-width: 561px) and (max-width: 960px) {
  .gallery__c { grid-column: 1 / 7; }
  .gallery__d { grid-column: 7 / 13; }
}

.end-cta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s3);
  margin-top: var(--section-y);
  padding: var(--s5) var(--s4);
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.end-cta > div { grid-column: 1 / 9; display: grid; gap: var(--s2); }
.end-cta .btn-row { grid-column: 9 / 13; align-self: center; justify-content: flex-end; }
.end-cta::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -2%;
  width: 8px;
  background: var(--c-signal);
  transform: skewX(var(--edge-angle));
}
@media (max-width: 960px) {
  .end-cta > div,
  .end-cta .btn-row { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Kontaktseite ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s5) var(--s3);
  align-items: start;
}
.contact-layout__form { grid-column: 1 / 8; }
.contact-layout__aside { grid-column: 9 / 13; display: grid; gap: var(--s4); position: sticky; top: calc(var(--header-h) + var(--s3)); }
@media (max-width: 960px) {
  .contact-layout__form,
  .contact-layout__aside { grid-column: 1 / -1; position: static; }
}

.contact-list { display: grid; gap: var(--s3); list-style: none; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 0.15rem; color: var(--c-brand); }
.contact-list strong { display: block; font-size: var(--fs-small); color: var(--c-text-2); font-weight: 600; }
.contact-list a { color: var(--c-night); font-weight: 650; font-size: 1.125rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--c-brand); text-decoration: underline; }
.aside-card { padding: var(--s4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); display: grid; gap: var(--s3); }
.aside-card .hours { color: var(--c-text); }

/* ---------- Formular ---------- */
.form { display: grid; gap: var(--s4); }
.form-card { padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.progress li {
  display: grid;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-text-2);
}
.progress li::before {
  content: "";
  height: 4px;
  border-radius: 2px;
  background: var(--c-line);
}
.progress li[aria-current="step"] { color: var(--c-night); }
.progress li[aria-current="step"]::before,
.progress li.is-done::before { background: var(--c-brand); }
.progress li.is-done { color: var(--c-night); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--s3); }
fieldset + fieldset { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--c-line); }
legend { padding: 0; margin-bottom: var(--s3); font-size: var(--fs-h3); font-stretch: var(--stretch-head); font-weight: 680; line-height: 1.15; }
.legend-hint { margin-top: -0.75rem; color: var(--c-text-2); font-size: var(--fs-small); }

.field { display: grid; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label,
.field .label-text { font-weight: 600; }
.field .opt { font-weight: 450; color: var(--c-text-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #8a99a7;
  border-radius: var(--radius);
  background: #fcfdfe;
  color: var(--c-night);
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #66747f; }
.field input:hover,
.field textarea:hover { border-color: var(--c-night); }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgb(22 114 176 / 0.3); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.hint { font-size: var(--fs-small); color: var(--c-text-2); }
.error { display: none; font-size: var(--fs-small); font-weight: 600; color: var(--c-error); }
.field.has-error .error,
.choice-error.is-visible { display: block; }

/* Leistungs-Kacheln (Radio) */
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
}
@media (max-width: 767px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
  min-height: 56px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: #fcfdfe;
  font-weight: 600;
  font-size: 0.96875rem;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.choice label::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid #8a99a7;
  border-radius: 50%;
  background: #fcfdfe;
}
.choice input:hover + label { border-color: var(--c-night); }
.choice input:checked + label { border-color: var(--c-night); background: #fff9e3; box-shadow: inset 4px 0 0 var(--c-signal); }
.choice input:checked + label::before { border-color: var(--c-night); background: radial-gradient(circle, var(--c-night) 0 4px, #fcfdfe 5px); }
.choice input:focus-visible + label { outline: 3px solid var(--c-brand); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 0.6rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--c-night); }
.check label { font-weight: 450; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-top: var(--s4); }
.form-nav [data-prev] { margin-right: auto; }
/* Schritt-Formular: Anfangszustand schon per CSS, damit nichts springt (CLS).
   Ohne JavaScript bleibt es ein normales, vollständiges Formular. */
.progress { display: none; }
@media (scripting: none) {
  .form [data-prev],
  .form [data-next] { display: none; }
}
@media (scripting: enabled) {
  .form[data-form] .progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    list-style: none;
    margin-bottom: var(--s3);
  }
  .form[data-form] fieldset + fieldset { margin-top: 0; padding-top: 0; border-top: 0; }
  .form[data-form] fieldset[data-step]:not(:first-of-type),
  .form[data-form].is-stepped fieldset[data-step]:not(.is-active) { display: none; }
  .form[data-form].is-stepped fieldset[data-step].is-active { display: grid; }
  .form[data-form] [type="submit"] { display: none; }
  .form[data-form].is-last [type="submit"] { display: inline-flex; }
  .form[data-form].is-last [data-next] { display: none; }
  .form[data-form]:not(.is-stepped) [data-prev],
  .form[data-form].is-first [data-prev] { visibility: hidden; }
}
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

.notice {
  display: grid;
  gap: 0.5rem;
  padding: var(--s3);
  border-left: 4px solid var(--c-signal);
  border-radius: var(--radius);
  background: #fff9e3;
}
.notice--error { border-left-color: var(--c-error); background: #fdf0ef; }
.notice[hidden] { display: none; }
.notice a { color: var(--c-night); font-weight: 650; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-stretch: var(--stretch-head); margin-top: var(--s5); margin-bottom: var(--s2); }
.prose h3 { font-size: 1.25rem; margin-top: var(--s4); margin-bottom: var(--s1); }
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose ul,
.prose address { margin-top: var(--s2); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose .highlight { padding: var(--s3); border-left: 4px solid var(--c-signal); background: var(--c-surface); }
.prose .highlight h3 { margin-top: 0; }
.prose .stand { margin-top: var(--s5); color: var(--c-text-2); }

/* Einfache Ergebnisseiten (Danke, 404) */
.simple { min-height: 60vh; display: grid; align-content: center; gap: var(--s3); }
.simple .btn-row { margin-top: var(--s2); }

/* ---------- Einblendungen beim Scrollen ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .contact-bar, .subnav, .cta, .hero__media, .hero__veil { display: none !important; }
  .hero { color: #000; background: none; min-height: 0; }
  body { background: #fff; }
}

/* ---------- Ergänzungen ---------- */
.h3-size { font-size: var(--fs-h3); font-stretch: var(--stretch-head); font-weight: 680; line-height: 1.15; }
.more > h2 { grid-column: 1 / 4; }
@media (max-width: 960px) { .more > h2 { grid-column: 1 / -1; } }
.aside-map { display: grid; gap: var(--s2); }
.aside-map .locator { max-width: 420px; }

/* Ohne JavaScript: mobiles Menü dauerhaft sichtbar statt Aufklappmenü */
@media (scripting: none) and (max-width: 960px) {
  .menu-toggle { display: none; }
  .site-header { position: static; }
  .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 0.75rem; }
  .nav { position: static; display: flex; width: 100%; padding: 0; box-shadow: none; border: 0; max-height: none; }
}

/* ---------- Hero-Video ---------- */
.hero__media .hero__video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__media .hero__video.is-playing { opacity: 1; }
.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: var(--s3);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(238 243 247 / 0.5);
  border-radius: var(--radius);
  background: rgb(12 31 46 / 0.45);
  color: var(--c-on-dark);
  touch-action: manipulation;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__toggle[hidden] { display: none; }
.hero__toggle:hover { background: rgb(12 31 46 / 0.75); border-color: var(--c-on-dark); }
.hero__toggle .icon { width: 20px; height: 20px; }
.hero__toggle .icon--play,
.hero__toggle[aria-pressed="true"] .icon--pause { display: none; }
.hero__toggle[aria-pressed="true"] .icon--play { display: block; }

/* ---------- Footer: Hinweis auf die Umsetzung ---------- */
.credit { color: rgb(180 196 209 / 0.75); }
.credit a { color: inherit; text-decoration-color: rgb(180 196 209 / 0.4); }
.credit a:hover { color: var(--c-signal); }

.footer-bottom p { margin: 0; }

/* ---------- Hinweis auf KI-generierte Medien ---------- */
.ai-tag {
  position: absolute;
  left: var(--gutter);
  bottom: var(--s2);
  z-index: 1;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  background: rgb(12 31 46 / 0.55);
  color: rgb(238 243 247 / 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.cta .ai-tag,
.hero .ai-tag { font-size: 0.75rem; color: rgb(238 243 247 / 0.72); }
.cta .ai-tag { bottom: var(--s3); }
