:root {
  --bg: #f4f7f7;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #506072;
  --brand: #1f4688;
  --brand-2: #1f4688;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  --ring: 0 0 0 4px rgba(31, 70, 136, 0.18);
  --radius: 18px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

/* Keep anchor targets visible with fixed header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Blank Gothic Medium", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overscroll-behavior-y: none;
  background-color: #ffffff;
  background: radial-gradient(900px 500px at 20% 0%, rgba(31, 70, 136, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(31, 70, 136, 0.14), transparent 60%),
    linear-gradient(180deg, #f7fafb 0%, var(--bg) 70%, #eef4f4 100%);
}

main {
  margin: 0;
  padding: 0;
  display: block;
}

/* Hero touches the top edge of the viewport */
#home.hero {
  margin-top: 0;
}

.site-header {
  z-index: 20;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header gets wider gutters for better spacing */
.site-header .container {
  width: min(1480px, calc(100% - 24px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
}
.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--shadow), var(--ring);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  /* Default: transparent over hero (no white bar before JS runs) */
  backdrop-filter: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 160ms ease, background 160ms ease, backdrop-filter 160ms ease, border-color 160ms ease;
}
.site-header[data-over-hero="true"] {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header[data-elevate="true"] {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background: rgba(247, 250, 251, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.86);
}
.site-header .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
}
.site-header .nav-toggle-bars,
.site-header .nav-toggle-bars::before,
.site-header .nav-toggle-bars::after {
  background: rgba(255, 255, 255, 0.92);
}

.site-header[data-elevate="true"] .nav-link {
  color: rgba(15, 23, 42, 0.76);
}
.site-header[data-elevate="true"] .nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.92);
}
.site-header[data-elevate="true"] .nav-toggle-bars,
.site-header[data-elevate="true"] .nav-toggle-bars::before,
.site-header[data-elevate="true"] .nav-toggle-bars::after {
  background: rgba(15, 23, 42, 0.8);
}

.site-header[data-over-hero="true"] .brand-sub {
  color: rgba(255, 255, 255, 0.8);
}
.site-header[data-over-hero="true"] .nav-link {
  color: rgba(255, 255, 255, 0.86);
}
.site-header[data-over-hero="true"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
}
.site-header[data-over-hero="true"] .nav-link.is-active {
  background: rgba(31, 70, 136, 0.22);
  color: rgba(255, 255, 255, 0.98);
}
.site-header[data-over-hero="true"] .nav-toggle-bars,
.site-header[data-over-hero="true"] .nav-toggle-bars::before,
.site-header[data-over-hero="true"] .nav-toggle-bars::after {
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  padding: 0;
}
.brand-logo--footer {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 6px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 40px rgba(31, 70, 136, 0.25);
}
.brand-text {
  display: grid;
  line-height: 1.1;
}
.brand-wordmark {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-weight: 800;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.76);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.92);
}
.nav-link.is-active {
  background: rgba(31, 70, 136, 0.12);
  color: rgba(31, 70, 136, 1);
}

.nav-cta {
  margin-left: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(31, 70, 136, 0.22);
}
.nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 14px 34px rgba(31, 70, 136, 0.22), var(--ring);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.nav-toggle-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
}
.nav-toggle-bars::before {
  top: -7px;
}
.nav-toggle-bars::after {
  top: 7px;
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  overflow: clip;
  background-image: url("../assets/hero.png");
  background-size: cover;
  /* Keep faces/heads visible: focus upper area */
  background-position: 50% 18%;
  background-repeat: no-repeat;
}
.hero-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: calc(var(--header-h) + 22px) 0 54px;
  position: relative;
  z-index: 1;
}
.hero-copy {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 42px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
  padding: 18px 18px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  text-align: right;
  margin-left: auto;
  justify-self: end;
  transform: translateX(110px);
}
.hero-copy .kicker {
  margin-left: auto;
}
.hero-copy .lead {
  margin-left: auto;
}

