/* ==========================================================================
   SCHRIFT (DSGVO-sicher)
   Es wird bewusst KEINE Schrift von Google-Servern geladen (LG München, 2022).
   Standard: die Systemschrift des Geräts (SF Pro / Segoe UI / Roboto).
   Eigene Schrift gewünscht? Datei z. B. von gwfh.mranftl.com laden,
   in /assets/fonts ablegen und den Block unten einkommentieren.
   ========================================================================== */
/*
@font-face {
  font-family: "Boog Sans";
  src: url("../fonts/manrope-v15-latin-800.woff2") format("woff2");
  font-weight: 800; font-display: swap;
}
*/

/* ==========================================================================
   DESIGN-TOKENS – hier Farben & Abstände zentral anpassen
   ========================================================================== */
:root {
  --primary-blue: #0C1238;      /* Midnight-Navy (aus dem Logo) */
  --primary-blue-2: #141C4E;    /* etwas heller, für Flächen */
  --brand-blue: #1E56B4;        /* Logo-Blau */
  --accent-color: #2FC6EA;      /* Glas-Cyan – nur für Klick-Elemente */
  --accent-hover: #6ADAF3;
  --frost: #EEF3FA;             /* heller Sektionshintergrund */
  --white: #FFFFFF;
  --ink: #0C1238;               /* Fließtext */
  --muted: #56617F;             /* Nebentext */
  --line: #D7DFEC;              /* Linien */
  --danger: #B4233C;

  --font-sans: "Boog Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;
}

/* ==========================================================================
   BASIS
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.section-head { max-width: 40rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border: 0; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent-color); color: var(--primary-blue); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-solid { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.brand .logo-color { display: none; }
.site-header.is-solid .brand .logo-white { display: none; }
.site-header.is-solid .brand .logo-color { display: block; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: var(--radius-s); text-decoration: none; font-weight: 600; font-size: .98rem; opacity: .92; }
.main-nav a:hover { opacity: 1; background: rgba(127,150,200,.16); }

.header-call {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  padding: .6rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--accent-color); color: var(--primary-blue);
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--accent-hover); }
.header-call .icon { width: 1.1em; height: 1.1em; }

.nav-toggle { display: none; margin-left: .25rem; width: 46px; height: 46px; border: 0; border-radius: var(--radius-s); background: transparent; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; margin: auto; }

@media (max-width: 960px) {
  .header-inner { gap: .5rem; }
  .brand img { height: 28px; }
  .header-call { margin-left: auto; padding: .55rem .9rem; }
  .header-call .num-long { display: none; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    background: var(--white); color: var(--ink);
    box-shadow: 0 20px 40px -20px rgba(12,18,56,.35);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; }
  .main-nav a { padding: .9rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (min-width: 961px) { .header-call .num-short { display: none; } }
@media (max-width: 359px) { .header-call .num-short { display: none; } .brand img { height: 24px; } }

/* ==========================================================================
   2. HERO MIT VIDEO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-block: calc(var(--header-h) + 2rem) 1.75rem;
  color: var(--white);
  /* Fallback, solange das Video lädt oder falls es nicht abgespielt wird */
  background: var(--primary-blue) url("../hero-poster.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  /* ca. 45 % Navy + Verlauf zur Textseite für sichere Lesbarkeit */
  background:
    linear-gradient(90deg, rgba(12,18,56,.55) 0%, rgba(12,18,56,.15) 70%),
    linear-gradient(0deg, rgba(12,18,56,.45) 0%, rgba(12,18,56,0) 45%),
    rgba(12,18,56,.45);
}
.hero__main { flex: 1; display: flex; align-items: center; }
.hero__content { max-width: 52rem; }

/* ---------- Referenz-Logos (unten im Hero, sofort sichtbar) ----------
   Laufband: alle Logos in einer Zeile, läuft langsam durch, stoppt beim Drüberfahren.
   Bei "Bewegung reduzieren" (Systemeinstellung) stehen die Logos statt dessen still und umbrechen. */
.refs {
  margin-top: 2.25rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; gap: 1rem 2rem;
}
.refs__label { flex: none; margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; font-weight: 600; }
.refs__viewport { flex: 1; min-width: 0; }
.refs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2.75rem; }
.ref { height: var(--h, 34px); display: flex; align-items: center; }
/* Logos liegen als weiße, freigestellte PNGs vor → ruhiges Gesamtbild auf dem Video */
.ref img { display: block; height: 100%; width: auto; max-width: none; opacity: .9; }
.ref:not(.has-logo) { display: none; } /* fehlt eine Logo-Datei, wird der Eintrag ausgeblendet */

