/* =========================================================================
   Miller Dienstleistungen - Website
   Eigenes CSS, keine Frameworks, keine fremden Server.
   Schriften und Icons liegen lokal unter /assets.

   Formensprache (bewusst festgelegt, gilt auf allen Seiten):
   - Buttons und Pills: voll gerundet (999px)
   - Karten, Bilder, Bildflaechen: 16px
   - Formularfelder: 10px
   ========================================================================= */

/* ---------- Schriften ---------- */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Farben ---------- */
:root {
  --navy: #16244f;
  --navy-hell: #2c3f7d;
  --navy-tief: #0e1630;
  --gelb: #f2b01e;
  --gelb-zart: #fdf3d8;
  --papier: #fcfcfa;
  --grau: #8a8d96;
  --whatsapp: #25d366;

  --grund: var(--papier);
  --grund-2: #f2f1ed;
  --flaeche: #ffffff;
  --text: #14161c;
  --text-leise: #5b606c;
  --linie: #dedcd6;
  --auf-akzent: #14161c;
  --band: var(--navy);
  --band-text: #eef1f8;
  --band-leise: #a9b4d0;
  --icon-akzent: var(--navy-hell);

  --radius-karte: 16px;
  --radius-feld: 10px;
  --schatten: 0 1px 2px rgba(22, 36, 79, .05), 0 12px 32px rgba(22, 36, 79, .07);
  --schatten-hoch: 0 2px 6px rgba(22, 36, 79, .08), 0 24px 48px rgba(22, 36, 79, .16);
  --breite: 1240px;
  --kopf-hoehe: 72px;
  --kurve: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0f1424;
    --grund-2: #151b30;
    --flaeche: #1a2138;
    --text: #eef1f8;
    --text-leise: #a4abbd;
    --linie: #2a3350;
    --gelb-zart: #2a2718;
    --band: #0b0f1c;
    --band-leise: #9aa5c4;
    --icon-akzent: var(--gelb);
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    --schatten-hoch: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .5);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.35rem); letter-spacing: -.012em; }

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: currentColor; }
.icon-s { width: 1.15rem; height: 1.15rem; }

.huelle { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
@media (max-width: 640px) { .huelle { width: calc(100% - 2rem); } }

section { padding-block: clamp(4rem, 8vw, 7rem); }

.leise { color: var(--text-leise); }
.fliess { max-width: 62ch; font-size: 1.125rem; }
.fliess + .fliess { margin-top: 1rem; }

.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--navy-hell);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :where(a, button, summary, input, select, textarea):focus-visible { outline-color: var(--gelb); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Archivo", sans-serif;
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--kurve), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }

.btn-haupt { background: var(--gelb); color: var(--auf-akzent); box-shadow: 0 8px 24px rgba(242, 176, 30, .28); }
.btn-haupt:hover { background: #e0a112; }

.btn-neben { background: transparent; color: var(--text); border-color: var(--linie); }
.btn-neben:hover { border-color: var(--text); background: var(--flaeche); }

.btn-hell { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-hell:hover { background: rgba(255, 255, 255, .22); }

.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--grund) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf-inhalt { display: flex; align-items: center; gap: 1.4rem; height: var(--kopf-hoehe); }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.marke img { width: 42px; height: 42px; border-radius: 8px; }
.marke b { font-family: "Archivo", sans-serif; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.marke span { display: block; font-size: .78rem; color: var(--text-leise); font-weight: 500; letter-spacing: .01em; }

.kopf-nav { display: flex; align-items: center; gap: 1.35rem; }
.kopf-nav a { text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--text-leise); transition: color .15s; white-space: nowrap; }
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { color: var(--text); }
.kopf-anruf { padding: .72rem 1.2rem; font-size: .95rem; }

.menue-knopf {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--linie); background: var(--flaeche); color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}
.menue-knopf .icon-zu { display: none; }
.menue-knopf[aria-expanded="true"] .icon-auf { display: none; }
.menue-knopf[aria-expanded="true"] .icon-zu { display: block; }

