/* ==========================================================================
   E&A Reinigung — Stylesheet
   Keine externen Ressourcen (DSGVO): System-Fonts, lokale Assets.
   ========================================================================== */

/* --- Design-Tokens ------------------------------------------------------ */
:root {
  --navy-900: #101a30;
  --navy-850: #14203a;
  --navy-800: #1b2a4a;
  --navy-700: #24365c;
  --blue-700: #164e88;
  --blue-600: #1b5fa6;
  --blue-500: #2a72bf;
  --blue-300: #7fadd9;
  --blue-100: #d6e5f4;
  --blue-050: #eff5fb;

  --ink:       #1a1f29;
  --ink-soft:  #414a57;
  --ink-muted: #6b7480;

  --on-dark:       #ffffff;
  --on-dark-soft:  #c3d0e3;
  --on-dark-muted: #8296b3;

  --warn:      #b0453e;

  --line:      #e2e7ee;
  --line-soft: #edf0f5;
  --line-dark: rgba(255, 255, 255, .13);
  --surface:   #ffffff;
  --surface-2: #f6f8fa;
  --surface-3: #eef1f6;

  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", "Liberation Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;

  --wrap: 1180px;
  --gap: 24px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(16, 26, 48, .06), 0 1px 3px rgba(16, 26, 48, .05);
  --shadow-md: 0 4px 10px rgba(16, 26, 48, .07), 0 12px 28px rgba(16, 26, 48, .07);
  --shadow-lg: 0 8px 20px rgba(16, 26, 48, .10), 0 26px 54px rgba(16, 26, 48, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-800);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.14rem, 1.02rem + .4vw, 1.34rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-600); }

strong { font-weight: 650; color: var(--navy-800); }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Sprungziele nicht unter dem klebenden Header verstecken */
[id] { scroll-margin-top: 96px; }

/* --- Layout-Helfer ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.section { position: relative; padding-block: clamp(64px, 4.5vw + 38px, 112px); }
.section--tight { padding-block: clamp(46px, 3vw + 28px, 72px); }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--line-soft); }

/* Dunkle Sektion – gibt der Seite einen Rhythmus statt durchgehendem Weiß */
.section--dark {
  background:
    radial-gradient(56ch 40ch at 84% 0%, rgba(42, 114, 191, .34) 0%, rgba(42, 114, 191, 0) 64%),
    linear-gradient(158deg, var(--navy-800) 0%, var(--navy-850) 52%, var(--navy-900) 100%);
  color: var(--on-dark-soft);
}
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .section-head p { color: var(--on-dark-soft); }
.section--dark strong { color: var(--on-dark); }

/* --- Sektionskopf mit großer Ziffer ------------------------------------- */
.section-head { max-width: 64ch; margin-bottom: 46px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }

/* Ortsangabe über der Hauptüberschrift. Trägt Information (was, wo),
   deshalb bleibt sie - aber als normaler Satz, nicht als Etikett. */
.hero-ort {
  font-size: 1rem;
  color: var(--on-dark-muted);
  margin: 0 0 20px;
}

.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.24rem); color: var(--ink-soft); }
.section--dark .lead { color: var(--on-dark-soft); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 8px; text-decoration: none; font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: 8px;
  font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              transform .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease);
}
/* Hover nur dort, wo es einen Mauszeiger gibt. Auf Touchgeräten bleibt der
   Zustand sonst nach dem Antippen kleben. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); color: #fff;
               transform: translateY(-1px); box-shadow: var(--shadow-md); }
}
/* Rückmeldung beim Drücken: die Fläche gibt kurz nach, damit sich der Klick
   angenommen anfühlt. Gilt auch auf Touch. */
.btn:active { transform: scale(.98); box-shadow: var(--shadow-sm); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; transform: none; box-shadow: none;
}

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--line); }
.btn--onDark { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; }
.btn--onDarkGhost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }

@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { --btn-bg: var(--blue-050); --btn-bd: var(--blue-100); --btn-fg: var(--navy-800); color: var(--navy-800); }
  .btn--onDark:hover { --btn-bg: #e7f0fa; --btn-bd: #e7f0fa; color: var(--navy-800); }
  .btn--onDarkGhost:hover { --btn-bg: rgba(255,255,255,.10); --btn-bd: rgba(255,255,255,.7); color: #fff; }
}

.btn--lg { padding: 15px 26px; font-size: 1.02rem; }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-600) 55%, var(--blue-500));
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px; padding-block: 10px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.16rem;
  color: var(--navy-800); letter-spacing: .01em;
}
.brand-claim {
  font-size: .655rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; margin-top: 3px;
}
@media (max-width: 400px) { .brand-claim { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > .btn { display: none; } /* nur im mobilen Menü sichtbar */
.nav a {
  position: relative;
  padding: 9px 13px; border-radius: 7px;
  color: var(--ink-soft); text-decoration: none;
  font-size: .96rem; font-weight: 550;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--navy-800); background: var(--surface-3); }
.nav a[aria-current="page"] { color: var(--navy-800); font-weight: 650; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--blue-600); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--navy-800); text-decoration: none;
  padding: 9px 12px; border-radius: 7px; font-size: .96rem;
  transition: background-color .16s var(--ease);
}
.header-phone:hover { background: var(--surface-3); color: var(--navy-800); }
.header-phone .ico { width: 17px; height: 17px; color: var(--blue-600); }

.nav-toggle {
  display: none;
  width: 46px; height: 44px; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; color: var(--navy-800);
}
.nav-toggle:hover { background: var(--surface-3); }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-cta > .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 12px; font-size: 1.02rem; }
  .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 22px; bottom: 7px; }
  .nav > .btn { display: inline-flex; margin-top: 10px; }
}
@media (max-width: 620px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
}

/* --- Hero (dunkel, mit Bogen-Motiv aus dem Logo) ------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(62ch 44ch at 76% -14%, rgba(42, 114, 191, .40) 0%, rgba(42, 114, 191, 0) 62%),
    linear-gradient(156deg, var(--navy-800) 0%, var(--navy-850) 54%, var(--navy-900) 100%);
  color: var(--on-dark-soft);
}

/* Bogen-/Siegel-Motiv, abgeleitet aus dem runden Logo */
.hero-motif {
  position: absolute; z-index: -1; pointer-events: none;
  right: -14vw; top: 50%; transform: translateY(-50%);
  width: min(74vw, 900px); height: auto;
  color: #ffffff; opacity: .085;
}
@media (max-width: 939px) {
  .hero-motif { right: -34vw; top: 8%; transform: none; width: min(120vw, 760px); opacity: .07; }
}

.hero-inner {
  display: grid; gap: 48px;
  padding-block: clamp(60px, 5.5vw + 30px, 116px);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(348px, .85fr); gap: 68px; }
}
.hero h1 { color: var(--on-dark); margin-bottom: .4em; }
.hero h1 .accent {
  color: var(--blue-300);
  font-style: italic;
}
.hero .lead { color: var(--on-dark-soft); max-width: 52ch; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 28px; }

.hero-note {
  display: flex; align-items: center; gap: 10px;
  font-size: .93rem; color: var(--on-dark-muted);
}
.hero-note .ico { width: 17px; height: 17px; color: var(--blue-300); flex: none; }

/* Karte "Auf einen Blick" – helles Element auf dunklem Grund */
.hero-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 32px 30px;
  border-top: 4px solid var(--blue-600);
}
.hero-card h2 {
  font-size: 1.14rem; font-family: var(--font-sans); font-weight: 700;
  letter-spacing: .01em; margin-bottom: 22px; color: var(--navy-800);
}
.hero-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.hero-card li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; }
.hero-card .badge {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue-050); border: 1px solid var(--blue-100);
  display: grid; place-items: center; color: var(--blue-600);
}
.hero-card .badge .ico { width: 18px; height: 18px; }
.hero-card b { display: block; font-size: .99rem; color: var(--navy-800); font-weight: 650; line-height: 1.35; }
.hero-card span.sub { display: block; font-size: .9rem; color: var(--ink-muted); line-height: 1.5; margin-top: 2px; }
.hero-card .card-foot {
  border-top: 1px solid var(--line-soft); padding-top: 18px;
  font-size: .9rem; color: var(--ink-muted);
}
.hero-card .card-foot a { font-weight: 650; }

/* --- Wisch-Band ---------------------------------------------------------
   Beim Scrollen wischt ein Mopp von links nach rechts über den Claim und
   räumt die stumpfe, verschmierte Fassung weg. Ohne JS und bei
   prefers-reduced-motion steht direkt die saubere Fassung da.
   ------------------------------------------------------------------------ */