.kicker {
  margin: 0 0 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(31, 70, 136, 1);
  background: rgba(31, 70, 136, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.74);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn-primary {
  color: white;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 45px rgba(31, 70, 136, 0.22);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(15, 23, 42, 0.12);
}

.hero-badges {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px 12px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}
.badge dt {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}
.badge dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.hero-media {
  display: none;
}
/* Hero image is now applied directly on .hero */
.hero-art {
  display: none;
}

/* Sections */
.section {
  padding: 58px 0;
}
.section-alt {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow {
  margin: 0;
  color: rgba(31, 70, 136, 1);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Scroller wrapper with arrows */
.scroller-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroller-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.scroller-arrow:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(31, 70, 136, 0.25);
}
.scroller-arrow:active {
  transform: scale(0.98);
}
.scroller-arrow:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 8px 24px rgba(15, 23, 42, 0.08);
}
.scroller-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.scroller-arrow svg {
  width: 22px;
  height: 22px;
}

/* Services horizontal scroller */
.services-scroller {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: calc(var(--radius) + 18px);
  padding: 6px 6px 12px;
  outline: none;
  scroll-behavior: smooth;
}
.services-scroller:focus-visible {
  box-shadow: var(--ring);
}
.services-track {
  display: flex;
  gap: 14px;
  padding: 6px;
}
.services-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 82vw);
  border-radius: 36px !important;
  overflow: hidden !important;
}
.services-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.services-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.15);
}
.services-card-cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.services-card-link:hover .services-card-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* nicer scrollbar (supported browsers) */
.services-scroller::-webkit-scrollbar,
.objects-scroller::-webkit-scrollbar {
  height: 10px;
}
.services-scroller::-webkit-scrollbar-thumb,
.objects-scroller::-webkit-scrollbar-thumb {
  background: rgba(31, 70, 136, 0.35);
  border-radius: 999px;
}
.services-scroller::-webkit-scrollbar-track,
.objects-scroller::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
}

/* Objects horizontal scroller */
.objects-scroller {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: calc(var(--radius) + 18px);
  padding: 6px 6px 12px;
  outline: none;
  scroll-behavior: smooth;
}
.objects-scroller:focus-visible {
  box-shadow: var(--ring);
}
.objects-track {
  display: flex;
  gap: 14px;
  padding: 6px;
}
.objects-track .object-card {
  scroll-snap-align: start;
  flex: 0 0 min(340px, 78vw);
  grid-template-rows: 140px auto 1fr auto;
}
.card {
  border-radius: calc(var(--radius) + 12px);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  min-height: 240px;
}
.card-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
  color: white;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.card-body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.services-card .card-body {
  border-radius: 24px;
}
.card-body h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-image {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/hero.png");
  background-size: cover;
  background-position: center;
}
.card-image-2 {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(31, 70, 136, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/hero.png");
  background-size: cover;
  background-position: center right;
}

/* Startseite „Reinigung für Ihr Objekt“: Beispielfoto (bild1) je Leistung */
.services-track .services-card.services-card--baureinigung {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/baureinigung/bild1.png");
  background-size: cover;
  background-position: center;
}
.services-track .services-card.services-card--fassadenreinigung {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(31, 70, 136, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/fassadenreinigung/bild1.png");
  background-size: cover;
  background-position: center right;
}
.services-track .services-card.services-card--dachreinigung {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/dachreinigung/bild1.png");
  background-size: cover;
  background-position: center;
}
.services-track .services-card.services-card--glasreinigung {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/glasreinigung/bild1.png");
  background-size: cover;
  background-position: center;
}
.services-track .services-card.services-card--grundreinigung {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(31, 70, 136, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/grundreinigung/bild1.png");
  background-size: cover;
  background-position: center right;
}
.services-track .services-card.services-card--photovoltaikreinigung {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/photovoltaikreinigung/bild1.png");
  background-size: cover;
  background-position: center;
}
.services-track .services-card.services-card--steinreinigung {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(31, 70, 136, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/steinreinigung/bild1.png");
  background-size: cover;
  background-position: center right;
}
.services-track .services-card.services-card--treppenhausreinigung {
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(31, 70, 136, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/treppenhausreinigung/bild1.png");
  background-size: cover;
  background-position: center;
}
.services-track .services-card.services-card--unterhaltsreinigung {
  background:
    radial-gradient(700px 380px at 88% 12%, rgba(31, 70, 136, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.06)),
    url("../assets/dienstleistungen/unterhaltsreinigung/bild1.png");
  background-size: cover;
  background-position: center right;
}

/* Split panels */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) + 10px);
  padding: 18px 18px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}
.panel h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.case {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}
.case-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.case-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}
.case-list strong {
  color: rgba(15, 23, 42, 0.9);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.quote {
  margin: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px;
  position: relative;
}
.quote blockquote {
  margin: 0;
  color: rgba(15, 23, 42, 0.86);
  font-weight: 700;
  line-height: 1.5;
}
.quote figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pill {
  background: rgba(31, 70, 136, 0.10);
  color: rgba(31, 70, 136, 1);
  border: 1px solid rgba(31, 70, 136, 0.14);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.about-box {
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 18px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}
.checklist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 650;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checklist li a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}
.checklist li a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checklist li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(31, 70, 136, 0.14);
  color: rgba(31, 70, 136, 1);
  font-weight: 900;
}

/* CTA / Form */
.section-cta {
  padding-top: 54px;
}
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 650;
}
.contact-list a {
  color: rgba(31, 70, 136, 1);
  font-weight: 800;
}

