/* =============================================================
   Hauszeit E&B – Onepager Stylesheet
   v1 · 2026-04-26
   Farbsystem: Beige BG · Wald-Grün Akzent · dunkle Schrift
   Fonts: Quicksand (Headlines) + Open Sans (Body)
   ============================================================= */

/* -- Schriften lokal einbinden (DSGVO) ------------------------
   Vor Live-Gang: WOFF2 nach assets/fonts/ laden und untenstehende
   @font-face-Blöcke einkommentieren. Bezugsquelle:
   https://gwfh.mranftl.com/fonts/quicksand?subsets=latin
   https://gwfh.mranftl.com/fonts/open-sans?subsets=latin

@font-face {
  font-family: "Quicksand";
  src: url("../assets/fonts/quicksand-v30-latin-500.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../assets/fonts/quicksand-v30-latin-600.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../assets/fonts/quicksand-v30-latin-700.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-v40-latin-regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-v40-latin-600.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/open-sans-v40-latin-700.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}
*/

/* Google Fonts CDN deaktiviert (DSGVO-konform: kein Drittanbieter-Tracking).
   Die Webseite faellt auf System-Schriften zurueck (siehe --font-display + --font-sans).
   Sobald WOFF2-Dateien lokal in 05-assets/fonts/ liegen, den auskommentierten
   @font-face-Block oben aktivieren. Bezugsquelle: https://gwfh.mranftl.com/fonts/quicksand
   und https://gwfh.mranftl.com/fonts/open-sans */

/* =============================================================
   1 · Custom Properties
   ============================================================= */
:root {
  /* Farben */
  --bg: #f2f1df;
  --surface: #ebe9d4;
  --surface-hover: #e2dfc8;
  --surface-dark: #0f2418;

  --accent: #145f37;
  --accent-hover: #1b7a48;
  --accent-soft: rgba(20, 95, 55, 0.5);
  --accent-softer: rgba(20, 95, 55, 0.2);
  --accent-ghost: rgba(20, 95, 55, 0.08);

  --text: #1a1a1a;
  --text-dim: rgba(26, 26, 26, 0.72);
  --text-muted: rgba(26, 26, 26, 0.55);
  --text-faint: rgba(26, 26, 26, 0.35);

  --border-weak: rgba(20, 95, 55, 0.08);
  --border: rgba(20, 95, 55, 0.18);
  --border-strong: rgba(20, 95, 55, 0.32);

  /* Schrift-Stacks */
  --font-display: "Quicksand", "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --header-h: 72px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Schatten */
  --shadow-sm: 0 4px 14px rgba(20, 35, 24, 0.08);
  --shadow-md: 0 12px 32px rgba(20, 35, 24, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 35, 24, 0.18);

  /* Übergänge */
  --t-fast: 0.15s ease;
  --t-med: 0.3s ease;
  --t-slow: 0.5s ease;
}

/* =============================================================
   2 · Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; font-family: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }

button { font: inherit; cursor: pointer; border: 0; background: none; }

/* Markierungs-Farbe (text selection) — einheitlich Wald-Grün auf Weiß,
   damit beim Markieren von Texten (z. B. Impressum/Datenschutz) keine
   System-Standardfarbe einspringt und die Schrift sauber bleibt.
   text-shadow: none verhindert, dass markierte Schrift unscharf wird. */
