/* =========================================================
   Glasreinigung A. Müller – Designsystem
   Aufbau und Formensprache wie steinblank.com (Navy, weiche
   Karten, Poppins/Inter), Akzent ist das Himmelblau aus dem
   Müller-Logo (#01a0e2).
   ========================================================= */

/* Lokale Schriften – kein Google-Fonts-Abruf, damit kein Cookie-Banner noetig */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/inter-variable.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800.woff2') format('woff2'); }

:root {
  --color-navy-900: #0b1f33;
  --color-navy-800: #122c47;
  --color-navy-700: #1a3d5c;

  /* Logo-Blau. Fuer Text auf Weiss ist es zu hell (2,9:1) – dort
     uebernimmt --color-sky-700 (4,7:1). */
  --color-sky-700: #0272a8;
  --color-sky-500: #01a0e2;
  --color-sky-400: #33b6eb;
  --color-sky-300: #7dd3f5;
  --color-sky-100: #e4f5fc;

  --color-gold: #f5a623;
  --color-white: #ffffff;
  --color-fog: #f4f8fb;
  --color-ink: #1c1f24;
  --color-ink-soft: #56616d;
  --color-border: #e1e8ee;
  --color-success: #1c8a5a;
  --color-error: #c0392b;

  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 40px -16px rgba(11, 31, 51, 0.18);
  --shadow-hover: 0 28px 50px -16px rgba(11, 31, 51, 0.28);

  --space-section: clamp(4rem, 8vw, 7.5rem);
  --container-width: 1180px;
  --header-height: 104px;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 1500px) { html { font-size: 17.5px; } :root { --container-width: 1240px; } }
@media (min-width: 1800px) { html { font-size: 18.5px; } :root { --container-width: 1300px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-navy-900); line-height: 1.2; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--color-sky-400); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--space-section) 0; position: relative; overflow: hidden; }
section[id] { scroll-margin-top: calc(var(--header-height) - 2rem); }
[hidden] { display: none !important; }
/* Sprungmarke: unsichtbar, erscheint bei Tastatur-Fokus oben links */
.skip-link { position: absolute; left: 1rem; top: -120px; z-index: 2000; padding: 0.75rem 1.2rem; border-radius: var(--radius-sm); background: #fff; color: var(--color-navy-900); font-weight: 600; box-shadow: 0 6px 24px rgba(11, 31, 51, 0.25); transition: top 0.15s; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section-fog {
  --fog-fade: clamp(55px, 7vw, 110px);
  background-color: var(--color-fog);
  background-image:
    linear-gradient(to bottom, var(--color-white), rgba(255, 255, 255, 0)),
    linear-gradient(to top, var(--color-white), rgba(255, 255, 255, 0));
  background-size: 100% var(--fog-fade);
  background-position: top center, bottom center;
  background-repeat: no-repeat;
}
.section-navy { background: var(--color-navy-900); color: rgba(255, 255, 255, 0.82); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--color-ink-soft); font-size: 1.08rem; }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.72); }
.section-head--links { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sky-700);
  margin-bottom: 0.9rem;
}
.section-navy .eyebrow { color: var(--color-sky-300); }
.section-cta { text-align: center; margin-top: 2.75rem; }

/* ---------- Knoepfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  cursor: pointer; text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s, color 0.2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn:active { transform: scale(0.97); opacity: 0.9; transition: none; }
.btn-primary { background: var(--color-sky-500); color: var(--color-navy-900); box-shadow: 0 12px 24px -12px rgba(1, 160, 226, 0.75); }
.btn-secondary { background: transparent; color: var(--color-navy-900); border-color: var(--color-navy-900); }
.btn-light { background: #fff; color: var(--color-navy-900); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-sky-400); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(1, 160, 226, 0.8); }
  .btn-secondary:hover { background: var(--color-navy-900); color: #fff; transform: translateY(-2px); }
  .btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
}

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; pointer-events: none; z-index: 0; }
.blob-sky { background: var(--color-sky-300); }
.blob-navy { background: var(--color-navy-700); }
section > .container { position: relative; z-index: 1; }

.stars { color: var(--color-gold); letter-spacing: 0.08em; }

/* ---------- Header ----------
   Aufbau wie steinblank.com: Die Leiste ist eine schwebende, leicht
   durchscheinende Navy-Karte. Logo links, Menue mittig, rechts Telefon mit
   Nummer und "Angebot anfragen". Unter 1100 px klappt das Menue in ein
   durchscheinendes Vollbild-Menue mit Logo oben und Anfrage-Knopf unten.

   Die Glasfarbe sitzt auf .container::before und nicht auf dem Header:
   backdrop-filter am Header wuerde ihn zum Bezugsrahmen fuer das fixierte
   Vollbild-Menue machen, und das klebte dann in der Leiste fest. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: clamp(0.6rem, 1.4vw, 1rem) clamp(0.75rem, 2.4vw, 2rem);
}
.site-header .container {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 0.75rem 1.5rem;
  max-width: 97.5rem; border-radius: var(--radius-lg);
  padding: 0.55rem clamp(1rem, 1.8vw, 1.75rem);
}
.site-header .container::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(18, 44, 71, 0.72);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px -18px rgba(0, 0, 0, 0.55);
  transition: opacity 0.3s ease;
}
/* Ueber dem Hero bleibt die Leiste offen, dort traegt das Foto */
body.has-hero .site-header:not(.is-solid) .container::before { opacity: 0; }
body:not(.has-hero) { padding-top: var(--header-height); }

.logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.logo img { height: 58px; width: auto; }
/* Logo in der Leiste größer (Wunsch Herr Müller), die Leiste selbst bleibt gleich hoch */
.site-header .container > .logo img { height: 92px; margin-block: -4px; }
/* Das Logo ist unten schwer (grosser Schriftzug, oben nur die duenne Figur):
   rechnerisch mittig wirkt es zu tief. Darum ein Stueck nach oben, nur in der Leiste. */
.site-header .container > .logo img { position: relative; top: -7px; }