.form {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) + 10px);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 8px;
}
label {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.82);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: rgba(31, 70, 136, 0.32);
}
.form-hint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Footer */
.footer {
  margin-top: 18px;
  background: #1f4688;
  color: rgba(255, 255, 255, 0.92);
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
}
.footer a:hover {
  color: white;
}

.footer .container {
  width: min(1480px, calc(100% - 40px));
}
.footer-top {
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.85fr 0.85fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Kreis als Rahmen; Bild darin skaliert – zuverlässiger als padding direkt auf <img> */
.footer-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  flex-shrink: 0;
  border: none;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(255, 255, 255, 0.32);
  overflow: hidden;
  vertical-align: middle;
}

.footer-logo-frame .footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 58%;
  max-height: 58%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}

.footer-brand-title {
  margin: 14px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 46ch;
}

.footer-call {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #1f4688;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}
.footer-call:hover {
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}
.footer-call:active {
  transform: translateY(0);
}
.footer-call:focus-visible {
  outline: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(31, 70, 136, 0.35);
}
.footer-call-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 18px;
}
.footer-call-copy {
  display: grid;
  line-height: 1.05;
}
.footer-call-kicker {
  font-weight: 800;
  font-size: 12px;
  opacity: 0.85;
}
.footer-call-number {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer-title {
  margin: 8px 0 18px;
  font-size: 16px;
  font-weight: 900;
  position: relative;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: #1f4688;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
}
.footer-links a:hover {
  color: white;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1f4688;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.footer-social svg {
  display: block;
  fill: currentColor;
}
.footer-social:hover {
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}
.footer-social:active {
  transform: translateY(0);
}
.footer-social:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 70, 136, 0.35);
}

.footer-legal {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.70);
}
.footer-legal a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.06);
}
.footer-bottom-inner {
  display: flex;
  justify-content: center;
}
.footer-bottom-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .about,
  .cta {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .scroller-arrow {
    width: 42px;
    height: 42px;
  }
  .scroller-arrow svg {
    width: 20px;
    height: 20px;
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .footer-brand {
    grid-column: span 3;
  }

  .hero {
    background-position: 50% 10%;
  }
  body::before {
    background-position: 50% 10%;
  }

  .hero-copy {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  
  .scroller-arrow {
    width: 36px;
    height: 36px;
  }
  .scroller-arrow svg {
    width: 18px;
    height: 18px;
  }
  .scroller-wrapper {
    gap: 8px;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] {
    display: flex;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-cta {
    text-align: center;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .services-card {
    flex-basis: 86vw;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }
  .brand-wordmark {
    height: 28px;
  }
}


/* =========================================================
   Service sub-pages (Leistungen)
   ========================================================= */

/* Page hero (compact) */
.service-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 70px;
  overflow: clip;
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/hero.png");
  background-size: cover;
  background-position: 50% 22%;
  color: #fff;
}
.service-hero .container {
  position: relative;
  z-index: 1;
}
.service-hero .kicker {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}
.service-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  max-width: 900px;
}
.service-hero h1 em {
  font-style: normal;
  color: #ffe9ad;
}
.service-hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
}
.service-hero .breadcrumbs {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.service-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}
.service-hero .breadcrumbs a:hover {
  color: #fff;
}

/* Leistungsseiten: individuelle Hero-Hintergründe */
.service-hero.service-hero--baureinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/baureinigung/hero.png");
}
.service-hero.service-hero--dachreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/dachreinigung/hero.png");
}
.service-hero.service-hero--fassadenreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/fassadenreinigung/hero.png");
}
.service-hero.service-hero--glasreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/glasreinigung/hero.png");
}
.service-hero.service-hero--grundreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/grundreinigung/hero.png");
}
.service-hero.service-hero--photovoltaikreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/photovoltaikreinigung/hero.png");
}
.service-hero.service-hero--steinreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/steinreinigung/hero.png");
}
.service-hero.service-hero--treppenhausreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/treppenhausreinigung/hero.png");
}
.service-hero.service-hero--unterhaltsreinigung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/unterhaltsreinigung/hero.png");
}
.service-hero.service-hero--overview {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/dienstleistungen/hero.png");
}