.wipe {
  background: #fff;
  padding-block: clamp(44px, 4vw + 20px, 84px);
  overflow: hidden;
}

.wipe-stage {
  --wipe: 100%;          /* 0% = alles schmutzig, 100% = alles gewischt */
  --mop-rot: 0deg;
  position: relative;
  isolation: isolate;
}

.wipe-claim {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, .8rem + 3.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--navy-800);
  text-align: center;
  text-wrap: balance;
}
.wipe-claim em { font-style: italic; color: var(--blue-600); }

/* schmutzige Fassung liegt deckungsgleich darüber und wird weggewischt */
.wipe-dirty {
  position: absolute; inset: 0; z-index: 2;
  background: #fff;
  clip-path: inset(0 0 0 var(--wipe));
}
.wipe-dirty::after {
  content: ""; position: absolute; inset: -14% -4%;
  background:
    radial-gradient(38% 46% at 18% 34%, rgba(90,104,124,.22), rgba(90,104,124,0) 70%),
    radial-gradient(30% 40% at 46% 68%, rgba(90,104,124,.20), rgba(90,104,124,0) 72%),
    radial-gradient(34% 44% at 74% 28%, rgba(90,104,124,.18), rgba(90,104,124,0) 70%),
    radial-gradient(26% 36% at 92% 72%, rgba(90,104,124,.16), rgba(90,104,124,0) 74%);
  pointer-events: none;
}
.wipe-dirty .wipe-claim { color: #9aa4b2; }
.wipe-dirty .wipe-claim em { color: #a7b0bd; }

/* feuchte Kante direkt hinter dem Mopp */
.wipe-edge {
  position: absolute; z-index: 3;
  top: -8%; bottom: -8%; left: var(--wipe);
  width: 26px; margin-left: -13px;
  background: linear-gradient(90deg,
    rgba(42,114,191,0) 0%, rgba(42,114,191,.16) 45%, rgba(42,114,191,.05) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

.wipe-mop {
  position: absolute; z-index: 4;
  top: 50%; left: var(--wipe);
  width: clamp(38px, 5vw, 58px);
  height: auto; aspect-ratio: 64 / 104;
  color: var(--navy-800);
  transform: translate(-50%, -46%) rotate(var(--mop-rot));
  transform-origin: 50% 22%;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(16, 26, 48, .18));
}

/* erst wenn JS die Steuerung übernimmt, werden Mopp und Kante sichtbar */
.wipe-stage.is-live .wipe-mop,
.wipe-stage.is-live .wipe-edge { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wipe-stage { --wipe: 100% !important; }
  .wipe-mop, .wipe-edge, .wipe-dirty { display: none; }
}

/* --- Karten / Leistungen ------------------------------------------------ */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card--link:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 0; }
.card .ico-tile {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 20px;
  background: var(--blue-050); border: 1px solid var(--blue-100);
  display: grid; place-items: center; color: var(--blue-600);
}
.card .ico-tile .ico { width: 23px; height: 23px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card ul li {
  position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink-soft);
}
.card ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500);
}

.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 20px; font-weight: 650; font-size: .95rem;
  color: var(--blue-700); text-decoration: none;
}
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* --- Fotos ---------------------------------------------------------------
   Echte Aufnahmen aus laufenden Aufträgen. Der Balken am unteren Rand sagt
   das ausdrücklich, weil Stockfotos und erzeugte Bilder in dieser Branche
   üblich sind und der Unterschied ein Verkaufsargument ist.
   ------------------------------------------------------------------------ */