.main-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.main-nav ul { display: flex; justify-content: center; gap: clamp(1rem, 2vw, 1.9rem); }
.main-nav a:not(.btn):not(.logo) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(255, 255, 255, 0.84); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a:not(.btn):not(.logo)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 1px;
  background: var(--color-sky-300); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.main-nav a.is-active { color: #fff !important; }
.main-nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:not(.btn):not(.logo):hover { color: var(--color-sky-300); }
  .main-nav a:not(.btn):not(.logo):hover::after { transform: scaleX(1); }
}
.nav-menu-logo, .nav-cta-mobile { display: none !important; }

.nav-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; flex-shrink: 0;
  min-height: 44px; font-family: var(--font-display); font-weight: 600; font-size: 0.93rem;
  white-space: nowrap; color: rgba(255, 255, 255, 0.92);
  transition: transform 0.15s var(--ease-out), color 0.2s ease;
}
.nav-phone svg { width: 1.3rem; height: 1.3rem; color: var(--color-sky-400); flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .nav-phone:hover { color: var(--color-sky-300); } }
.nav-phone:active { transform: scale(0.94); transition: none; }
.nav-cta-desktop { flex-shrink: 0; min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.93rem; }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; flex-shrink: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; background: transparent;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
body.nav-open .nav-toggle { border-color: transparent; position: fixed; top: 1.35rem; right: 1.5rem; z-index: 60; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Eingeklappt: Hamburger-Menue --- */
@media (max-width: 1100px) {
  :root { --header-height: 104px; }
  .main-nav ul, .nav-cta-desktop { display: none; }
  .main-nav { flex: 0 0 auto; }
  .site-header .container { justify-content: space-between; }
  .site-header .container > .logo { margin-right: auto; }
  .nav-toggle { display: flex; }
  .nav-phone { width: 44px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; }
  .nav-phone-num { display: none; }

  body.nav-open { overflow: hidden; }
  body.nav-open .site-header .container::before { opacity: 0; }
  body.nav-open .site-header > .container > .logo,
  body.nav-open .nav-phone { visibility: hidden; }

  body.nav-open .main-nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 2.25rem; padding: 2rem 1.5rem; overflow-y: auto; text-align: center;
    /* durchscheinend wie die Leiste: der Inhalt darunter bleibt schemenhaft sichtbar */
    background: rgba(15, 38, 61, 0.78);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    animation: nav-fade 180ms ease both;
  }
  body.nav-open .main-nav .nav-menu-logo { display: inline-flex !important; margin-top: auto; animation: nav-pop 150ms var(--ease-out) backwards; }
  body.nav-open .main-nav .nav-menu-logo img { height: 84px; }
  body.nav-open .main-nav ul { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
  body.nav-open .main-nav ul a:not(.btn) { font-family: var(--font-display); font-size: 1.35rem; color: #fff; min-height: 48px; }
  body.nav-open .main-nav ul a:not(.btn):active { transform: scale(0.92); opacity: 0.6; transition: none; }
  body.nav-open .main-nav li { animation: nav-pop 150ms var(--ease-out) both; }
  body.nav-open .main-nav li:nth-child(2) { animation-delay: 40ms; }
  body.nav-open .main-nav li:nth-child(3) { animation-delay: 80ms; }
  body.nav-open .main-nav li:nth-child(4) { animation-delay: 120ms; }
  body.nav-open .main-nav li:nth-child(5) { animation-delay: 160ms; }
  body.nav-open .main-nav .nav-cta-mobile {
    display: inline-flex !important; min-width: 240px; min-height: 52px; margin-bottom: auto;
    animation: nav-pop 150ms var(--ease-out) both; animation-delay: 200ms;
  }
}
@keyframes nav-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nav-pop { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .logo img { height: 50px; }
  .site-header .container > .logo img { height: 72px; margin-block: -4px; }
  .site-header .container > .logo img { top: -6px; }
  .site-header .container { gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.nav-open .main-nav, body.nav-open .main-nav li, body.nav-open .main-nav .nav-menu-logo, body.nav-open .main-nav .nav-cta-mobile { animation: none; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  display: flex; align-items: center;
  color: #fff;
  background: var(--color-navy-900);
}
.hero-bild-huelle, .hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bild { object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 31, 51, 0.94) 0%, rgba(11, 31, 51, 0.82) 42%, rgba(11, 31, 51, 0.35) 100%),
    linear-gradient(to top, rgba(11, 31, 51, 0.7), rgba(11, 31, 51, 0) 40%);
}
.hero .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 3.5rem; align-items: center; }
.hero .eyebrow { color: var(--color-sky-300); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.45em; }
/* Ortszeile steht für SEO in der H1, sieht aber aus wie die Eyebrow darüber */
.h1-zeile { display: block; width: fit-content; font-family: var(--font-body); line-height: 1.4; }
.hero h1 em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-sky-300); }
.hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, 0.84); max-width: 34rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.5rem;
  margin: 2rem 0 2.25rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats strong { display: block; white-space: nowrap; font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.hero-stats span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.68); }