/* Objektseiten (objekte/*.html) */
.service-hero.service-hero--objekt-overview {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/hero.png");
}
.service-hero.service-hero--objekt-arztpraxen-medizin {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/arztpraxen-medizin/hero.png");
}
.service-hero.service-hero--objekt-buero-verwaltung {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/buero-verwaltung/hero.png");
}
.service-hero.service-hero--objekt-einzelhandel {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/einzelhandel/hero.png");
}
.service-hero.service-hero--objekt-fitness-wellness {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/fitness-wellness/hero.png");
}
.service-hero.service-hero--objekt-gastronomie-hotel {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/gastronomie-hotel/hero.png");
}
.service-hero.service-hero--objekt-industrie-produktion {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/industrie-produktion/hero.png");
}
.service-hero.service-hero--objekt-schulen-kitas {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/schulen-kitas/hero.png");
}
.service-hero.service-hero--objekt-wohnanlagen {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/objekte/wohnanlagen/hero.png");
}

/* Weitere Seiten (Root) */
.service-hero.service-hero--angebot-anfragen {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/angebot-anfragen/hero.png");
}
.service-hero.service-hero--kontakt {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/kontakt/hero.png");
}
.service-hero.service-hero--impressum {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/impressum/hero.png");
}
.service-hero.service-hero--datenschutz {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/datenschutz/hero.png");
}
.service-hero.service-hero--ueber-uns {
  background-image: linear-gradient(180deg, rgba(31, 70, 136, 0.65) 0%, rgba(31, 70, 136, 0.35) 60%, rgba(31, 70, 136, 0.65) 100%),
    url("../assets/ueber-uns/hero.png");
}

/* Section helpers */
.section-tight {
  padding: 46px 0;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Numbered challenge cards (01, 02, 03) */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.challenge-card {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--panel);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}
.challenge-card .challenge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(31, 70, 136, 0.22);
}
.challenge-card p {
  margin: 0;
  color: #1f2a3b;
  font-size: 15.5px;
  line-height: 1.55;
}

/* 3 Issue category cards (Qualität / Vertrauen / Zuverlässigkeit) */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.issue-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.issue-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
}
.issue-card h4::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
}
.issue-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.issue-card li {
  position: relative;
  padding-left: 16px;
  color: #33445c;
  font-size: 15px;
  line-height: 1.5;
}
.issue-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

/* Goal block */
.goal-block {
  margin-top: 8px;
  padding: 28px 28px;
  background: linear-gradient(180deg, #f7fafb 0%, #eef4f4 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
}
.goal-block .eyebrow {
  color: var(--brand);
}
.goal-block h3 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
}
.goal-block p {
  color: #33445c;
  line-height: 1.65;
  font-size: 16px;
  margin: 0 0 10px;
}

/* Solution columns (Spezialisierung / Reinigungsplan / Fachpersonal) */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.solution-card {
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.solution-card .solution-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 70, 136, 0.10);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.solution-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
}
.solution-card p {
  margin: 0;
  color: #33445c;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Feature pills (Was Sie erwartet) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.feature-pill {
  padding: 22px 16px;
  text-align: center;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  font-weight: 700;
  color: var(--brand);
  display: grid;
  gap: 4px;
  place-items: center;
}
.feature-pill .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  margin-bottom: 6px;
}
.feature-pill span.feature-title {
  font-size: 14px;
  line-height: 1.25;
  color: #0f172a;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #0f172a;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 70, 136, 0.10);
  color: var(--brand);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}
.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: #33445c;
  line-height: 1.65;
  font-size: 15.5px;
}

/* Final CTA */
.cta-final {
  padding: 40px 0 60px;
}
.cta-final .cta-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--brand), #173366);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 18px;
  box-shadow: 0 30px 80px rgba(31, 70, 136, 0.3);
}
.cta-final h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
}
.cta-final p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}
.cta-final .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.cta-final .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
}

/* Mobile responsive */
@media (max-width: 960px) {
  .challenges-grid,
  .issues-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cta-final .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-hero {
    padding: calc(var(--header-h) + 44px) 0 52px;
  }
}

/* =========================================================
   Services overview page (leistungen/index.html)
   ========================================================= */