.foto {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.foto img { width: 100%; height: auto; display: block; }

.foto-hinweis {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6px 12px;
  background: rgba(16, 26, 48, .66);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.3;
}

/* Foto im Textfluss einer Spalte, mit Abstand nach oben */
.foto--inline { margin-top: 30px; }

/* --- Leistungen als geteilte Liste --------------------------------------
   Vier gleich große Karten nebeneinander sind Baukastenoptik. Eine Liste mit
   Trennlinien ordnet dieselben vier Punkte, ohne sie zu Kacheln zu machen.
   ------------------------------------------------------------------------ */
.leistungen { list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) {
  .leistungen { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
}

.leistungen > li { border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  /* obere Linie über beiden Spalten der ersten Zeile, sonst doppelte Kanten */
  .leistungen > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}

.leistung {
  display: grid; grid-template-columns: 40px 1fr; gap: 20px;
  align-items: start;
  padding: 26px 0 28px;
  text-decoration: none; color: inherit;
}
.leistung .ico { width: 26px; height: 26px; color: var(--blue-600); margin-top: 3px; }
.leistung h3 { margin-bottom: .35em; transition: color .16s var(--ease); }
.leistung p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

@media (hover: hover) and (pointer: fine) {
  .leistung:hover h3 { color: var(--blue-700); }
}
.leistung:active h3 { color: var(--blue-600); }

/* --- USP-Streifen ------------------------------------------------------- */
.usp-strip { background: #fff; border-bottom: 1px solid var(--line-soft); }
.usp-strip .grid { gap: 0; }
@media (min-width: 860px) { .usp-strip .grid { grid-template-columns: repeat(3, 1fr); } }
.usp {
  display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start;
  padding: 30px 28px;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 860px) {
  .usp { border-bottom: 0; border-left: 1px solid var(--line-soft); }
  .usp:first-child { border-left: 0; padding-left: 0; }
  .usp:last-child { padding-right: 0; }
}
@media (max-width: 859px) {
  .usp { padding-inline: 0; }
  .usp:last-child { border-bottom: 0; }
}
.usp .ico-tile {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-050); border: 1px solid var(--blue-100);
  display: grid; place-items: center; color: var(--blue-600);
}
.usp .ico-tile .ico { width: 21px; height: 21px; }
.usp b { display: block; font-size: 1.02rem; color: var(--navy-800); font-weight: 700; margin-bottom: 4px; }
.usp p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

.section--dark .usp { border-color: var(--line-dark); }
.section--dark .usp .ico-tile {
  background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--blue-300);
}
.section--dark .usp b { color: var(--on-dark); }
.section--dark .usp p { color: var(--on-dark-soft); }

/* --- Gegenüberstellung Problem / Antwort -------------------------------- */
.split { display: grid; gap: 44px; align-items: start; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* leichte Asymmetrie statt zwei exakt gleicher Blöcke */
@media (min-width: 940px) { .split--offset > :last-child { margin-top: 52px; } }

/* Text führt, Foto begleitet. Ein Videobild verträgt keine halbe Seitenbreite. */
@media (min-width: 940px) {
  .split--foto { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; }
}
@media (max-width: 939px) {
  .split--foto .foto { max-width: 340px; }
}

.quote-card {
  background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
  color: var(--on-dark-soft); border-radius: var(--radius-lg);
  padding: 38px 36px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--blue-500);
}
.quote-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1em; }
.quote-card p { color: var(--on-dark-soft); font-size: 1rem; }
.quote-card p strong { color: #fff; font-weight: 650; }
.quote-card .rule { height: 1px; background: var(--line-dark); margin: 26px 0; }

.list-caption {
  font-size: .89rem; font-weight: 650; color: var(--ink-muted);
  letter-spacing: .02em; margin-bottom: 18px;
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.checklist .ico { width: 22px; height: 22px; color: var(--blue-600); margin-top: 2px; flex: none; }
.checklist b { display: block; color: var(--navy-800); font-weight: 650; margin-bottom: 2px; }
.checklist span { color: var(--ink-soft); font-size: .97rem; }

/* Beschwerden über den bisherigen Dienstleister – kein Haken, das wären Zusagen */
.checklist--problem .ico { color: var(--warn); }

/* Unsere Zusagen auf dunklem Grund */
.checklist--answer .ico { color: var(--blue-300); }
.checklist--answer b { color: #fff; }
.checklist--answer span { color: var(--on-dark-soft); }

/* --- Ablauf / Schritte -------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 34px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--blue-100); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -24px; left: 0;
  font-family: var(--font-serif); font-size: 2.6rem; line-height: 1;
  color: var(--blue-600); background: inherit; padding-right: 12px;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.section--dark .step { border-top-color: var(--line-dark); }
.section--dark .step::before { color: var(--blue-300); }
.section--dark .step p { color: var(--on-dark-soft); }

/* --- Angebots-Konfigurator ---------------------------------------------- */
.konfig { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) {
  .konfig { grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 48px; }
}

.konfig-form { border: 0; margin: 0; padding: 0; min-width: 0; }

/* fieldset bringt von Haus aus Rahmen, Innenabstand und eine Mindestbreite mit */
.konfig-step {
  border: 0; border-top: 1px solid var(--line);
  margin: 28px 0 0; padding: 26px 0 0;
  min-inline-size: 0;
}
.konfig-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.konfig-step legend { padding: 0; }

.konfig-label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  font-size: 1.04rem; font-weight: 700; color: var(--navy-800);
  margin-bottom: 16px;
}
.konfig-label .num {
  font-family: var(--font-serif); font-size: 1.5rem; line-height: 1;
  color: var(--blue-500); flex: none;
}
.konfig-label .hint {
  font-size: .84rem; font-weight: 500; color: var(--ink-muted);
  letter-spacing: 0; margin-left: auto;
}
/* auf schmalen Schirmen unter die Frage statt daneben */
@media (max-width: 600px) {
  .konfig-label .hint { margin-left: 0; flex-basis: 100%; }
}

.opts { display: flex; flex-wrap: wrap; gap: 10px; }

.opt { position: relative; display: inline-flex; }
.opt input {
  position: absolute; opacity: 0; width: 0; height: 0; margin: 0;
}
.opt span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft); cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease),
              color .15s var(--ease), transform .15s var(--ease);
}
.opt span:hover {
  border-color: var(--blue-100); background: var(--blue-050); color: var(--navy-800);
}
.opt input:checked + span {
  background: var(--blue-600); border-color: var(--blue-600);
  color: #fff; font-weight: 650;
}
.opt input:checked + span:hover { background: var(--blue-700); border-color: var(--blue-700); }
.opt input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.opt input:active + span { transform: scale(.98); }

