/* ==========================================================================
   MK Bau – Gestaltung
   --------------------------------------------------------------------------
   Gestaltungsidee „Kalkputz“: ruhige, mineralische Töne wie frisch
   verputzte Wände, dunkles Schiefergrau für Schrift, Moosgrün für dunkle
   Flächen und Messing als einziger, sparsamer Akzent.

   Schriften (lokal eingebunden, keine Verbindung zu Google):
     Fraunces    – Überschriften
     Inter Tight – Fließtext und Bedienelemente

   Inhalt
     1  Schriften & Farben (Tokens)
     2  Grundlagen
     3  Layout-Helfer
     4  Schaltflächen & Links
     5  Kopfzeile & Menü
     6  Startbereich (Hero)
     7  Unternehmen
     8  Leistungen
     9  Wasserschäden
    10  Bildband & Hausverwaltungen
    11  Ablauf
    12  Ausstattung & Vorteile
    13  Referenzen & Vorher/Nachher
    14  Einsatzgebiet (Karte)
    15  Kontakt & Formular
    16  Fußzeile & mobile Kontaktleiste
    17  Rechtstexte & Fehlerseite
    18  Bewegung (nur wenn erwünscht)
   ========================================================================== */


/* 1  SCHRIFTEN & FARBEN ===================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/intertight.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --kalk:        #EFEDE7;   /* Seitenhintergrund – Kalkputz */
  --kalk-hell:   #F7F6F2;   /* Eingabefelder, helle Flächen */
  --sandstein:   #E4DFD5;   /* zweite Fläche */
  --fuge:        #D2CBBE;   /* Linien */
  --schiefer:    #22221E;   /* Schrift */
  --schiefer-2:  #5B574F;   /* Nebentext */
  --moos:        #464C3A;   /* dunkle Flächen */
  --moos-tief:   #383D2E;
  --messing:     #A88752;   /* Akzent – nur Linien und Flächen */
  --messing-text:#8E6F3E;   /* Messing für große Ziffern & Fokus (Kontrast ≥ 3:1) */
  --messing-hell:#C9AB78;   /* Akzent auf dunklem Grund */
  --hell:        #F3F1EC;   /* Schrift auf dunklem Grund */
  --hell-2:      #C9C6BB;   /* Nebentext auf dunklem Grund */

  /* Schrift */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-small: 0.875rem;                                   /* 14 px */
  --fs-body:  1.0625rem;                                  /* 17 px */
  --fs-lead:  clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3:    1.3125rem;                                  /* 21 px */
  --fs-h2:    clamp(2.125rem, 1.35rem + 3vw, 3.75rem);    /* 34 → 60 px */
  --fs-h1:    clamp(2.625rem, 1.2rem + 4.6vw, 5.5rem);    /* 42 → 88 px */
  --fs-statement: clamp(1.625rem, 1.15rem + 1.9vw, 2.625rem);

  /* Raster & Abstände */
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(20px, 2.4vw, 36px);
  --section: clamp(84px, 10vw, 168px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}


/* 2  GRUNDLAGEN ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

body {
  margin: 0;
  background: var(--kalk);
  color: var(--schiefer);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2, .serif {
  font-family: var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 340; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 599px) {
  h1, h2, .statement, .service__name {
    -webkit-hyphens: auto; hyphens: auto;
    hyphenate-limit-chars: 12 5 5;
  }
}
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--messing); }

:focus-visible {
  outline: 2px solid var(--messing-text);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible { outline-color: var(--messing-hell); }

::selection { background: var(--moos); color: var(--hell); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--schiefer); color: var(--hell);
  padding: 12px 18px; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

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

/* Offene, noch nicht bestätigte Angaben – bewusst sichtbar markiert */
.ph {
  background: #F1E3B5; color: #4A3B12;
  padding: 0 .35em; border-radius: var(--radius);
  font-family: var(--sans); font-size: .9em; font-weight: 500;
  overflow-wrap: anywhere;
}


/* 3  LAYOUT-HELFER ========================================================= */

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

.section { padding-block: var(--section); }
.section--sand { background: var(--sandstein); }
.section--dark { background: var(--moos); color: var(--hell); }