.services-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.services-overview-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 24px 22px 22px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: inherit;
  text-decoration: none;
}
.services-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}
.services-overview-card .so-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(31, 70, 136, 0.22);
}
.services-overview-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.services-overview-card p {
  margin: 0 0 16px;
  color: #33445c;
  line-height: 1.55;
  font-size: 15px;
}
.services-overview-card .so-cta {
  font-weight: 800;
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.services-overview-card:hover .so-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-overview-card .so-thumb {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(31, 70, 136, 0.22);
  flex-shrink: 0;
}
.services-overview-card .so-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

@media (max-width: 960px) {
  .services-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services-overview { grid-template-columns: 1fr; }
}

/* =========================================================
   Image placeholder gallery (service sub-pages)
   ========================================================= */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.img-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(31, 70, 136, 0.16), rgba(31, 70, 136, 0.04)),
    repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.05) 0 14px, transparent 14px 28px),
    #eef2f7;
  border: 1px dashed rgba(31, 70, 136, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #0f172a;
  isolation: isolate;
}
.img-placeholder::before {
  content: "Bild-Platzhalter";
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 70, 136, 0.92);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}
.img-placeholder::after {
  content: "⛶";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 52px;
  color: rgba(31, 70, 136, 0.28);
  font-weight: 900;
  pointer-events: none;
}
.img-placeholder .img-caption {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.45;
  color: #0f172a;
  backdrop-filter: blur(6px);
  width: 100%;
}

/* Echte Fotos in der Galerie: volle Fläche, keine Umrandung; Caption nur für Screenreader */
.img-placeholder:has(img) {
  border: none;
  background: transparent;
  padding: 0;
}
.img-placeholder:has(img)::before,
.img-placeholder:has(img)::after {
  display: none;
}
.img-placeholder:has(img) .img-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  font-size: 0;
  line-height: 0;
}
/* Eingeschraenkte Bildnutzung (siehe main.js setupImageProtection) */
img {
  -webkit-touch-callout: none;
}
.service-hero,
#home.hero,
.compare-slider,
.compare-figure,
.services-track .services-card {
  -webkit-touch-callout: none;
}
.protect-visual {
  user-select: none;
  -webkit-user-select: none;
}

.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  -webkit-user-drag: none;
}

@media (max-width: 960px) {
  .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .service-gallery { grid-template-columns: 1fr; }
}

/* Home page CTA link to services overview */
.services-overview-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* =========================================================
   Header dropdown menu (desktop hover + mobile expanded)
   ========================================================= */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-item.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-item.has-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
  transition: transform 180ms ease, margin 180ms ease;
}
.nav-item.has-dropdown:hover > .nav-link::after,
.nav-item.has-dropdown:focus-within > .nav-link::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 300px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  padding: 12px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible hover-bridge so the cursor can move from link to dropdown */
.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown-item {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(15, 23, 42, 0.82) !important;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: transparent !important;
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background: rgba(31, 70, 136, 0.08) !important;
  color: var(--brand) !important;
}
.nav-dropdown-item .dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.nav-dropdown-title {
  padding: 8px 12px 10px;
  margin: -4px 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Mobile: dropdown becomes a collapsible accordion (click to toggle) */
@media (max-width: 760px) {
  /* Dark, readable text inside the opened mobile menu (regardless of hero state) */
  .site-nav .nav-link,
  .site-header[data-over-hero="true"] .site-nav .nav-link,
  .site-header[data-elevate="true"] .site-nav .nav-link {
    color: rgba(15, 23, 42, 0.85);
    background: transparent;
  }
  .site-nav .nav-link:hover,
  .site-header[data-over-hero="true"] .site-nav .nav-link:hover {
    color: var(--brand);
    background: rgba(31, 70, 136, 0.08);
  }
  .site-nav .nav-link.is-active,
  .site-header[data-over-hero="true"] .site-nav .nav-link.is-active {
    color: var(--brand);
    background: rgba(31, 70, 136, 0.12);
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    position: relative;
  }
  .nav-item.has-dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  /* Chevron indicator that rotates when open */
  .nav-item.has-dropdown > .nav-link::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.7;
    transition: transform 200ms ease;
    flex-shrink: 0;
  }
  .nav-item.has-dropdown[data-dropdown-open="true"] > .nav-link::after {
    transform: rotate(-135deg) translateY(-1px);
  }

  /* Neutralize desktop hover/focus rules so the dropdown can't be pushed off-screen
     by the inherited `translateX(-50%)` transform. Source of truth on mobile is
     the `data-dropdown-open` attribute. */
  .nav-item.has-dropdown:hover > .nav-dropdown,
  .nav-item.has-dropdown:focus-within > .nav-dropdown {
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    margin: 0;
    padding: 0 8px;
  }

  /* Collapsed by default on mobile */
  .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    box-shadow: none;
    background: rgba(31, 70, 136, 0.04);
    border: 1px solid rgba(31, 70, 136, 0.12);
    border-radius: 14px;
    margin: 0;
    padding: 0 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease, opacity 200ms ease,
      padding 200ms ease, margin 200ms ease, visibility 200ms;
  }
  .nav-item.has-dropdown[data-dropdown-open="true"] > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 720px;
    margin: 6px 0 8px;
    padding: 8px;
    transform: none;
  }
  .nav-item.has-dropdown::after {
    display: none;
  }
  .nav-dropdown-title {
    display: none;
  }
  .nav-dropdown-item {
    padding: 10px 12px;
    font-size: 15px;
    color: rgba(15, 23, 42, 0.85) !important;
  }
  .nav-dropdown-item .dd-icon {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
}