.refs__viewport.is-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.is-marquee .refs__list {
  flex-wrap: nowrap; gap: 0; width: max-content;
  animation: refs-scroll var(--refs-duration, 45s) linear infinite;
}
.is-marquee .ref { flex: none; margin-right: 3.25rem; } /* Abstand als Außenabstand, damit die Schleife nahtlos ist */
.is-marquee:hover .refs__list { animation-play-state: paused; }
@keyframes refs-scroll { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .refs { flex-direction: column; align-items: stretch; margin-top: 2.5rem; gap: .9rem; }
  .refs__list { gap: .9rem 1.6rem; }
  .ref { height: calc(var(--h, 34px) * .8); }
  .is-marquee .ref { margin-right: 2.25rem; }
}
.hero h1 {
  position: relative;
  font-size: clamp(2.2rem, min(5.2vw, 8vh), 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 21ch;
  text-wrap: balance;
}

/* Signatur-Moment: Die Headline wird beim Laden "freigewischt" wie mit einem Abzieher */
.wipe { position: relative; display: inline-block; }
.wipe__text { display: block; clip-path: inset(-0.15em 100% -0.3em -0.1em); animation: wipe-reveal 1.15s cubic-bezier(.65,.05,.25,1) .25s forwards; }
.wipe__blade {
  position: absolute; top: -4%; bottom: -4%; left: 0; width: 6px; border-radius: 3px;
  background: var(--accent-color);
  box-shadow: 0 0 18px 4px rgba(47,198,234,.65);
  opacity: 0;
  animation: wipe-blade 1.15s cubic-bezier(.65,.05,.25,1) .25s forwards;
}
/* Ränder großzügig (negativ), damit Unterlängen wie „g“ und „p“ nicht abgeschnitten werden */
@keyframes wipe-reveal { to { clip-path: inset(-0.15em -0.15em -0.3em -0.1em); } }
@keyframes wipe-blade {
  0% { left: 0; opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.hero__benefits { margin-top: 1.6rem; display: grid; gap: .8rem; }
.hero__benefits li { display: flex; gap: .8rem; align-items: flex-start; font-size: clamp(1.02rem, 1.6vw, 1.15rem); font-weight: 500; }
.check {
  flex: none; display: grid; place-items: center;
  width: 1.65rem; height: 1.65rem; margin-top: .05rem; border-radius: 50%;
  background: rgba(47,198,234,.18); color: var(--accent-color);
  box-shadow: inset 0 0 0 1.5px rgba(47,198,234,.7);
}
.check .icon { width: .95rem; height: .95rem; stroke-width: 3; }

.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.btn--hero { min-height: 60px; padding: 1rem 2rem; font-size: 1.125rem; animation: cta-glow 2.8s ease-out 1.6s infinite; }
@keyframes cta-glow {
  0% { box-shadow: 0 0 0 0 rgba(47,198,234,.6); }
  70% { box-shadow: 0 0 0 16px rgba(47,198,234,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,198,234,0); }
}
.hero__call { color: rgba(255,255,255,.88); font-size: 1rem; }
.hero__call a { color: var(--white); font-weight: 700; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }

/* ==========================================================================
   3. TRUST-BAR
   ========================================================================== */
.trust { background: var(--primary-blue); color: var(--white); padding-block: 2.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.trust__inner { display: grid; gap: 1.5rem; align-items: center; }
.trust__claim { font-weight: 600; color: rgba(255,255,255,.75); font-size: 1rem; }
.trust__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: 1rem 2rem; }
.stat { border-left: 2px solid rgba(47,198,234,.55); padding-left: 1rem; }
.stat__num { display: block; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.35; margin-top: .2rem; }
.stat__num .icon { width: 1em; height: 1em; color: var(--accent-color); }
@media (min-width: 900px) {
  .trust__inner { grid-template-columns: 1fr 2.2fr; gap: 3rem; }
}
@media (max-width: 520px) {
  .trust__stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   5. ÜBER UNS – Porträt des Geschäftsführers
   Text links, Fotorahmen (9:16) oben rechts. Das Motto ist das eine laute Element.
   ========================================================================== */
.owner__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .owner__grid { grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 340px); gap: clamp(3rem, 7vw, 6rem); }
}
.owner__text { max-width: 38rem; }
.owner__motto { margin: 0; }
.owner__motto blockquote { margin: 0; }
.owner__motto p {
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--primary-blue); text-wrap: balance;
}
.owner__motto figcaption { display: flex; flex-direction: column; margin-top: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--accent-color); color: var(--muted); font-size: .98rem; line-height: 1.4; }
.owner__motto figcaption strong { color: var(--ink); font-size: 1.1rem; }
.owner__lead { margin-top: 2rem; font-size: 1.15rem; line-height: 1.6; }
.owner__promises { margin: 1.75rem 0 2.25rem; display: grid; gap: .9rem; }
.owner__promises li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.05rem; }
.owner__promises .check { background: var(--primary-blue); color: var(--accent-color); box-shadow: none; }
.owner__promises strong { color: var(--primary-blue); }

