/* =========================================================================
   Kölner Butz Emmer – Raum- und Gebäudereinigung
   Gestaltung: tiefes Marineblau aus dem Wortzeichen, Aqua als Brücke
   zwischen Domblau und Kleeblattgrün, viel Weißraum, Haarlinien statt
   Kästen.
   ========================================================================= */

@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  /* Schrift: tiefes Marineblau, wie im Wortzeichen des Logos */
  --ink:        #10204f;
  --ink-soft:   #46557a;
  --ink-faint:  #6d7c9c;

  --navy:       #0e2c78;
  --blue:       #12559b;
  --blue-bright:#1e7ab0;

  /* Aqua: die Brücke zwischen dem Blau des Doms und dem Grün des Kleeblatts */
  --aqua:       #0d6b75;
  --aqua-mid:   #4bb3bd;
  --aqua-soft:  #9fdde0;
  --aqua-pale:  #c9ecec;
  --sky:        #7ec2f7;
  --mist:       #e2f4f3;
  --paper:      #f2faf9;

  --green:      #3f8c1f;
  --green-deep: #2c6a12;
  --clover:     #8dc63f;
  --sun:        #f4c731;

  --line:       #d6e8e7;
  --line-soft:  #e7f2f1;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1180px;
  --radius: 14px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 79, .06), 0 8px 24px -16px rgba(16, 32, 79, .26);
  --shadow-md: 0 18px 50px -28px rgba(16, 32, 79, .5);

  --step--1: clamp(.875rem, .84rem + .18vw, .95rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4:  clamp(2.25rem, 1.75rem + 2.2vw, 3.7rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.012em; }
p  { margin: 0; text-wrap: pretty; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }

img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.wrap { width: min(var(--maxw), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 68ch; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .18s ease;
}
.skip:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------------ Kopf */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(16, 32, 79, .7); }

.head-inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  min-height: 76px; padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(148px, 20vw, 218px); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative; display: inline-block; padding: 6px 0;
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: var(--step--1);
  letter-spacing: .01em;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--navy); font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 12px; }

/* Anrufen steht als eigener Button im Kopf statt als nackte Nummer:
   auf dem Telefon ein Tipp, am Rechner ein sichtbares Angebot. Umrandet
   statt gefüllt, damit er dem Haupt-Button nicht die Schau stiehlt. */
.btn--klein { padding: 10px 18px; font-size: .88rem; gap: 8px; }
.btn--anruf {
  display: none; background: #fff; color: var(--navy); border-color: var(--line);
  white-space: nowrap;
}
.btn--anruf:hover { color: var(--navy); border-color: var(--aqua-mid); background: var(--mist); transform: translateY(-2px); }
.btn--anruf::after { background: linear-gradient(105deg, transparent 42%, rgba(16, 32, 79, .08) 50%, transparent 58%); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 19px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after  { transform: rotate(-45deg) translateY(-1px); }

@media (min-width: 1000px) { .btn--anruf { display: inline-flex; } }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 26px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line-soft); }
  .nav a { padding: 15px 0; font-size: var(--step-0); }
  .nav a::after { display: none; }
  .head-cta .btn { display: none; }
  .nav a.btn { display: inline-flex; margin-top: 20px; width: 100%; justify-content: center; font-size: var(--step--1); }
  .nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }
}
@media (min-width: 900px) { .nav .btn { display: none; } }

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: var(--step--1); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--navy) 88%);
  color: #fff; box-shadow: 0 12px 28px -14px rgba(16, 32, 79, .7);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(16, 32, 79, .75); }
/* Grün für den Mail-Weg, Marineblau für den Anruf. Das Grün stammt vom
   Kleeblatt im Logo, ist aber bewusst dunkler gewählt: Weiß auf dem
   hellen Kleeblattgrün käme nur auf 2:1 und wäre nicht lesbar. So sind
   es 4,9:1 an der hellsten Stelle. */
.btn--gruen { background: linear-gradient(135deg, #38801b, #235310); color: #fff; border-color: transparent; }
.btn--gruen:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(35, 83, 16, .7); }
.btn--gruen::after { background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%); }

/* Aqua für den Mail-Weg: dritte Farbe neben Marineblau und Grün, damit
   die drei Kontaktwege auf einen Blick unterscheidbar sind. */