/* =========================================================
   Before/After compare slider (service pages)
   ========================================================= */
.compare-figure {
  margin: 0;
  display: grid;
  gap: 14px;
}
.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --compare-pos: 50%;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  isolation: isolate;
}
.compare-image {
  position: absolute;
  inset: 0;
}
.compare-before {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.12)),
    repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.18) 0 12px, transparent 12px 26px),
    linear-gradient(180deg, #7d8693 0%, #525c69 100%);
}
.compare-after {
  background:
    linear-gradient(135deg, rgba(31, 70, 136, 0.28), rgba(31, 70, 136, 0.04)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.35) 0 14px, transparent 14px 30px),
    linear-gradient(180deg, #e7efff 0%, #bcd2f4 100%);
  clip-path: inset(0 0 0 var(--compare-pos));
}
.compare-label {
  position: absolute;
  top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  z-index: 8;
  pointer-events: none;
}
.compare-label-before {
  left: 18px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
}
.compare-label-after {
  right: 18px;
  background: rgba(31, 70, 136, 0.92);
  color: #fff;
}
/* Legacy support for labels inside image containers */
.compare-before .compare-label {
  left: 18px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
}
.compare-after .compare-label {
  right: 18px;
  background: rgba(31, 70, 136, 0.92);
  color: #fff;
}
.compare-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  z-index: 10;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos);
  width: 4px;
  background: #fff;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14), 0 10px 30px rgba(15, 23, 42, 0.28);
  z-index: 5;
}
.compare-handle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14), 0 10px 30px rgba(15, 23, 42, 0.28), 0 0 0 5px rgba(31, 70, 136, 0.3);
}
.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}
.compare-handle::after {
  content: "\2B0C";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
  pointer-events: none;
}
.compare-slider[data-dragging="true"] {
  cursor: grabbing;
}
.compare-slider[data-dragging="true"] .compare-handle {
  cursor: grabbing;
}

.compare-texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compare-text-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.compare-text-card h5 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-text-card h5::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
}
.compare-text-card.is-before h5 {
  color: #525c69;
}
.compare-text-card.is-before h5::before {
  background: #525c69;
}
.compare-text-card p {
  margin: 0;
  color: #33445c;
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .compare-slider {
    aspect-ratio: 4 / 3;
  }
  .compare-texts {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Objekte (objects overview + detail pages)
   ========================================================= */
.objects-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.object-card {
  position: relative;
  display: grid;
  grid-template-rows: 160px auto 1fr auto;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: inherit;
  text-decoration: none;
}
.object-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}
.object-card-media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 70, 136, 0.35), rgba(31, 70, 136, 0.05)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 12px, transparent 12px 26px),
    linear-gradient(180deg, #cfdffb 0%, #92b2e6 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.object-card-media::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.object-card-media:has(img)::before {
  display: none;
}
.object-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.object-card-badge {
  position: relative;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.object-card-body {
  padding: 18px 20px 8px;
}
.object-card-body h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.object-card-body p {
  margin: 0;
  color: #33445c;
  font-size: 14.5px;
  line-height: 1.55;
}
.object-card-cta {
  padding: 4px 20px 20px;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.object-card:hover .object-card-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .objects-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .objects-overview { grid-template-columns: 1fr; }
}

/* Object detail: recommended services strip */
.recommended-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.rec-service-card {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: inherit;
  text-decoration: none;
}
.rec-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}
.rec-service-card .rec-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.rec-service-card strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}
.rec-service-card span {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 960px) {
  .recommended-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .recommended-services { grid-template-columns: 1fr; }
}