/* Fotorahmen im 3:4-Format: dunkelblauer Rahmen, versetzte Schattenfläche und Punktraster in den Seitenfarben */
.owner__visual { position: relative; isolation: isolate; padding: 0 20px 20px 0; }
.owner__visual::before {          /* Punktraster unten links, ragt hinter dem Foto hervor */
  content: ""; position: absolute; z-index: -2;
  left: -44px; bottom: -44px; width: 58%; height: 42%;
  background-image: radial-gradient(var(--brand-blue) 2px, transparent 2.4px);
  background-size: 16px 16px; opacity: .5;
}
.owner__visual::after {           /* versetzte Schattenfläche unten rechts */
  content: ""; position: absolute; z-index: -1;
  top: 20px; right: 0; bottom: 0; left: 20px;
  background: linear-gradient(135deg, #D6E2F3 0%, #BFD3EE 100%);
}
.owner__photo {
  position: relative; margin: 0; aspect-ratio: 3 / 4; width: 100%;
  border: 6px solid var(--primary-blue);
  overflow: hidden; background: var(--frost);
  box-shadow: 0 34px 60px -28px rgba(12,18,56,.55), 0 10px 22px -12px rgba(12,18,56,.35);
}
.owner__photo::after {            /* feine Cyan-Kante innen für Tiefe */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(47,198,234,.35);
}
.owner__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.owner__placeholder {
  position: absolute; inset: 10px; border: 2px dashed var(--line);
  display: grid; place-content: center; justify-items: center; gap: .75rem; text-align: center;
  color: var(--muted); font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.owner__placeholder .icon { width: 2.2rem; height: 2.2rem; stroke-width: 1.6; color: var(--brand-blue); }
@media (min-width: 900px) {
  .owner__grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 420px); }
  .owner__visual { margin-top: .5rem; }
}
@media (max-width: 899px) {
  .owner__visual { order: -1; width: min(78%, 330px); justify-self: end; margin-right: 0; }
}

/* ==========================================================================
   5. LEISTUNGEN
   ========================================================================== */
.services { background: var(--frost); }
.service-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 4px solid var(--brand-blue);
}
.service__icon { width: 3rem; height: 3rem; border-radius: var(--radius-s); background: var(--frost); color: var(--brand-blue); display: grid; place-items: center; margin-bottom: 1.25rem; }
.service__icon .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.8; }
.service h3 { font-size: 1.25rem; font-weight: 800; }
.service p { color: var(--muted); margin-top: .6rem; font-size: 1rem; flex: 1; }
.service__link {
  margin-top: 1.25rem; align-self: flex-start;
  font-weight: 700; color: var(--brand-blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgba(30,86,180,.3);
}
.service__link:hover { text-decoration-color: var(--brand-blue); }
.services__extra { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; color: var(--muted); }
.services__extra .icon { color: var(--brand-blue); }
.services__extra strong { color: var(--ink); }

/* ==========================================================================
   6. ABLAUF (echte Reihenfolge → Nummerierung)
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: step; position: relative; }
.step { position: relative; padding-left: 4.5rem; }
.step__num {
  position: absolute; left: 0; top: -.2rem;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-blue); color: var(--white);
  font-weight: 800; font-size: 1.35rem;
}
.step h3 { font-size: 1.3rem; font-weight: 800; }
.step__meta { display: inline-block; margin-top: .45rem; padding: .15rem .6rem; border-radius: var(--radius-pill); background: var(--frost); color: var(--brand-blue); font-weight: 700; font-size: .9rem; }
.step p { color: var(--muted); margin-top: .6rem; }
/* Verbindungslinie zwischen den Schritten */
.step:not(:last-child)::after { content: ""; position: absolute; left: 1.6rem; top: 3.4rem; bottom: -2.3rem; width: 2px; background: linear-gradient(var(--accent-color), var(--line)); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .step { padding-left: 0; padding-top: 4.75rem; }
  .step:not(:last-child)::after { left: 3.8rem; right: -1.6rem; top: 1.6rem; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent-color), var(--line)); }
}
.steps-cta { margin-top: 3rem; }
.btn--navy { background: var(--primary-blue); color: var(--white); }
.btn--navy:hover { background: var(--brand-blue); }

/* ==========================================================================
   7. ANFRAGE-KONFIGURATOR
   ========================================================================== */