/* Live-Anzeige "Jetzt geoeffnet" unter den Oeffnungszeiten */
.offen-badge {
  display: flex; width: fit-content; align-items: center; gap: 0.5rem; margin-top: 0.55rem; min-height: 34px;
  padding: 0.3rem 0.85rem 0.3rem 0.7rem; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  transition: background-color 0.2s;
}
.offen-badge b { font-weight: 600; }
.offen-badge i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #9aa5b1; flex-shrink: 0; }
.offen-badge.is-offen { background: rgba(46, 204, 113, 0.16); border-color: rgba(46, 204, 113, 0.45); }
.offen-badge.is-offen i { background: #2ecc71; }
.offen-badge.is-offen i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ecc71;
  animation: offen-puls 1.8s var(--ease-out) infinite;
}
.offen-badge.is-zu { background: rgba(231, 76, 60, 0.14); border-color: rgba(231, 76, 60, 0.4); }
.offen-badge.is-zu i { background: #e74c3c; }
@keyframes offen-puls { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .offen-badge.is-offen i::after { animation: none; } }
@media (hover: hover) and (pointer: fine) { .offen-badge:hover { background: rgba(255, 255, 255, 0.18); } }
.offen-badge:active { opacity: 0.8; transition: none; }


.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
@media (hover: hover) and (pointer: fine) { .hero .btn-secondary:hover { background: #fff; color: var(--color-navy-900); border-color: #fff; } }
/* Bewertungs-Stapel: runde Auftragsbilder + "80+ Positive Bewertungen" (alle Hero-Varianten) */
.stimmen { display: inline-flex; align-items: center; color: inherit; font-weight: 500; text-decoration: none; }
.stimmen-rund { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; margin-left: -12px; background: #fff; flex-shrink: 0; box-shadow: 0 2px 6px rgba(11, 31, 51, 0.15); }
.stimmen-rund:first-child { margin-left: 0; }
.stimmen-rund img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stimmen-rund--zahl { display: grid; place-items: center; color: var(--color-navy-900); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; }
.stimmen-text { margin-left: 0.9rem; }
@media (hover: hover) { .stimmen:hover .stimmen-text { text-decoration: underline; text-underline-offset: 3px; } }
.hero-stimmen { margin-top: 1.6rem; color: #fff; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; min-height: 44px;
  padding: 0.45rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.9);
}
.hero-rating strong { color: #fff; }
.hero-rating svg { width: 16px; height: 16px; opacity: 0.7; }
.hero-rating:active { opacity: 0.8; transition: none; }

@media (max-width: 1023px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero { min-height: 0; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-height) + 2rem); }
  .hero::before { background: linear-gradient(to bottom, rgba(11, 31, 51, 0.88), rgba(11, 31, 51, 0.8) 55%, rgba(11, 31, 51, 0.96)); }
  .hero-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; }
  .hero .eyebrow { letter-spacing: 0.08em; }
  .hero-stats .stat-zeiten { grid-column: 1 / -1; order: 3; }
  .hero-stats .stat-zeiten strong { display: inline; margin-right: 0.6rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  /* Handy: Buttons direkt unter den Text, Kennzahlen danach */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 1.5rem; }
  .hero-ctas { order: 2; }
  .hero-stimmen { order: 3; }
  .hero-stats { order: 4; margin: 1.75rem 0 0; }
}

/* ---------- Anfrage-Assistent ---------- */
.wizard {
  background: #fff; color: var(--color-ink);
  border-radius: var(--radius-md); padding: 1.6rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.wz-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--color-navy-900); margin: 0 0 0.2rem; }