.section-head { max-width: 46rem; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 + p { margin-top: 1.4rem; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--schiefer-2); max-width: 40em; }
.section--dark .lead { color: var(--hell-2); }

.note { font-size: var(--fs-small); color: var(--schiefer-2); max-width: 46em; }
.section--dark .note { color: var(--hell-2); }

/* Bildrahmen mit festem Seitenverhältnis */
.frame { position: relative; overflow: hidden; background: var(--sandstein); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--45 { aspect-ratio: 4 / 5; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--32 { aspect-ratio: 3 / 2; }


/* Listen mit Haarlinien (Vorteile, Hausverwaltungen, Ausstattung) */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  column-gap: var(--gap);
  row-gap: clamp(28px, 3vw, 44px);
}
.points li { border-top: 1px solid var(--fuge); padding-top: 18px; }
.section--dark .points li { border-top-color: rgba(243, 241, 236, .18); }
.points h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin-bottom: .35rem; }
.points p { color: var(--schiefer-2); font-size: 1rem; line-height: 1.55; }
.section--dark .points p { color: var(--hell-2); }


/* 4  SCHALTFLÄCHEN & LINKS ================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .9375rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn--solid { background: var(--schiefer); color: var(--hell); }
.btn--solid:hover { background: var(--moos); }
.btn--line { border-color: currentColor; color: var(--schiefer); background: transparent; }
.btn--line:hover { background: var(--schiefer); color: var(--hell); border-color: var(--schiefer); }
.btn--light { background: var(--hell); color: var(--schiefer); }
.btn--light:hover { background: var(--messing-hell); }
.btn--line-light { border-color: rgba(243,241,236,.6); color: var(--hell); }
.btn--line-light:hover { background: var(--hell); color: var(--schiefer); }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Textlink mit wachsender Linie */
.link-line {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease-out);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }


/* 5  KOPFZEILE & MENÜ ====================================================== */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .45s var(--ease-out);
}
.site-header.is-solid {
  background: rgba(239, 237, 231, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--fuge);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--schiefer); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-family: var(--serif); font-size: 1.375rem; font-weight: 420; letter-spacing: -.01em; line-height: 1; }
.brand__claim { display: block; font-family: var(--sans); font-size: .75rem; color: var(--schiefer-2); letter-spacing: .01em; margin-top: 4px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: .9375rem; text-decoration: none; color: var(--schiefer);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; font-feature-settings: "tnum"; }
.header__actions .btn { min-height: 44px; padding: 0 20px; }

.menu-toggle {
  display: none; margin-left: auto;
  align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 .9375rem var(--sans); color: var(--schiefer);
}
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8.5px; }
.menu-open .menu-toggle__icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1239px) {
  .header__phone { display: none; }
}
@media (max-width: 1079px) {
  .nav, .header__actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__claim { display: none; }
}

/* Vollbild-Menü (mobil) */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--moos); color: var(--hell);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s linear .6s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s; }
.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .site-header .brand, .menu-open .menu-toggle { color: var(--hell); }
.menu-open .brand .logo-dark { display: none; }
.menu-open .brand .logo-light { display: block; }
.brand .logo-light { display: none; }

.menu__list a {
  display: block; padding: 6px 0;
  font-family: var(--serif); font-weight: 340; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); line-height: 1.15;
  text-decoration: none; letter-spacing: -.015em;
}
.menu__list li { overflow: hidden; }
.menu__list a > span { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease-out); }
.menu-open .menu__list a > span { transform: none; }
.menu-open .menu__list li:nth-child(2) a > span { transition-delay: .04s; }
.menu-open .menu__list li:nth-child(3) a > span { transition-delay: .08s; }
.menu-open .menu__list li:nth-child(4) a > span { transition-delay: .12s; }
.menu-open .menu__list li:nth-child(5) a > span { transition-delay: .16s; }
.menu-open .menu__list li:nth-child(6) a > span { transition-delay: .20s; }
.menu-open .menu__list li:nth-child(7) a > span { transition-delay: .24s; }
.menu__contact { display: grid; gap: 14px; font-size: 1rem; color: var(--hell-2); }
.menu__contact a:not(.btn) { color: var(--hell); }
body.menu-open { overflow: hidden; }


/* 6  STARTBEREICH (HERO) =================================================== */