/* Zusammenfassung */
.konfig-summary {
  background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--blue-500);
  padding: 30px 28px; color: var(--on-dark-soft);
}
@media (min-width: 1000px) { .konfig-summary { position: sticky; top: 100px; } }
.konfig-summary h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.konfig-summary > p { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 24px; }

.konfig-summary dl { margin: 0 0 26px; display: grid; gap: 16px; }
.konfig-summary dt {
  font-size: .71rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-muted);
}
.konfig-summary dd {
  margin: 3px 0 0; color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.45;
}
.konfig-summary dd.is-empty { color: var(--on-dark-muted); font-weight: 400; }

.konfig-actions { display: grid; gap: 10px; }
.konfig-reset {
  background: none; border: 0; padding: 6px;
  font: inherit; font-size: .87rem; color: var(--on-dark-muted);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  justify-self: center;
}
.konfig-reset:hover { color: #fff; }

/* Hinweis auf der Kontaktseite, wenn Daten übernommen wurden */
.prefill-note {
  background: var(--blue-050); border: 1px solid var(--blue-100);
  border-left: 3px solid var(--blue-600);
  border-radius: 8px; padding: 16px 18px; margin-bottom: 24px;
  font-size: .93rem; color: var(--navy-700);
  display: none;
}
.prefill-note.is-visible { display: block; }

/* --- CTA-Band ----------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(70ch 40ch at 12% 0%, rgba(42,114,191,.30) 0%, rgba(42,114,191,0) 60%),
    linear-gradient(140deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
}
.cta-band .wrap {
  display: grid; gap: 30px; align-items: center;
  padding-block: clamp(50px, 3.6vw + 32px, 82px);
}
@media (min-width: 900px) {
  .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 52px; }
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: var(--on-dark-soft); max-width: 58ch; margin: 0; }

/* --- Kontakt ------------------------------------------------------------ */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; }
.contact-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: inherit;
}
.contact-list li:last-child .contact-item { border-bottom: 0; }
a.contact-item:hover .contact-value { color: var(--blue-700); }
.contact-item .ico-tile {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-050); border: 1px solid var(--blue-100);
  display: grid; place-items: center; color: var(--blue-600);
}
.contact-item .ico-tile .ico { width: 21px; height: 21px; }
.contact-label {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 3px;
}
.contact-value {
  display: block; font-size: 1.08rem; font-weight: 650; color: var(--navy-800);
  line-height: 1.4; transition: color .16s var(--ease);
}
.contact-sub { display: block; font-size: .9rem; color: var(--ink-muted); margin-top: 2px; }

