/* GKM Dienstleistungsservice – Stylesheet */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #103b29;
  --forest-deep: #0a2a1c;
  --leaf: #178443;
  --leaf-hover: #126b36;
  --leaf-bright: #2fb862;
  --ink: #141a17;
  --muted: #4d5a53;
  --stone: #eef2ed;
  --line: #d6ddd6;
  --white: #ffffff;
  --wa: #1f9d55;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 18px 40px -22px rgba(10, 42, 28, 0.45);

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-hover); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--leaf-bright); outline-offset: 3px; border-radius: 4px; }
.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: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.012em; }
.display { font-stretch: 118%; }
h1 { font-size: var(--fs-h1); font-stretch: 118%; }
h2 { font-size: var(--fs-h2); font-stretch: 116%; }
h3 { font-size: var(--fs-h3); font-stretch: 108%; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--stone { background: var(--stone); }
.section--forest { background: var(--forest); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-top: 16px; }
.section--forest .section-head p { color: rgba(255, 255, 255, 0.78); }
.section-foot { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: var(--r-sm); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; font-stretch: 106%; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--leaf); color: var(--white); }
.btn--primary:hover { background: var(--leaf-hover); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--forest); }
.btn--white:hover { background: var(--stone); color: var(--forest); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #197f45; color: var(--white); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .9375rem; }

/* Top bar */
.topbar { background: var(--forest-deep); color: rgba(255, 255, 255, 0.86); font-size: var(--fs-sm); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-area { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: inherit; text-decoration: none; border-radius: var(--r-sm); font-weight: 500; }
.topbar-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(10, 42, 28, 0.5); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9688rem; border-radius: var(--r-sm); position: relative; white-space: nowrap; }
.nav a:hover { color: var(--leaf); }
.nav a[aria-current="page"] { color: var(--leaf); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--leaf); border-radius: 2px; }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle .icon { width: 24px; height: 24px; }
.mobile-quick { display: none; }

@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: .9375rem; }
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, 110px) 0 0 0; margin: 0; background: var(--white);
    padding: 16px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 4px; font-size: 1.25rem; font-stretch: 110%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-cta { margin-top: 24px; }
  .nav .nav-cta a { border: 0; }
  .mobile-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