::selection { background: var(--accent); color: #fff; text-shadow: none; }
::-moz-selection { background: var(--accent); color: #fff; text-shadow: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--text);
}

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

/* =============================================================
   3 · Layout helpers
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 48px;
}

/* =============================================================
   4 · Buttons – Glossy-Glass-Stil (v3)
   Primary = grünes Glas mit Top-Highlight
   Ghost  = klares Weiß-Glas mit Backdrop-Blur
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  transition: transform var(--t-fast), box-shadow var(--t-med),
              background var(--t-med), color var(--t-med),
              border-color var(--t-med), filter var(--t-med);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.005em;
}

/* Primary – flat einfarbig */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Ghost – flat mit accent-Outline */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-small { padding: 10px 20px; font-size: 14px; border-radius: 100px; }
.btn-block { width: 100%; }

/* fx-shine bewusst neutralisiert: kein Glanz-Sweep, einfarbiger Look. */
.fx-shine::after { content: none; }

/* =============================================================
   5 · Header
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(242, 241, 223, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background var(--t-med), border-color var(--t-med),
              box-shadow var(--t-med);
}
.site-header.scrolled {
  background: rgba(242, 241, 223, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: var(--border-weak);
  box-shadow: 0 6px 18px rgba(20, 35, 24, 0.05);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: transform var(--t-fast);
}
.brand:hover { color: var(--text); transform: translateY(-1px); }
/* brand-mark: aktuell SVG-Platzhalter, wird durch Erdals Logo ersetzt sobald geliefert.
   Tausch: <span class="brand-mark"><img src="assets/images/logo-hauszeit.png" alt="Hauszeit E&B" /></span>
   CSS unten greift dann automatisch (.brand-mark img). */
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.04) 50%,
      rgba(0, 0, 0, 0.12) 100%),
    var(--accent);
  display: grid;
  place-items: center;
  color: #f2f1df;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 4px 12px rgba(20, 95, 55, 0.22);
  overflow: hidden;
  transition: box-shadow var(--t-med);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
  /* Hochwertiges Resampling beim Skalieren — mildert die Anti-Aliasing-
     Halos des eingebetteten PNG ab. */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: smooth;
  image-rendering: high-quality;
}
@media (max-width: 720px) {
  .brand-mark img { padding: 2px; }
}
/* Wenn ein Logo-Bild drinsteckt: Glas-Container weg, nur Logo zeigen */
.brand-mark:has(img) {
  background: none;
  box-shadow: none;
}
.brand:hover .brand-mark {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 6px 18px rgba(20, 95, 55, 0.32);
}
.brand-text {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  line-height: 1;
  gap: 10px;
  white-space: nowrap;
}
.brand-text small {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  margin-right: 20px;
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color var(--t-fast);
  position: relative;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* Hamburger-Toggle und Mobile-Drawer */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--accent-ghost); }
.nav-toggle svg { width: 26px; height: 26px; color: var(--text); }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close { display: none; }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--bg);
  box-shadow: -16px 0 40px rgba(20, 35, 24, 0.18);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 28px 32px;
  visibility: hidden;
}
.mobile-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-weak);
  transition: color var(--t-fast);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--accent); }
.mobile-nav .mobile-nav-cta {
  margin-top: 24px;
  padding: 14px 22px;
  background: var(--accent);
  color: #f2f1df;
  border-radius: 100px;
  text-align: center;
  border-bottom: 0;
  box-shadow: 0 8px 22px rgba(20, 95, 55, 0.24);
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 24, 0.42);
  backdrop-filter: blur(2px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.mobile-nav-overlay[data-open="true"] {
  opacity: 1;
  visibility: visible;
}
body.nav-open { overflow: hidden; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.header-tel svg { width: 16px; height: 16px; color: var(--accent); }
.header-tel:hover { color: var(--accent); }

/* =============================================================
   6 · Hero — Vollbild-Hintergrund mit gleichmäßigem Schleier
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bildausschnitt im oberen Drittel — Gesicht bleibt auf jeder Auflösung
     sichtbar, statt durch object-fit center wegzuschneiden */
  object-position: center 22%;
}
/* Gleichmäßiger dunkler Schleier über das ganze Hero-Bild — entspannter
   für die Augen, klare Lesbarkeit der Headline, klare Kante nach unten. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  max-width: 620px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.hero-inner .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.hero-headline {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  color: #fff;
}
.hero-headline .accent { color: var(--bg); }
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Hero-Buttons: ghost auf hellem Outline, damit er auf dunklem Bild trägt */
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.hero-trust-item svg {
  width: 20px; height: 20px;
  color: #fff;
  flex: 0 0 auto;
  padding: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-sizing: content-box;
}

/* =============================================================
   7 · Leistungen 6er-Grid
   ============================================================= */
.services {
  /* HERO-UEBERGANG-WEICH: weicher Verlauf von Hero-Beige in Services-Beige.
     Rollback: diese Zeile durch `background: var(--surface);` ersetzen. */
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 140px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
  color: var(--text);
}
/* Slide-In-Akzent links: fährt bei Hover von oben nach unten rein */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 35, 24, 0.06);
  color: var(--text);
}
.service-card:hover::before {
  transform: scaleY(1);
}
.service-card-link {
  text-decoration: none;
  cursor: pointer;
}
.service-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-ghost);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  transition: background var(--t-med), color var(--t-med);
}
.service-icon svg { width: 20px; height: 20px; }
.service-card-link:hover .service-icon {
  background: var(--accent);
  color: #fff;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.service-card p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 8px;
  flex: 1;
  line-height: 1.4;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
  margin-top: auto;
}
.service-card-cta svg {
  width: 16px; height: 16px;
  transition: transform var(--t-med);
}
.service-card-link:hover .service-card-cta svg {
  transform: translateX(4px);
}