@media (max-width: 1120px) {
  .menue-knopf { display: inline-flex; }
  .kopf-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    background: var(--grund); border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
    display: none;
  }
  .kopf-nav.offen { display: flex; }
  .kopf-nav a { padding: .95rem .25rem; font-size: 1.08rem; color: var(--text); border-bottom: 1px solid var(--linie); }
  .kopf-nav a:last-child { border-bottom: none; }
}
@media (max-width: 620px) { .marke span { display: none; } :root { --kopf-hoehe: 64px; } .kopf-inhalt { gap: .8rem; } }
/* Auf schmalen Geraeten traegt das Logo allein, sonst draengt der Name den Anrufknopf weg. */
@media (max-width: 480px) {
  .marke b { font-size: 0; }
  .marke img { width: 38px; height: 38px; }
  .kopf-anruf span { display: none; }
  .kopf-anruf { padding: .72rem; }
}

/* ---------- Hero mit zoomenden Hintergrundbildern ---------- */
.hero-voll {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(92dvh - var(--kopf-hoehe));
  display: flex; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  color: #fff;
  background: var(--navy-tief);
}
.hero-hintergrund { position: absolute; inset: 0; z-index: -2; }
.hero-hintergrund img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform-origin: 60% 50%;
}
.hero-hintergrund img:first-child { opacity: 1; }
.hero-voll::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 36, .9) 0%, rgba(10, 16, 36, .72) 42%, rgba(10, 16, 36, .28) 100%),
    linear-gradient(0deg, rgba(10, 16, 36, .55) 0%, transparent 35%);
}
@media (max-width: 760px) {
  .hero-voll::before { background: linear-gradient(0deg, rgba(10, 16, 36, .92) 0%, rgba(10, 16, 36, .7) 55%, rgba(10, 16, 36, .45) 100%); }
}

/* Zwei Bilder wechseln sich ab und zoomen dabei heran.
   Zyklus 13 s: Bild 1 ist 0 bis 6,5 s zu sehen, Bild 2 von 5,5 bis 13 s, mit einer Sekunde Ueberblendung. */
@media (prefers-reduced-motion: no-preference) {
  .hero-hintergrund img { animation: hero-wechsel 13s linear infinite; will-change: transform, opacity; }
  .hero-hintergrund img:first-child { animation-delay: -1s; }
  .hero-hintergrund img:nth-child(2) { animation-delay: 5.5s; }
}
@keyframes hero-wechsel {
  0%   { opacity: 0; transform: scale(1); }
  6%   { opacity: 1; }
  50%  { opacity: 1; }
  56%  { opacity: 0; transform: scale(1.22); }
  100% { opacity: 0; transform: scale(1.22); }
}