.btn--aqua { background: linear-gradient(135deg, #0d6b75, #084c54); color: #fff; border-color: transparent; }
.btn--aqua:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(8, 76, 84, .7); }
.btn--aqua::after { background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--mist); }
.btn--ghost:hover { border-color: var(--aqua-mid); color: var(--navy); background: var(--aqua-pale); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); transform: translateY(-2px); }
.btn--onblue { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--onblue:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Glanzstreifen über den Button – wie ein Wischer über eine Scheibe */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: -60% -20%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .42) 50%, transparent 58%);
  transform: translateX(-130%); pointer-events: none;
}
.btn--ghost::after { background: linear-gradient(105deg, transparent 42%, rgba(16, 32, 79, .1) 50%, transparent 58%); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover::after, .btn:focus-visible::after { transition: transform .8s cubic-bezier(.2, .7, .3, 1); transform: translateX(130%); }
}

/* ----------------------------------------------------------- Abschnitte */

.section { padding-block: clamp(64px, 8.5vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-soft); }

.head-block { max-width: 60ch; }
.head-block p { margin-top: 18px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6.5vw, 96px) clamp(56px, 7vw, 100px);
  background:
    radial-gradient(1200px 820px at 82% 24%, rgba(159, 221, 224, .5), transparent 68%),
    radial-gradient(820px 560px at 98% 84%, rgba(141, 198, 63, .1), transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid; gap: clamp(40px, 6vw, 76px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-bright), var(--navy));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Der dritte Weg steht bewusst nicht als dritter Button da: Anrufen und
   Mailen sollen die Blicke bekommen, das Formular ist die Alternative. */
.hero-nebenweg { margin-top: 18px; font-size: var(--step--1); }
.hero-nebenweg a { color: var(--ink-soft); text-decoration-color: var(--aqua-mid); }
.hero-nebenweg a:hover { color: var(--navy); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--ink-soft);
}
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--clover); flex: 0 0 auto;
}

/* Bildmarke mit Lichtschein statt Fotomotiv */
/* --- Kopfbereich: das Arbeitsfoto ----------------------------------
   Das Logo steht im Seitenkopf und soll sich nicht wiederholen. An
   dieser Stelle steht deshalb eine echte Aufnahme aus einem Auftrag –
   ein Mitarbeiter bei der Fugenpflege, gleiches Blau wie die Marke. */
.hero-bild {
  position: relative; width: min(100%, 560px); margin-inline: auto;
}
/* Kein fester Zuschnitt: Das Motiv wird in seinem eigenen Format gezeigt,
   sonst schneidet der Rahmen Pflanze und Handtücher ab. Die Ecken sind
   großzügig gerundet – dieselbe weiche Sprache wie bei den Buttons. */
.hero-rahmen {
  position: relative; overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 44px 84px -44px rgba(16, 32, 79, .5);
}
.hero-rahmen img { width: 100%; height: auto; display: block; }
/* Im Kopfbereich steht ein Vorher/Nachher-Paar. Die Rundung übernimmt
   der Rahmen, das Paar selbst bleibt eckig – sonst rundet es doppelt. */
.hero-rahmen .vn-paar { border-radius: 0; aspect-ratio: 8 / 5; background: rgba(255, 255, 255, .5); }
.hero-rahmen .vn-marke { top: 10px; left: 10px; }
/* Haarlinie als Rahmen, dieselbe Sprache wie die Bögen. */
.hero-rahmen::after {
  content: ''; position: absolute; inset: 0; border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .6); pointer-events: none;
}
/* Plakette: die zwei Angaben, die vor dem Anruf zählen. */
.hero-plakette {
  position: absolute; left: -16px; bottom: -18px; z-index: 2;
  display: grid; gap: 2px;
  padding: 15px 22px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-md);
  border-left: 3px solid var(--clover);
}
.hero-plakette b { font-size: var(--step--1); }
.hero-plakette span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 480px) { .hero-plakette { left: 0; bottom: 14px; } }

/* Der Wischer fährt einmal über den Kopfbereich – das Foto kommt in
   derselben Richtung dahinter zum Vorschein, als würde es freigewischt. */
