/* Steinreinigung Grimm — statischer Nachbau
   Design-Tokens & Werte 1:1 aus dem Elementor-Original (post-5.css, post-11.css, Child-Theme) */

/* ---------- Fonts (Lato, lokal, nur benötigte Schnitte) ---------- */
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-s6uyw4bmutphjx4wxg.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-s6uyw4bmutphjxawxjeu.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-s6u9w4bmutphh6uvswipgq.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-s6u9w4bmutphh6uvswapgr_p.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --blau: #0172A8;
  --hellblau: #62C7E3;
  --hellgrau: #EDEDED;
  --grau-f7: #F7F7F7;
  --text: #000000;
  --weiss: #FFFFFF;
  --radius: 10px;
  --container: 1450px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
  overflow-x: hidden;
}
img { 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, h5, h6 { font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }

.sektion { padding: 70px 0; }
@media (max-width: 767px) { .sektion { padding: 45px 0; } }

/* Zentrierter Sektionskopf (Original: Dienstleistungen, Probefläche, Vorteile, Kontakt) */
.kopf-zentriert { text-align: center; }
.kopf-zentriert p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blau);
  color: var(--weiss);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background .25s ease, color .25s ease;
}
.btn:hover, .btn:focus { background: #000; color: var(--weiss); }

/* ---------- Kicker-Pills ---------- */
.kicker {
  display: inline-block;
  background: var(--hellblau);
  color: var(--weiss);
  font-size: 15px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.kicker--weiss { background: var(--weiss); color: var(--text); }

/* ---------- Header ---------- */
.header { background: var(--weiss); position: relative; z-index: 50; }
.header-innen { display: flex; align-items: center; justify-content: space-between; min-height: 81px; padding-top: 10px; padding-bottom: 10px; }
.header-logo img { width: 150px; height: auto; }

.hauptnav ul.nav-liste { display: flex; align-items: center; gap: 6px; }
.hauptnav .nav-liste > li > a,
.hauptnav .nav-liste > li > button.untermenue-toggle {
  display: block; padding: 10px 14px; font-weight: 400; color: var(--text);
  background: none; border: 0; font-family: inherit; font-size: inherit; cursor: pointer; width: 100%; text-align: left;
}
.hauptnav .nav-liste > li > a:hover,
.hauptnav .nav-liste > li > button.untermenue-toggle:hover { color: var(--blau); }
@media (min-width: 1025px) { .hauptnav .nav-liste > li > button.untermenue-toggle { width: auto; } }
.hat-untermenue { position: relative; }
.hat-untermenue > a .caret { display: inline-block; margin-left: 5px; transition: transform .2s; }
.untermenue {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--weiss); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease; z-index: 60;
}
.hat-untermenue:hover > .untermenue, .hat-untermenue:focus-within > .untermenue {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.untermenue a { display: block; padding: 10px 18px; color: var(--text); }
.untermenue a:hover { color: var(--blau); background: var(--grau-f7); }

/* Letzter Menüpunkt (Kontakt) als blaue Pill — 1:1 Child-Theme .lastmenu */
.hauptnav .nav-liste > li.lastmenu { background: var(--blau); border: 2px solid var(--blau); border-radius: var(--radius); }
.hauptnav .nav-liste > li.lastmenu > a { color: var(--weiss); padding: 5px 30px; }
.hauptnav .nav-liste > li.lastmenu:hover { background: var(--weiss); }
.hauptnav .nav-liste > li.lastmenu:hover > a { color: var(--blau); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .hauptnav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; height: 100dvh;
    background: var(--weiss); box-shadow: -6px 0 24px rgba(0,0,0,.15);
    transition: right .3s ease; z-index: 100; overflow-y: auto; padding: 60px 24px 40px;
  }
  .hauptnav.offen { right: 0; }
  .hauptnav ul.nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .hauptnav .nav-liste > li > a { padding: 12px 8px; border-bottom: 1px solid var(--hellgrau); }
  .hauptnav .nav-liste > li.lastmenu { margin-top: 14px; text-align: center; }
  /* Der Kontakt-Punkt ist eine blaue Pill: die graue Trennlinie der uebrigen
     Menuepunkte lief quer durch seine untere Rundung (wirkte abgeschnitten),
     und mit 5px Innenabstand war er flacher als alle anderen. */
  .hauptnav .nav-liste > li.lastmenu > a { border-bottom: 0; padding: 12px 30px; }
  .hauptnav .nav-liste > li.lastmenu { overflow: hidden; }
  .untermenue {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; display: none; background: var(--grau-f7); border-radius: var(--radius);
  }
  .untermenue-offen .untermenue { display: block; }
  .nav-schliessen {
    position: absolute; top: 14px; right: 14px; background: none; border: 0;
    font-size: 28px; line-height: 1; cursor: pointer; color: var(--text); padding: 6px;
  }
  body.nav-offen::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90;
  }
}
@media (min-width: 1025px) { .nav-schliessen { display: none; } }