.wz-note { font-size: 0.85rem; color: var(--color-ink-soft); margin: 0 0 1rem; }
.wz-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 1.4rem; }
.wz-seg { height: 4px; border-radius: 4px; background: var(--color-border); transition: background-color 0.3s; }
.wz-seg.is-done { background: var(--color-sky-500); }
.wz-step { display: none; }
.wz-step.is-active { display: block; animation: wz-in 0.35s var(--ease-out); }
@keyframes wz-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.wz-question { font-family: var(--font-display); font-weight: 600; color: var(--color-navy-900); margin: 0 0 0.15rem; }
.wz-hint { font-size: 0.8rem; color: var(--color-ink-soft); margin: 0 0 0.9rem; }
.wz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.wz-options--wide { grid-template-columns: minmax(0, 1fr); }
.wz-option--breit { grid-column: 1 / -1; }
@media (max-width: 420px) {
  .wizard { padding: 1.25rem 1.1rem; }
  .wz-options { gap: 0.5rem; }
  .wz-option { padding: 0.55rem 0.65rem; gap: 0.5rem; font-size: 0.88rem; }
}
.wz-option {
  display: flex; align-items: center; gap: 0.7rem; min-height: 50px; padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: #fff;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--color-navy-900); text-align: left; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.wz-option svg { width: 20px; height: 20px; color: var(--color-sky-700); flex-shrink: 0; }
.wz-option span { display: flex; flex-direction: column; font-size: 0.82rem; color: var(--color-ink-soft); font-weight: 400; }
.wz-option span strong { font-size: 0.95rem; color: var(--color-navy-900); font-weight: 600; }
.wz-option.is-selected { border-color: var(--color-sky-500); background: var(--color-sky-100); }
.wz-option:active { transform: scale(0.98); transition: none; }
@media (hover: hover) and (pointer: fine) { .wz-option:hover { border-color: var(--color-sky-400); } }
.wz-field { margin-bottom: 0.8rem; }
.wz-field label, .form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-navy-900); margin-bottom: 0.3rem; }
.wz-optional { font-weight: 400; color: var(--color-ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--color-ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-sky-500); box-shadow: 0 0 0 4px rgba(1, 160, 226, 0.16); }
textarea { min-height: 140px; resize: vertical; }
.wz-consent, .form-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.82rem; color: var(--color-ink-soft); margin: 0.6rem 0 0.2rem; }
.wz-consent input, .form-consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-sky-500); }
.wz-consent label, .form-consent label { font-weight: 400; font-size: 0.82rem; color: var(--color-ink-soft); margin: 0; }
.consent-link { color: var(--color-sky-700); text-decoration: underline; }
.wz-actions { display: flex; gap: 0.75rem; margin-top: 1.3rem; }
.wz-actions .wz-next { flex: 1; }
.wz-actions .btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.wz-back { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 48px; padding: 0 0.9rem; border: none; background: none; font: inherit; font-weight: 600; color: var(--color-ink-soft); cursor: pointer; }
.wz-back svg { width: 18px; height: 18px; }
.wz-status, .form-status { margin: 0.8rem 0 0; font-size: 0.92rem; min-height: 1.2em; }
.is-success { color: var(--color-success); font-weight: 600; }
.is-error { color: var(--color-error); font-weight: 600; }
.wz-phone { margin: 0.9rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--color-border); font-size: 0.88rem; text-align: center; color: var(--color-ink-soft); }
.wz-phone a { color: var(--color-navy-900); font-weight: 700; }
.wz-done { text-align: center; padding: 1.5rem 0.5rem; }
.wz-done svg { width: 56px; height: 56px; color: var(--color-success); margin: 0 auto 0.75rem; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Bewertungs-Laufband ---------- */
.reviews-strip { padding: 3.5rem 0; background: var(--color-white); }
.reviews-quelle { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.6rem; font-size: 0.95rem; color: var(--color-ink-soft); text-align: center; }
.reviews-quelle strong { font-family: var(--font-display); color: var(--color-navy-900); font-size: 1.15rem; }
.reviews-quelle a { color: var(--color-sky-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; align-items: flex-start; gap: 1.25rem; width: max-content; animation: marquee 90s linear infinite; padding: 0.5rem 0 1.5rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.625rem)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }
.rv-card {
  width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.4rem 1.5rem; border-radius: var(--radius-md); background: #fff;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.rv-card p { margin: 0; font-size: 0.95rem; color: var(--color-ink); flex: 1; }
.rv-meta { font-size: 0.85rem; color: var(--color-ink-soft); }
.rv-meta strong { color: var(--color-navy-900); }
.reviews-jung { text-align: center; margin-top: 1rem; }

/* ---------- Leistungs-Karten ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-md); background: #fff; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card picture, .service-card img { aspect-ratio: 6 / 5; width: 100%; object-fit: cover; }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card p { color: var(--color-ink-soft); font-size: 0.95rem; flex: 1; }
.service-card .mehr { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--color-sky-700); font-weight: 600; font-size: 0.95rem; }
.service-card .mehr svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  a.service-card:hover .mehr svg { transform: translateX(4px); }
}
a.service-card:active { transform: scale(0.99); transition: none; }
@media (max-width: 1023px) { .service-grid { grid-template-columns: 1fr 1fr; } }
/* Handy: Leistungen kompakt zweispaltig (Bild + Titel), Beschreibung steht auf der jeweiligen Leistungsseite */
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .service-card { border-radius: var(--radius-sm); }
  .service-card picture, .service-card img { aspect-ratio: 1; }
  .service-card-body { padding: 0.75rem 0.8rem 0.85rem; }
  .service-card h3 { font-size: 0.92rem; line-height: 1.25; margin: 0; hyphens: manual; -webkit-hyphens: manual; }
  /* ungerade Anzahl: letzte Kachel über die volle Breite statt allein in der Reihe */
  .service-grid > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .service-grid > .service-card:last-child:nth-child(odd) picture,
  .service-grid > .service-card:last-child:nth-child(odd) img { aspect-ratio: 2 / 1; }
  .service-card p, .service-card .mehr { display: none; }
}

/* ---------- Vorher / Nachher ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.ba-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); overflow: hidden; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--color-border); }
.ba-pair figure { margin: 0; position: relative; background: var(--color-fog); }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-pair--quer img { aspect-ratio: 4 / 3; }
.ba-label {
  position: absolute; top: 0.7rem; left: 0.7rem;
  padding: 0.25rem 0.7rem; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(11, 31, 51, 0.82); color: #fff;
}
.ba-label--nachher { background: var(--color-sky-500); color: var(--color-navy-900); }
.ba-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.ba-card-body h3 { margin-bottom: 0.3rem; }
.ba-card-body p { margin: 0; color: var(--color-ink-soft); font-size: 0.93rem; }
.ba-single img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-card--breit { grid-column: 1 / -1; }
.ba-card--breit .ba-pair img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Text + Bild ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.split--umgekehrt .split-media { order: 2; }
.split-media { position: relative; }
.split-media img, .split-media video { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); object-fit: cover; }
.split-text p { color: var(--color-ink-soft); font-size: 1.04rem; }
.section-navy .split-text p { color: rgba(255, 255, 255, 0.76); }
.check-list { display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-sky-500); margin-top: 2px; }
.split-media .zertifikat { max-width: 24rem; margin: 0 auto; transform: rotate(-2deg); }
.media-badge {
  position: absolute; left: -1.25rem; bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1.2rem; border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow-hover); color: var(--color-navy-900);
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.media-badge span { font-size: 0.8rem; color: var(--color-ink-soft); }
.media-badge .stars { font-size: 1.05rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split--umgekehrt .split-media { order: 0; }
  .media-badge { left: 1rem; bottom: 1rem; }
}

/* Video im Hochformat (Instagram-Reel) */
.video-rahmen { position: relative; max-width: 360px; margin: 0 auto; border-radius: 2rem; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); border: 6px solid rgba(255, 255, 255, 0.08); }
.video-rahmen video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* ---------- Ablauf ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: schritt; }
.process-step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--color-border); }
.process-step::before {
  counter-increment: schritt; content: "0" counter(schritt);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: var(--color-sky-500); margin-bottom: 1rem;
}
.process-step p { margin: 0; color: var(--color-ink-soft); font-size: 0.95rem; }
@media (max-width: 960px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Kennzahlen / Vertrauen ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust-item { padding: 1.5rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.trust-item svg { width: 30px; height: 30px; color: var(--color-sky-400); margin-bottom: 0.9rem; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.trust-item p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; margin: 0 auto; display: grid; gap: 0.85rem; }
.faq-list details { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: 1rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; color: var(--color-navy-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--color-sky-700); transition: transform 0.3s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--color-ink-soft); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-info p { color: var(--color-ink-soft); }
.contact-list { display: grid; gap: 0.9rem; margin: 1.75rem 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-sky-100); color: var(--color-sky-700); flex-shrink: 0; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-ink-soft); }
.contact-list a, .contact-list b { font-weight: 600; color: var(--color-navy-900); font-size: 1.05rem; }
.contact-list a { text-decoration: underline; text-decoration-color: var(--color-sky-300); text-underline-offset: 3px; }
.contact-form { background: #fff; border-radius: var(--radius-md); padding: 2rem; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.form-row { margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill); border: 1.5px solid var(--color-border);
  font-size: 0.9rem; font-weight: 500; color: var(--color-navy-900); background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.chip input:checked + span { background: var(--color-sky-100); border-color: var(--color-sky-500); }
.chip input:focus-visible + span { outline: 3px solid var(--color-sky-400); outline-offset: 2px; }
.opening { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 0.5rem; }
.opening td { padding: 0.35rem 0; border-bottom: 1px dashed var(--color-border); }
.contact-list li > div { flex: 1; }
.opening td + td { padding-left: 1rem; white-space: nowrap; }
.opening td:last-child { text-align: right; font-weight: 600; color: var(--color-navy-900); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } .contact-form { padding: 1.4rem; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--color-navy-900); color: rgba(255, 255, 255, 0.82);
}
.page-hero img.page-hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.32; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 51, 0.95), rgba(11, 31, 51, 0.6)); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 22ch; }
.page-hero h1 em { font-family: var(--font-serif); font-weight: 400; color: var(--color-sky-300); }
.page-hero p { max-width: 40rem; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--color-sky-300); }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Leistungsdetails ---------- */
.leistung { padding: clamp(3rem, 6vw, 5rem) 0; }
.leistung + .leistung { border-top: 1px solid var(--color-border); }
.leistung .split-media img { aspect-ratio: 4 / 3; }
.leistung-nr { font-family: var(--font-display); font-weight: 800; color: var(--color-sky-500); font-size: 0.95rem; letter-spacing: 0.1em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.tag-list li { padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-sky-100); color: var(--color-sky-700); font-size: 0.82rem; font-weight: 600; }