/* =============================================================
   8b · Projekt-Referenzen (3 Karten)
   ============================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-med), border-color var(--t-med),
              box-shadow var(--t-med);
}
.project-card:hover { color: var(--text); }
.project-card .service-card-cta { margin-top: 6px; }
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.project-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-image img {
  transform: scale(1.04);
}
/* Statische Variante: nicht klickbar, kein Hover-Lift, kein Cursor-Pointer */
.project-card-static:hover {
  transform: none;
  border-color: var(--border-weak);
  box-shadow: none;
}
.project-card-static:hover .project-card-image img {
  transform: none;
}
.project-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(15, 36, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f2f1df;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.project-card-body {
  padding: 12px 18px 16px;
}
.project-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.project-card-body p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* =============================================================
   8c · Google-Bewertungen (Liquid-Glass-Karten)
   Background mit subtilen grünen Wolken, damit der Glas-Effekt
   der Karten visuell zur Geltung kommt.
   ============================================================= */
.reviews {
  /* HERO-UEBERGANG-WEICH (Bg→Surface) plus bestehende Wolken-Gradients */
  background:
    radial-gradient(circle at 18% 28%, rgba(20, 95, 55, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 82% 68%, rgba(20, 95, 55, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(20, 95, 55, 0.08) 0%, transparent 50%),
    linear-gradient(to bottom, var(--bg) 0%, var(--surface) 140px, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 16px 24px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.32) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(20, 95, 55, 0.08);
}
.reviews-stars {
  display: inline-flex;
  gap: 2px;
  color: #f2b020;
}
.reviews-stars svg { width: 22px; height: 22px; }
.reviews-summary-text {
  font-size: 15px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reviews-summary-text strong {
  color: var(--text);
  font-size: 18px;
  font-family: var(--font-display);
}
.reviews-summary-text a {
  color: var(--accent);
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

/* Liquid-Glass Review-Card */
.review-card {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.26) 50%,
      rgba(255, 255, 255, 0.42) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 10px 28px rgba(20, 95, 55, 0.08),
    0 22px 60px rgba(20, 95, 55, 0.05);
  transition: transform var(--t-med), box-shadow var(--t-med),
              border-color var(--t-med);
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 35% at 50% 0%,
      rgba(255, 255, 255, 0.55) 0%,
      transparent 70%);
  pointer-events: none;
  opacity: 0.9;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.32),
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 16px 38px rgba(20, 95, 55, 0.12),
    0 30px 70px rgba(20, 95, 55, 0.08);
}
.review-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(0, 0, 0, 0.14) 100%),
    var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 3px 8px rgba(20, 95, 55, 0.22);
}
.review-card-head strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: block;
}
.review-card-head small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-stars {
  display: inline-flex;
  gap: 2px;
  color: #f2b020;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.review-stars svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06)); }
.review-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* =============================================================
   8 · Vorher/Nachher Slider
   ============================================================= */
.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  user-select: none;
  cursor: ew-resize;
  margin-top: 32px;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
}
.ba-knob {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.ba-knob::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba-knob::after {
  content: "↔";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(15, 36, 24, 0.82);
  color: #f2f1df;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 100px;
}
.ba-label-vorher { right: 16px; }
.ba-label-nachher { left: 16px; }

/* =============================================================
   9 · Über Erdal
   ============================================================= */
.about {
  padding: 96px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 28px 0 0;
  line-height: 1.35;
}

/* =============================================================
   10 · Kontakt
   ============================================================= */
.contact {
  /* HERO-UEBERGANG-WEICH (Bg→Surface) */
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 140px, var(--surface) 100%);
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  padding: 0; margin: 32px 0 0;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
}
.contact-info-list svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 1px;
}
.contact-info-list .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info-list a { font-weight: 600; }