@media (prefers-reduced-motion: no-preference) {
  .hero-rahmen img { animation: freiwischen 1.5s cubic-bezier(.5, .05, .2, 1) both; }
  .hero-plakette { animation: aufblenden .7s ease-out 1.15s both; }
}
@keyframes freiwischen {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.06); }
  to   { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes aufblenden {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ Leistungen */

.split { display: grid; gap: clamp(34px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split--even { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--even { grid-template-columns: 1fr 1fr; } }

.check-list { display: grid; gap: 0; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); } }
.check-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  padding-block: 15px; border-top: 1px solid var(--line-soft);
}
.check-list li::before {
  content: ''; width: 20px; height: 20px; margin-top: 4px;
  background: linear-gradient(140deg, var(--clover), var(--green-deep));
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}
:root {
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6A10.4 10.4 0 1 0 22.4 12 10.41 10.41 0 0 0 12 1.6Zm5.2 7.9-6.3 6.3a1.1 1.1 0 0 1-1.55 0L6.8 12.85a1.1 1.1 0 0 1 1.55-1.55l1.78 1.78 5.52-5.53A1.1 1.1 0 0 1 17.2 9.5Z'/%3E%3C/svg%3E");
}

/* Nummerierte Ablaufliste ohne Kästen */
.steps { counter-reset: step; display: grid; gap: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px, 4vw, 56px); } }
.steps li { counter-increment: step; padding: 28px 0; border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  font-size: var(--step-1); font-weight: 700; color: var(--aqua-mid); letter-spacing: .02em;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); }

/* Auftragsarten – grüne Keylines, bewusst anders als die Ablaufschritte */
.modes { display: grid; gap: 0; }
.modes li { padding: 22px 0; border-top: 1px solid var(--line); }
.modes li:first-child { border-top-width: 3px; border-top-color: var(--green); }
.modes h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.modes h3::before {
  content: ''; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%;
  background: linear-gradient(140deg, var(--clover), var(--green-deep));
}
.modes p { color: var(--ink-soft); padding-left: 21px; }