.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; background: var(--sandstein); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%;
}
/* Verwandlung: Ausgangszustand liegt über dem sanierten Bild, solange die
   Animation vorbereitet wird. Ohne Animation bleibt der sanierte Zustand sichtbar. */
.hero__still { position: absolute; inset: 0; }
.hero__still--before { opacity: 0; transition: opacity 3.2s cubic-bezier(.45,0,.2,1); }
.hero-anim .hero__still--before { opacity: 1; }
.hero-anim .hero.is-renovated .hero__still--before { opacity: 0; }
.hero__video { opacity: 0; transition: opacity .6s ease; }
.hero__video.is-playing { opacity: 1; }

.hero__state {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; margin: 0;
  padding: 5px 10px; font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
  background: rgba(239, 237, 231, .86); color: var(--schiefer); border-radius: var(--radius);
  display: none;
}
.hero-anim .hero__state { display: block; }
.hero__state span { display: inline-block; transition: opacity .5s ease; }
/* Heller Schleier links – wie frischer Kalkputz – für gut lesbare Schrift */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(239,237,231,.86) 0%, rgba(239,237,231,.62) 30%, rgba(239,237,231,0) 58%),
    linear-gradient(0deg, rgba(239,237,231,.55) 0%, rgba(239,237,231,0) 28%),
    linear-gradient(180deg, rgba(239,237,231,.6) 0%, rgba(239,237,231,0) 16%);
}

.hero__content {
  position: relative; z-index: 2;
  align-self: end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(48px, 7vh, 96px);
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  font-weight: 320;
  letter-spacing: -0.025em;
  max-width: 9.6em;
}
.hero__title .br-l { display: inline; }
.hero__lead { margin-top: clamp(22px, 3vh, 36px); max-width: 30em; font-size: var(--fs-lead); line-height: 1.5; color: #3B3934; }
.hero__actions { margin-top: 28px; }
.hero__emergency { margin-top: 28px; font-size: .9375rem; color: #3B3934; }
.hero__emergency a { font-weight: 600; color: var(--schiefer); font-feature-settings: "tnum"; }

/* Smartphone & Tablet hochkant: Text liegt – wie am Computer – direkt im Video.
   Eigener Bildausschnitt (Geländer, Treppe, Fenster); heller Schleier unten
   für gut lesbare Schrift. */
@media (orientation: portrait) and (max-width: 1100px) {
  .hero { min-height: 100svh; }
  .hero__media img, .hero__media video { object-position: 30% 50%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(239,237,231,.62) 0%, rgba(239,237,231,0) 15%); }
  .hero__state { top: calc(var(--header-h) + 6px); bottom: auto; }
  .hero__content { padding-top: 0; margin-top: calc(var(--header-h) + 12svh); padding-bottom: max(26px, 3.5svh); }
  /* Schleier wächst mit dem Textblock mit – passt sich jeder Bildschirmhöhe an */
  .hero__content::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: -150px; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
    background: linear-gradient(0deg,
      rgba(239,237,231,.92) 0%, rgba(239,237,231,.86) calc(100% - 170px),
      rgba(239,237,231,.6) calc(100% - 115px), rgba(239,237,231,.22) calc(100% - 55px), rgba(239,237,231,0) 100%);
  }
  .hero__title { font-size: clamp(1.75rem, 8.7vw, 3.5rem); line-height: 1.04; max-width: none; }
  .hero__title .br-l { display: inline; }
  .hero__lead { margin-top: 14px; font-size: clamp(.9688rem, 2.3vw, 1.125rem); line-height: 1.45; max-width: 27em; }
  .hero__actions { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; max-width: 420px; gap: 10px; }
  .hero__actions .btn { min-height: 50px; padding: 0 10px; font-size: clamp(.8125rem, 3.7vw, .9375rem); white-space: nowrap; }
  .hero__emergency { margin-top: 16px; font-size: .875rem; }
  .hero__emergency a { white-space: nowrap; }
}
/* Smartphone quer: Bild oben, Text darunter */
@media (max-width: 899px) and (orientation: landscape) {
  .hero { min-height: 0; display: block; background: var(--kalk); }
  .hero__media { position: relative; height: 58svh; min-height: 340px; }
  .hero__media img, .hero__media video { object-position: 82% 50%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(239,237,231,.55) 0%, rgba(239,237,231,0) 22%); }
  .hero__state { bottom: 12px; }
  .hero__content { padding-top: 32px; padding-bottom: 56px; }
  .hero__title { max-width: 12em; }
  .hero__title .br-l { display: none; }
  .hero__lead, .hero__emergency { color: var(--schiefer-2); }
}