/* Einsatzgebiet-Box in der Kontakt-Sektion */
.contact-area {
  margin-top: 22px;
  padding: 14px 16px 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-ghost);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.contact-area-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}
.contact-area-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 22px;
  margin: 0 0 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-dim);
}
.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-family: var(--font-sans);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-softer);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 6px 0 18px;
}
.form-checkbox input { margin-top: 4px; }

/* =============================================================
   11 · Footer
   ============================================================= */
.site-footer {
  background: var(--surface-dark);
  color: rgba(242, 241, 223, 0.85);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .brand-mark {
  background: rgba(242, 241, 223, 0.12);
  color: #f2f1df;
}
.footer-brand .brand-mark:has(img) {
  background: var(--bg);
}
.footer-brand .brand { color: #f2f1df; }
.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(242, 241, 223, 0.65);
  max-width: 320px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-links a {
  color: rgba(242, 241, 223, 0.85);
}
.footer-links a:hover { color: #f2f1df; }

/* Footer Einsatzgebiet */
.footer-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  max-width: 220px;
}
.footer-area-lead {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: #f2f1df;
  font-size: 14px;
}
.footer-area-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  color: rgba(242, 241, 223, 0.7);
  font-size: 13px;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(242, 241, 223, 0.08);
  font-size: 13px;
  color: rgba(242, 241, 223, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================================
   12 · WhatsApp-FAB
   ============================================================= */
.fab {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  z-index: 90;
  transition: transform var(--t-fast), box-shadow var(--t-med);
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  color: #fff;
}
.fab svg { width: 30px; height: 30px; }

/* =============================================================
   13 · Reveal-Animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   13b · Service-Detail-Pages (NDS-Stil, kompakt)
   ============================================================= */
.svc-hero {
  padding: calc(var(--header-h) + 56px) 0 64px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 65%; height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-ghost) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.svc-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 12px 0 16px;
}
.svc-hero p {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 0 26px;
  max-width: 540px;
}
.svc-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  position: relative;
}
.svc-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Gradient-Hero-Fallback (falls kein echtes Bild vorhanden) */
.svc-hero-image-fallback {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.4) 0%, transparent 60%),
    linear-gradient(140deg, var(--accent) 0%, #0f2418 100%);
  display: grid;
  place-items: center;
  color: rgba(242, 241, 223, 0.95);
  position: relative;
}
.svc-hero-image-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.svc-hero-image-fallback svg {
  width: 38%; height: auto;
  max-width: 180px;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
  position: relative;
  z-index: 1;
}
.svc-hero-image-fallback span {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(242, 241, 223, 0.7);
  z-index: 1;
}
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.svc-back:hover { color: var(--accent); }
.svc-back svg { width: 16px; height: 16px; }

.svc-block {
  padding: 80px 0;
}
.svc-block + .svc-block { padding-top: 0; }
.svc-block h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 18px;
}
.svc-block p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 720px;
}
.svc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.svc-feature {
  display: flex;
  gap: 14px;
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--border-weak);
  border-radius: var(--radius-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}
@media (hover: hover) {
  .svc-feature:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-feature { transition: none; }
  .svc-feature:hover { transform: none; }
}
.svc-feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-ghost);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.svc-feature-icon svg { width: 20px; height: 20px; }
.svc-feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.svc-feature p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.svc-cta {
  background: var(--accent);
  color: #f2f1df;
  padding: 56px 0;
  text-align: center;
}
.svc-cta h2 { color: #f2f1df; margin: 0 0 14px; }
.svc-cta p {
  color: rgba(242, 241, 223, 0.85);
  max-width: 540px;
  margin: 0 auto 26px;
}
.svc-cta .btn-primary {
  background: #f2f1df;
  color: var(--accent);
}
.svc-cta .btn-primary:hover {
  background: #fff;
  color: var(--accent-hover);
}
.svc-cta .btn-ghost {
  border-color: rgba(242, 241, 223, 0.5);
  color: #f2f1df;
}
.svc-cta .btn-ghost:hover {
  background: rgba(242, 241, 223, 0.1);
  color: #f2f1df;
}

/* Footer-Links Title */
.footer-links-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(242, 241, 223, 0.5);
  margin-bottom: 4px;
}