.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ref-grid figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.ref-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.ref-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.85), transparent);
  color: #fff; font-size: 0.85rem; font-weight: 600;
}
@media (hover: hover) and (pointer: fine) { .ref-grid figure:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .ref-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Bewertungsseite ---------- */
.rating-summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center;
  padding: 2rem 2.25rem; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
  margin-bottom: 3rem;
}
.rating-big { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--color-navy-900); }
.rating-big + .stars { font-size: 1.35rem; display: block; margin-top: 0.35rem; }
.rating-bars { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--color-ink-soft); }
.rating-bars div { display: grid; grid-template-columns: 1.2rem 1fr 2rem; align-items: center; gap: 0.6rem; }
.rating-bars i { display: block; height: 8px; border-radius: 8px; background: var(--color-border); overflow: hidden; }
.rating-bars i b { display: block; height: 100%; background: var(--color-gold); border-radius: 8px; }
.review-grid { columns: 3 300px; column-gap: 1.25rem; }
.review-grid .rv-card { width: auto; break-inside: avoid; margin-bottom: 1.25rem; box-shadow: none; }
.rv-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.rv-filter button { min-height: 42px; padding: 0.4rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-border); background: #fff; font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--color-navy-900); cursor: pointer; }
.rv-filter button.is-active { background: var(--color-navy-900); color: #fff; border-color: var(--color-navy-900); }
.rv-card[hidden] { display: none; }
@media (max-width: 760px) { .rating-summary { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; } }

/* ---------- CTA-Band ---------- */
.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-700));
  color: rgba(255, 255, 255, 0.8);
}
.cta-box h2 { color: #fff; margin-bottom: 0.3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-box p { margin: 0; }
.cta-box .cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cta-box .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy-900); color: rgba(255, 255, 255, 0.7); padding: 4rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid img { height: 62px; width: auto; margin-bottom: 1rem; }
.footer-grid h4, .footer-grid .footer-titel { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid ul { display: grid; gap: 0.35rem; }
.footer-grid a { display: inline-flex; min-height: 44px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--color-sky-300); } }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Schwebender WhatsApp-Knopf (wie Steinblank) ---------- */
.whatsapp-btn {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1da851; color: #fff; box-shadow: 0 4px 20px rgba(29, 168, 81, 0.45); /* etwas dunkler als WhatsApp-Grün: Kontrast Symbol 3:1 */
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.whatsapp-btn svg { width: 30px; height: 30px; }
@media (hover: hover) and (pointer: fine) { .whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6); } }
.whatsapp-btn:active { transform: scale(0.94); transition: none; }
body.nav-open .whatsapp-btn { visibility: hidden; }
@media (max-width: 760px) { .whatsapp-btn { right: 1rem; bottom: 1rem; } }

/* WhatsApp im Kontaktbereich: mit Text, in der Spalte */
.kontakt-whatsapp { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.kontakt-whatsapp p { margin: 0 0 1rem; font-size: 0.95rem; }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; min-height: 50px;
  padding: 0.85rem 1.25rem; border-radius: var(--radius-sm); background: #25d366; color: var(--color-navy-900); font-weight: 600; /* dunkle Schrift: Kontrast 8:1 statt 2:1 */
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-whatsapp svg { width: 1.3em; height: 1.3em; flex: none; }
@media (hover: hover) and (pointer: fine) { .btn-whatsapp:hover { background: #1fb855; } }
.btn-whatsapp:active { transform: scale(0.98); transition: none; }

/* ---------- Karte Einsatzgebiet (wie Steinblank) ----------
   isolation: Leaflets interne z-index-Werte (400/1000) bleiben im Rahmen und
   schieben sich nicht ueber den Header. */
.map-wrap { margin: 2.5rem 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-navy-900); isolation: isolate; box-shadow: var(--shadow-soft); }
.map-wrap img { display: block; width: 100%; height: auto; }
.map-wrap img[hidden], .karte-live[hidden] { display: none; }
.karte-live { height: clamp(20rem, 52vw, 32rem); width: 100%; }
.karte-live.leaflet-container { font-family: var(--font-body); background: var(--color-fog); }
.karte-live .leaflet-tooltip { background: rgba(255, 255, 255, 0.95); border: none; border-radius: 0.4rem; box-shadow: 0 1px 4px rgba(11, 31, 51, 0.22); font-weight: 600; color: var(--color-navy-900); padding: 0.15rem 0.5rem; }
.karte-live .leaflet-tooltip.karte-sitz { font-size: 1.05em; }
.map-legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding: 0.9rem 1.25rem; background: #fff; border-top: 1px solid var(--color-border); font-size: 0.86rem; color: var(--color-navy-700); }
.map-legende span { display: inline-flex; align-items: center; gap: 0.5rem; }
.map-punkt { width: 0.75rem; height: 0.75rem; border-radius: 50%; flex: none; }
.map-punkt--sitz { background: var(--color-navy-900); }
.map-punkt--kreis { background: rgba(1, 160, 226, 0.22); box-shadow: inset 0 0 0 2px var(--color-sky-500); }
.orte { margin-top: clamp(2rem, 4vw, 3rem); }
.orte-titel { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0 0 1.25rem; }
.orte-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; }
.orte-gruppe h4 { margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--color-sky-700); }
.orte-gruppe p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--color-ink-soft); }
.orte-hinweis { margin: 1.5rem 0 0; font-size: 0.92rem; color: var(--color-ink-soft); }
.orte-hinweis a, .map-quelle a { color: var(--color-sky-700); text-decoration: underline; text-underline-offset: 2px; }
.map-quelle { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--color-ink-soft); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 48rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--color-ink-soft); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal a { color: var(--color-sky-700); text-decoration: underline; }
.platzhalter { background: #fff3cd; color: #7a5a00; padding: 0 0.3em; border-radius: 4px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Vorher/Nachher-Schieberegler ----------
   Nur fuer Paare aus exakt gleichem Blickwinkel. Das Vorher-Bild liegt oben
   und wird per clip-path bis --pos abgeschnitten; bedient wird ueber ein
   unsichtbares <input type="range"> (Maus, Touch und Tastatur). */
.ba-slider { position: relative; overflow: hidden; background: var(--color-fog); --pos: 50%; touch-action: pan-y; }
.ba-slider img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; user-select: none; pointer-events: none; }
.ba-slider__vorher { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider__vorher img { height: 100%; }
.ba-slider__linie {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.ba-slider__linie::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-navy-900); font: 700 1.1rem/1 var(--font-display); letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.ba-slider__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-slider__range:focus-visible + .ba-slider__linie::after { outline: 3px solid var(--color-sky-400); outline-offset: 3px; }
.ba-slider .ba-label { z-index: 2; pointer-events: none; }
.ba-slider .ba-label--nachher { left: auto; right: 0.7rem; }
.ba-hinweis { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--color-sky-700); margin-bottom: 0.3rem; }