/* Zahlen-/Faktenzeile */
.facts { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.facts li { padding: 26px clamp(14px, 2vw, 28px) 26px 0; border-top: 2px solid var(--line); }
.facts b { display: block; font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.facts span { color: var(--ink-soft); font-size: var(--step--1); }

/* --------------------------------------------------------------- Aussage */

.band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(118deg, #0b1738 0%, #12365e 44%, #14707f 100%);
}
.band::before {
  content: ''; position: absolute; inset: auto -10% -60% 40%; height: 130%;
  background: radial-gradient(45% 45% at 50% 50%, rgba(255, 255, 255, .16), transparent 70%);
}
.band::after {
  content: ''; position: absolute; left: -8%; top: -30%; width: 60%; height: 170%;
  background: radial-gradient(40% 40% at 50% 50%, rgba(141, 198, 63, .18), transparent 72%);
}
.band > * { position: relative; }
.band h2 { color: #fff; }
.band .lead, .band p { color: rgba(255, 255, 255, .84); }
.band .eyebrow { color: var(--aqua-soft); }
.band .facts li { border-top-color: rgba(255, 255, 255, .28); }
.band .facts b { color: #fff; }
.band .facts span { color: rgba(255, 255, 255, .74); }
.band a:not(.btn) { color: #fff; }

/* ------------------------------------------------------------ Dom-Motiv */

/* Die Bildmarke zeigt den Dom als lachendes Gesicht. Damit der Bezug nicht
   nur im Logo steckt, taucht die Silhouette an drei Stellen wieder auf –
   immer als Haarlinie, nie als Fläche, damit sie sich in die Bögen und
   Blasen einreiht statt mit ihnen zu konkurrieren. */

.dom { display: block; width: 100%; height: auto; }
.dom path, .dom circle {
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* 1. Im blauen Streifen: die Türme wachsen aus der unteren Kante, der
   Rest bleibt angeschnitten. Nach links ausgeblendet, damit die Linien
   nicht in die Textspalten laufen – derselbe Kniff wie bei den Bögen. */
.dom--band {
  position: absolute; right: -3%; bottom: -104px; z-index: 0;
  width: min(42%, 460px); color: #fff; opacity: .17;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 46%, transparent 96%);
  mask-image: linear-gradient(to left, #000 46%, transparent 96%);
}
@media (max-width: 720px) {
  .dom--band { width: 82%; right: -20%; bottom: -78px; opacity: .13; }
}

/* 2. Über dem Fuß: die Silhouette sitzt als Zierstück auf einer Haarlinie
   und schließt die Seite ab. Die Linie ersetzt die Oberkante der
   Fußzeile, damit nicht zwei Striche übereinander liegen. */
.dom-leiste {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(40px, 5vw, 62px);
  color: var(--aqua-mid);
}
.dom-leiste::before, .dom-leiste::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.dom-leiste .dom { width: clamp(72px, 9vw, 104px); opacity: .62; }
.dom-leiste + .foot-bar { margin-top: clamp(26px, 3vw, 38px); border-top: 0; padding-top: 0; }

/* 3. Als Marke über einem Abschnittskopf, wo der Ortsbezug gemeint ist.
   Eigene Zeile, damit sie nicht mit dem Strich des Eyebrows kollidiert. */
.dom-klein {
  display: block; width: 34px; color: var(--aqua);
  margin: 0 0 16px; opacity: .8;
}

/* 4. Im Kopf der Unterseiten: rechts angeschnitten hinter den Bögen.
   Bindet die Unterseiten an die Startseite, ohne Platz zu kosten. */
.dom--kopf {
  position: absolute; right: 4%; bottom: -46px; z-index: 0;
  width: min(26%, 260px); color: var(--aqua); opacity: .13;
  pointer-events: none;
}
@media (max-width: 720px) { .dom--kopf { width: 46%; right: -6%; opacity: .1; } }

/* Das Nachzeichnen beim Sichtbarwerden übernimmt derselbe Code wie bei
   den Bögen; die Regeln dazu stehen weiter unten unter „Bewegung". */

/* -------------------------------------------------------------- Leistung */

.tiles { display: grid; gap: clamp(26px, 3vw, 44px); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tile { padding-top: 26px; border-top: 2px solid var(--line); }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--ink-soft); }
.tile .tile-mark {
  display: block; width: 26px; height: 26px; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--blue-bright), var(--navy));
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* ---------------------------------------------------------------- Kontakt */

.contact-grid { display: grid; gap: clamp(38px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.contact-list { display: grid; gap: 0; margin-top: 32px; }
.contact-list > div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list dt { font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.contact-list dd { margin: 0; font-size: var(--step-1); font-weight: 600; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.field .hint { display: block; margin-top: 3px; font-size: .82rem; line-height: 1.5; color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(75, 179, 189, .22);
}
.field-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--step--1); color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.form-note { font-size: .85rem; color: var(--ink-faint); }
.form-status { font-size: var(--step--1); font-weight: 600; }
.form-status[data-state='ok'] { color: var(--green-deep); }
.form-status[data-state='err'] { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------- Galerie */

.galerie { display: grid; gap: clamp(26px, 3vw, 44px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* margin zurücksetzen: figure bringt im Browser 1em/40px mit. */
.galerie figure { display: grid; gap: 0; margin: 0; }
.galerie img {
  width: 100%; height: auto; display: block;
  border-radius: 3px; background: var(--mist);
}
.galerie figcaption {
  padding-top: 16px; margin-top: 18px; border-top: 2px solid var(--line);
  font-size: var(--step--1); color: var(--ink-soft);
}
.galerie figcaption strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Hochformate nebeneinander: schmaler, damit sie nicht die Seite sprengen. */
.galerie--hoch { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Einzelnes Bild im Textfluss */
.bild-breit { margin: 0; }
.bild-breit img { width: 100%; border-radius: 18px; }
.bild-breit figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--ink-soft); }

/* Als Band unter einem Abschnitt. Nötig, weil die Aufnahme ein
   Hochformat ist: über die volle Spaltenbreite würde sie den halben
   Bildschirm füllen und den Abschnitt sprengen. */
.bild-breit--band img {
  height: clamp(220px, 26vw, 360px); object-fit: cover; object-position: 50% 38%;
  border-radius: 22px;
}

/* Zwei Objektaufnahmen nebeneinander, gleiche Höhe trotz
   unterschiedlicher Formate. */
.bild-paar { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .bild-paar { grid-template-columns: 1fr 1fr; } }
.bild-paar figure { margin: 0; display: grid; }
.bild-paar img {
  width: 100%; height: clamp(220px, 30vw, 340px); object-fit: cover;
  border-radius: 4px;
}
.bild-paar figcaption {
  margin-top: 12px; font-size: var(--step--1); color: var(--ink-soft);
}

/* Vorher/Nachher aus zwei Einzelaufnahmen. Sieht aus wie die fertig
   zusammengesetzten Aufnahmen daneben, ist aber schärfer, weil beide
   Hälften aus den Originaldateien kommen. */
.vn-paar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  border-radius: 3px; overflow: hidden; background: var(--line);
}
/* Alle Ergebnis-Paare bekommen dasselbe Format, sonst franst die Reihe
   aus: die Aufnahmen stammen aus fünf Aufträgen und haben von Haus aus
   fünf verschiedene Seitenverhältnisse. 4:5 je Hälfte ist der Mittelwert
   zwischen den Hoch- und den Querformaten. */
.galerie--vn .vn-paar { aspect-ratio: 8 / 5; }
.vn-haelfte { position: relative; display: grid; }
.vn-haelfte img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* z-index ist nötig, sobald das Bild darunter animiert wird: ein
   transform erzeugt einen Stapelkontext, und das Bild würde die Marke
   sonst überdecken, weil es im Markup danach kommt. */
.vn-marke {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 4px 10px; border-radius: 3px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

/* ------------------------------------------------------------- Vertrauen */

/* Vier belegbare Angaben statt Werbefloskeln. Bewusst ohne Kacheln –
   nur Haarlinie und Typografie, wie im Rest der Seite. */
.belege { display: grid; gap: 0 clamp(24px, 3vw, 44px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .belege { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .belege { grid-template-columns: repeat(4, 1fr); } }
.belege li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.belege b { font-size: var(--step--1); letter-spacing: .01em; }
.belege span { font-size: var(--step--1); color: var(--ink-soft); }
.belege li::before {
  content: ''; width: 18px; height: 18px; margin-bottom: 3px;
  background: linear-gradient(140deg, var(--clover), var(--green-deep));
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}

/* -------------------------------------------------------------- Gutschein */

.gutschein {
  display: grid; gap: 8px; align-content: center;
  padding: clamp(26px, 3.4vw, 40px);
  border: 2px solid var(--green); border-radius: 4px;
  background: #fff;
}
.gutschein .betrag {
  font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1; color: var(--green-deep);
}
.gutschein h3 { font-size: var(--step-1); }
.gutschein p { color: var(--ink-soft); }
.gutschein .klein { font-size: .8rem; color: var(--ink-faint); }

/* Gutschein und Bewertung stehen nebeneinander: beides sind Bitten an
   bestehende Kunden, beide gehören an dieselbe Stelle. */
.karten-paar { display: grid; gap: clamp(20px, 2.6vw, 34px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .karten-paar { grid-template-columns: 1fr 1fr; } }

.bewertung {
  display: grid; gap: 10px; align-content: start;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line); border-radius: 4px; background: var(--paper);
}
/* Umrisse, keine gefüllten Sterne: gefüllt läse sich das wie eine
   behauptete Bestnote. Hier ist es eine Bitte, keine Aussage. */
.bewertung .sterne { display: flex; gap: 5px; color: var(--aqua-mid); }
.sterne svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.bewertung h3 { font-size: var(--step-1); }
.bewertung p { color: var(--ink-soft); }
.bewertung .btn { margin-top: 8px; justify-self: start; }

/* -------------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; gap: 14px; cursor: pointer;
  padding: 22px 0; font-weight: 600; font-size: var(--step-0);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 12px; height: 12px; margin-left: auto; align-self: center;
  border-right: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--blue); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.faq .antwort { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; }
.faq .antwort p + p { margin-top: 12px; }

/* --------------------------------------------------- Handleiste (mobil) */

/* Auf dem Telefon ist Anrufen der kürzeste Weg zum Auftrag. Die Leiste
   steht deshalb dauerhaft am unteren Rand – aber nur dort, wo sie auch
   gebraucht wird. */
.handleiste { display: none; }
@media (max-width: 860px) {
  .handleiste {
    position: fixed; inset: auto 0 0 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -18px rgba(16, 32, 79, .8);
  }
  .handleiste a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 10px; background: #fff; color: var(--navy);
    font-weight: 600; font-size: .95rem; text-decoration: none;
  }
  .handleiste a:first-child { background: var(--navy); color: #fff; }
  .handleiste svg { width: 18px; height: 18px; flex: 0 0 auto; }
  /* Platz schaffen, damit die Leiste nichts verdeckt. */
  body { padding-bottom: 62px; }
}

/* ----------------------------------------------------------------- Seiten */

.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(46px, 6vw, 84px) clamp(30px, 4vw, 52px);
  background: var(--paper); border-bottom: 1px solid var(--line-soft);
}
.page-head > .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .82rem; color: var(--ink-faint); margin-bottom: 14px; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { margin-inline: 7px; opacity: .6; }

/* Seitenkopf mit Sprungliste: die rechte Hälfte stand sonst leer, und auf
   einer langen Leistungsseite ist der schnellste Weg zum gesuchten
   Abschnitt mehr wert als Weißraum. */
.kopf-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .kopf-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }

.sprungliste .eyebrow { margin-bottom: 14px; }
.sprungliste ul { display: grid; gap: 0; }
.sprungliste li { border-top: 1px solid var(--line); }
.sprungliste li:last-child { border-bottom: 1px solid var(--line); }
.sprungliste a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; font-size: var(--step--1); font-weight: 600;
  color: var(--ink); text-decoration: none;
}
/* Pfeil nach rechts, nicht nach unten – sonst liest er sich wie ein
   Aufklapp-Menü statt wie ein Sprunglink. */
.sprungliste a::after {
  content: ''; width: 8px; height: 8px; margin-left: auto;
  border-top: 2px solid var(--aqua-mid); border-right: 2px solid var(--aqua-mid);
  transform: rotate(45deg); transition: transform .2s ease;
}
.sprungliste a:hover { color: var(--blue); }
.sprungliste a:hover::after { transform: rotate(45deg) translate(3px, -3px); border-color: var(--blue); }
/* Der klebende Seitenkopf darf die Überschrift nicht verdecken. */
:target { scroll-margin-top: 96px; }

.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); margin-top: clamp(38px, 5vw, 58px); }
.prose h3 { margin-top: 30px; }
.prose h2 + p, .prose h3 + p, .prose h2 + address, .prose h3 + address { margin-top: 14px; }
.prose address { margin-top: 14px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul:not(.check-list) { display: grid; gap: 9px; }
.prose ul:not(.check-list) li { position: relative; padding-left: 20px; }
.prose ul:not(.check-list) li::before {
  content: ''; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--aqua-mid);
}
.prose address { font-style: normal; }

.callout {
  margin-top: 34px; padding: 24px 0 0; border-top: 2px solid var(--line);
  display: grid; gap: 8px;
}
.callout strong { font-size: var(--step-1); }

/* ------------------------------------------------------------------- Fuß */

.site-foot { padding-block: clamp(50px, 6vw, 82px) 32px; background: var(--paper); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: clamp(30px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
/* Kein Logo im Fuß – es steht schon im Seitenkopf. Hier genügt der Name
   als Wortzeichen. */
.foot-name {
  font-size: var(--step-1); font-weight: 700; letter-spacing: -.015em;
  color: var(--navy); margin-bottom: 14px;
}
.foot-grid h2 { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.foot-grid li + li { margin-top: 9px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; font-size: var(--step--1); }
.foot-grid a:hover { color: var(--blue); text-decoration: underline; }
.foot-grid p { color: var(--ink-soft); font-size: var(--step--1); max-width: 40ch; }
.foot-bar {
  margin-top: clamp(36px, 4vw, 54px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  font-size: .84rem; color: var(--ink-faint);
}
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot-bar a { color: var(--ink-faint); text-decoration: none; }
.foot-bar a:hover { color: var(--blue); text-decoration: underline; }

/* --------------------------------------------------------------- Bewegung */

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }

/* Listen kommen versetzt herein statt als Block. Der Versatz steckt in
   --i, das site.js beim Sichtbarwerden setzt – ohne Skript blendet
   einfach alles gleichzeitig ein. */
@media (prefers-reduced-motion: no-preference) {
  .belege.is-in li, .facts.is-in li, .steps.is-in li, .modes.is-in li,
  .tiles.is-in .tile, .galerie.is-in figure, .check-list.is-in li {
    animation: hereinsetzen .6s cubic-bezier(.22, .61, .36, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms);
  }
}
@keyframes hereinsetzen {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Fotos ziehen beim Überfahren leicht an – Hinweis darauf, dass es sich
   um echte Aufnahmen handelt, nicht um Dekoration. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .galerie figure > img, .vn-haelfte img {
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  }
  .galerie figure { overflow: hidden; border-radius: 3px; }
  .galerie figure:hover > img, .galerie figure:hover .vn-haelfte img { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .nav a::after { transition: none; }
}

/* =========================================================== Effekte ====
   Vier Motive, mehr nicht: Seifenblasen, ein Wischer über den Kopfbereich,
   haarfeine Bögen als Nachhall des Logo-Schwungs und ein Politurglanz unter
   dem Zeiger. Alles läuft über transform/opacity, alles hält sich an
   prefers-reduced-motion.
   ====================================================================== */

/* --- Kopfbereich mit Foto -------------------------------------------
   Wird aktiv, sobald <section class="hero hero--foto"> gesetzt und ein
   <img class="hero-foto"> als erstes Kind eingehängt ist. Der Verlauf hält
   die linke Hälfte hell genug für die Schrift, rechts bleibt das Bild frei. */
.hero--foto { --mx: 70%; --my: 30%; min-height: min(88vh, 880px); display: flex; align-items: center; }
.hero--foto .hero-foto {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
}
/* Der Schleier liegt bewusst über dem Bild (das ::before-Element wird sonst
   vom img verdeckt, weil beide im selben Stapel liegen). */
.hero--foto::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg,
      rgba(242, 250, 249, .97) 0 34%,
      rgba(242, 250, 249, .82) 52%,
      rgba(226, 244, 243, .34) 74%,
      rgba(226, 244, 243, 0) 90%);
}
.hero--foto .blobs { opacity: .55; }
.hero--foto .hero-bild { display: none; }
@media (min-width: 900px) { .hero--foto .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 46rem; } }
@media (max-width: 899px) {
  .hero--foto::before {
    background: linear-gradient(178deg,
        rgba(242, 250, 249, .97) 0 46%,
        rgba(242, 250, 249, .72) 62%,
        rgba(226, 244, 243, .2) 88%);
  }
  .hero--foto { min-height: 0; }
}

/* --- Flüssige Aqua-Formen hinter dem Kopfbereich ------------------- */
.blobs { position: absolute; inset: -12% -6%; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs span {
  position: absolute; display: block;
  filter: blur(52px);
  will-change: transform;
}
.blobs span:nth-child(1) {
  width: 46%; height: 74%; right: 1%; top: -10%;
  background: #b7e7e8; opacity: .72;
  border-radius: 58% 42% 44% 56% / 52% 46% 54% 48%;
}
.blobs span:nth-child(2) {
  width: 34%; height: 56%; right: 24%; bottom: -14%;
  background: #d4f0ee; opacity: .8;
  border-radius: 42% 58% 62% 38% / 48% 56% 44% 52%;
}
.blobs span:nth-child(3) {
  width: 22%; height: 38%; right: 6%; bottom: 4%;
  background: #cfe8c9; opacity: .5;
  border-radius: 52% 48% 38% 62% / 58% 42% 58% 42%;
}
@media (prefers-reduced-motion: no-preference) {
  .blobs span:nth-child(1) { animation: treiben-a 46s ease-in-out infinite alternate; }
  .blobs span:nth-child(2) { animation: treiben-b 38s ease-in-out infinite alternate; }
  .blobs span:nth-child(3) { animation: treiben-c 52s ease-in-out infinite alternate; }
}
@keyframes treiben-a {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(-5%, 5%, 0) rotate(22deg) scale(1.1); }
}
@keyframes treiben-b {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.04); }
  to   { transform: translate3d(7%, -7%, 0) rotate(-18deg) scale(.94); }
}
@keyframes treiben-c {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(-9%, -6%, 0) rotate(30deg); }
}
@media (max-width: 899px) {
  .blobs span { filter: blur(38px); }
  .blobs span:nth-child(1) { width: 78%; height: 42%; top: 28%; right: -8%; }
  .blobs span:nth-child(2) { width: 62%; height: 30%; right: 18%; bottom: 2%; }
  .blobs span:nth-child(3) { width: 44%; height: 22%; right: -4%; bottom: 24%; }
}

/* --- Seifenblasen (Canvas) ---------------------------------------- */
.blasen {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero > .wrap, .band > .wrap { position: relative; z-index: 2; }

/* --- Haarfeine Bögen ---------------------------------------------- */
.boegen {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: visible;
  /* Über der Textspalte ausblenden – Schrift bleibt gestochen scharf */
  -webkit-mask-image: linear-gradient(102deg, transparent 14%, rgba(0, 0, 0, .5) 40%, #000 68%);
  mask-image: linear-gradient(102deg, transparent 14%, rgba(0, 0, 0, .5) 40%, #000 68%);
}
.page-head .boegen {
  -webkit-mask-image: linear-gradient(102deg, transparent 42%, #000 80%);
  mask-image: linear-gradient(102deg, transparent 42%, #000 80%);
}
.boegen path {
  fill: none; stroke: rgba(13, 107, 117, .18); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.band .boegen path { stroke: rgba(255, 255, 255, .22); }
.boegen path.stark { stroke: rgba(13, 107, 117, .34); }
.band .boegen path.stark { stroke: rgba(255, 255, 255, .4); }
@media (prefers-reduced-motion: no-preference) {
  .boegen.zeichnen path { transition: stroke-dashoffset 2.6s cubic-bezier(.25, .6, .2, 1); }
  .boegen.zeichnen path:nth-child(2) { transition-delay: .18s; }
  .boegen.zeichnen path:nth-child(3) { transition-delay: .34s; }
  .boegen.zeichnen path:nth-child(4) { transition-delay: .5s; }

  /* Der Dom baut sich von unten nach oben auf: erst die Türme, dann das
     Langhaus, zuletzt Portal und Fensterrose. */
  .dom.zeichnen path, .dom.zeichnen circle { transition: stroke-dashoffset 2.2s cubic-bezier(.25, .6, .2, 1); }
  .dom.zeichnen path:nth-child(2) { transition-delay: .1s; }
  .dom.zeichnen path:nth-child(3) { transition-delay: .22s; }
  .dom.zeichnen path:nth-child(4) { transition-delay: .34s; }
  .dom.zeichnen path:nth-child(5) { transition-delay: .46s; }
  .dom.zeichnen circle { transition-delay: .58s; }
}

/* --- Wischer: streift einmal über den Kopfbereich ------------------ */
.hero { --mx: 70%; --my: 30%; }
.wischer {
  position: absolute; inset: -10% -30%; z-index: 2;
  pointer-events: none; opacity: 0;
  background: linear-gradient(104deg,
      transparent 40%,
      rgba(255, 255, 255, .5) 47%,
      rgba(214, 244, 243, .85) 50%,
      rgba(255, 255, 255, .5) 53%,
      transparent 60%);
  filter: blur(3px);
}
@media (prefers-reduced-motion: no-preference) {
  .wischer.laeuft {
    opacity: 1;
    animation: wischen 1.5s cubic-bezier(.4, .1, .2, 1) forwards;
  }
}
@keyframes wischen {
  0%   { transform: translate3d(-115%, 0, 0); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate3d(115%, 0, 0); opacity: 0; }
}

/* Der Kopfbereich wird hinter dem Wischer klar – wie beschlagenes Glas */
@media (prefers-reduced-motion: no-preference) {

/* --- Politurglanz unter dem Zeiger -------------------------------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(340px 340px at var(--mx) var(--my),
        rgba(255, 255, 255, .75), rgba(255, 255, 255, .28) 42%, transparent 70%);
    opacity: 0; transition: opacity .5s ease;
    mix-blend-mode: soft-light;
  }
  .hero.glanz::after { opacity: 1; }
}

/* --- Scroll-getriebener Feinschliff (nur wo nativ unterstützt) ----- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-bild { animation: schweben linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes schweben {
      from { transform: translateY(22px); }
      to   { transform: translateY(-22px); }
    }
  }
}

@media print {
  .site-head, .site-foot, .hero-bild, .handleiste, .btn { display: none !important; }
  body { color: #000; }
}