/* Footer-Social-Row + Icons */
.footer-social-row {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(242, 241, 223, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-social-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(242, 241, 223, 0.5);
}
.footer-social {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(242, 241, 223, 0.85);
  background: rgba(242, 241, 223, 0.06);
  border: 1px solid rgba(242, 241, 223, 0.12);
  transition: background var(--t-med), color var(--t-med),
              border-color var(--t-med), transform var(--t-fast);
}
.footer-social a:hover {
  background: rgba(242, 241, 223, 0.14);
  color: #f2f1df;
  border-color: rgba(242, 241, 223, 0.28);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* =============================================================
   13c · Projekt-Blog-Detailseiten
   ============================================================= */
.blog-hero {
  padding: calc(var(--header-h) + 32px) 0 0;
}
.blog-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-meta-tag {
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-ghost);
  color: var(--accent);
  font-size: 12px;
}
.blog-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.blog-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 40px;
}
.blog-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
  background: var(--surface);
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 96px;
}
.blog-body h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.blog-body h3 {
  font-size: 19px;
  margin: 32px 0 10px;
}
.blog-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.blog-body ul {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  padding-left: 22px;
  margin: 0 0 18px;
}
.blog-body ul li { margin-bottom: 6px; }
.blog-body strong { color: var(--text); }

.blog-image {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 10;
}
.blog-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-image figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
}

.blog-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 36px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}

.blog-cta {
  margin-top: 56px;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg,
      var(--accent) 0%,
      #0f2418 100%);
  color: #f2f1df;
  text-align: center;
}
.blog-cta h3 {
  color: #f2f1df;
  margin: 0 0 10px;
  font-size: 22px;
}
.blog-cta p {
  color: rgba(242, 241, 223, 0.85);
  margin: 0 auto 22px;
  max-width: 480px;
  font-size: 16px;
}
.blog-cta .hero-actions { justify-content: center; flex-wrap: wrap; }
.blog-cta .btn-primary {
  background: #f2f1df;
  color: var(--accent);
  border-color: #f2f1df;
}
.blog-cta .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-hover);
}
.blog-cta .btn-ghost {
  background: transparent;
  color: #f2f1df;
  border: 1px solid #f2f1df;
}
.blog-cta .btn-ghost:hover {
  background: #f2f1df;
  color: var(--accent);
  border-color: #f2f1df;
}

/* =============================================================
   13d · Blog-Zigzag (Projekt-Detailseiten: Text + Bild nebeneinander,
        abwechselnd Seite tauschend)
   ============================================================= */
.blog-zigzags {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}
.blog-zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
  margin: 64px 0;
}
.blog-zigzag-text {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
}
.blog-zigzag-image {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  /* min-height damit Bild bei sehr kurzem Text nicht winzig wird */
  min-height: 280px;
}
.blog-zigzag.reverse .blog-zigzag-text { grid-column: 2; }
.blog-zigzag.reverse .blog-zigzag-image { grid-column: 1; }

.blog-zigzag-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* is-fullshot: Bild wird vollständig angezeigt, ohne abzuschneiden.
   Wird für Hochformat- oder ungewöhnlich proportionierte Fotos verwendet
   (z. B. Türmontage), bei denen object-fit: cover wichtige Bildränder
   abschneiden würde. */
.blog-zigzag-image.is-fullshot {
  background: var(--bg);
}
.blog-zigzag-image.is-fullshot img {
  object-fit: contain;
  padding: 12px;
}