/* 7  UNTERNEHMEN =========================================================== */

.statement {
  font-family: var(--serif); font-weight: 330;
  font-size: var(--fs-statement); line-height: 1.22; letter-spacing: -.012em;
  max-width: 24em;
  margin-bottom: clamp(56px, 8vw, 120px);
}

.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.about__figure { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.about__body { grid-column: 7 / -1; }
.about__body .prose { max-width: 34em; }
.about__body .prose p { color: #3B3934; }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: clamp(40px, 5vw, 64px) 0; }
.figures li { border-top: 1px solid var(--schiefer); padding-top: 14px; }
.figures strong {
  display: block; font-family: var(--serif); font-weight: 320;
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.02em;
  font-feature-settings: "lnum", "tnum";
}
.figures span { display: block; margin-top: 10px; font-size: .9375rem; color: var(--schiefer-2); line-height: 1.4; }

.person {
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--sandstein);
  border-left: 2px solid var(--messing);
}
.person p { margin: 0; }
.person__role { font-size: .875rem; color: var(--schiefer-2); margin-bottom: 6px !important; }
.person__name { font-family: var(--serif); font-weight: 360; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.15; letter-spacing: -.012em; }
.person__title { margin-top: 4px !important; font-size: 1rem; font-weight: 500; color: var(--schiefer); }
.person__text { margin-top: 14px !important; color: #3B3934; max-width: 34em; }

.profile { border-top: 1px solid var(--fuge); margin: 0; }
.profile__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.profile div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--fuge); font-size: 1rem; }
.profile dt { color: var(--schiefer-2); }
.profile dd { margin: 0; }

@media (max-width: 899px) {
  .about__figure, .about__body { grid-column: 1 / -1; position: static; }
  .about__figure { max-width: 520px; }
  .figures { grid-template-columns: 1fr; gap: 18px; }
  .figures li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; }
  .figures span { margin-top: 0; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
}


/* 8  LEISTUNGEN ============================================================ */