.request { background: var(--primary-blue); color: var(--white); }
.request__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 980px) { .request__grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }
.request .section-head { margin-bottom: 2rem; }
.request .section-head p { color: rgba(255,255,255,.75); }
.promise { display: grid; gap: 1rem; }
.promise li { display: flex; gap: .8rem; align-items: flex-start; }
.promise .check { background: rgba(47,198,234,.15); }
.promise strong { display: block; }
.promise span { color: rgba(255,255,255,.72); font-size: .98rem; }
.request__alt { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.78); }
.request__alt a { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; color: var(--white); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.request__alt a .icon { color: var(--accent-color); }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.form-card h3 { font-size: 1.4rem; font-weight: 800; }
.form-card > p { color: var(--muted); margin-top: .35rem; margin-bottom: 1.75rem; font-size: 1rem; }
.field { margin-bottom: 1.35rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 1.35rem; margin-bottom: 1.35rem; }
.field-row .field { margin-bottom: 0; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.label, .field legend { display: block; font-weight: 700; font-size: .98rem; margin-bottom: .45rem; padding: 0; }
.label small, .field legend small { font-weight: 500; color: var(--muted); }
.input, .select {
  width: 100%; min-height: 52px; padding: .75rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--white); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.select { appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E56B4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; cursor: pointer; }
.input:focus, .select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(30,86,180,.15); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .92rem; margin-top: .35rem; min-height: 0; }

/* Rhythmus als antippbare Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .98rem; cursor: pointer; user-select: none;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip span:hover { border-color: var(--brand-blue); }
.chip input:checked + span { background: var(--primary-blue); border-color: var(--primary-blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-color); outline-offset: 2px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* Spam-Falle */
.btn--submit { width: 100%; min-height: 58px; margin-top: .5rem; background: var(--accent-color); color: var(--primary-blue); font-size: 1.1rem; }
.btn--submit:hover { background: var(--accent-hover); }
.btn--submit[disabled] { opacity: .7; cursor: progress; }
.privacy-note { display: flex; gap: .55rem; align-items: flex-start; margin-top: 1rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.privacy-note .icon { color: var(--brand-blue); width: 1.05rem; height: 1.05rem; margin-top: .12rem; }
.privacy-note a { color: var(--brand-blue); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-error { color: var(--danger); }

.form-success { text-align: left; }
.form-success__icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary-blue); color: var(--accent-color); display: grid; place-items: center; margin-bottom: 1.25rem; }
.form-success__icon .icon { width: 1.7rem; height: 1.7rem; stroke-width: 3; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); margin-top: .6rem; }

/* ==========================================================================
   8. BEWERTUNGEN
   ========================================================================== */
.reviews__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.reviews__top .section-head { margin-bottom: 0; }
.slider-nav { display: flex; gap: .5rem; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--primary-blue); }
.slider-btn:hover { border-color: var(--primary-blue); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 420px); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding-bottom: 1rem; scrollbar-width: thin;
}
.review { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--frost); border-radius: var(--radius-m); padding: 1.9rem 1.75rem; }
.stars { display: flex; gap: 2px; color: #F5B301; }
.stars svg { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }
.review blockquote { margin: 1.1rem 0 1.5rem; font-size: 1.15rem; line-height: 1.5; font-weight: 500; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-blue); color: var(--white); font-weight: 800; font-size: .95rem; }
.review figcaption strong { display: block; line-height: 1.2; }
.review figcaption span { color: var(--muted); font-size: .9rem; }
.review figcaption .avatar { color: var(--white); font-size: .95rem; }  /* Initialen gut lesbar (überschreibt die Zeile darüber) */
.review--more { background: var(--primary-blue); color: var(--white); justify-content: space-between; }
.review--more p { font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.review--more a { align-self: flex-start; margin-top: 1.5rem; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer { background: #080D2B; color: rgba(255,255,255,.78); padding-block: 4rem 2rem; font-size: .98rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.88); }
.site-footer a:hover { color: var(--accent-color); }
.footer-links li { margin-bottom: .55rem; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: rgba(255,255,255,.88); text-align: left; }
.link-btn:hover { color: var(--accent-color); }
.ssl { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .45rem .8rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.06); font-size: .9rem; }
.ssl .icon { color: var(--accent-color); width: 1rem; height: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: rgba(255,255,255,.55); }

/* Cookie-Hinweis-Dialog */
.dialog { border: 0; border-radius: var(--radius-m); padding: 2rem; max-width: 30rem; width: calc(100% - 2rem); color: var(--ink); }
.dialog::backdrop { background: rgba(8,13,43,.6); }
.dialog h2 { font-size: 1.35rem; margin-bottom: .75rem; }
.dialog p { color: var(--muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   MOBILE STICKY-LEISTE (Anrufen / Angebot) – nur auf Smartphones
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; gap: .6rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(12,18,56,.25);
  transform: translateY(110%); transition: transform .3s;
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { flex: 1; min-height: 50px; padding: .7rem 1rem; font-size: 1rem; }
@media (max-width: 760px) { .mobile-bar { display: flex; } .site-footer { padding-bottom: 6.5rem; } }

/* ==========================================================================
   BARRIEREFREIHEIT: reduzierte Bewegung respektieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wipe__text { animation: none; clip-path: none; }
  .wipe__blade { display: none; }
  .btn--hero { animation: none; }
}


/* ==========================================================================
   DROPDOWN "LEISTUNGEN" IM HEADER
   ========================================================================== */
.has-sub { position: relative; }
.main-nav .nav-trigger {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .8rem; border: 0; border-radius: var(--radius-s);
  background: transparent; color: inherit; font-weight: 600; font-size: .98rem; opacity: .92; cursor: pointer;
}
.main-nav .nav-trigger:hover, .has-sub.is-open .nav-trigger { opacity: 1; background: rgba(127,150,200,.16); }
.nav-trigger .chev { width: 1rem; height: 1rem; stroke-width: 2.5; transition: transform .2s; }
.subnav {
  position: absolute; top: 100%; left: -.75rem; z-index: 60;
  width: 24rem; padding-top: .6rem; /* unsichtbare Brücke, damit das Menü beim Runterfahren offen bleibt */
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.has-sub.is-open .subnav {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s, transform .18s, visibility 0s;
}
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .subnav { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s; }
  .has-sub:hover .chev { transform: rotate(180deg); }
}
.has-sub.is-open .chev { transform: rotate(180deg); }
.subnav__panel {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-m); padding: .5rem;
  box-shadow: 0 24px 50px -18px rgba(12,18,56,.45), 0 0 0 1px rgba(12,18,56,.07);
}
.main-nav .subnav ul { display: grid; gap: .1rem; padding: 0; flex-direction: column; }
.main-nav .subnav a {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem .65rem; border-radius: var(--radius-s); border-bottom: 0;
  color: var(--ink); opacity: 1; font-weight: 400; font-size: 1rem;
}
.main-nav .subnav a:hover, .main-nav .subnav a[aria-current="page"] { background: var(--frost); }
.subnav__icon {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-s);
  display: grid; place-items: center; background: var(--frost); color: var(--brand-blue);
  transition: background-color .15s, color .15s;
}
.subnav__icon .icon { width: 1.3rem; height: 1.3rem; stroke-width: 1.8; }
.main-nav .subnav a:hover .subnav__icon, .main-nav .subnav a[aria-current="page"] .subnav__icon { background: var(--primary-blue); color: var(--accent-color); }
.subnav strong, .more-link strong { display: block; font-weight: 700; font-size: .98rem; line-height: 1.25; color: var(--ink); }
.subnav small, .more-link small { display: block; margin-top: .1rem; color: var(--muted); font-size: .86rem; line-height: 1.35; }

@media (max-width: 960px) {
  .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .has-sub { position: static; }
  .nav-trigger .chev { display: none; }
  .subnav { position: static; width: auto; padding: 0 0 .5rem; opacity: 1; visibility: visible; transform: none; transition: none; }
  .subnav__panel { background: transparent; box-shadow: none; padding: 0 0 0 .25rem; border-radius: 0; }
  .main-nav .subnav a { padding: .5rem .25rem; font-size: 1rem; }
  .subnav small { display: none; }
  .main-nav .nav-trigger { width: 100%; padding: .9rem .5rem; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); cursor: default; background: transparent; }
  .subnav__icon { width: 2.1rem; height: 2.1rem; }
}

/* ==========================================================================
   FOOTER: jetzt vier Spalten
   ========================================================================== */
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; } }