@media (max-width: 720px) {
  .topbar-area { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-links { width: 100%; justify-content: space-between; }
  .topbar-links a { flex-direction: column; gap: 2px; padding: 6px 4px; font-size: .75rem; }
  .topbar-links .tl-long { display: none; }
}
@media (min-width: 721px) { .topbar-links .tl-short { display: none; } }

/* Hero (home) */
.hero { position: relative; color: var(--white); background: var(--forest); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 42, 28, 0.94) 0%, rgba(10, 42, 28, 0.82) 34%, rgba(10, 42, 28, 0.35) 62%, rgba(10, 42, 28, 0) 82%);
}
.hero .wrap { position: relative; z-index: 1; min-height: min(84vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 150px; }
.hero h1 { max-width: 12.5ch; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.75rem); line-height: 1.02; font-stretch: 122%; letter-spacing: -0.02em; }
.hero h1 .line { display: block; }
.hero-lead { max-width: 560px; margin: 24px 0 36px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(10, 42, 28, 0.55) 0%, rgba(10, 42, 28, 0.88) 55%, rgba(10, 42, 28, 0.96) 100%); }
  .hero-media img { object-position: 78% 50%; }
  .hero .wrap { min-height: 0; padding-top: 120px; padding-bottom: 130px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  .hero-lead, .hero-actions { animation: fade .8s .35s ease both; }
  .hero-media img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* Trust bar */
.trust { position: relative; z-index: 2; margin-top: -84px; }
.trust-bar {
  display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 0;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.trust-item { padding: 26px 34px; border-right: 1px solid var(--line); }
.trust-value { display: flex; align-items: center; gap: 8px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); font-weight: 800; font-stretch: 120%; line-height: 1.1; }
.trust-value .stars { display: inline-flex; gap: 2px; color: #f2a900; }
.trust-value .stars .icon { width: 20px; height: 20px; }
.trust-label { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.trust-review { padding: 20px 28px; display: flex; justify-content: flex-end; }
@media (max-width: 900px) {
  .trust-bar { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding: 20px 18px; text-align: center; }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-value { justify-content: center; }
  .trust-review { grid-column: 1 / -1; border-top: 1px solid var(--line); justify-content: center; padding: 16px; }
}
@media (max-width: 520px) {
  .trust-value { flex-direction: column; gap: 2px; }
  .trust-value .stars .icon { width: 14px; height: 14px; }
  .trust-label { font-size: .8125rem; }
  .trust-item { padding: 16px 8px; }
  .trust-review .btn { width: 100%; }
}

/* Service areas (home) */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.area {
  position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); text-decoration: none;
}
.area-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.area-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.area:hover .area-media img { transform: scale(1.03); }
.area-body { padding: 24px 26px 26px; display: flex; flex-direction: column; }
.area h3 { font-size: 1.5rem; font-stretch: 114%; }
.area-list { list-style: none; margin: 14px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.area-list li { font-size: .875rem; padding: 4px 10px; background: var(--stone); border-radius: 999px; color: var(--muted); }
.area-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--leaf); }
.area:hover .area-link { color: var(--leaf-hover); }
.area:hover { color: var(--ink); border-color: #b9c6bb; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* Video carousel */
.vc { position: relative; }
.vc-stage { position: relative; height: clamp(440px, 58vw, 600px); touch-action: pan-y; }
.vc-slide {
  position: absolute; top: 0; left: 50%; margin: 0;
  width: clamp(230px, 32vw, 330px); aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden; background: #000;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .45s ease, filter .45s ease;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}
.vc-slide video, .vc-slide img { width: 100%; height: 100%; object-fit: cover; }
.vc-slide button.vc-hit { position: absolute; inset: 0; border: 0; background: transparent; }
.vc-slide.is-active button.vc-hit { display: none; }
.vc-slide:not(.is-active) { filter: brightness(.55) saturate(.8); }
@media (prefers-reduced-motion: reduce) { .vc-slide { transition: none; } }
.vc-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.vc-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.vc-btn:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.vc-btn .icon { width: 22px; height: 22px; }
.vc-dots { display: flex; gap: 8px; }
.vc-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.35); }
.vc-dots button[aria-current="true"] { background: var(--white); width: 26px; border-radius: 6px; }
.vc-status { text-align: center; color: rgba(255, 255, 255, 0.7); font-size: var(--fs-sm); margin-top: 10px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-md); }
.about-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--white); border-radius: var(--r-sm); padding: 14px 18px; box-shadow: var(--shadow); }
.about-photo figcaption strong { display: block; font-stretch: 110%; font-size: 1.0625rem; }
.about-photo figcaption span { color: var(--muted); font-size: .9375rem; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: #2c3530; max-width: 62ch; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; padding: 0; list-style: none; }
.about-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.about-facts .icon { color: var(--leaf); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}

/* Qualities */
.qualities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.quality { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.quality:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.quality .q-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--forest); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.quality .q-icon .icon { width: 24px; height: 24px; }
.quality h3 { font-size: 1.25rem; margin-bottom: 8px; }
.quality p { color: var(--muted); }
@media (max-width: 900px) {
  .qualities { grid-template-columns: repeat(2, 1fr); }
  .quality:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .quality:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .quality { padding-right: 28px; }
}
@media (max-width: 560px) {
  .qualities { grid-template-columns: 1fr; }
  .quality:nth-child(2n) { padding-left: 0; border-left: 0; }
  .quality { padding: 26px 0; }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.step { position: relative; padding: 32px 28px 34px; }
.step + .step { border-left: 1px solid var(--line); }
.step-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: var(--white); font-weight: 800; font-stretch: 115%; font-size: 1.125rem; margin-bottom: 22px; }
.step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 24px 20px; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* CTA band */
.cta-band { background: var(--forest); color: var(--white); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta-band h2 { max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, 0.8); font-size: var(--fs-lg); margin-top: 14px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Inline CTA (under sections) */
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 28px 32px; border-radius: var(--r-md); background: var(--stone); border-left: 5px solid var(--leaf); margin-top: clamp(40px, 5vw, 60px); }
.section--stone .inline-cta { background: var(--white); }
.inline-cta p { margin: 0; font-size: 1.25rem; font-weight: 700; font-stretch: 108%; max-width: 40ch; }
.inline-cta .cta-actions .btn { min-height: 46px; }

/* Page hero (subpages) */
.page-hero { position: relative; color: var(--white); background: var(--forest); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 42, 28, 0.93) 0%, rgba(10, 42, 28, 0.78) 45%, rgba(10, 42, 28, 0.2) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero h1 { max-width: 16ch; }
.page-hero-lead { max-width: 580px; margin: 20px 0 32px; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.88); }
.page-hero--plain { background: var(--forest); }
.page-hero--plain::after { display: none; }
.breadcrumb { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.75); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--white); }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.audience li { font-size: .875rem; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 720px) {
  .page-hero::after { background: linear-gradient(180deg, rgba(10, 42, 28, 0.75) 0%, rgba(10, 42, 28, 0.93) 100%); }
}