/* --- Formular ----------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 34px 32px;
  border-top: 4px solid var(--blue-600);
}
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }
.form-card h2 { font-size: 1.5rem; margin-bottom: .35em; }
.form-card > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 26px; }

.field { display: block; margin-bottom: 18px; }
.field > span.label {
  display: block; font-size: .89rem; font-weight: 650; color: var(--navy-800); margin-bottom: 7px;
}
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd7e2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(42, 114, 191, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3b0; }
@media (min-width: 620px) { .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } }

.check {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start;
  margin: 4px 0 22px; font-size: .92rem; color: var(--ink-soft); line-height: 1.55;
}
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-600); }

.form-note { font-size: .86rem; color: var(--ink-muted); margin-top: 16px; }

/* --- Über uns ----------------------------------------------------------- */
.about-media {
  background: linear-gradient(170deg, #f5f8fc, #e9f0f8);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 46px 38px; text-align: center;
}
.about-media img { width: min(260px, 70%); margin-inline: auto; }
.about-media .name {
  margin-top: 26px; font-family: var(--font-serif); font-size: 1.32rem;
  font-weight: 700; color: var(--navy-800);
}
.about-media .role { font-size: .93rem; color: var(--ink-muted); margin-top: 2px; }

.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.value-list li { border-left: 3px solid var(--blue-100); padding-left: 22px; }
.value-list b { display: block; font-family: var(--font-serif); font-size: 1.16rem; color: var(--navy-800); margin-bottom: 5px; }
.value-list p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* --- Seiten-Header (Unterseiten) ---------------------------------------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(48ch 34ch at 82% -30%, rgba(42, 114, 191, .34) 0%, rgba(42, 114, 191, 0) 66%),
    linear-gradient(150deg, var(--navy-800) 0%, var(--navy-850) 60%, var(--navy-900) 100%);
  color: var(--on-dark-soft);
  padding-block: clamp(46px, 3.4vw + 28px, 82px);
}
.page-head .hero-motif {
  right: -18vw; top: 50%; transform: translateY(-50%);
  width: min(60vw, 620px); opacity: .07;
}
.page-head h1 { color: var(--on-dark); margin-bottom: .3em; }
.page-head p { max-width: 62ch; color: var(--on-dark-soft); font-size: 1.06rem; margin: 0; }

.breadcrumb { font-size: .87rem; color: var(--on-dark-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { padding-inline: 7px; opacity: .6; }

/* --- Prose (Impressum / Datenschutz) ------------------------------------ */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.44rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.7em; font-family: var(--font-sans); font-weight: 700; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1rem; }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; color: var(--ink-soft); }

.note {
  background: var(--blue-050); border: 1px solid var(--blue-100);
  border-left: 3px solid var(--blue-600);
  border-radius: 8px; padding: 18px 20px; margin-bottom: 32px;
}
.note p { margin: 0; font-size: .94rem; color: var(--navy-700); }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900); color: #a9b6c9;
  padding-block: 60px 0; font-size: .95rem;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 46px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }

.footer-brand-name {
  font-family: var(--font-serif); font-size: 1.42rem; color: #fff; font-weight: 700;
  letter-spacing: .01em;
}
.footer-brand-claim {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: #7f8fa6; font-weight: 600; margin-top: 6px;
}
.site-footer p { color: #a9b6c9; }
.site-footer h4 {
  color: #fff; font-family: var(--font-sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; margin: 0 0 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .site-footer address a { color: #c3cedd; text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.75; color: #a9b6c9; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px 28px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: .87rem; color: #7f8fa6;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #7f8fa6; text-decoration: none; }

/* Gestalter-Nachweis, bewusst leise */
.footer-credit { margin-top: 6px; }
.footer-credit a { color: #a9b6c9; }

@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover { color: #fff; text-decoration: underline; }
}

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

.status {
  margin-top: 18px; padding: 14px 16px; border-radius: 8px;
  font-size: .94rem; display: none;
}
.status.is-visible { display: block; }
.status--ok { background: var(--blue-050); border: 1px solid var(--blue-100); color: var(--navy-700); }
.status--err { background: #fdf1f1; border: 1px solid #f2d2d2; color: #8a2f2f; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .konfig-summary { display: none !important; }
  .hero, .page-head, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .section--dark h2 { color: #000 !important; }
  body { font-size: 12pt; }
}