/* ==========================================================================
   LEISTUNGS-UNTERSEITEN
   ========================================================================== */
.page-hero {
  background: var(--primary-blue); color: var(--white);
  padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 6vw, 4.5rem);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: rgba(255,255,255,.65); margin-bottom: 1.75rem; }
.breadcrumb a { color: rgba(255,255,255,.85); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }
.page-hero__head { display: flex; align-items: center; gap: 1.1rem; }
.page-hero__icon {
  flex: none; width: 3.75rem; height: 3.75rem; border-radius: var(--radius-m);
  display: grid; place-items: center;
  background: rgba(47,198,234,.14); color: var(--accent-color);
  box-shadow: inset 0 0 0 1.5px rgba(47,198,234,.55);
}
.page-hero__icon .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.8; }
@media (max-width: 600px) {
  .page-hero__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .page-hero__icon { width: 3.1rem; height: 3.1rem; }
}
.page-hero h1 { overflow-wrap: break-word; hyphens: manual; min-width: 0; font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.page-hero__lead { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: rgba(255,255,255,.82); }

.service-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .service-layout { grid-template-columns: 1.4fr .9fr; gap: 4.5rem; } }

.detail-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1.25rem; }
.scope-list { border-top: 1px solid var(--line); }
.scope-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding-block: .85rem; border-bottom: 1px solid var(--line);
  font-size: 1.06rem; font-weight: 500;
}
.scope-list .check { background: var(--primary-blue); color: var(--accent-color); box-shadow: none; }

.facts { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .75rem; }
.facts p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { padding: .35rem .8rem; border-radius: var(--radius-pill); background: var(--frost); color: var(--primary-blue); font-weight: 600; font-size: .94rem; }