.blog-zigzag-text h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.blog-zigzag-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.blog-zigzag-text p:last-child { margin-bottom: 0; }
.blog-zigzag-text ul {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  padding-left: 22px;
  margin: 0 0 18px;
}
.blog-zigzag-text ul li { margin-bottom: 6px; }
.blog-zigzag-text strong { color: var(--text); }

.blog-quote-wide {
  max-width: 740px;
  margin: 24px auto 48px;
  padding: 0 24px;
}
.blog-quote-wide .blog-quote { margin: 0; }

/* =============================================================
   13e · Sektions-Übergänge (weicher Verlauf zwischen Sektionen)
   ============================================================= */
#referenzen {
  background: linear-gradient(to bottom, var(--surface) 0%, var(--bg) 140px, var(--bg) 100%);
}
.about {
  background: linear-gradient(to bottom, var(--surface) 0%, var(--bg) 140px, var(--bg) 100%);
}

/* =============================================================
   13f · Trennlinie zwischen Kontakt und Footer
   ============================================================= */
.section-divider {
  height: 4px;
  background: var(--accent);
  box-shadow: 0 4px 8px rgba(20, 95, 55, 0.20);
  position: relative;
  z-index: 5;
}

/* =============================================================
   13g · Bewertungen Shine-Hover
   ============================================================= */
.review-card::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(115deg,
    transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transition: left 0.9s ease;
  pointer-events: none;
  z-index: 2;
}
.review-card:hover::after { left: 120%; }

/* =============================================================
   14 · Responsive
   ============================================================= */
/* Türmontage-Karte (10. Referenzprojekt) auf Desktop mittig in Reihe 4 */
@media (min-width: 961px) {
  .projects-grid .project-card--row4-center { grid-column: 2; }
}