.hero-inhalt { position: relative; }
.hero-marke {
  display: inline-block; margin-bottom: 1.3rem;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gelb);
}
.hero-voll h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 1.5rem; color: #fff; }
/* Jeder der beiden Saetze steht auf einer eigenen Zeile */
.hero-voll h1 span { display: block; }
.hero-voll .hero-text { max-width: 44ch; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.hero-voll .hero-text b { color: #fff; font-weight: 600; }

/* ---------- Vorher/Nachher-Regler ---------- */
.vn {
  position: relative; border-radius: var(--radius-karte); overflow: hidden;
  box-shadow: var(--schatten); background: var(--grund-2);
  touch-action: pan-y; user-select: none; cursor: ew-resize;
  aspect-ratio: 4 / 3;
}
.vn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Das Vorher-Bild liegt oben und ist links bis zum Regler sichtbar, passend zum
   Schild "Vorher" links. Rechts vom Regler scheint das Nachher-Bild durch. */
.vn .vn-oben { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.vn-griff {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}
.vn-knauf {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 999px;
  background: #fff; color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.schild {
  position: absolute; padding: .3rem .8rem;
  border-radius: 999px; font-size: .8rem; font-weight: 600;
  font-family: "Archivo", sans-serif; letter-spacing: .01em;
  background: rgba(20, 22, 28, .72); color: #fff; backdrop-filter: blur(4px);
  pointer-events: none;
}
.vn .schild { bottom: .85rem; }
.schild-l { left: .85rem; }
.schild-r { right: .85rem; }
.vn input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.notiz { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; font-size: .94rem; color: var(--text-leise); }

/* ---------- Vertrauensleiste ---------- */
.vertrauen { padding-block: 0; }
.vertrauen-raster {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--linie);
}
.vertrauen-punkt { display: flex; gap: .85rem; align-items: flex-start; padding: 1.7rem 1.6rem 1.7rem 0; }
.vertrauen-punkt + .vertrauen-punkt { border-left: 1px solid var(--linie); padding-left: 1.6rem; }
.vertrauen-punkt .icon { color: var(--icon-akzent); margin-top: .12rem; }
.vertrauen-punkt .icon-stern { color: var(--gelb); }
.vertrauen-punkt b { font-family: "Archivo", sans-serif; font-size: .98rem; display: block; }
.vertrauen-punkt span { font-size: .9rem; color: var(--text-leise); line-height: 1.45; display: block; }
@media (max-width: 900px) { .vertrauen-raster { grid-template-columns: 1fr 1fr; }
  .vertrauen-punkt:nth-child(3) { border-left: none; padding-left: 0; }
  .vertrauen-punkt:nth-child(n+3) { border-top: 1px solid var(--linie); } }
@media (max-width: 560px) { .vertrauen-raster { grid-template-columns: 1fr; }
  .vertrauen-punkt + .vertrauen-punkt { border-left: none; padding-left: 0; border-top: 1px solid var(--linie); } }

/* ---------- Abschnittsköpfe ---------- */
.kopfzeile-block { max-width: 48ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.kopfzeile-block p { margin-top: 1rem; color: var(--text-leise); font-size: 1.1rem; }

/* ---------- Leistungen: klickbare Kacheln ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: repeat(6, 1fr); }
.kachel {
  position: relative; overflow: hidden; border-radius: var(--radius-karte);
  background: var(--navy-tief); border: 1px solid var(--linie);
  display: flex; flex-direction: column; min-height: 250px;
  text-decoration: none; color: #fff;
  transition: transform .35s var(--kurve), box-shadow .35s var(--kurve);
}
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--kurve); }
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.kachel:hover img { transform: scale(1.04); }
.kachel-gross { grid-column: span 3; min-height: 400px; }
.kachel-klein { grid-column: span 2; min-height: 330px; }
.kachel-breit { grid-column: span 3; min-height: 340px; }
.kachel .schild { top: .9rem; }
.kachel-text {
  position: relative; margin-top: auto; padding: 1.4rem 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(10, 14, 28, .94) 25%, rgba(10, 14, 28, .6) 68%, transparent);
}
.kachel-text h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .45rem; }
.kachel-text p { font-size: .96rem; color: rgba(255, 255, 255, .86); line-height: 1.5; }
.kachel-mehr {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: .92rem; color: var(--gelb);
}
.kachel-mehr .icon { transition: transform .25s var(--kurve); }
.kachel:hover .kachel-mehr .icon { transform: translateX(4px); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .kachel-gross, .kachel-klein, .kachel-breit { grid-column: span 1; min-height: 300px; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Ergebnisse ---------- */
.raster-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.galerie { margin-top: 1.1rem; }
.galerie figure, .foto { margin: 0; }
.galerie img, .foto img { border-radius: var(--radius-karte); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.foto-geteilt { position: relative; }
.foto-geteilt .schild { top: .85rem; }
.galerie figcaption, .foto figcaption { margin-top: .7rem; font-size: .92rem; color: var(--text-leise); }
@media (max-width: 860px) { .raster-2, .raster-3 { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.ablauf { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.schritt { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; padding-block: 1.6rem; border-top: 1px solid var(--linie); }
.schritt:last-child { border-bottom: 1px solid var(--linie); }
.schritt-zahl {
  width: 3.4rem; height: 3.4rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--grund-2); color: var(--icon-akzent);
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.25rem;
}
.schritt h3 { margin-bottom: .4rem; }
.schritt p { color: var(--text-leise); font-size: 1rem; }
@media (max-width: 860px) { .ablauf { grid-template-columns: 1fr; } }

/* ---------- Festpreis-Band (einziger dunkler Block je Seite) ---------- */
.band { background: var(--band); color: var(--band-text); }
.band h2 { color: #fff; }
.band-kopf { max-width: 52ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.band-kopf p { margin-top: 1.1rem; color: var(--band-leise); font-size: 1.12rem; }
.faktoren { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-karte); overflow: hidden; }
.faktor { background: var(--band); padding: 1.8rem 1.5rem; }
.faktor b { font-family: "Archivo", sans-serif; font-size: 1.1rem; display: block; margin-bottom: .5rem; color: var(--gelb); }
.faktor p { font-size: .97rem; color: var(--band-leise); line-height: 1.55; }
.band-schluss { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2.4rem; }
.band-schluss p { font-size: 1.05rem; color: var(--band-leise); max-width: 46ch; }
@media (max-width: 900px) { .faktoren { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .faktoren { grid-template-columns: 1fr; } }

/* ---------- Kundenstimmen als endloses Laufband ----------
   Die Karten stehen zweimal hintereinander in der Spur. Die Spur wandert um genau
   eine Runde nach links und beginnt dann unsichtbar von vorn. Anhalten per Knopf,
   Maus drauf oder Fokus. Bei reduzierter Bewegung: stilles, wischbares Band. */
.stimmen-bereich { overflow: hidden; }
.stimmen-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.stimmen-schnitt { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; color: var(--text-leise); font-size: 1.05rem; }
.stimmen-schnitt b { color: var(--text); font-family: "Archivo", sans-serif; font-size: 1.15rem; }
.sterne { display: inline-flex; gap: .12rem; color: var(--gelb); }
.sterne .icon { width: 1.1rem; height: 1.1rem; }

.laufband-knopf {
  height: 44px; padding: 0 1.2rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linie); background: var(--flaeche); color: var(--text);
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: .92rem;
}
.laufband-knopf:hover { border-color: var(--text); }
.laufband-knopf .laufband-knopf-weiter { display: none; }
.laufband-knopf[aria-pressed="true"] .laufband-knopf-pause { display: none; }
.laufband-knopf[aria-pressed="true"] .laufband-knopf-weiter { display: inline; }

.laufband {
  overflow: hidden; padding-block: .5rem 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.laufband-spur {
  --abstand: 1.2rem;
  display: flex; align-items: flex-start; gap: var(--abstand);
  width: max-content; padding-left: var(--abstand);
}
@media (prefers-reduced-motion: no-preference) {
  .laufband-spur { animation: laufband var(--dauer, 90s) linear infinite; }
  .laufband:hover .laufband-spur,
  .laufband:focus-within .laufband-spur,
  .laufband.steht .laufband-spur { animation-play-state: paused; }
}
@keyframes laufband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .laufband { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .laufband-spur [aria-hidden="true"] { display: none; }
  .laufband-knopf { display: none; }
}

.stimme {
  flex: 0 0 min(380px, 82vw);
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius-karte); padding: 1.8rem;
}
/* Leicht versetzte Hoehen, damit die Reihe nicht wie ein Raster wirkt */
.stimme:nth-child(3n+2) { margin-top: 2.4rem; }
.stimme:nth-child(3n) { margin-top: 1.1rem; }
.stimme blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.stimme blockquote p + p { margin-top: .75rem; }
.stimme-kopf { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.stimme-bild {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: .9rem;
  background: var(--grund-2); color: var(--navy-hell);
}
.stimme cite { font-style: normal; font-size: .9rem; color: var(--text-leise); line-height: 1.35; }
.stimme cite b { display: block; color: var(--text); font-family: "Archivo", sans-serif; font-size: .98rem; }

.stimme-dunkel { background: var(--navy); border-color: var(--navy); color: #fff; }
.stimme-dunkel blockquote { color: #eef1f8; }
.stimme-dunkel cite { color: #b7c1dc; }
.stimme-dunkel cite b { color: #fff; }
.stimme-dunkel .stimme-bild { background: var(--gelb); color: var(--navy); }
.stimme-gelb { background: var(--gelb-zart); border-color: transparent; }
.stimme-gelb .stimme-bild { background: var(--gelb); color: var(--navy); }
.stimme-kurz { flex-basis: min(300px, 76vw); }
.stimme-kurz blockquote { font-family: "Archivo", sans-serif; font-weight: 500; font-size: 1.3rem; line-height: 1.35; letter-spacing: -.01em; }

.stimmen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stimmen-reihe-2 { grid-template-columns: repeat(2, 1fr); }
.stimmen-reihe .stimme { flex: none; width: 100%; margin-top: 0; height: 100%; box-sizing: border-box; }
@media (max-width: 760px) { .stimmen-reihe, .stimmen-reihe-2 { grid-template-columns: 1fr; } }

.stimmen-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.stimmen-fuss p { color: var(--text-leise); }
.stimmen-fuss p b { color: var(--text); font-weight: 600; }
.pfeil-link { display: inline-flex; align-items: center; gap: .45rem; font-family: "Archivo", sans-serif; font-weight: 600; text-decoration: none; color: var(--icon-akzent); }
.pfeil-link:hover .icon { transform: translateX(3px); }
.pfeil-link .icon { transition: transform .2s var(--kurve); }

/* ---------- Ueber uns ---------- */
.ueber { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ueber-bild img { border-radius: var(--radius-karte); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ueber h2 { margin-bottom: 1.4rem; }
.werte { display: grid; gap: .9rem; margin-top: 1.8rem; }
.wert { display: flex; gap: .9rem; align-items: flex-start; }
.wert .icon { color: var(--icon-akzent); margin-top: .15rem; }
.wert b { font-family: "Archivo", sans-serif; display: block; }
.wert span { color: var(--text-leise); font-size: .98rem; }
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 2.2rem 0 0; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius-karte); overflow: hidden; }
.fakten div { background: var(--flaeche); padding: 1.1rem 1rem; }
.fakten dt { font-size: .82rem; color: var(--text-leise); }
.fakten dd { margin: .2rem 0 0; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.08rem; }
@media (max-width: 900px) { .ueber { grid-template-columns: 1fr; } .ueber-bild img { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .fakten { grid-template-columns: 1fr 1fr; } }

/* ---------- Einsatzgebiet ---------- */
.gebiet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.orte-gruppe + .orte-gruppe { margin-top: 1.6rem; }
.orte-gruppe h3 { font-size: 1rem; margin-bottom: .75rem; color: var(--text-leise); font-weight: 600; letter-spacing: 0; }
.orte { display: flex; flex-wrap: wrap; gap: .55rem; }
.ort {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--linie); background: var(--flaeche);
  font-size: .96rem; font-weight: 500;
}
.ort .icon-s { color: var(--grau); }
.ort-heim { background: var(--navy); border-color: var(--navy); color: #fff; }
.ort-heim .icon-s { color: var(--gelb); }
@media (max-width: 860px) { .gebiet { grid-template-columns: 1fr; } }

/* ---------- Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: start; }
.frage { border-bottom: 1px solid var(--linie); }
.fragen-spalte > .frage:first-child { border-top: 1px solid var(--linie); }
.frage summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1.05rem;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary .icon { color: var(--grau); transition: transform .25s var(--kurve); }
.frage[open] summary .icon { transform: rotate(180deg); }
.frage-inhalt { padding-bottom: 1.4rem; color: var(--text-leise); max-width: 60ch; }
@media (max-width: 860px) { .fragen-raster { grid-template-columns: 1fr; } .fragen-spalte + .fragen-spalte > .frage:first-child { border-top: none; } }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.direkt { display: grid; gap: .9rem; margin-top: 2rem; }
.direkt a {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-karte);
  border: 1px solid var(--linie); background: var(--flaeche);
  transition: border-color .2s, transform .2s var(--kurve);
}
.direkt a:hover { border-color: var(--navy-hell); transform: translateY(-2px); }
.direkt b { font-family: "Archivo", sans-serif; display: block; font-size: 1.05rem; }
.direkt span span { font-size: .92rem; color: var(--text-leise); }
.direkt .icon { color: var(--icon-akzent); }

.zusage {
  margin-top: 1.6rem; padding: 1.2rem 1.4rem;
  border-radius: var(--radius-karte); background: var(--grund-2);
  font-size: .96rem; color: var(--text-leise); display: flex; gap: .85rem;
}
.zusage .icon { color: var(--icon-akzent); flex: none; }

form { display: grid; gap: 1.1rem; }
.feld { display: grid; gap: .45rem; }
.feld label { font-size: .93rem; font-weight: 600; font-family: "Archivo", sans-serif; }
.feld-hinweis { font-size: .86rem; color: var(--text-leise); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--radius-feld);
  padding: .8rem .95rem; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
input::placeholder, textarea::placeholder { color: #6f7583; }
@media (prefers-color-scheme: dark) { input::placeholder, textarea::placeholder { color: #8f98b0; } }
input:hover, select:hover, textarea:hover { border-color: var(--grau); }
textarea { resize: vertical; min-height: 7rem; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .zwei { grid-template-columns: 1fr; } }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-meldung { border-radius: var(--radius-feld); padding: 1rem 1.2rem; font-size: .97rem; display: none; }
.form-meldung.gut { display: block; background: #e8f4ec; color: #14532d; border: 1px solid #b7dfc5; }
.form-meldung.schlecht { display: block; background: #fdeceb; color: #7f1d1d; border: 1px solid #f3c2bf; }
@media (prefers-color-scheme: dark) {
  .form-meldung.gut { background: #13301f; color: #b9edcb; border-color: #245c39; }
  .form-meldung.schlecht { background: #351717; color: #f5c3c0; border-color: #6b2a27; }
}
button[aria-busy="true"] { opacity: .72; pointer-events: none; }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* ---------- Leistungsseiten ---------- */
.seite-kopf { padding-top: clamp(2.2rem, 5vw, 4rem); }
.seite-kopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.seite-kopf h1 { margin: .9rem 0 1.3rem; }
.seite-kopf .fliess { margin-bottom: 2rem; }
.seite-kopf-bild img { border-radius: var(--radius-karte); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--schatten); }
.zurueck { display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; font-weight: 500; color: var(--text-leise); text-decoration: none; }
.zurueck:hover { color: var(--text); }
@media (max-width: 900px) { .seite-kopf-raster { grid-template-columns: 1fr; } }

.leistung-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.haken-liste { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.haken-liste li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.06rem; }
.haken-liste .icon { color: var(--icon-akzent); margin-top: .15rem; }
.liste-notiz { margin-top: 1.4rem; color: var(--text-leise); max-width: 58ch; }
.preis-karte {
  background: var(--grund-2); border-radius: var(--radius-karte); padding: 2rem;
  position: sticky; top: calc(var(--kopf-hoehe) + 1.5rem);
}
.preis-karte h3 { margin-bottom: .8rem; }
.preis-karte p { color: var(--text-leise); margin-bottom: 1.4rem; }
.preis-karte ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.preis-karte li { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.preis-karte li .icon { color: var(--icon-akzent); }
.preis-karte li .icon-stern { color: var(--gelb); }
@media (max-width: 900px) { .leistung-raster { grid-template-columns: 1fr; } .preis-karte { position: static; } }

.weitere { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.weitere a {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem;
  border: 1px solid var(--linie); border-radius: var(--radius-karte); background: var(--flaeche);
  text-decoration: none; font-family: "Archivo", sans-serif; font-weight: 600;
  transition: border-color .2s, transform .2s var(--kurve);
}
.weitere a:hover { border-color: var(--navy-hell); transform: translateY(-2px); }
.weitere .icon { color: var(--icon-akzent); }
.weitere a[aria-current="page"] { display: none; }
@media (max-width: 900px) { .weitere { grid-template-columns: 1fr 1fr; } }

/* ---------- Fusszeile ---------- */
/* Unten extra Platz, damit die schwebenden Knoepfe keine Links verdecken */
.fuss { background: var(--navy-tief); color: #c9d0e3; padding-block: 4rem 6.5rem; }
.fuss a { color: #c9d0e3; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.fuss .marke b { color: #fff; }
.fuss-text { margin-top: 1.1rem; font-size: .95rem; max-width: 34ch; color: #a7b1cc; }
.fuss h4 { font-size: 1rem; margin-bottom: 1.1rem; color: #fff; letter-spacing: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .96rem; }
.fuss-kontakt li { display: flex; gap: .7rem; align-items: flex-start; }
.fuss-kontakt .icon { color: var(--gelb); margin-top: .12rem; width: 1.2rem; height: 1.2rem; }
.fuss-schluss { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .9rem; color: #8f9bbd; }
.fuss-schluss nav { display: flex; gap: 1.5rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss-raster { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Schwebende Knoepfe: Rueckruf und WhatsApp ---------- */
.schweben {
  position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 60; display: flex; align-items: flex-end; gap: .7rem;
}
.wa-knopf {
  width: 58px; height: 58px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: transform .2s var(--kurve);
}
.wa-knopf .icon { width: 1.9rem; height: 1.9rem; }
.wa-knopf:hover { transform: scale(1.06); }
.rueckruf { position: relative; }
.rueckruf-knopf {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 58px; padding: 0 1.3rem; border-radius: 999px; border: none; cursor: pointer;
  background: var(--navy); color: #fff;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: transform .2s var(--kurve);
}
.rueckruf-knopf .icon { color: var(--gelb); }
.rueckruf-knopf:hover { transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { .rueckruf-knopf { background: var(--navy-hell); } }
.rueckruf-panel {
  position: absolute; right: 0; bottom: calc(100% + .8rem);
  width: min(340px, calc(100vw - 2.2rem));
  background: var(--flaeche); color: var(--text);
  border: 1px solid var(--linie); border-radius: var(--radius-karte);
  box-shadow: var(--schatten-hoch); padding: 1.5rem;
}
.rueckruf-panel > b { display: block; font-family: "Archivo", sans-serif; font-size: 1.15rem; margin-bottom: .35rem; padding-right: 2rem; }
.rueckruf-panel > p { font-size: .94rem; color: var(--text-leise); margin-bottom: 1.1rem; }
.rueckruf-panel form { gap: .85rem; }
.rueckruf-panel small, #anfrage small { font-size: .82rem; color: var(--text-leise); }
#anfrage small { display: block; margin-top: -.3rem; }
.rueckruf-zu {
  position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px;
  border-radius: 999px; border: none; background: var(--grund-2); color: var(--text);
  display: grid; place-items: center; cursor: pointer;
}
@media (max-width: 480px) {
  .rueckruf-knopf { padding: 0 1.05rem; font-size: .95rem; }
}

/* ---------- Bewegung beim Scrollen ---------- */
.zeigt { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--kurve), transform .7s var(--kurve); }
.zeigt.da { opacity: 1; transform: none; }
.hero-inhalt .zeigt { transform: translateX(-32px); transition-duration: .9s; }
.hero-inhalt .zeigt.da { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .zeigt { opacity: 1; transform: none; transition: none; }
  .btn, .kachel, .kachel img, .direkt a { transition: none; }
}

/* ---------- Rechtstexte ---------- */
.recht { max-width: 50rem; }
.recht h1 { margin-bottom: 1.5rem; }
.recht-einleitung { font-size: 1.1rem; color: var(--text-leise); margin-bottom: 1rem; }
.recht-titel { font-size: 1.2rem; letter-spacing: -.01em; margin: 2.4rem 0 .7rem; }
.recht p, .recht li { color: var(--text-leise); }
.recht p + p { margin-top: .8rem; }
.recht ul { padding-left: 1.2rem; margin: .5rem 0 .8rem; }
.recht a { color: var(--icon-akzent); }
.recht b { color: var(--text); }
.recht-stand { margin-top: 3rem; font-size: .92rem; }
.bewertung-hinweis { margin-top: 1rem; font-size: .86rem; color: var(--text-leise); max-width: 70ch; }