/* Service cards (subpages) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.services--2 { grid-template-columns: repeat(2, 1fr); }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.service-media { aspect-ratio: 16 / 9; background: var(--stone); overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 22px 24px 26px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 1rem; }
.service--wide { grid-column: 1 / -1; flex-direction: row; }
.service--wide .service-media { flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 28px)) / 3 * 2 + clamp(16px, 2vw, 28px)); aspect-ratio: auto; min-height: 280px; }
.service--wide .service-body { align-self: center; padding: 28px 32px; }
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--wide { grid-column: auto; flex-direction: column; }
  .service--wide .service-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .service--wide .service-body { padding: 22px 24px 26px; align-self: stretch; }
}
@media (max-width: 640px) { .services, .services--2 { grid-template-columns: 1fr; } }

/* Results */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { display: block; position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption, .gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .875rem; color: var(--white); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65)); font-weight: 600; }
.gallery--even a:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery--even a:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
.placeholder-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muted); background: var(--white); border: 1px dashed #aab6ac; border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 20px; }

.ba-list { display: grid; gap: clamp(28px, 4vw, 44px); margin-bottom: clamp(40px, 5vw, 60px); }
.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair a { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: rgba(20, 26, 23, 0.82); color: var(--white); }
.ba-tag--after { background: var(--leaf); }
.ba figcaption { margin-top: 12px; font-weight: 600; }
.ba figcaption span { font-weight: 400; color: var(--muted); }
@media (max-width: 560px) { .ba-pair { gap: 6px; } }

.subhead { font-size: 1.375rem; margin: 0 0 18px; }