.cta-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--primary-blue); color: var(--white);
  border-radius: var(--radius-m); padding: clamp(1.6rem, 3.5vw, 2.25rem);
  box-shadow: 0 30px 60px -30px rgba(12,18,56,.6);
}
.cta-card h2 { font-size: 1.5rem; font-weight: 800; }
.cta-card > p { margin-top: .6rem; color: rgba(255,255,255,.78); }
.btn--block { width: 100%; }
.reveal-call { margin-top: 1.5rem; }
.reveal-call > summary { list-style: none; min-height: 58px; font-size: 1.1rem; }
.reveal-call > summary::-webkit-details-marker { display: none; }
.reveal-call > summary { animation: cta-glow 2.8s ease-out 1s infinite; }
.reveal-call[open] > summary { display: none; } /* Nach dem Klick erscheint stattdessen der Telefon-Button */
.btn--call {
  width: 100%; min-height: 64px;
  background: var(--white); color: var(--primary-blue);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.btn--call .icon { color: var(--brand-blue); width: 1.3em; height: 1.3em; }
.btn--call:hover { background: var(--frost); }
.reveal-call[open] .reveal-call__body { animation: reveal-in .28s ease-out; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.reveal-call__hint { margin-top: .75rem; color: rgba(255,255,255,.78); font-size: .95rem; }
.cta-card__alt { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; color: rgba(255,255,255,.72); }
.cta-card__alt a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }

.more-services { background: var(--frost); }
.more-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .more-grid { grid-template-columns: repeat(4, 1fr); } }
.more-link {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  padding: 1rem; border-radius: var(--radius-m); background: var(--white);
  text-decoration: none; border: 1.5px solid transparent;
}
.more-link:hover { border-color: var(--brand-blue); }
.more-link:hover .subnav__icon { background: var(--primary-blue); color: var(--accent-color); }

.services__extra a { color: var(--ink); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .reveal-call > summary, .reveal-call[open] .reveal-call__body { animation: none; }
}

/* ==========================================================================
   HEADER bei mittleren Bildschirmbreiten (mehr Menüpunkte)
   ========================================================================== */
@media (min-width: 961px) and (max-width: 1200px) {
  .header-call .num-long { display: none; }
  .header-call .num-short { display: inline; }
  .main-nav a, .main-nav .nav-trigger { padding-inline: .55rem; }
}
.subnav strong { display: flex; align-items: center; gap: .45rem; }
.count {
  display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--accent-color); color: var(--primary-blue);
  font-style: normal; font-size: .75rem; font-weight: 800; line-height: 1;
}
.count[hidden] { display: none; }

/* ==========================================================================
   JOBS
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { padding: .2rem .7rem; border-radius: var(--radius-pill); background: var(--frost); color: var(--primary-blue); font-size: .86rem; font-weight: 600; }
.chips--light { margin-bottom: 1rem; }
.chips--light span { background: rgba(255,255,255,.12); color: var(--white); }

.job-cards { display: grid; gap: .9rem; }
.job-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.1rem 1.25rem; border-radius: var(--radius-m);
  background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s;
}
.job-card:hover { border-color: var(--brand-blue); }
.more-services .job-card { border-color: transparent; }
.more-services .job-card:hover { border-color: var(--brand-blue); }
.job-thumb {
  width: 4.5rem; height: 4.5rem; border-radius: var(--radius-m); overflow: hidden;
  display: grid; place-items: center; background: var(--primary-blue); color: var(--accent-color);
}
.job-thumb .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.7; }
.job-thumb img, .job-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.job-card__body { display: grid; gap: .35rem; min-width: 0; }
.job-card__title { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.job-card__text { color: var(--muted); font-size: .98rem; }
.job-card__cta { font-weight: 700; color: var(--brand-blue); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(30,86,180,.3); }
@media (max-width: 640px) {
  .job-card { grid-template-columns: auto 1fr; align-items: start; gap: 1rem; }
  .job-thumb { width: 3.5rem; height: 3.5rem; }
  .job-card__cta { grid-column: 2; }
}
.job-empty { padding: 2rem; border-radius: var(--radius-m); background: var(--frost); }
.job-empty h3 { font-size: 1.2rem; }
.job-empty p { color: var(--muted); margin-top: .4rem; }

.initiative {
  margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius-m);
  border: 1.5px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between;
}
.initiative h3 { font-size: 1.25rem; }
.initiative p { color: var(--muted); margin-top: .3rem; max-width: 36rem; }
@media (min-width: 640px) { .more-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .more-grid--2 { grid-template-columns: 1fr 1fr; max-width: 760px; } }

/* Stellenseite */
.job-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .job-hero__grid { grid-template-columns: 1fr auto; gap: 3rem; } }
/* Bild-Rahmen: zeigt das Icon, bis ein Foto im Feld "bild" eingetragen ist */
.job-media {
  order: -1; width: 7rem; height: 7rem; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center;
  background: rgba(47,198,234,.12); color: var(--accent-color);
  box-shadow: inset 0 0 0 1.5px rgba(47,198,234,.55);
}
.job-media .icon { width: 3rem; height: 3rem; stroke-width: 1.5; }
.job-media.has-img { box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
@media (min-width: 860px) { .job-media { order: 0; width: 15rem; height: 15rem; border-radius: 28px; } .job-media .icon { width: 5rem; height: 5rem; } }
.job-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.job-links a { color: var(--white); font-weight: 700; }

.service-detail .detail-title + .benefits { margin-bottom: 2.75rem; }
.service-detail .scope-list + .detail-title { margin-top: 2.75rem; }
.benefits { display: grid; gap: .75rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border-radius: var(--radius-m); background: var(--frost); }
.benefit__icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-blue); color: var(--accent-color); }
.benefit__icon .icon { width: 1.35rem; height: 1.35rem; }
.benefits strong { display: block; font-weight: 800; line-height: 1.3; }
.benefits li span:not(.benefit__icon) span { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }

.facts-list { margin: 1rem 0 0; display: grid; gap: .1rem; }
.facts-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.facts-list dt { color: rgba(255,255,255,.7); }
.facts-list dd { margin: 0; font-weight: 700; text-align: right; }
.btn--mail { width: 100%; margin-top: .6rem; background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn--mail:hover { box-shadow: inset 0 0 0 2px var(--white); }
.btn--mail .icon { width: 1.2em; height: 1.2em; }
.main-nav a, .main-nav .nav-trigger { white-space: nowrap; }
.main-nav > ul { gap: 0; }
@media (min-width: 961px) and (max-width: 1200px) {
  .brand img { height: 34px; }
  .header-inner { gap: 1rem; }
  .main-nav a, .main-nav .nav-trigger { font-size: .94rem; padding-inline: .5rem; }
}
@media (min-width: 1201px) and (max-width: 1360px) {
  .header-call .num-long { display: none; }
  .header-call .num-short { display: inline; }
}

/* Zahlenleiste und Angebotsformular liegen direkt untereinander (beide dunkel): feine Trennlinie */
.trust + .request { border-top: 1px solid rgba(255,255,255,.1); }

/* Unterzeile im Video-Bereich (Glasreiniger / Fensterreiniger Braunschweig) */
.hero__sub { margin-top: 1.1rem; max-width: 40rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.45; color: rgba(255,255,255,.9); font-weight: 500; }

/* ==========================================================================
   DATENSCHUTZERKLÄRUNG (Seite und Fenster)
   ========================================================================== */
.page-hero--legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal__wrap { max-width: 50rem; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; margin: 2.75rem 0 .9rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal section:first-of-type h2 { margin-top: 2.5rem; }
.legal h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .5rem; }
.legal p, .legal li { line-height: 1.7; }
.legal p + p { margin-top: .9rem; }
.legal ul:not(.legal__toc ol) { margin: .75rem 0 1rem; padding-left: 0; display: grid; gap: .35rem; }
.legal section ul li { position: relative; padding-left: 1.2rem; }
.legal section ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent-color); }
.legal a { color: var(--brand-blue); text-underline-offset: 3px; }
.legal__address { font-style: normal; margin: .75rem 0 1rem; padding: 1rem 1.25rem; background: var(--frost); border-left: 3px solid var(--primary-blue); line-height: 1.7; }
.legal__summary { background: var(--primary-blue); color: var(--white); padding: 1.5rem 1.75rem; border-radius: var(--radius-m); }
.legal__summary h2 { margin: 0 0 .9rem; color: var(--white); font-size: 1.25rem; }
.legal__summary ul { display: grid; gap: .55rem; }
.legal__summary li { position: relative; padding-left: 1.7rem; color: rgba(255,255,255,.88); }
.legal__summary li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: rgba(47,198,234,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FC6EA' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.legal__summary strong { color: var(--white); }
.legal__toc { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1.5px solid var(--line); border-radius: var(--radius-m); }
.legal__toc h2 { margin: 0 0 .6rem; font-size: 1.05rem; }
.legal__toc ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.legal__toc li { padding: .15rem 0; break-inside: avoid; }
.legal__notice { margin: 1.25rem 0; padding: 1.25rem 1.5rem; border-radius: var(--radius-m); background: var(--frost); border: 1.5px solid var(--brand-blue); }
.legal__date { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

/* Eingebettete Ansicht im Fenster: nur der Text */
.embed .site-header, .embed .site-footer, .embed .mobile-bar, .embed .skip-link, .embed .breadcrumb, .embed #cookie-dialog { display: none !important; }
.embed .page-hero { padding-block: 2rem 1.75rem; }
.embed .legal { padding-top: 2rem; padding-bottom: 3rem; }
.embed body, html.embed { background: var(--white); }

/* Fenster für die Datenschutzerklärung */
.dialog--legal { padding: 0; width: min(900px, calc(100% - 1.5rem)); max-width: none; height: min(88vh, 1000px); max-height: none; overflow: hidden; display: none; flex-direction: column; border-radius: var(--radius-m); box-shadow: 0 40px 80px -30px rgba(8,13,43,.6); }
.dialog--legal[open] { display: flex; }
.dialog--legal__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1.25rem; background: var(--primary-blue); color: var(--white); }
.dialog--legal__bar strong { font-size: 1.05rem; }
.dialog--legal__actions { display: flex; align-items: center; gap: .5rem; }
.dialog--legal__actions a { color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 600; text-underline-offset: 3px; }
.dialog--legal__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.dialog--legal__close:hover { background: rgba(255,255,255,.22); }
.dialog--legal__close .icon { width: 1.3rem; height: 1.3rem; }
.dialog--legal iframe { flex: 1; width: 100%; border: 0; background: var(--white); }
@media (max-width: 600px) {
  .dialog--legal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .dialog--legal__actions a { display: none; }
}
.dialog--legal::backdrop { background: rgba(8,13,43,.62); backdrop-filter: blur(3px); }
.embed .page-hero { display: none; }
.embed .legal { padding-top: 1.5rem; }
@media (max-width: 760px) { .hero__sub { margin-top: .8rem; } .hero__benefits { margin-top: 1.2rem; } }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.2rem); }
  .hero__actions { margin-top: 1.5rem; }
  .hero .refs { margin-top: 1.75rem; }
}
.page-hero--legal .wrap { max-width: 50rem; }