/* =========================================================
   Compare grid (two sliders side-by-side on home page)
   ========================================================= */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}
.compare-grid .compare-slider {
  aspect-ratio: 4 / 3;
}
.compare-caption {
  margin: 0 0 2px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
/* Unterhaltsreinigung Vorher/Nachher */
.compare-unterhaltsreinigung .compare-before {
  background: url("../assets/dienstleistungen/unterhaltsreinigung/Vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-unterhaltsreinigung .compare-after {
  background: url("../assets/dienstleistungen/unterhaltsreinigung/Nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Fassadenreinigung Vorher/Nachher */
.compare-fassadenreinigung .compare-before {
  background: url("../assets/dienstleistungen/fassadenreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-fassadenreinigung .compare-after {
  background: url("../assets/dienstleistungen/fassadenreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Dachreinigung Vorher/Nachher */
.compare-dachreinigung .compare-before {
  background: url("../assets/dienstleistungen/dachreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-dachreinigung .compare-after {
  background: url("../assets/dienstleistungen/dachreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Glasreinigung Vorher/Nachher */
.compare-glasreinigung .compare-before {
  background: url("../assets/dienstleistungen/glasreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-glasreinigung .compare-after {
  background: url("../assets/dienstleistungen/glasreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Treppenhausreinigung Vorher/Nachher */
.compare-treppenhausreinigung .compare-before {
  background: url("../assets/dienstleistungen/treppenhausreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-treppenhausreinigung .compare-after {
  background: url("../assets/dienstleistungen/treppenhausreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Baureinigung Vorher/Nachher */
.compare-baureinigung .compare-before {
  background: url("../assets/dienstleistungen/baureinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-baureinigung .compare-after {
  background: url("../assets/dienstleistungen/baureinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Grundreinigung Vorher/Nachher */
.compare-grundreinigung .compare-before {
  background: url("../assets/dienstleistungen/grundreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-grundreinigung .compare-after {
  background: url("../assets/dienstleistungen/grundreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Steinreinigung Vorher/Nachher */
.compare-steinreinigung .compare-before {
  background: url("../assets/dienstleistungen/steinreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-steinreinigung .compare-after {
  background: url("../assets/dienstleistungen/steinreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

/* Photovoltaikreinigung Vorher/Nachher */
.compare-photovoltaikreinigung .compare-before {
  background: url("../assets/dienstleistungen/photovoltaikreinigung/vorher.png");
  background-size: cover;
  background-position: center;
}
.compare-photovoltaikreinigung .compare-after {
  background: url("../assets/dienstleistungen/photovoltaikreinigung/nachher.png");
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 var(--compare-pos));
}

@media (max-width: 960px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .compare-grid .compare-slider {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 560px) {
  .compare-grid .compare-slider {
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
  padding: 18px 22px;
  max-width: 1040px;
  margin: 0 auto;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.cookie-banner-text h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.cookie-banner-text p {
  margin: 0;
  color: #33445c;
  font-size: 14px;
  line-height: 1.55;
}
.cookie-banner-text a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
    border-radius: 18px;
  }
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-banner-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* =========================================================
   Legal pages (Impressum / Datenschutz) typography
   ========================================================= */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  color: #33445c;
  line-height: 1.7;
}
.legal-content h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: #0f172a;
}
.legal-content p {
  margin: 10px 0;
}
.legal-content a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content address {
  font-style: normal;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  line-height: 1.7;
  margin: 14px 0;
  font-weight: 550;
  color: #0f172a;
}
.legal-content ul {
  padding-left: 22px;
  margin: 10px 0;
}
.legal-content li {
  margin: 6px 0;
}
.legal-content strong {
  color: #0f172a;
}

/* Angebot-anfragen / Kontakt: keep forms readable on small screens */
@media (max-width: 720px) {
  .legal-content h2 { font-size: 20px; }
  .legal-content h3 { font-size: 16px; }
}

/* =========================================================
   Mobile optimizations (comprehensive)
   ========================================================= */

/* Tablet & smaller desktops */
@media (max-width: 960px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }
  .section {
    padding: 44px 0;
  }
  h2 {
    font-size: 28px;
  }
  .cta-final {
    padding: 30px 0 48px;
  }
  .cta-final .cta-box {
    padding: 26px 22px;
  }
}

/* Mobile (phones) */
@media (max-width: 760px) {
  /* Containers: less side padding on small screens */
  .container {
    width: calc(100% - 28px);
  }
  .site-header .container {
    width: calc(100% - 20px);
  }
  .footer .container {
    width: calc(100% - 28px);
  }

  /* Typography: smaller, more readable */
  h1 {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.1;
  }
  h2 {
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 1.15;
  }
  h3 {
    font-size: 18px;
  }
  .lead {
    font-size: 15px;
  }

  /* Sections: less vertical padding */
  .section {
    padding: 36px 0;
  }
  .section-head {
    margin-bottom: 18px;
  }

  /* Hero home: compact */
  .hero {
    min-height: auto;
  }
  .hero-grid {
    padding: calc(var(--header-h) + 12px) 0 36px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Service / page hero: less top/bottom padding */
  .service-hero {
    padding: calc(var(--header-h) + 30px) 0 44px;
  }
  .service-hero h1 {
    font-size: clamp(26px, 6.5vw, 34px);
  }
  .service-hero .lead {
    font-size: 15px;
  }
  .service-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Buttons: bigger tap targets, full width where it makes sense */
  .btn {
    padding: 12px 18px;
    font-size: 15px;
  }

  /* Panels / split layouts */
  .split {
    gap: 12px;
  }
  .panel {
    padding: 18px 16px;
  }

  /* Compare slider: enlarge handle & hint for touch */
  .compare-slider,
  .compare-grid .compare-slider {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }
  .compare-handle::before {
    width: 48px;
    height: 48px;
  }
  .compare-label {
    top: 12px;
    padding: 6px 10px;
    font-size: 11px;
  }
  .compare-label-before,
  .compare-before .compare-label {
    left: 12px;
  }
  .compare-label-after,
  .compare-after .compare-label {
    right: 12px;
  }
  .compare-hint {
    bottom: 12px;
    font-size: 11px;
  }
  .compare-grid {
    gap: 28px;
  }

  /* Cards grid */
  .card-image,
  .services-card {
    min-height: 180px;
  }
  .case-grid {
    gap: 12px;
  }

  /* CTA final box: stacked */
  .cta-final {
    padding: 24px 0 36px;
  }
  .cta-final .cta-box {
    padding: 22px 18px;
    border-radius: 22px;
    gap: 16px;
  }
  .cta-final h3 {
    font-size: 20px;
  }
  .cta-final .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Forms: more breathing room */
  .form {
    padding: 16px;
    border-radius: calc(var(--radius) + 6px);
  }
  input,
  select,
  textarea {
    font-size: 16px; /* prevents iOS auto-zoom */
    padding: 12px 14px;
  }

  /* Footer: stack brand full-width, other columns 2-up */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-text {
    max-width: 100%;
  }
  .footer-logo-frame {
    width: 88px;
    height: 88px;
  }
  .footer-title {
    margin: 6px 0 16px;
    font-size: 15px;
  }
  .footer-links li {
    font-size: 14px;
  }
  .footer-socials {
    gap: 8px;
  }
  .footer-social {
    width: 38px;
    height: 38px;
  }
  .footer-legal {
    font-size: 11px;
  }
  .footer-call {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }

  /* Legal pages: tighter padding */
  .legal-content address {
    padding: 14px 16px;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 13px;
    word-break: break-word;
  }

  /* Brand logo in header */
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-wordmark {
    height: 24px;
  }
}

/* Very small phones (<= 420px) */
@media (max-width: 420px) {
  .container {
    width: calc(100% - 22px);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }

  h1 {
    font-size: clamp(24px, 8vw, 30px);
  }
  .service-hero h1 {
    font-size: clamp(22px, 7.5vw, 28px);
  }

  .section {
    padding: 30px 0;
  }

  .compare-slider {
    border-radius: 16px;
  }
  .compare-text-card {
    padding: 12px 14px;
  }
  .compare-text-card p {
    font-size: 13.5px;
  }

  /* Service cards tighter */
  .card-image,
  .services-card {
    min-height: 160px;
  }
  .card-body h3 {
    font-size: 16px;
  }

  /* Object cards: full width, smaller media */
  .object-card {
    grid-template-rows: 140px auto 1fr auto;
  }

  /* CTA-final buttons */
  .cta-final h3 {
    font-size: 18px;
  }

  /* Cookie banner very tight */
  .cookie-banner {
    padding: 14px 16px;
  }
  .cookie-banner-text h3 {
    font-size: 16px;
  }
  .cookie-banner-text p {
    font-size: 13px;
  }
}

/* Prevent horizontal overflow on all viewports */
body {
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