.services { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.services__list { grid-column: 1 / span 7; border-top: 1px solid var(--schiefer); }
.services__stage { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.services__stage .frame picture { position: absolute; inset: 0; }
.services__stage .frame picture {
  opacity: 0; clip-path: inset(0 0 0 100%);
  transition: opacity .5s ease, clip-path .9s cubic-bezier(.7,0,.2,1);
}
.services__stage .frame picture.is-active { opacity: 1; clip-path: inset(0 0 0 0); z-index: 1; }
.services__stage .frame img { transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.services__stage .frame picture.is-active img { transform: none; }
.services__caption { margin-top: 14px; font-size: var(--fs-small); color: var(--schiefer-2); min-height: 1.6em; }

.service { border-bottom: 1px solid var(--fuge); }
.service__head { font: inherit; }
.service__toggle {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 26px 0 8px; background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.service__name {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(1.4375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -.012em;
  transition: transform .5s var(--ease-out), color .3s;
}
.service__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.service__icon::before, .service__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor;
  transition: transform .45s var(--ease-out);
}
.service__icon::after { transform: rotate(90deg); }
.service.is-open .service__icon::after { transform: rotate(0); }
.service__intro { margin: 0; padding: 0 44px 24px 0; color: var(--schiefer-2); max-width: 38em; }

@media (hover: hover) and (min-width: 1000px) {
  .service__toggle:hover .service__name, .service.is-current .service__name { transform: translateX(10px); }
}

.service__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel > div { overflow: hidden; }
.no-js .service__panel { grid-template-rows: 1fr; }
.service__points {
  columns: 2 16rem; column-gap: var(--gap);
  padding: 0 0 30px; font-size: 1rem;
}
.service__points li { break-inside: avoid; padding: 7px 0 7px 22px; position: relative; line-height: 1.45; }
.service__points li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: var(--messing); }
.service__points .opt { color: var(--schiefer-2); }
.service__figure { display: none; }

@media (max-width: 999px) {
  .services__list { grid-column: 1 / -1; }
  .services__stage { display: none; }
  .service__figure { display: block; margin-bottom: 22px; max-width: 520px; }
}

.services__foot { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.services__foot .actions { margin-top: 0; }


/* 9  WASSERSCHÄDEN ========================================================= */

.damage { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; }
.damage__body { grid-column: 1 / span 6; }
.damage__figure { grid-column: 8 / -1; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.damage__body h2 { margin-bottom: 1.6rem; }
.damage__body > p { color: #3B3934; max-width: 36em; }

.steps-compact { counter-reset: step; margin: 36px 0 40px; border-top: 1px solid var(--fuge); }
.steps-compact li {
  counter-increment: step;
  display: grid; grid-template-columns: 3rem 1fr; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--fuge);
}
.steps-compact li::before {
  content: counter(step);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--messing-text);
  font-feature-settings: "lnum";
}
.steps-compact strong { font-weight: 600; }

.emergency {
  background: var(--moos); color: var(--hell);
  padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 6px;
}
.emergency__label { font-size: .9375rem; color: var(--hell-2); }
.emergency__number {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); line-height: 1.15; letter-spacing: -.01em;
  text-decoration: none; font-feature-settings: "lnum", "tnum";
}
.emergency__number:hover { color: var(--messing-hell); }

@media (max-width: 899px) {
  .damage__body, .damage__figure { grid-column: 1 / -1; position: static; }
  .damage__figure { order: -1; max-width: 520px; }
}


/* 10  BILDBAND & HAUSVERWALTUNGEN ========================================== */

.band { position: relative; height: clamp(360px, 72vh, 760px); overflow: hidden; background: var(--sandstein); }
.band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

.managers__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-bottom: clamp(48px, 6vw, 88px); }
.managers__head h2 { grid-column: 1 / span 7; }
.managers__head .lead { grid-column: 8 / -1; align-self: end; }
@media (max-width: 899px) {
  .managers__head h2, .managers__head .lead { grid-column: 1 / -1; }
  .managers__head .lead { margin-top: 1.4rem; }
}
.managers .actions { margin-top: clamp(48px, 5vw, 72px); }


/* 11  ABLAUF =============================================================== */

.process { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px); counter-reset: phase; }
.phase { position: relative; padding-top: 26px; counter-increment: phase; }
.phase::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fuge);
}
.phase::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--schiefer);
  transform: scaleX(var(--draw, 1)); transform-origin: left;
  transition: transform 1.2s cubic-bezier(.7,0,.2,1);
}
.phase__num {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--messing-text);
  font-feature-settings: "lnum"; margin-bottom: 22px;
}
.phase h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; margin-bottom: .5rem; }
.phase p { color: var(--schiefer-2); font-size: 1rem; }
@media (max-width: 899px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .process { grid-template-columns: 1fr; row-gap: 32px; }
  .phase { display: grid; grid-template-columns: 4.5rem 1fr; padding-top: 20px; }
  .phase__num { grid-row: span 2; font-size: 2.5rem; margin: 0; }
}


/* 12  AUSSTATTUNG & VORTEILE =============================================== */

.equipment { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; align-items: center; }
.equipment__figure { grid-column: 1 / span 6; }
.equipment__body { grid-column: 8 / -1; }
.equipment__body h2 { margin-bottom: 1.6rem; }
.equipment__body p { color: #3B3934; }
.equipment__points { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 56px); }
@media (max-width: 899px) { .equipment__figure, .equipment__body { grid-column: 1 / -1; } }


/* 13  REFERENZEN & VORHER/NACHHER ========================================== */

.clients { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 5vw, 72px); padding: 34px 0; border-block: 1px solid var(--fuge); margin-bottom: 18px; }
.clients li { font-family: var(--serif); font-weight: 340; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); color: var(--schiefer-2); letter-spacing: -.01em; }

.compare-head { margin: clamp(72px, 9vw, 128px) 0 clamp(32px, 4vw, 48px); max-width: 46rem; }
.compare-head h3 { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 340; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.012em; }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 899px) { .compare-grid { grid-template-columns: 1fr; } }