/* Bei offenem Menue muss der Header ueber das Verdunkelungs-Overlay (z-index 90).
   Sonst sperrt sein eigener Stapel-Kontext (z-index 50) das Menue darunter ein:
   es wirkt grau und ist nicht anklickbar. */
body.nav-offen .header { z-index: 120; }

/* ---------- Hero (Slideshow, Overlay 0.64) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 60vh; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .5s ease;
}
.hero-slide.aktiv { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .64; }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: var(--weiss); margin-bottom: 18px; }
.hero p { color: var(--weiss); font-size: 18px; max-width: 720px; }
.hero .btn { margin-top: 14px; }

/* ---------- Was uns ausmacht (USP) ---------- */
.usp-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.usp-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.usp-karte { padding: 40px 20px; border-radius: var(--radius); }
.usp-karte img { width: 85px; height: auto; }
.usp-karte h5, .usp-karte h3 { color: var(--weiss); margin: 20px 0 0; font-size: 17px; }
.usp-karte p { color: var(--weiss); font-size: 14px; line-height: 1.2em; margin: 8px 0 0; }
/* Gradient-Staffelung 1:1 aus dem Original (vorteile_box / box2 / box1 / box3) */
.usp-karte--1 { background: linear-gradient(to bottom right, #62C7E3, #38a2c9); }
.usp-karte--2 { background: linear-gradient(to bottom right, #47b0d3, #1d8bb9); }
.usp-karte--3 { background: linear-gradient(to bottom right, #46afd2, #1c8ab9); }
.usp-karte--4 { background: linear-gradient(to bottom right, #2c98c2, #0273a8); }
@media (max-width: 1024px) { .usp-raster { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .usp-karten { grid-template-columns: 1fr; } }

/* ---------- Dienstleistungen ---------- */
.service-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.service-karte {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
}
.service-karte::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); transition: background .25s; }
.service-karte:hover::before { background: rgba(0,0,0,.55); }
.service-karte h4, .service-karte h3 { position: relative; color: var(--weiss); margin-bottom: 14px; font-size: 20px; }
.service-karte .btn { position: relative; align-self: flex-start; }
@media (max-width: 1024px) { .service-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-raster { grid-template-columns: 1fr; } }
/* Breite Highlight-Karte für neue Leistungen (Startseiten-Promo) */
.service-karte--breit { grid-column: 1 / -1; min-height: 260px; }
.service-karte--breit h3 { font-size: 26px; }
.service-karte .neu-pill {
  position: relative; align-self: flex-start; display: inline-block;
  background: var(--hellblau); color: var(--weiss); font-size: 13px; font-weight: 700;
  padding: 4px 14px; border-radius: 5px; margin-bottom: 12px;
}

/* ---------- Logo-Band (Original: Sektion mit #EDEDED-Hintergrund) ---------- */
.logo-band { overflow: hidden; padding: 28px 0; background: var(--hellgrau); }
.logo-spur { display: flex; align-items: center; gap: 56px; width: max-content; }
.logo-spur img { height: 54px; width: auto; max-width: 130px; object-fit: contain; }
@media (max-width: 600px) { .logo-spur img { height: 40px; max-width: 80px; } .logo-spur { gap: 36px; } }

/* ---------- Vorher/Nachher ---------- */
.vergleich-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; margin-top: 10px; }
.vergleich-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Unterseiten-Variante: 4 Slider nebeneinander in einer Reihe (wie Original, Leons Review) */
.vergleich-raster--vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .vergleich-raster--vier { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vergleich-raster--vier { grid-template-columns: 1fr; } }
.vergleich {
  --pos: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 350px; touch-action: pan-y;   /* NICHT auf none: das sperrt auch das vertikale Scrollen der Seite */ cursor: ew-resize; user-select: none;
}
/* Beide Bilder füllen die Box deckungsgleich; das Nachher-Bild wird nur per
   clip-path freigelegt — dadurch echtes Sliden ohne Zoom-Effekt */
.vergleich img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.vergleich-nachher { clip-path: inset(0 0 0 var(--pos)); }
/* Griff + Labels in CI-Blau (Leons Review; Original: Handle in Akzentfarbe) */
.vergleich-griff {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--blau);
  transform: translateX(-50%); pointer-events: none;
}
.vergleich-griff::after {
  content: "\25C0\2002\25B6"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); background: var(--blau); color: var(--weiss);
  font-size: 10px; padding: 9px 10px; border-radius: 50%; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.vergleich-regler { position: absolute; inset: 0; width: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
@media (max-width: 1024px) {
  .vergleich-layout { grid-template-columns: 1fr; }
  .vergleich { height: 300px; }
}
@media (max-width: 600px) { .vergleich-raster { grid-template-columns: 1fr; } }

/* ---------- Wer wir sind (Original: 576px hohe Sektion, Foto großflächig sichtbar)
   Desktop = Querformat IMG_2973 in 1920px (scharf), Mobil = Hochformat IMG_2974 ---------- */
.wer-wir-sind {
  position: relative; border-radius: 0; background-size: cover;
  /* Ausschnitt oben ausgerichtet, damit der Korb der Arbeitsbühne sichtbar ist */
  background-position: center 12%;
  background-image: url('../bilder/bg-wer-wir-sind-desktop-1920w.webp');
  min-height: 800px; display: flex; align-items: center;
}
@media (max-width: 767px) {
  .wer-wir-sind { min-height: 480px; background-image: url('../bilder/bg-wer-wir-sind-960w.webp'); }
}
/* Verlaufs-Schatten: links (Textseite) dunkler, rechts bleibt das Foto sichtbarer */
.wer-wir-sind::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.38) 100%);
}
.wer-wir-sind .container { position: relative; z-index: 2; }
.wer-wir-sind h2, .wer-wir-sind p { color: var(--weiss); text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 1px 2px rgba(0,0,0,.6); }
.wer-wir-sind p { max-width: 900px; }

/* ---------- Einsatzgebiet / Karte ---------- */
.karte-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.karte-wrap { position: relative; max-width: 520px; justify-self: center; }
/* Große halbtransparente Abdeckungs-Kreise wie im Original (Screenshot-Referenz) */
.hotspot {
  position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(98, 199, 227, .55); transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
/* Bundesweite Abdeckung (Asbest): viele überlappende Kreise → heller, ohne Multiply,
   sonst wird die Überlagerung fast schwarz */
.karte-wrap--bundesweit .hotspot {
  width: 30%; background: rgba(98, 199, 227, .32); mix-blend-mode: normal;
}
.karte-wrap--bundesweit .hotspot::before { background: rgba(98, 199, 227, .14); }
.hotspot::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: rgba(98, 199, 227, .25); animation: puls 3s ease-in-out infinite;
}
@keyframes puls {
  0%, 100% { transform: scale(.96); opacity: .6; }
  50% { transform: scale(1.05); opacity: 1; }
}
@media (max-width: 1024px) { .karte-layout { grid-template-columns: 1fr; } }

/* ---------- Probefläche ---------- */
.probeflaeche { position: relative; background-size: cover; background-position: center; }
.probeflaeche::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.probeflaeche .container { position: relative; z-index: 2; text-align: center; }
.probeflaeche h2, .probeflaeche p { color: var(--weiss); }
.probeflaeche p { max-width: 760px; margin-left: auto; margin-right: auto; }
.probeflaeche .btn { margin-top: 16px; }

/* ---------- Wovon Sie profitieren ---------- */
/* Logo als ganz dezentes Wasserzeichen im Hintergrund (wie im Original) */
.nutzen { position: relative; }
.nutzen::before {
  content: ""; position: absolute; inset: 0;
  background: url('../bilder/logo-ohne-schrift.svg') no-repeat right -80px center / 560px;
  opacity: .07; pointer-events: none;
}
.nutzen .container { position: relative; }
.nutzen-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 30px; }
/* Original: weiße Karten, feiner Schatten, zentrierter Inhalt, 30px Innenabstand */
.nutzen-karte {
  background: var(--weiss); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 0 25px -10px rgba(0,0,0,.07); text-align: center;
}
.nutzen-karte img { height: 77px; width: auto; margin: 0 auto; }
.nutzen-titel { display: block; font-weight: 700; margin: 18px 0 8px; }
.nutzen-karte p { font-size: 14px; margin: 0; }
@media (max-width: 1024px) { .nutzen-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nutzen-raster { grid-template-columns: 1fr; } }

/* ---------- Bewertungen (Slider 1:1 aus Original-Custom-CSS) ---------- */
.slider-container { position: relative; width: 100%; overflow: hidden; margin-top: 34px; }
.slider { display: flex; transition: transform .5s ease-in-out; }
/* Bewertungskarten im Google-Stil (Leons Wunsch 09.08.2026: gelbe Sterne, „mehr nach Google") */
.custom_review {
  width: 40%; padding: 26px 30px 30px; background: var(--weiss);
  border: 1px solid #e4e8eb; border-radius: var(--radius); margin-right: 10px; flex-shrink: 0;
  box-shadow: 0 10px 28px -20px rgba(0,0,0,.25);
}
.rez-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rez-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 19px;
}
.rez-wer { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rez-wer b { font-size: 16px; }
.rez-art { font-size: 13px; color: #70757a; }
.rez-g { width: 22px; height: 22px; margin-left: auto; flex-shrink: 0; }
.rez-sterne { display: inline-flex; gap: 2px; margin-bottom: 12px; }
.rez-sterne svg { width: 17px; height: 17px; fill: #fbbc04; }
.custom_review_content > p:last-child { margin-bottom: 0; }
.slider-container::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 20%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}
.slider-container button.prev, .slider-container button.next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background-size: contain; background-color: transparent;
  border: none; cursor: pointer; background-repeat: no-repeat; z-index: 3; padding: 0;
}
.slider-container button.prev { left: 5px; background-image: url('../bilder/pfeil-links.png'); }
.slider-container button.next { right: 5px; background-image: url('../bilder/pfeil-rechts.png'); }
@media (max-width: 767px) {
  .custom_review { width: 100%; padding: 30px; margin-right: 0; }
  .slider-container button.prev { display: none; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-item { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--grau-f7); border-radius: var(--radius);
  padding: 18px 20px; font-weight: 700; cursor: pointer; transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-item[open] summary { color: var(--blau); border-radius: var(--radius) var(--radius) 0 0; }
.faq-item[open] summary::after { content: "\2212"; color: var(--blau); }
.faq-item .faq-antwort { background: var(--grau-f7); padding: 0 20px 18px; border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 1024px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Kontakt + Formular ---------- */
/* Original-Verhältnis: Infokarten 35% / Formular 65%; Karten schließen bündig mit dem Formular ab */
.kontakt-layout { display: grid; grid-template-columns: 35fr 65fr; gap: 30px; margin-top: 36px; align-items: stretch; }
.kontakt-info { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1024px) { .kontakt-layout { grid-template-columns: 1fr; } }
/* Info-Karten im Marken-Verlauf (Leons Wunsch: farbig statt grau), Karte 2 dunkelblau wie im Original */
.kontakt-karte {
  background: linear-gradient(to bottom right, #62C7E3, #38a2c9);
  color: var(--weiss); border-radius: var(--radius); padding: 34px 30px;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center;
}
.kontakt-karte--dunkel { background: linear-gradient(to bottom right, #0273a8, #014e74); }
.kontakt-liste li { justify-content: center; }
.kontakt-karte h5 { margin-bottom: 12px; color: var(--weiss); }
.kontakt-karte a { color: var(--weiss); font-weight: 700; }
.kontakt-karte a:hover { text-decoration: underline; }
.kontakt-liste li { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.kontakt-liste svg { width: 18px; height: 18px; fill: var(--weiss); flex-shrink: 0; }

.form-karte { background: var(--grau-f7); border-radius: var(--radius); padding: 34px 30px; }
.form-karte h2 { font-size: 24px; }
.fortschritt-text { font-size: 14px; margin: 14px 0 6px; }
.fortschritt-leiste { height: 14px; background: #e3e3e3; border-radius: 7px; overflow: hidden; margin-bottom: 22px; }
.fortschritt-balken { height: 100%; width: 50%; background: var(--blau); border-radius: 7px; transition: width .3s ease; }

.feld { margin-bottom: 16px; }
.feld label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.feld .pflicht { color: #c02b0a; font-size: 12px; font-weight: 400; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 11px 12px; font-family: inherit; font-size: 16px;   /* NICHT unter 16px: iOS zoomt sonst beim Antippen in die Seite hinein */
  border: 1px solid #d4d4d4; border-radius: 6px; background: var(--weiss); color: var(--text);
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--blau); outline: none; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .feld-reihe { grid-template-columns: 1fr; } }
.form-knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.btn--sekundaer { background: #5c5c5c; }   /* war #999: weisse Schrift darauf nur 2,8:1 Kontrast */
.form-erfolg { padding: 24px 0; font-size: 17px; }
.form-fehler { color: #c02b0a; margin-top: 12px; }
.honigtopf { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Unterseiten-Hero (Leons Review: großzügig wie Startseite) ---------- */
.hero--unterseite { min-height: 54vh; }
/* Hero-Hintergrundvideo (YouTube muted-loop wie Original, z.B. Graffitientfernung) */
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%); border: 0;
}

/* Vorher/Nachher-Labels (Unterseiten-Slider haben Beschriftung oben) */
.vergleich-label {
  position: absolute; top: 10px; z-index: 2; pointer-events: none;
  background: var(--blau); color: var(--weiss);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 5px;
}
.vergleich-label--vorher { left: 10px; }
.vergleich-label--nachher { right: 10px; }

/* ---------- Ablauf-Boxen (Verfahrens-Schritte, 1:1 nach Child-Theme custom_ablauf) ----------
   Original-Anordnung: 2 Boxen pro Reihe (je 50%), NICHT vollbreit (Leons Review) */
.ablauf-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ablauf-raster .ablauf { margin-bottom: 0; }
/* Einzelner letzter Schritt (ungerade Anzahl) mittig zentrieren — exakt gleiche Größe
   wie die anderen Boxen (doppelte Klasse schlägt die spätere .ablauf-Breitenregel) */
.ablauf.ablauf--zentriert { grid-column: 1 / -1; width: calc(50% - 10px); margin: 0 auto; }
@media (max-width: 1024px) {
  .ablauf-raster { grid-template-columns: 1fr; }
  .ablauf.ablauf--zentriert { width: 100%; }
}
.ablauf { display: flex; align-items: stretch; width: 100%; margin-bottom: 24px; }
.ablauf-bild {
  width: 50%; background-position: center; background-size: cover;
  border-radius: var(--radius) 0 0 var(--radius); min-height: 260px;
}
.ablauf-text {
  width: 50%; padding: 30px 28px; border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(to bottom right, #62C7E3, #38a2c9);
  display: flex; flex-direction: column; justify-content: center;
}
.ablauf--umgekehrt { flex-direction: row-reverse; }
.ablauf--umgekehrt .ablauf-bild { border-radius: 0 var(--radius) var(--radius) 0; }
.ablauf--umgekehrt .ablauf-text { border-radius: var(--radius) 0 0 var(--radius); }
.ablauf-nummer { font-size: 60px; color: var(--weiss); font-weight: 700; line-height: 1; }
.ablauf-text h4, .ablauf-text h3 { color: var(--weiss); margin: 10px 0; font-size: 1.5em; }
.ablauf-text p { color: var(--weiss); font-size: 15px; line-height: 1.5; margin: 0; }
@media (max-width: 767px) {
  .ablauf, .ablauf--umgekehrt { flex-direction: column; }
  .ablauf-bild, .ablauf--umgekehrt .ablauf-bild { width: 100%; height: 300px; border-radius: var(--radius) var(--radius) 0 0; }
  .ablauf-text, .ablauf--umgekehrt .ablauf-text { width: 100%; border-radius: 0 0 var(--radius) var(--radius); padding: 25px 17px; }
  .ablauf-nummer { font-size: 40px; }
}

/* ---------- YouTube-Videos (Leons Vorgabe: NUR das Video, keine Buttons/Overlays;
   laufen automatisch stumm im Loop wie im Elementor-Original) ---------- */
.video-facade {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: default;
  aspect-ratio: 16 / 9; background-size: cover; background-position: center; border: 0; padding: 0; width: 100%;
}
.video-facade--hochkant { aspect-ratio: 9 / 16; }
.video-facade .video-hinweis { display: none; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
/* Bedienleiste/Titel-Einblendungen von YouTube aus dem sichtbaren Bereich schieben */
.video-facade iframe { top: -60px; bottom: -60px; height: calc(100% + 120px); }

/* ---------- Galerie (Über uns) ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galerie img { border-radius: var(--radius); width: 100%; height: 240px; object-fit: cover; cursor: pointer; }
@media (max-width: 767px) { .galerie { grid-template-columns: 1fr 1fr; } .galerie img { height: 150px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox img { max-width: 92vw; max-height: 92vh; width: auto; height: auto; border-radius: var(--radius); }

/* ---------- Farbkacheln (Dachbeschichtung Farbauswahl — Leons Review: schöner) ---------- */
.farb-raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.farb-kachel {
  border-radius: var(--radius); overflow: hidden; text-align: center; font-size: 14px;
  background: var(--weiss); box-shadow: 0 2px 14px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.farb-kachel:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.farb-kachel .farbe {
  height: 96px; position: relative;
  /* leichte Dachziegel-Anmutung: sanfter Lichtverlauf statt platter Fläche */
  background-image: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 38%, rgba(0,0,0,.16) 100%);
  background-blend-mode: overlay;
}
.farb-kachel span { display: block; padding: 10px 6px; font-weight: 700; }
@media (max-width: 1024px) { .farb-raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .farb-raster { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Rechtstext-Seiten (Datenschutz, AGB, Impressum) ----------
   Lange Fließtexte ohne Bilder. Die Gliederung muss die Arbeit machen:
   820px Satzbreite (~75 Zeichen), Hauptabschnitte durch Linie + Blau abgesetzt,
   drei klar unterscheidbare Überschriftenebenen (h4 war vorher gar nicht gestaltet). */
.rechtstext { max-width: 820px; }
.rechtstext h1 { font-size: 34px; margin-bottom: 6px; }
.rechtstext h2 {
  font-size: 25px; color: var(--blau);
  margin-top: 2.3em; margin-bottom: .55em;
  padding-top: 1.1em; border-top: 1px solid var(--hellgrau);
}
.rechtstext h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.4em; }
.rechtstext h3 { font-size: 19px; margin-top: 1.9em; margin-bottom: .4em; }
.rechtstext h4 { font-size: 16px; margin-top: 1.4em; margin-bottom: .3em; color: #55646f; }
.rechtstext p { margin-bottom: 1em; line-height: 1.75; }
.rechtstext ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.rechtstext li { line-height: 1.75; margin-bottom: .3em; }
.rechtstext a { color: var(--blau); overflow-wrap: anywhere; }
.rechtstext a:hover { text-decoration: underline; }
/* Sprungziele nicht unter den Kopfbereich rutschen lassen */
.rechtstext h2[id] { scroll-margin-top: 100px; }

/* Inhaltsverzeichnis oben auf langen Rechtstexten */
.rechtstext-inhalt {
  background: var(--grau-f7); border-radius: var(--radius);
  padding: 22px 26px; margin: 26px 0 6px;
}
.rechtstext-inhalt > strong { display: block; margin-bottom: 11px; }
.rechtstext-inhalt ol {
  list-style: none; padding: 0; margin: 0;
  columns: 2; column-gap: 34px;
}
.rechtstext-inhalt li { margin-bottom: 7px; break-inside: avoid; line-height: 1.5; }
.rechtstext-inhalt a { color: var(--blau); text-decoration: none; }
.rechtstext-inhalt a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .rechtstext-inhalt ol { columns: 1; }
  .rechtstext h2 { font-size: 22px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hellgrau); padding: 55px 0 40px; }
.footer-raster { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.4fr; gap: 40px; }
/* Spaltentitel sind KEINE Headings mehr (H2→H5-Sprung, SEO-Paket 1) — Optik unverändert */
.footer h5, .footer .footer-titel { font-size: 17px; font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.kontakt-karte .karten-titel { display: block; font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--weiss); }
.footer-logo img { width: 158px; height: auto; }
.footer a:hover { color: var(--blau); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.footer-links a { display: block; padding: 3px 0; }
@media (max-width: 1024px) { .footer-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-raster { grid-template-columns: 1fr; } }

.footer-unten { background: var(--blau); color: var(--weiss); padding: 16px 0; }
.footer-unten .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-unten nav { display: flex; gap: 24px; }
.footer-unten a:hover { text-decoration: underline; }

/* ---------- Agentur-Markierungen 21.08.2026 (von Leon freigegeben) ---------- */

/* #1 Ganze Dienstleistungs-Kachel klickbar: die Karte selbst ist der Link (<a>),
   der Button darin nur noch Optik (<span>). Ein Link pro Karte - kein zweiter
   Link, der Screenreader-Nutzer doppelt vorliest. */
a.service-karte { cursor: pointer; text-decoration: none; }
.service-karte:hover .btn { background: var(--hellblau); color: #06384f; }

/* #2 Logo-Leiste ruhiger: zurueckhaltend grau, Farbe erst bei Mauskontakt.
   Auf Touchgeraeten gibt es kein Hover - dort bleiben die Logos farbig,
   sonst waeren sie dort dauerhaft grau. */
.logo-spur img { filter: grayscale(1); opacity: .68; transition: filter .3s ease, opacity .3s ease; }
.logo-spur img:hover { filter: none; opacity: 1; }
@media (hover: none) { .logo-spur img { filter: none; opacity: 1; } }

/* #4 Besonderheit als Badge statt als eigener Absatz im Hero */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38);
  color: var(--weiss); padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 700; margin-top: 4px;
}
.hero-badge svg { width: 18px; height: 18px; stroke: var(--hellblau); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Footer, Handy-Fassung "Entwurf C" (Leon, 22.08.2026) ----------
   Reduziert auf Kontakt und das Noetigste: Leistungsliste ausgeblendet (steht im
   Menue und als Kacheln auf der Startseite), dafuer Oeffnungszeiten und zwei
   Schaltflaechen. Am Desktop aendert sich nichts - die neuen Bausteine sind dort aus. */
.footer-zeiten, .footer-knoepfe { display: none; }

@media (max-width: 600px) {
  .footer { padding: 30px 0 22px; }
  .footer-raster { grid-template-columns: 1fr; gap: 0; text-align: center; justify-items: center; }
  .footer-logo img { width: 72px; margin: 0 auto; }
  /* Ueberschriften und Leistungsliste am Handy ausblenden */
  .footer .footer-titel { display: none; }
  .footer-raster > div:nth-child(3) { display: none; }
  .footer p { font-size: 14px; line-height: 1.55; margin: 10px 0 0; }
  .footer-zeiten { display: block; color: #55646f; }

  .footer-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 340px; margin: 18px auto 4px; }
  .footer-knopf {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--blau); color: var(--weiss); border-radius: var(--radius);
    padding: 12px 10px; font-weight: 700; font-size: 15px; border: 2px solid var(--blau);
  }
  .footer-knopf--rand { background: transparent; color: var(--blau); }
  .footer-knopf svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* verbleibende Links (Ueber uns, FAQ, Karriere, Kontakt) als ruhige Reihe */
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 18px; }
  .footer-links a { font-size: 14px; padding: 4px 0; }

  .footer-unten { padding: 12px 0; }
  .footer-unten .container { justify-content: center; text-align: center; gap: 6px; }
  .footer-unten nav { gap: 18px; }
}

/* ---------- Nachtraege aus dem Handy-Audit (22.08.2026) ---------- */

@media (max-width: 767px) {
  /* Der weisse Verlauf am rechten Rand soll die NAECHSTE Karte andeuten. Am Handy ist
     nur eine Karte sichtbar, also liegt er ueber dem Text und laesst Zeilenenden ausbleichen. */
  .slider-container::after { display: none; }
  /* Pfeile des Bewertungs-Sliders auf Fingergroesse */
  .slider-container button.prev, .slider-container button.next { width: 44px; height: 44px; background-size: 22px; }
}

@media (max-width: 1024px) {
  /* Tippziele im Menue: 44px sind das Mindestmass fuer eine Fingerkuppe */
  .nav-schliessen { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; }
  .untermenue a { padding: 11px 18px; }
  /* "Leistungen" war der einzige Punkt ohne Trennlinie und 5px flacher als die anderen */
  .hauptnav .nav-liste > li > button.untermenue-toggle { padding: 12px 8px; border-bottom: 1px solid var(--hellgrau); }
  /* Hinter dem offenen Menue soll die Seite nicht mitscrollen */
  body.nav-offen { overflow: hidden; }
  .hauptnav { overscroll-behavior: contain; }
}

@media (max-width: 600px) {
  /* Kontaktdaten und Rechtslinks waren nur ~22px hoch - halbe Fingerkuppe */
  .kontakt-liste a { display: inline-block; padding: 10px 0; }
  .footer-unten nav a { display: inline-block; padding: 10px 0; }
}

/* ---------- Nachtraege II aus dem Handy-Audit (22.08.2026) ---------- */

/* Lesbarkeit: weisse Schrift auf Hellblau #62C7E3 ergibt nur 1,9:1. Fuer die
   Kicker-Pills daher die dunkle Markenfarbe - der hellblaue Grund bleibt. */
.kicker { color: #06384f; }
.kicker--weiss { color: var(--text); }
.usp-karte p, .job-karte p { line-height: 1.45; }

@media (max-width: 1024px) {
  /* Das Schliessen-Kreuz sass am Scrollinhalt fest und war bei aufgeklapptem
     Untermenue aus dem Bild gescrollt. Sticky haelt es am oberen Rand. */
  .nav-schliessen { position: sticky; float: right; top: 6px; right: 0; margin-bottom: -44px; z-index: 2; }
}

/* Untermenue-Schalter muss auf JEDER Breite wirken: main.js setzt die Klasse
   breitenunabhaengig, die Regel lag aber nur im Handy-Block. Auf Tablets ueber
   1024px ohne Maus liess sich die Liste dadurch nicht zuverlaessig oeffnen. */
.untermenue-offen > .untermenue { display: block; opacity: 1; visibility: visible; transform: none; }

/* Hintergrundvideo im Hero: die Formel rechnete mit der vollen Fensterhoehe,
   der Hero ist aber nur gut halb so hoch - dadurch war das Bild dreifach
   ueberzoomt. Jetzt bezieht es sich auf den Hero selbst. */
@supports (container-type: size) {
  .hero-video { container-type: size; }
  .hero-video iframe { width: max(100%, 177.78cqh); height: max(100%, 56.25cqw); }
}

/* Fussnote unter den Nutzen-Listen (war inline mit 9px gesetzt) */
.nutzen-fussnote { font-size: 14px; margin-top: 8px; color: #55646f; }