/* ---------- Leistungsseite: Uebersicht wie steinrein.com ----------
   Heller, zentrierter Kopf mit Einleitung, darunter ein Raster gleich grosser
   Karten (Bild 16:9, Titel, Anreisser), die zu den Abschnitten springen. */
.leistungen-intro { padding-top: clamp(2.5rem, 5vw, 4rem); }
.leistungen-intro .section-head { max-width: 52rem; }
.leistungen-intro h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.intro-stark { font-weight: 600; color: var(--color-navy-800) !important; }
.breadcrumb--hell { color: var(--color-ink-soft); text-align: center; }
.leistung-raster .service-card { background: var(--color-fog); }
.leistung-raster .service-card picture, .leistung-raster .service-card img { aspect-ratio: 3 / 2; }
.leistung-raster .service-card h3 { font-size: 1.12rem; }

/* Hochkant-Fotos in Querformat-Kacheln: Ausschnitt weiter oben statt mittig */
img.bild-oben { object-position: 50% 12%; }

/* ---------- Leistungs-Unterseiten ---------- */
.leistung-kopf { padding-top: clamp(2rem, 4vw, 3rem); }
.leistung-kopf h1 { font-size: clamp(2rem, 4.2vw, 3rem); -webkit-hyphens: manual; hyphens: manual; }
.leistung-kopf h1 em { font-family: var(--font-serif); font-weight: 400; color: var(--color-sky-700); }
.leistung-kopf .split-media img { aspect-ratio: 4 / 3; }
.leistung-kopf .hero-ctas .btn-secondary { color: var(--color-navy-900); border-color: var(--color-navy-900); }
.breadcrumb--links { text-align: left; margin-bottom: 1.5rem; }
/* schlichte Seitenüberschrift ohne dunklen Kopfbereich (Bewertungen, Vorher & Nachher) */
.seiten-titel { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.seiten-titel em { font-family: var(--font-serif); font-weight: 400; color: var(--color-sky-700); }
.breadcrumb--hell a { color: var(--color-sky-700); }
.lt-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.lt-raster p { color: var(--color-ink-soft); font-size: 1.04rem; }
.lt-box { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-soft); }
.lt-box h3 { margin-bottom: 0.5rem; }
.leistung-raster--klein .service-card-body { padding: 1.1rem 1.3rem 1.2rem; }
.leistung-raster--klein .service-card h3 { margin-bottom: 0.4rem; }
@media (max-width: 860px) { .lt-raster { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.ref-grid--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin: 0 auto; }
.ref-grid--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .ref-grid--drei { grid-template-columns: minmax(0, 1fr); } }
.ref-grid--eins { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin: 0 auto; }

/* ---------- Vergleiche wie auf steinblank.com ----------
   Jeder Vergleich ist ein Schieberegler. Vorher- und Nachher-Foto haben exakt
   dieselbe Groesse (zugeschnitten von _werkzeuge/vergleiche_bauen.py), das
   Vorher-Bild liegt oben und wird per clip-path bis --pos abgeschnitten. */
.vgl-raster {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 2rem; justify-items: center; position: relative; z-index: 1;
}
.vgl { width: 100%; max-width: 400px; }
.vgl__rahmen {
  --pos: 50%; position: relative; width: 100%; aspect-ratio: 3 / 4;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft);
  background: var(--color-navy-900); touch-action: pan-y;
}
.vgl__rahmen--quer { aspect-ratio: 4 / 3; }
.vgl__rahmen picture, .vgl__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-select: none; pointer-events: none; }
.vgl__vorher { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vgl__linie { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); pointer-events: none; }
.vgl__griff {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-navy-900); font-size: 1.05rem; font-weight: 700; box-shadow: var(--shadow-soft);
}
.vgl__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; z-index: 2; }
.vgl__regler:focus-visible ~ .vgl__linie .vgl__griff, .vgl__regler:focus-visible + .vgl__linie .vgl__griff { outline: 3px solid var(--color-sky-400); outline-offset: 3px; }
.vgl__labels { display: flex; justify-content: space-between; margin-top: 0.8rem; font-weight: 600; font-size: 0.9rem; color: var(--color-ink-soft); }
.vgl__titel { margin: 0.45rem 0 0; font-weight: 600; color: var(--color-navy-800); text-align: center; }
.vgl__notiz { margin: 0.2rem 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--color-ink-soft); text-align: center; text-wrap: balance; }
/* Handy: zwei Vergleiche nebeneinander, Griff und Schrift kleiner (wie Steinblank) */
@media (max-width: 640px) {
  .vgl-raster { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .vgl__rahmen { border-radius: var(--radius-sm); }
  .vgl__griff { width: 30px; height: 30px; font-size: 0.8rem; }
  .vgl__labels { font-size: 0.75rem; margin-top: 0.5rem; }
  .vgl__titel { font-size: 0.78rem; line-height: 1.35; }
  .vgl__notiz { display: none; }
}

/* Kontaktformular: Privat- oder Gewerbekunde */
.kundenart { border: 0; padding: 0; margin: 0 0 1rem; }
.kundenart legend { font-size: 0.85rem; font-weight: 600; color: var(--color-navy-900); margin-bottom: 0.45rem; }
.segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; border-radius: var(--radius-pill); background: var(--color-fog); border: 1.5px solid var(--color-border); }
/* weißer Schieber, gleitet zur gewählten Seite */
.segment::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--radius-pill);
  background: #fff; box-shadow: 0 2px 8px rgba(11, 31, 51, 0.12); transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.segment.is-rechts::before { transform: translateX(100%); }