.compare { margin: 0; }
.compare__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sandstein); --pos: 50%; user-select: none; touch-action: pan-y; }
.compare__stage picture, .compare__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px;
  background: var(--hell); z-index: 3; pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: var(--pos); z-index: 4; pointer-events: none;
  width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--hell); box-shadow: 0 2px 14px rgba(34,34,30,.25);
  display: grid; place-items: center; color: var(--schiefer);
  transition: transform .3s var(--ease-out);
}
.compare__range:focus-visible ~ .compare__knob { outline: 2px solid var(--messing-text); outline-offset: 3px; }
.compare__stage:hover .compare__knob { transform: scale(1.06); }
.compare__range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare__label {
  position: absolute; top: 12px; z-index: 2;
  padding: 4px 9px; font-size: .8125rem; font-weight: 500;
  background: rgba(239, 237, 231, .88); color: var(--schiefer); border-radius: var(--radius);
}
.compare__label--before { left: 12px; }
.compare__label--after { right: 12px; }
.compare figcaption { margin-top: 16px; font-size: 1rem; color: var(--schiefer-2); max-width: 36em; }
.compare figcaption strong { display: block; color: var(--schiefer); margin-bottom: 2px; }


/* 14  EINSATZGEBIET ======================================================== */

.area { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.area__body { grid-column: 1 / span 5; }
.area__body h2 { margin-bottom: 1.6rem; }
.area__map { grid-column: 7 / -1; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.towns li { padding: 6px 12px; border: 1px solid var(--fuge); border-radius: 99px; font-size: .9375rem; }
.towns li.is-home { border-color: var(--schiefer); }
@media (max-width: 899px) { .area__body, .area__map { grid-column: 1 / -1; } }

.map { width: 100%; height: auto; overflow: visible; }
.map__ring { fill: none; stroke: var(--fuge); stroke-width: 1; }
.map__ring-label { font: 500 11px var(--sans); fill: var(--schiefer-2); }
.map__river { fill: none; stroke: #9DA592; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.map__river--small { stroke-width: 2.5; }
.map__river-label { font: italic 400 12px var(--serif); fill: #6F7863; letter-spacing: .04em; }
.map__town circle { fill: var(--schiefer); }
.map text { paint-order: stroke; stroke: var(--kalk); stroke-width: 4px; stroke-linejoin: round; }
.map__town text { font: 500 13px var(--sans); fill: var(--schiefer); }
.map__home circle.core { fill: var(--messing); }
.map__home circle.halo { fill: none; stroke: var(--messing); stroke-width: 1; }
.map__home text { font: 600 14px var(--sans); fill: var(--schiefer); }
.map__home .sub { font-size: 12px; font-weight: 500; fill: var(--schiefer-2); }
@media (max-width: 599px) {
  .map__town text, .map__home text { font-size: 16px; }
  .map__home .sub { font-size: 14px; }
  .map__ring-label { font-size: 13px; }
}


/* 15  KONTAKT & FORMULAR =================================================== */

.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 56px; }
.contact__info { grid-column: 1 / span 4; }
.contact__form { grid-column: 6 / -1; }
@media (max-width: 999px) { .contact__info, .contact__form { grid-column: 1 / -1; } }

.contact__block { padding: 20px 0; border-top: 1px solid var(--fuge); }
.contact__block:last-child { border-bottom: 1px solid var(--fuge); }
.contact__block h3 { font-family: var(--sans); font-size: .9375rem; font-weight: 600; margin-bottom: 8px; }
.contact__big { font-family: var(--serif); font-weight: 360; font-size: 1.5rem; line-height: 1.25; text-decoration: none; font-feature-settings: "lnum"; }
.contact__big:hover { color: var(--moos); }

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; font-feature-settings: "tnum"; }
.hours th { text-align: left; font-weight: 400; color: var(--schiefer-2); padding: 4px 0; }
.hours td { text-align: right; padding: 4px 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--schiefer); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px; font-size: .9375rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--schiefer-2); }
.status.is-open::before { background: #5E7A3E; box-shadow: 0 0 0 4px rgba(94,122,62,.16); }
.status:empty { display: none; }
.hours-note { margin-top: 12px; font-size: .9375rem; color: var(--schiefer-2); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .9375rem; font-weight: 500; }
.req { color: var(--messing-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--schiefer);
  background: var(--kalk-hell);
  border: 1px solid var(--fuge); border-radius: var(--radius);
  padding: 13px 14px; min-height: 52px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2322221E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9B1A2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--schiefer); background: #fff; box-shadow: 0 0 0 3px rgba(168,135,82,.28); }
.field [aria-invalid="true"] { border-color: #9B3B2E; }
.field__error { margin: 0; color: #8E3427; font-size: .875rem; }
.field--fieldset { border: 0; padding: 0; margin: 0; }
.field--fieldset legend { margin-bottom: 7px; padding: 0; }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--moos); }
.field--check label { font-weight: 400; font-size: .9375rem; line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .9375rem; color: #8E3427; }
.form-status:empty { display: none; }
.form-note { font-size: .875rem; color: var(--schiefer-2); margin: 0; }
.form-disclaimer { font-size: .875rem; color: var(--schiefer-2); margin: 0; }


/* 16  FUSSZEILE & MOBILE KONTAKTLEISTE ===================================== */

.site-footer { background: var(--schiefer); color: var(--hell-2); padding: clamp(64px, 8vw, 112px) 0 32px; font-size: .9375rem; }
.site-footer a { color: var(--hell); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--messing-hell); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
.footer__brand img { width: 64px; height: 64px; margin-bottom: 20px; }
.footer__brand p { max-width: 24em; }
.footer__head { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--hell); margin-bottom: 14px; }
.footer__nav li { margin-bottom: 6px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(243,241,236,.14);
  font-size: .875rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 999px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: 1fr; } }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--fuge);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .45s var(--ease-out);
  box-shadow: 0 -8px 24px rgba(34,34,30,.08);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; font-weight: 500; text-decoration: none;
  background: var(--kalk); color: var(--schiefer);
}
.callbar a:first-child { background: var(--schiefer); color: var(--hell); }
.callbar.is-visible { transform: none; }
@media (max-width: 899px) {
  .callbar { display: grid; }
  .site-footer { padding-bottom: calc(32px + 58px + env(safe-area-inset-bottom)); }
}