/* Leistungsseite mit Foto im rechten Drittel (z. B. Glas- & Fensterreinigung).
   Desktop: Foto füllt das rechte Drittel der weißen Fläche randlos von oben bis unten,
   Inhalt (Leistungen + Termin-Kasten) bleibt in den linken zwei Dritteln.
   Handy/Tablet: Foto steht unter dem Inhalt. */
.service-detail--split { position: relative; }
.service-photo { margin: 0; }
.service-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 6% 42%; }
@media (min-width: 900px) {
  .service-detail--split .service-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 33.333vw; }
  .service-detail--split .service-photo::before {        /* feine Navy-Kante zur weißen Fläche */
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--primary-blue); z-index: 1;
  }
  .service-detail--split .wrap {
    /* rechter Innenabstand = Breite bis zum Foto + Luft */
    padding-right: max(0px, calc(min(var(--wrap), 100vw - 2.5rem) / 2 - 16.667vw + 3rem));
  }
  .service-detail--split .service-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail--split .cta-card { position: static; max-width: 30rem; }
}
@media (min-width: 1280px) {
  .service-detail--split .service-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .95fr); gap: 2.5rem; }
  .service-detail--split .cta-card { position: sticky; }
}
@media (max-width: 899px) {
  .service-detail--split { padding-bottom: 0; }
  .service-detail--split .service-photo { margin-top: 3rem; height: min(115vw, 560px); border-top: 6px solid var(--primary-blue); }
}
@media (max-width: 899px) {
  .service-detail--split { display: flex; flex-direction: column; }
  .service-detail--split .service-photo { order: 2; }
}
.service-detail--split .facts { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .service-detail--split .reveal-call > summary { font-size: 1rem; padding-inline: 1rem; } }
@media (max-width: 899px) { .service-detail--split .service-photo img { object-position: 30% 45%; } }

/* Noch offene Pflichtangabe (z. B. im Impressum) – gut sichtbar markiert */
mark.todo { background: #FFE58A; color: inherit; padding: 0 .3em; border-radius: 4px; }

/* Fehlerseite 404 */
.notfound { text-align: center; padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 5rem)); padding-bottom: clamp(4rem, 10vw, 7rem); }
.notfound__code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; color: var(--brand-blue); margin: 0 0 .5rem; }
.notfound p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.75rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ==========================================================================
   JOBS-ZWISCHENSEITE (jobs.html) – gleicher Stil wie die Startseite, Foto statt Video
   ========================================================================== */
.hero--jobs { background: var(--primary-blue); }
.hero--jobs .hero__photo { object-position: 30% 40%; }
.btn--jobs { min-height: 68px; padding: 1.1rem 2.6rem; font-size: 1.25rem; }
@media (min-width: 900px) {
  /* Querformat: Semi steht links im Bild – Text deshalb rechts über der eingeschäumten Scheibe */
  .hero--jobs .hero__photo { object-position: 0% 50%; }
  .hero--jobs .hero__main { justify-content: flex-end; }
  .hero--jobs .hero__content { max-width: 36rem; }
  .hero--jobs .hero__overlay {
    background:
      linear-gradient(270deg, rgba(12,18,56,.62) 0%, rgba(12,18,56,.15) 70%),
      linear-gradient(0deg, rgba(12,18,56,.45) 0%, rgba(12,18,56,0) 45%),
      rgba(12,18,56,.40);
  }
}
@media (max-width: 899px) {
  /* Hochformat: Text unten, damit Gesicht und Teleskopstange oben sichtbar bleiben */
  .hero--jobs .hero__main { align-items: flex-end; }
  .hero--jobs .hero__overlay {
    background:
      linear-gradient(0deg, rgba(12,18,56,.82) 0%, rgba(12,18,56,.35) 55%, rgba(12,18,56,.15) 100%),
      rgba(12,18,56,.25);
  }
  .btn--jobs { width: 100%; }
}
.jobs-choice { scroll-margin-top: var(--header-h); }