.segment label { position: relative; z-index: 1; display: block; cursor: pointer; }
.segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segment span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; color: var(--color-ink-soft); transition: color 0.25s; }
.segment input:checked + span { color: var(--color-navy-900); }
/* Feld "Firma" klappt weich auf */
.firma-klapp { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-8px); transition: grid-template-rows 0.4s var(--ease-out), opacity 0.3s, transform 0.4s var(--ease-out); }
.firma-klapp.is-offen { grid-template-rows: 1fr; opacity: 1; transform: none; }
.firma-innen { overflow: hidden; min-height: 0; }
@media (prefers-reduced-motion: reduce) { .segment::before, .firma-klapp { transition: none; } }
.segment input:focus-visible + span { outline: 3px solid var(--color-sky-400); outline-offset: 1px; }

/* Anfrage-Assistent: Mengen-Schritt */
.wz-umfang { display: grid; gap: 1rem; max-height: 22rem; overflow-y: auto; padding-right: 2px; }
.wz-unterfrage { margin: 0 0 0.45rem; font-size: 0.88rem; font-weight: 600; color: var(--color-navy-900); }
.wz-options--kompakt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.wz-options--kompakt .wz-option { min-height: 42px; justify-content: center; text-align: center; padding: 0.45rem 0.5rem; font-size: 0.86rem; }
.wz-option--leise { color: var(--color-ink-soft); border-style: dashed; }
@media (max-width: 420px) { .wz-options--kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Handy: Platz für WhatsApp-Knopf */
@media (max-width: 760px) { .footer-bottom { padding-bottom: 4.5rem; } .footer-bottom a { display: inline-block; padding: 0.6rem 0; } }

/* ---------- Startseite: Hero (ehemals Entwurf G) ---------- */
/* ==========================================================
   G – Helles Foto, Text links, Anfrage-Formular rechts, Bewertungen unten
   ========================================================== */
.hg { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: calc(var(--header-height) + 3rem) 0 2rem; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hg picture { display: contents; }
.hg-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hg::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 18, 32, 0.78) 0%, rgba(6, 18, 32, 0.45) 42%, rgba(6, 18, 32, 0.05) 100%),
              linear-gradient(0deg, rgba(6, 18, 32, 0.55) 0%, rgba(6, 18, 32, 0) 30%); }