/* 17  RECHTSTEXTE & FEHLERSEITE ============================================ */

.page-legal .site-header { background: rgba(239, 237, 231, .92); box-shadow: 0 1px 0 var(--fuge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.legal { padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 var(--section); }
.legal__inner { max-width: 46rem; }
.legal h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); line-height: 1.04; font-weight: 320; letter-spacing: -.02em; margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 380; margin: 2.6rem 0 .8rem; line-height: 1.2; }
.legal h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: #3B3934; overflow-wrap: break-word; }
.legal ul { margin: 0 0 1em; }
.legal ul li { position: relative; padding: 3px 0 3px 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: var(--messing); }
.legal-hint { background: #F1E3B5; color: #4A3B12; padding: 16px 18px; border-radius: var(--radius); font-size: .9375rem; }
.legal .back { margin-top: 3rem; }

.error { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 48px) 0 64px; }
.error__code { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; color: var(--messing-text); letter-spacing: -.03em; margin-bottom: 1.5rem; }
.error h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; font-weight: 340; margin-bottom: 1.2rem; }
.error p { max-width: 34em; color: #3B3934; }


/* 18  BEWEGUNG ============================================================= */
/* Startzustände, die erst per JavaScript (GSAP) aufgelöst werden.
   Greifen nur, wenn das Skript die Klasse .motion setzt – ohne Skript
   oder bei „Bewegung reduzieren“ bleibt alles sofort sichtbar. */

.motion [data-hero-in] { opacity: 0; }
.motion-done [data-hero-in] { opacity: 1 !important; }
.motion .phase { --draw: 0; }
.motion .phase.is-in { --draw: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__video, .hero__still--before, .hero__state { display: none !important; }
}

/* Druck: ruhige, lesbare Fassung */
@media print {
  .site-header, .menu, .callbar, .hero__video, .hero__still--before, .hero__state, .services__stage, .compare__knob, .compare__line { display: none !important; }
  .hero { min-height: 0; }
  .service__panel { grid-template-rows: 1fr !important; }
  .compare__after { clip-path: none; position: relative; }
  body { background: #fff; }
}