@media (max-width: 960px) {
  /* Hero auf Mobile/Tablet niedriger, damit das Hintergrundbild nicht
     extrem hochskaliert (gezoomt) werden muss, um den Container zu füllen.
     Object-position weiter oben damit der relevante Bildausschnitt sichtbar
     bleibt, statt durch den Zoom abgeschnitten zu werden. */
  .hero { padding: calc(var(--header-h) + 32px) 0 56px; min-height: 62vh; }
  .hero-inner { max-width: 100%; }
  .hero-bg img { object-position: center 30%; }
  .services-grid, .services-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-body { padding: 0 24px 72px; }
  .blog-image { aspect-ratio: 16 / 11; }
  .blog-zigzag {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 48px 0;
  }
  .blog-zigzag-image {
    align-self: auto;
    min-height: auto;
    position: static;
    aspect-ratio: 4 / 3;
  }
  .blog-zigzag-image img {
    position: static;
    inset: auto;
  }
  .blog-zigzag-text,
  .blog-zigzag.reverse .blog-zigzag-text {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
  }
  .blog-zigzag-image,
  .blog-zigzag.reverse .blog-zigzag-image {
    grid-column: 1;
    grid-row: 1;
  }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-image { max-width: 460px; aspect-ratio: 4 / 5; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero-image { max-width: 460px; }
  .svc-features { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

/* Header-Mobile-Switch: schon bei 900px zum Hamburger wechseln, damit der
   "Anfrage senden"-Button nicht in den Brand-Bereich schneidet. */
@media (max-width: 900px) {
  .header-tel { display: none; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn-small { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container, .container-narrow { padding: 0 22px; }
  /* Mobile-Hero: Bild füllt die Fläche (cover), Höhe niedriger und
     object-position oben, sodass möglichst viel Inhalt sichtbar bleibt. */
  .hero { min-height: 60vh; }
  .hero-bg img { object-position: center 28%; }
  /* Logo-Box auf Mobile ausblenden, weil das eingebettete PNG hier
     unsauber rendert. Auf Desktop bleibt das Logo wie gehabt. */
  .brand-mark { display: none; }
  /* Legal-Seiten (Impressum, Datenschutz) bekommen extra viel Innenrand,
     damit der Text auf Mobile nicht am Displayrand klebt. */
  .legal { padding-left: 30px; padding-right: 30px; }
  /* Story-Bilder füllen auf Mobile die Fläche (cover) — bleibt aber
     für Türmontage durch die is-fullshot-Klasse vollständig sichtbar. */
  .blog-zigzag-image img {
    object-fit: cover;
    padding: 0;
  }
  .blog-zigzag-image.is-fullshot img {
    object-fit: contain;
    padding: 12px;
  }

  .header-actions { gap: 8px; margin-left: 0; }
  .brand { font-size: 16px; gap: 10px; flex: 1 1 auto; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 38px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-text { gap: 7px; flex-wrap: wrap; }
  .brand-text small { font-size: 9.5px; letter-spacing: 0.9px; }

  .hero-headline { font-size: clamp(30px, 8vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; min-width: 140px; padding: 13px 22px; }
  .hero-trust { gap: 12px 22px; margin-top: 28px; }

  /* Services: horizontales Snap-Karussell auf Mobile */
  .services-grid, .services-grid-3 {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8vw 18px;
    margin: 18px -18px 0;
    scroll-padding-inline: 8vw;
  }
  .services-grid::-webkit-scrollbar,
  .services-grid-3::-webkit-scrollbar { display: none; }
  .services-grid > .service-card,
  .services-grid-3 > .service-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 18px 22px 22px;
  }

  /* Projekte: gleiches Karussell-Pattern */
  .projects-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8vw 18px;
    margin: 18px -18px 0;
    scroll-padding-inline: 8vw;
  }
  .projects-grid::-webkit-scrollbar { display: none; }
  .projects-grid > .project-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .project-card-image { aspect-ratio: 4 / 3; }

  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 22px; border-radius: var(--radius-lg); }

  /* Bewertungen: gleiches Karussell-Pattern */
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8vw 18px;
    margin: 18px -18px 0;
    scroll-padding-inline: 8vw;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid > .review-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 24px 22px 22px;
  }

  /* Karussell-Indikator */
  .carousel-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin: 18px 0 4px;
  }
  .carousel-dots .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background var(--t-fast), width var(--t-fast);
  }
  .carousel-dots .dot.is-active {
    background: var(--accent);
    width: 22px;
    border-radius: 100px;
  }
  .blog-cta { padding: 28px 22px; }
  .blog-quote { font-size: 19px; padding: 6px 0 6px 18px; margin: 28px 0; }
  .blog-body h2 { font-size: 22px; margin: 36px 0 12px; }
  .blog-body p, .blog-body ul { font-size: 16px; }
  .blog-zigzag-text h2 { font-size: 22px; }
  .blog-zigzag-text p, .blog-zigzag-text ul { font-size: 16px; }
  .blog-zigzags { padding: 16px 18px 48px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .fab { right: 18px; bottom: 18px; width: 54px; height: 54px; }
  .section { padding: 56px 0; }
  .svc-block { padding: 56px 0; }
  .svc-cta { padding: 44px 0; }
  /* Karten als horizontaler Slider statt langer Liste */
  .svc-features {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 24px -18px 0;
    padding: 6px 18px 14px;
  }
  .svc-features::-webkit-scrollbar { display: none; }
  .svc-feature {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 18px 18px;
  }
  .svc-hero-image { aspect-ratio: 4 / 3; max-height: 360px; }
  .svc-hero-image-fallback span { font-size: 11px; bottom: 16px; left: 16px; right: 16px; }
}

@media (max-width: 420px) {
  .hero-headline { font-size: 30px; }
  .section-title { font-size: 24px; }
  .contact-form { padding: 20px; }
  .review-card-head { gap: 10px; }
  .review-avatar { width: 38px; height: 38px; font-size: 13px; }
}

/* -- Kontakt: zweite Rufnummer als Alias-Link --------------------- */
.contact-info-alias {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
}
.contact-info-alias:hover {
  color: var(--accent);
}

/* -- Formular-Banner (Erfolg / Fehler) ---------------------------- */
.form-banner {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.form-banner-error {
  background: #fdf1f1;
  color: #7a1a1a;
  border-color: #f1c4c4;
}
.form-banner-error a { color: #7a1a1a; font-weight: 600; }
.form-banner-success {
  background: #eef7f1;
  color: #145F37;
  border-color: #cfe5d8;
}

/* -- Honeypot: fuer Menschen unsichtbar, Bots fuellen es aus ------ */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