.hg-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hg-pille { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.hg-pille .stars { color: var(--color-gold); letter-spacing: 0.06em; }
.hg h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 1.2rem 0 1.1rem; }
.hg h1 em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-sky-300); }
.hg-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.86); max-width: 32rem; margin: 0 0 1.8rem; }
.hg-zahlen { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.hg-zahlen strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.hg-zahlen span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.hg-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hg-tel { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.95rem; }
.hg-tel strong { color: #fff; }
.hg-wizard .wizard { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55); }
.hg-bewertungen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; list-style: none; margin: clamp(2rem, 5vh, 3.5rem) 0 0; padding: 0; }
.hg-bew { background: rgba(255, 255, 255, 0.95); color: var(--color-navy-900); border-radius: 16px; padding: 0.9rem 1rem; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.5); }
.hg-bew-kopf { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.45rem; }
.hg-bew-kopf strong { display: block; font-family: var(--font-display); font-size: 0.85rem; line-height: 1.1; }
.hg-bew-kopf .stars { color: var(--color-gold); font-size: 0.75rem; letter-spacing: 0.06em; }
.hg-bew-initial { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-sky-100); color: var(--color-sky-700); font-weight: 700; font-size: 0.85rem; }
.hg-bew q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.82rem; line-height: 1.4; color: var(--color-ink-soft); quotes: "„" "“"; }
@media (max-width: 1023px) {
  .hg-raster { grid-template-columns: minmax(0, 1fr); }
  .hg-bewertungen { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 75%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .hg-bew { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .hg { padding-top: calc(var(--header-height) + 1.5rem); }
  /* Handy: Foto oben als eigenes Bild statt stark vergrößert hinter dem ganzen Hero */
  .hg { background: #061220; }
  .hg-bild { top: -48px; bottom: auto; height: min(80svh, 640px); object-position: 50% 40%; }
  .hg::before { background: linear-gradient(180deg, rgba(6, 18, 32, 0.4) 0%, rgba(6, 18, 32, 0.38) 16%, rgba(6, 18, 32, 0.7) 42%, #061220 min(74svh, 592px)); }
  .hg h1, .hg-sub { text-shadow: 0 2px 18px rgba(6, 18, 32, 0.55); }
  .hg-zahlen { gap: 0.8rem 1.6rem; }
  .hg-zahlen strong { font-size: 1.3rem; }
  .hg-ctas .btn { flex: 1 1 100%; }
}
.hg-stimmen { color: #fff; }

/* Kopfleiste: Erreichbarkeit (auf dunklem bzw. transparentem Kopf) */
.kopf-erreichbar { display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; padding: 0.42rem 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.92); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.kopf-erreichbar i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc7a; box-shadow: 0 0 0 3px rgba(61, 220, 122, 0.22); }
.kopf-erreichbar.is-zu i { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }
@media (max-width: 1240px) { .kopf-erreichbar { display: none; } }

/* ---------- Startseite: Gewerbekunden im drehenden Kreis ---------- */

.hs { position: relative; overflow: hidden; min-height: clamp(600px, 88vh, 820px); display: grid; place-items: center; padding: 4rem 1.25rem; background: #fff; }
.hs-kreis { position: absolute; inset: 0; pointer-events: none; }
.hs-kachel {
  position: absolute; left: 0; top: 0; width: clamp(64px, 6.5vw, 96px); margin: 0;
  opacity: 0; scale: 0.6; transition: opacity 0.6s ease, scale 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.hs-kachel img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(11, 31, 51, 0.45); }
.hs-kachel figcaption { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 0.4rem; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; line-height: 1.2; color: var(--color-ink-soft); text-align: center; white-space: nowrap; }
.hs.ist-sichtbar .hs-kachel { opacity: 1; scale: 1; }
.hs.ist-sichtbar .hs-kachel:nth-child(1) { transition-delay: 0.00s; }
.hs.ist-sichtbar .hs-kachel:nth-child(2) { transition-delay: 0.08s; }
.hs.ist-sichtbar .hs-kachel:nth-child(3) { transition-delay: 0.16s; }
.hs.ist-sichtbar .hs-kachel:nth-child(4) { transition-delay: 0.24s; }
.hs.ist-sichtbar .hs-kachel:nth-child(5) { transition-delay: 0.32s; }
.hs.ist-sichtbar .hs-kachel:nth-child(6) { transition-delay: 0.40s; }
.hs.ist-sichtbar .hs-kachel:nth-child(7) { transition-delay: 0.48s; }
.hs.ist-sichtbar .hs-kachel:nth-child(8) { transition-delay: 0.56s; }
.hs.ist-sichtbar .hs-kachel:nth-child(9) { transition-delay: 0.64s; }
.hs.ist-sichtbar .hs-kachel:nth-child(10) { transition-delay: 0.72s; }
.hs.ist-sichtbar .hs-kachel:nth-child(11) { transition-delay: 0.80s; }
.hs.ist-sichtbar .hs-kachel:nth-child(12) { transition-delay: 0.88s; }
.hs-mitte { position: relative; z-index: 1; max-width: 26rem; text-align: center; opacity: 0; translate: 0 12px; transition: opacity 0.8s ease 0.3s, translate 0.8s ease 0.3s; }
.hs.ist-sichtbar .hs-mitte { opacity: 1; translate: 0 0; }
.hs-mitte h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.08; margin: 0.4rem 0 1rem; }
.hs-mitte p { color: var(--color-ink-soft); margin: 0 auto 1.6rem; max-width: 24rem; }
@media (prefers-reduced-motion: reduce) { .hs-kachel, .hs-mitte { transition: none; opacity: 1; scale: 1; translate: 0 0; } }
@media (max-width: 760px) { .hs { min-height: 780px; padding: 2rem 1rem; } .hs-kachel { width: 56px; } .hs-kachel img { border-radius: 10px; } .hs-mitte { max-width: 10.5rem; } .hs-mitte h2 { font-size: 1.4rem; } .hs-mitte p { display: none; } .hs-mitte .hf-btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; } .hs-kachel figcaption { font-size: 0.6rem; } }

.hf-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.8rem 1.6rem;
  border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.hf-btn--dunkel { background: var(--color-navy-900); color: #fff; }
.hf-btn--hell { background: #fff; color: var(--color-navy-900); }
@media (hover: hover) { .hf-btn:hover { transform: translateY(-2px); } .hf-btn--dunkel:hover { background: #10304f; } }

/* ---------- Menü: Untermenü mit allen Leistungsseiten ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-knopf {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; min-height: 44px; margin-left: 0.1rem; padding: 0;
  border: 0; background: none; color: rgba(255, 255, 255, 0.84); cursor: pointer;
}
.nav-drop-knopf svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.nav-drop.is-offen .nav-drop-knopf svg { transform: rotate(180deg); }
.main-nav .nav-unter {
  position: absolute; top: calc(100% + 0.4rem); left: 50%; z-index: 70; translate: -50% 6px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 0.5rem; width: max-content; padding: 0.6rem;
  border-radius: 18px; background: rgba(15, 38, 61, 0.94); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -20px rgba(4, 16, 30, 0.6);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, translate 0.18s var(--ease-out), visibility 0s linear 0.18s;
}
/* Brücke, damit das Menü beim Runterfahren mit der Maus nicht zugeht */
.main-nav .nav-unter::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 0.6rem; }
.nav-drop.is-offen > .nav-unter { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .nav-drop:hover > .nav-unter { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
}
.main-nav .nav-unter a:not(.btn):not(.logo) {
  display: flex; min-height: 44px; padding: 0 0.9rem; border-radius: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.88);
}
.main-nav .nav-unter a::after { display: none; }
.main-nav .nav-unter a[aria-current="page"] { color: var(--color-sky-300); }
@media (hover: hover) and (pointer: fine) { .main-nav .nav-unter a:hover { background: rgba(255, 255, 255, 0.08); } }

@media (max-width: 1100px) {
  body.nav-open .main-nav .nav-drop { flex-wrap: wrap; justify-content: center; }
  body.nav-open .main-nav .nav-drop-knopf { width: 44px; min-height: 48px; color: #fff; }
  body.nav-open .main-nav .nav-drop-knopf svg { width: 20px; height: 20px; }
  body.nav-open .main-nav .nav-unter {
    position: static; translate: none; display: none; flex-basis: 100%; width: auto; margin-top: 0.5rem; padding: 0.4rem;
    grid-template-columns: 1fr; gap: 0; background: rgba(255, 255, 255, 0.06); box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; visibility: visible; transition: none;
  }
  body.nav-open .main-nav .nav-drop.is-offen > .nav-unter { display: grid; }
  body.nav-open .main-nav .nav-unter li { animation: none; }
  body.nav-open .main-nav .nav-unter a:not(.btn) { justify-content: center; font-family: var(--font-body, inherit); font-size: 1rem; min-height: 44px; color: rgba(255, 255, 255, 0.88); }
}