/* Timeline (Wärmepumpe) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 24px; padding-bottom: clamp(32px, 4vw, 48px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-stretch: 115%; }
.tl-item:last-child .tl-num { background: var(--leaf); }
.tl-content h3 { margin: 8px 0 8px; }
.tl-content > p { color: var(--muted); max-width: 60ch; margin-bottom: 18px; }
.tl-content .gallery { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.tl-content .gallery a:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.tl-content .gallery--single { grid-template-columns: 1fr; max-width: 374px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6, 18, 12, 0.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: .9375rem; padding: 0 24px; }
@media (max-width: 640px) {
  .lightbox-inner { padding: 64px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-caption { bottom: 72px; }
}

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(255, 255, 255, 0.78); font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-grid h2 { font-size: 1rem; font-stretch: 110%; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: inherit; text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--leaf-bright); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); }
.social-row a:hover { background: var(--white); color: var(--forest); text-decoration: none; }
.social-row .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: .875rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: inherit; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-bottom: 72px; } }

/* Floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: none; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: var(--white); background: #197f45; }
@media (max-width: 900px) { .wa-float { display: inline-flex; } }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.125rem; margin: 28px 0 10px; }
.legal p, .legal li { color: #2c3530; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }
.legal .meta { color: var(--muted); font-size: var(--fs-sm); }
.legal-block { padding: 24px 28px; background: var(--stone); border-radius: var(--r-md); margin: 20px 0; }

/* Contact page */
.contact-layout { display: grid; gap: clamp(40px, 5vw, 64px); }
.direct { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.direct a, .direct div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; background: var(--white); }
.direct a:hover { border-color: var(--leaf); color: var(--ink); }
.direct .d-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--stone); color: var(--leaf); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.direct .d-icon--wa { background: #e3f5ea; color: var(--wa); }
.direct strong { display: block; font-stretch: 108%; }
.direct span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .direct { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .direct { grid-template-columns: 1fr; } }

/* Wizard */
.wizard { background: var(--white); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.wz-progress { height: 5px; background: var(--stone); }
.wz-progress-fill { height: 100%; width: 0; background: var(--leaf); transition: width .35s ease; }
.wz-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); min-height: 560px; }
.wz-main { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.wz-count { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.wz-step { display: none; }
.wz-step.is-active { display: block; }
.wz-step h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
.wz-hint { color: var(--muted); margin-bottom: 24px; }
.wz-nav { display: flex; gap: 12px; margin-top: auto; padding-top: 28px; }
.wz-nav .btn[hidden] { display: none; }
.wz-error { color: #b3261e; font-weight: 600; font-size: .9375rem; margin-top: 14px; min-height: 1.4em; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile-box { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.tile-box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font-weight: 700; font-stretch: 106%; line-height: 1.25; font-size: .9688rem; }
.tile-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.tile-check .icon { width: 14px; height: 14px; opacity: 0; stroke-width: 3; }
.tile input[type="checkbox"] + .tile-box .tile-check { border-radius: 6px; }
.tile:hover .tile-box { border-color: #9fb2a3; }
.tile input:checked + .tile-box { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(23, 132, 67, 0.15); }
.tile input:checked + .tile-box .tile-check { background: var(--leaf); border-color: var(--leaf); }
.tile input:checked + .tile-box .tile-check .icon { opacity: 1; }
.tile input:focus-visible + .tile-box { outline: 3px solid var(--leaf-bright); outline-offset: 2px; }
@media (max-width: 560px) {
  .tiles, .tiles--3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tile-label { padding: 10px; font-size: .875rem; }
}

.options { display: grid; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-weight: 600; transition: border-color .15s ease, background-color .15s ease; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #a3afa6; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.option input[type="checkbox"] ~ .dot { border-radius: 6px; }
.option .dot .icon { width: 13px; height: 13px; stroke-width: 3; opacity: 0; color: var(--white); }
.option small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.option:hover { border-color: #9fb2a3; }
.option:has(input:checked) { border-color: var(--leaf); background: #f1f8f3; }
.option input:checked ~ .dot { background: var(--leaf); border-color: var(--leaf); }
.option input:checked ~ .dot .icon { opacity: 1; }
.option:has(input:focus-visible) { outline: 3px solid var(--leaf-bright); outline-offset: 2px; }
.options--row { grid-template-columns: repeat(3, 1fr); }
.options--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .options--row { grid-template-columns: 1fr; } .options--2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 700; font-size: .9375rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(23, 132, 67, 0.15); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row-plz { display: grid; grid-template-columns: 150px 1fr; gap: 0 14px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } .row-plz { grid-template-columns: 120px 1fr; } }
.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.fieldset legend { font-weight: 700; font-size: .9375rem; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.chip input:checked + span { border-color: var(--leaf); background: var(--leaf); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--leaf-bright); outline-offset: 2px; }
.privacy-note { font-size: .875rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wz-side { background: var(--forest); color: var(--white); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.wz-side h2 { font-size: 1.5rem; }
.wz-person { display: flex; align-items: center; gap: 16px; }
.wz-person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid rgba(255, 255, 255, 0.2); }
.wz-person strong { display: block; font-size: 1.125rem; font-stretch: 110%; }
.wz-person span { color: rgba(255, 255, 255, 0.75); font-size: .9375rem; }
.wz-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wz-benefits li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, 0.88); }
.wz-benefits .icon { color: var(--leaf-bright); margin-top: 3px; stroke-width: 3; }
.wz-benefits b { color: var(--white); }
.wz-side-contact { margin-top: auto; display: grid; gap: 10px; }
.wz-side-contact p { margin: 0; font-size: .9375rem; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 900px) {
  .wz-body { grid-template-columns: 1fr; min-height: 0; }
  .wz-side { order: 2; }
  .wz-benefits, .wz-side-contact p { display: none; }
  .wz-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); }
  .wz-side h2 { display: none; }
  .wz-side-contact { margin: 0; grid-template-columns: auto auto; }
  .wz-person img { width: 60px; height: 60px; }
}
@media (max-width: 560px) { .wz-side-contact { grid-template-columns: 1fr 1fr; width: 100%; } }

.wz-done { text-align: left; }
.wz-done .done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--leaf); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.wz-done .done-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.wz-done .cta-actions { margin-top: 24px; }
.wz-fail { padding: 16px 18px; border-radius: var(--r-sm); background: #fdecea; color: #7a1b14; margin-top: 16px; font-size: .9688rem; }
.wz-fail a { color: inherit; font-weight: 700; }

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .site-footer { display: none !important; }
}
#anfrage { display: flex; flex-direction: column; flex: 1; }
@media (min-width: 1081px) { .nav .only-mobile { display: none; } }
#ergebnisse { overflow: hidden; }
html, body { overflow-x: clip; }
@media (max-width: 1080px) {
  .nav a.btn { display: inline-flex; justify-content: center; width: 100%; padding: 12px 20px; font-size: 1.0625rem; font-stretch: 106%; border-radius: var(--r-sm); border: 2px solid transparent; }
  .nav a.btn--primary, .nav a.btn--wa { color: var(--white); }
  .nav a.btn--ghost { border-color: var(--ink); color: var(--ink); }
}
/* Neues Logo (höheres Format) */
:root { --header-h: 88px; }
.brand img { height: 66px; }
.footer-brand img { height: 96px; }
@media (max-width: 1080px) { :root { --header-h: 72px; } .brand img { height: 54px; } }
.wz-side-contact .wz-numbers { font-size: .9375rem; color: rgba(255,255,255,.85); line-height: 1.7; }
.wz-numbers a { color: var(--white); font-weight: 700; text-decoration: none; }
.wz-numbers a:hover { text-decoration: underline; }
@media (max-width: 900px) { .wz-side-contact .wz-numbers { display: block; grid-column: 1 / -1; } }
.wz-wish { margin: -8px 0 20px; padding: 12px 16px; background: #f1f8f3; border-left: 4px solid var(--leaf); border-radius: var(--r-sm); font-size: .9688rem; }
.wz-person img { object-position: 50% 50%; }
.about-photo img { object-position: 50% 30%; }
@media (max-width: 900px) { .wz-body { grid-template-columns: minmax(0, 1fr); } }
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile-label { hyphens: manual; overflow-wrap: break-word; min-width: 0; }
.wz-side-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .tile-box { position: relative; }
  .tile-check { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); }
  .tile-label { display: block; font-size: .8438rem; }
}
/* Formular-Seitenleiste: alles untereinander */
.wz-side-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.wz-side-contact .btn { width: 100%; }
.wz-side-contact .wz-side-label { margin: 0 0 2px; font-size: .9375rem; color: rgba(255,255,255,.75); }
.wz-numbers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; color: rgba(255,255,255,.8); }
.wz-numbers li { white-space: nowrap; }
.wz-numbers a { color: var(--white); font-weight: 700; text-decoration: none; }
.wz-numbers a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .wz-side { flex-direction: column; align-items: stretch; }
  .wz-side-contact { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .wz-side-contact .wz-side-label { display: block; }
}
/* Zertifikate in Über uns */
.about-cert { display: flex; gap: 20px; align-items: center; margin: 0 0 32px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--stone); }
.about-cert-docs { display: flex; gap: 10px; flex: none; }
.about-cert-docs a { display: block; width: 78px; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 16px -8px rgba(10,42,28,.5); background: var(--white); transition: transform .2s ease; }
.about-cert-docs a:hover { transform: translateY(-2px); }
.about-cert-docs img { width: 100%; height: auto; }
.about-cert-text strong { display: block; font-stretch: 108%; font-size: 1.0625rem; margin-bottom: 4px; }
.about-cert-text p { font-size: .9688rem; margin: 0 0 4px; }
.about-cert-text span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 480px) { .about-cert { flex-direction: column; align-items: flex-start; } }
