/* Lokale Fonts (DSGVO: kein Google-CDN) */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2');
}

/* ============================================================
   SOHETEC — Solar, Heizungstechnik & Sanitär
   Custom Static HTML Site · v3
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Design Tokens ---- */
:root {
  /* Brand */
  --c-yellow: #FFDE17;
  --c-yellow-hover: #F2CE00;
  --c-red: #E63946;
  --c-blue: #2EC4EA;
  --c-green: #9BCA3E;

  /* Brand color per service area — applied via .theme-* utility class on cards/pages */
  --theme-color: var(--c-yellow);
  --theme-color-soft: rgba(255, 222, 23, 0.12);

  /* Neutrals */
  --c-black: #1A1A1A;
  --c-dark: #333333;
  --c-dark-2: #404040;
  --c-dark-3: #4D4D4D;
  --c-gray-100: #F3F3F0;
  --c-gray-200: #E8E7E2;
  --c-gray-300: #CCCCC7;
  --c-gray-500: #8F8F8A;
  --c-gray-700: #525252;
  --c-white: #FFFFFF;

  /* Type */
  --f-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale — strict 6-step ladder, keine Freestyle-Größen mehr */
  --fs-micro:   12px;    /* Breadcrumbs, Labels, Eyebrows */
  --fs-caption: 13.5px;  /* Topbar, Footer kleingedruckt */
  --fs-small:   14.5px;  /* Card-Body, Secondary-Text */
  --fs-body:    16px;    /* Regular Body */
  --fs-lead:    18px;    /* Intro-Absätze, Lead-Text */
  --fs-h4:      1.2rem;
  --fs-h3:      1.45rem;
  --fs-h2:      clamp(2rem, 3.8vw, 3.2rem);
  --fs-h1:      clamp(2.6rem, 5.5vw, 4.4rem);

  /* Line-heights — ebenfalls konsolidiert */
  --lh-tight:  1.15;
  --lh-snug:   1.35;
  --lh-normal: 1.55;
  --lh-loose:  1.7;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-card: 0 12px 40px -8px rgba(15, 15, 15, 0.12);
  --sh-card-lg: 0 24px 60px -12px rgba(15, 15, 15, 0.18);
  --sh-nav: 0 8px 32px rgba(15, 15, 15, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---- */
body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--c-dark);
  padding-bottom: 0.04em;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  margin-bottom: 0.4em;
}
h4 {
  font-size: var(--fs-h4);
  line-height: 1.3;
  margin-bottom: 0.4em;
}

p { color: var(--c-gray-700); line-height: 1.72; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 14px;
}
.eyebrow.muted { color: var(--c-gray-500); }

.text-center { text-align: center; }

/* ---- Top Info Bar ---- */
/* ---- Top Info Bar ---- */
.topbar {
  position: absolute;
  top: 18px; left: 44px; right: 44px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: var(--fs-caption);
  font-weight: 500;
  pointer-events: none;
  letter-spacing: 0.01em;
}
.topbar > * { pointer-events: auto; }
.topbar-left { display: flex; gap: 26px; opacity: 0.92; }

/* Center trust markers — only visible on wide screens */
.topbar-center {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.78;
  font-size: var(--fs-caption);
  letter-spacing: 0.01em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.topbar-center .trust-item { color: #fff; }
.topbar-center .trust-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-yellow);
}
@media (max-width: 1280px) {
  .topbar-center { display: none; }
}
.topbar-left a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.topbar-left a:hover { color: var(--c-yellow); }
.topbar-left .ti {
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.topbar-left .ti svg {
  width: 18px; height: 18px;
  display: block;
  fill: currentColor;
}
.topbar-left .ti img {
  width: 14px; height: 14px;
  object-fit: contain;
  display: block;
}
.topbar-right { display: flex; gap: 8px; }
.social-chip {
  width: 36px; height: 36px;
  background: var(--c-yellow);
  color: #333333;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  flex-shrink: 0;
}
.social-chip svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
  fill: #333333 !important;
}
.social-chip:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(255, 222, 23, 0.5);
}
.social-chip:hover svg { fill: #333333 !important; }

/* ---- Primary Header / Nav ---- */
.site-header {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  max-width: 1440px;
  background: var(--c-dark);
  border-radius: var(--r-pill);
  padding: 16px 20px 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
  box-shadow: var(--sh-nav);
}
.site-header .brand { display: inline-flex; align-items: center; }
.site-header .brand img {
  height: 60px;
  width: auto;
  display: block;
}

.main-nav { display: flex; align-items: center; gap: 44px; }
.main-nav > a {
  color: #fff;
  font-weight: 500;
  font-size: var(--fs-small);
  padding: 12px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.main-nav > a:hover { color: var(--c-yellow); }
.main-nav > a.is-active { color: var(--c-yellow); }
.main-nav > a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--c-yellow);
  border-radius: 2px;
}

.nav-dd { position: relative; }
.nav-dd > a {
  color: #fff;
  font-weight: 500;
  font-size: var(--fs-small);
  padding: 12px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
}
.nav-dd > a:hover { color: var(--c-yellow); }
.nav-dd > a .dd-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  color: #fff;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-dd > a .dd-caret svg {
  width: 12px;
  height: 12px;
  display: block;
}
.nav-dd:hover > a .dd-caret { transform: rotate(180deg); color: var(--c-yellow); }
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--c-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 10px;
  min-width: 260px;
  box-shadow: var(--sh-nav);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  z-index: 50;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-panel a {
  display: block;
  padding: 11px 18px;
  color: #fff;
  font-size: var(--fs-small);
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-dd-panel a:hover {
  background: rgba(255, 222, 23, 0.1);
  color: var(--c-yellow);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 22px 70px;
  background: var(--c-yellow);
  color: var(--c-dark) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-nav:hover {
  background: #FFE830;
  transform: translateY(-1px);
}
.btn-nav.is-active { background: #FFE830; }

.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.mobile-toggle span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

/* ---- Hero (Startseite) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 200px 0 100px;
  background-color: var(--c-black);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center right;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: #333333;
  background-image: url("video/hero-poster.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
/* On mobile / reduced-motion: hide video, show poster */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-overlay { opacity: 1; }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.45) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 70%, rgba(10,10,10,0.35) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* Hero 2-column grid: content left, lead form right */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 72px;
  align-items: start;
}
.hero-content { max-width: 640px; }
.hero h1 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
}
.hero h1 .acc { color: var(--c-yellow); display: inline-block; line-height: 1.15; padding-bottom: 0.08em; }
.hero p {
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  font-size: var(--fs-lead);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* USP bullet list under the hero lead text */
.hero-usps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 12px;
}
.hero-usps li {
  position: relative;
  padding-left: 32px;
  color: rgba(255,255,255,0.92);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.45;
}
.hero-usps li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-yellow);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Hero Lead Form ---- */
.hero-form {
  background: #fff;
  color: var(--c-dark);
  border-radius: var(--r-xl);
  padding: 32px 32px 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5),
              0 8px 24px -8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-yellow);
}
.hero-form-head { margin-bottom: 22px; }
.hero-form-eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 10px;
}
.hero-form h2 {
  font-size: clamp(1.5rem, 2.3vw, 1.85rem);
  line-height: 1.15;
  color: var(--c-dark);
  margin-bottom: 8px;
}
.hero-form-head p {
  color: var(--c-gray-500);
  font-size: var(--fs-small);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.lead-form { display: grid; gap: 14px; }
.lf-field { display: block; }
.lf-label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.lf-field input,
.lf-select select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-gray-200);
  border-radius: 12px;
  font-family: var(--f-body);
  font-size: var(--fs-small);
  color: var(--c-dark);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.lf-field input:focus,
.lf-select select:focus {
  outline: none;
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(255, 222, 23, 0.18);
}
.lf-field input::placeholder { color: var(--c-gray-400, #B0B0B0); }
.lf-select {
  position: relative;
}
.lf-select::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--c-dark);
  border-bottom: 2px solid var(--c-dark);
  transform: rotate(45deg);
  pointer-events: none;
}
.lf-select select { padding-right: 40px; cursor: pointer; }
.lf-submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.lf-note {
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--c-gray-500);
  margin: 4px 0 0;
  line-height: 1.4;
}
.lf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-caption);
  color: var(--c-gray-500);
  line-height: 1.45;
  cursor: pointer;
  margin-top: 2px;
}
.lf-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-yellow);
  cursor: pointer;
}
.lf-consent a {
  color: var(--c-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lf-consent a:hover { color: var(--c-yellow-hover); }

/* ---- Buttons (premium rebuild) ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-primary {
  background: var(--c-yellow);
  color: var(--c-dark);
  border-color: var(--c-yellow);
  box-shadow: 0 8px 30px -6px rgba(255, 222, 23, 0.55);
}
.btn-primary:hover {
  background: #FFE830;
  border-color: #FFE830;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(255, 222, 23, 0.7);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--c-yellow);
  box-shadow: 0 8px 30px -6px rgba(255, 222, 23, 0.4);
}
.btn-outline:hover {
  background: var(--c-yellow);
  color: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(255, 222, 23, 0.6);
}
.btn-outline:active { transform: translateY(0); }

.btn-dark {
  background: var(--c-dark);
  color: #fff;
  border-color: var(--c-dark);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.3);
}
.btn-dark:hover {
  background: var(--c-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.45);
}

/* ---- Page Hero (Subpages) ---- */
.page-hero {
  position: relative;
  min-height: 520px;
  padding: 250px 0 90px;
  background-color: var(--c-black);
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.35) 55%, rgba(10,10,10,0.15) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 22px; }
.crumb {
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.crumb a { opacity: 0.85; transition: opacity 0.2s var(--ease); }
.crumb a:hover { opacity: 1; color: var(--c-yellow); }
.crumb .sep { opacity: 0.55; }

/* ---- Sections ---- */
/* Spacing tokens for vertical rhythm */
section {
  padding: var(--section-py, 110px) 0;
}
section.tight { --section-py: 80px; }
section.spacious { --section-py: 140px; }
section.dark { background: var(--c-dark); color: #fff; }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.72); }

/* --- Restore dark text inside light cards that live inside .dark sections --- */
/* These cards have white backgrounds, so the section's white text color would render invisible. */
section.dark .service-card-body h3,
section.dark .why-card h3,
section.dark .team-card h3 { color: var(--c-dark); }
section.dark .service-card-body p,
section.dark .why-card p { color: var(--c-gray-500); }
section.dark .team-card .role { color: var(--c-gray-500); }
section.gray { background: var(--c-gray-100); }

.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 0; }

/* Eyebrow gets a small yellow accent line as visual anchor */
.section-head .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-head .eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--c-yellow);
  border-radius: 2px;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head .eyebrow.muted::before {
  background: var(--c-gray-400, #B8B8B0);
}

/* ---- Home Service Grid ---- */
#leistungen .container { max-width: 1500px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.services-grid.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  aspect-ratio: 1 / 1.42;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-dark);
  display: grid;
  grid-template-rows: 1fr 218px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
}
.service-card-img {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card::before { content: none; }
.service-card .service-icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 56px; height: 56px;
  background: var(--c-yellow);
  color: var(--c-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 14px 28px rgba(255, 222, 23, 0.4);
}
.service-card .service-icon img { width: 30px; height: 30px; object-fit: contain; display: block; }
.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: var(--c-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card-body {
  position: relative;
  z-index: 2;
  background: var(--c-dark);
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 {
  margin-bottom: 12px;
  letter-spacing: 0.005em;
  color: #fff;
  line-height: 1.25;
}
.service-card-body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin: 0;
}

/* ---- About (Home teaser + Über-Uns) ---- */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual .main {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background-size: cover;
  background-position: center;
  box-shadow: var(--sh-card-lg);
}
.about-visual .sub {
  position: absolute;
  right: -36px; bottom: -36px;
  width: 48%;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background-size: cover;
  background-position: center;
  border: 6px solid #fff;
  box-shadow: var(--sh-card-lg);
}
.about-visual .dots {
  position: absolute;
  top: 40px; right: -40px;
  width: 180px; height: 220px;
  background-image: radial-gradient(circle, var(--c-gray-300) 1.5px, transparent 2px);
  background-size: 14px 14px;
  z-index: -1;
  opacity: 0.7;
}
.about-text h2 { margin-bottom: 28px; max-width: 600px; }
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--c-dark); font-weight: 600; }

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  margin: 36px 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--c-dark);
  font-size: var(--fs-small);
}
.check::before {
  content: '';
  display: inline-flex;
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-yellow);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Override check color on dark sections */
section.dark .check { color: #fff; }
section.dark .about-text strong { color: #fff; }

/* ---- Partner Section (Startseite) ---- */
.partners { padding-top: 50px; padding-bottom: 50px; background: var(--c-gray-100); }
.partners-label {
  text-align: center;
  font-family: var(--f-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 32px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.partner-logo {
  width: 100%;
  max-width: 180px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(40%);
  opacity: 0.78;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---- Placeholder for missing images ---- */
.img-placeholder {
  background:
    linear-gradient(135deg, rgba(255,222,23,0.08) 0%, rgba(28,28,30,0.04) 100%),
    repeating-linear-gradient(45deg, rgba(28,28,30,0.06) 0 12px, transparent 12px 24px);
  background-color: #EDEDE8;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--c-gray-500);
  font-family: var(--f-display);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.img-placeholder::before {
  content: "Bild folgt";
  opacity: 0.55;
}

/* ---- Ablauf / 3 Schritte ---- */
.ablauf {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: start;
  gap: 0;
}
.step { text-align: center; padding: 0 12px; }
.step-badge {
  width: 112px; height: 132px;
  margin: 0 auto 32px;
  border-radius: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--f-display);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.step:hover .step-badge {
  transform: translateY(-6px) rotate(-3deg);
  box-shadow: 0 18px 32px -8px rgba(0, 0, 0, 0.25);
}
.step-badge.yellow { background: var(--c-yellow); color: var(--c-dark); }
.step-badge.red    { background: var(--c-red);    color: #fff; }
.step-badge.blue   { background: var(--c-blue);   color: #fff; }
.step-badge svg,
.step-badge .s-icon {
  width: 40px; height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.step-badge img { width: 46px; height: 46px; object-fit: contain; display: block; }
.step-badge.red img,
.step-badge.blue img { filter: brightness(0) invert(1); }
.step-badge .s-num {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
}
.step h3 { margin-bottom: 14px; font-size: var(--fs-h3); }
.step p { color: var(--c-gray-500); font-size: var(--fs-small); }

.step-arrow {
  align-self: start;
  margin-top: 50px;
  width: 130px;
  height: 60px;
}
.step-arrow svg { width: 100%; height: 100%; overflow: visible; }

/* ---- CTA banner (Sie haben Fragen?) ---- */
.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--c-dark);
  border-radius: var(--r-xl);
  min-height: 280px;
  margin-top: 90px;
}
.cta-banner-img {
  background-size: cover;
  background-position: center;
  position: relative;
  border-top-left-radius: var(--r-xl);
  border-bottom-left-radius: var(--r-xl);
  overflow: hidden;
}
.cta-banner .phone-chip {
  position: absolute;
  left: 360px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  background: var(--c-yellow);
  color: var(--c-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.cta-banner .phone-chip svg,
.cta-banner .phone-chip img {
  width: 36px;
  height: 36px;
  display: block;
}
.cta-banner-body { padding: 56px 68px; color: #fff; }
.cta-banner-body h2 { color: #fff; margin-bottom: 24px; font-size: 2.4rem; line-height: 1.1; }
.cta-banner-body .cta-phone {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cta-banner-body .cta-phone .label { color: var(--c-yellow); }
.cta-banner-body .cta-phone a { color: inherit; text-decoration: none; }
.cta-banner-body .cta-phone a:hover { color: var(--c-yellow); }
.cta-banner-body p { color: rgba(255,255,255,0.72); max-width: 540px; }

/* ---- Why Sohetec 4 cards ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  color: var(--c-dark);
  padding: 38px 30px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card-lg);
}
.why-card .why-icon {
  width: 64px; height: 64px;
  color: var(--c-yellow);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-out);
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }
.why-card .why-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.why-card .why-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.why-card h3 { margin-bottom: 12px; font-size: var(--fs-h3); }
.why-card p { color: var(--c-gray-500); font-size: var(--fs-small); line-height: 1.65; }

/* ---- Contact row (3 cards, on dark) ---- */
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 70px 0 60px;
}
.contact-row.has-border-top { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 80px; }
.contact-block {
  display: flex;
  align-items: center;
  gap: 22px;
}
.contact-ic {
  width: 72px; height: 72px;
  background: var(--c-yellow);
  color: var(--c-dark);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-ic img { width: 30px; height: 30px; object-fit: contain; display: block; }
.contact-block .h {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  color: #fff;
  margin-bottom: 2px;
}
.contact-block .v { color: rgba(255,255,255,0.78); font-size: var(--fs-small); }

/* ---- Footer ---- */
.site-footer {
  background: var(--c-dark);
  color: #fff;
  position: relative;
  padding: 0 0 30px;
  overflow: hidden;
}

/* Dezentes Solar-Panel + Windmill SVG-Pattern als Hintergrund */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/footer-pattern.svg');
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Footer-Inhalte über dem Pattern */
.site-footer .container,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.95fr;
  gap: 60px;
  padding: 30px 0 60px;
}
.footer-brand img { height: 72px; width: auto; }
.footer-logo { display: inline-block; margin-bottom: 26px; transition: opacity 0.2s var(--ease); }
.footer-logo:hover { opacity: 0.82; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: var(--fs-small); line-height: 1.7; }
.footer-socials { margin-top: 26px; display: flex; gap: 14px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,222,23,0.3);
  color: var(--c-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.footer-socials a svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-socials a:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-dark);
}
.footer-col h4 {
  font-family: var(--f-display);
  color: #fff;
  margin-bottom: 28px;
  font-size: var(--fs-h3);
  letter-spacing: 0;
}
.footer-col li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-small);
}
.footer-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--c-yellow);
  border-radius: 50%;
}
.footer-col a { color: rgba(255,255,255,0.82); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--c-yellow); }

.footer-bottom {
  background: var(--c-yellow);
  color: var(--c-dark);
  border-radius: var(--r-pill);
  padding: 22px 40px;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 500;
}
.footer-bottom a { text-decoration: underline; font-weight: 600; }

/* ---- Benefits Grid (6 items, on dark) ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 80px;
}
.benefit {
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.benefit:hover { transform: translateY(-4px); }
.benefit-icon {
  width: 56px; height: 56px;
  color: var(--c-yellow);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-out), color 0.3s var(--ease);
}
.benefit:hover .benefit-icon { transform: scale(1.12) rotate(-5deg); }
.benefit-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }
.benefit-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.benefit h3 { color: #fff; margin-bottom: 14px; font-size: var(--fs-h3); }
.benefit p { color: rgba(255,255,255,0.72); font-size: var(--fs-small); line-height: 1.7; }

/* ---- Split Section (alternating text / image) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.split.img-left  { grid-template-columns: 1fr 1fr; }
.split.img-right { grid-template-columns: 1fr 1fr; }
.split-img {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  background-size: cover;
  background-position: center;
  box-shadow: var(--sh-card);
}
.split-img.tall { aspect-ratio: 4 / 5; }
.split-img.square { aspect-ratio: 1 / 1; max-width: 560px; }
.split-text h2 { margin-bottom: 28px; }
.split-text > p + p { margin-top: 18px; }

.planning-list { margin-top: 28px; }
.planning-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--c-dark);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.planning-list li::before {
  content: '';
  flex-shrink: 0;
  width: 28px; height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c-yellow);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-left: 3px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item.is-open {
  border-left-color: var(--c-yellow);
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.faq-item.is-open { background: var(--c-yellow); }
.faq-question {
  width: 100%;
  padding: 24px 32px;
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}
.faq-question .caret {
  flex-shrink: 0;
  width: 22px; height: 22px;
  transition: transform 0.3s var(--ease);
}
.faq-question .caret svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.2; }
.faq-item.is-open .faq-question .caret { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer-in {
  padding: 0 32px 26px;
  color: var(--c-gray-700);
  line-height: 1.7;
}
.faq-item.is-open .faq-answer-in { color: rgba(14,14,14,0.78); }

/* ---- Team (Über Uns) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 840px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card .team-img {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background-size: cover;
  background-position: center;
  margin-bottom: 28px;
  box-shadow: var(--sh-card);
}
.team-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.team-card .role {
  color: var(--c-gray-500);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ---- Kontakt-Formular ---- */
.contact-section {
  position: relative;
  padding: 140px 0;
  background-size: cover;
  background-position: center;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.1) 100%);
}
.contact-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}
.contact-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 60px 58px;
  max-width: 580px;
  width: 100%;
  box-shadow: var(--sh-card-lg);
}
.contact-card .eyebrow { color: var(--c-gray-500); margin-bottom: 10px; text-align: center; width: 100%; display: block; }
.contact-card h2 { text-align: center; margin-bottom: 42px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-dark);
  font-size: var(--fs-small);
}
.form-group label .req { color: var(--c-yellow); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-gray-300);
  border-radius: 10px;
  background: #fff;
  color: var(--c-dark);
  font-size: var(--fs-small);
  font-family: inherit;
  transition: border-color 0.25s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-yellow);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row .sub-label {
  font-size: var(--fs-caption);
  font-weight: 400;
  color: var(--c-gray-500);
  margin-top: 6px;
}
.form-btn {
  background: var(--c-yellow);
  color: var(--c-dark);
  padding: 15px 44px;
  border-radius: 6px;
  font-weight: 700;
  font-size: var(--fs-small);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
}
.form-btn:hover { background: var(--c-dark); color: var(--c-yellow); }

/* ---- Status Messages ---- */
.status {
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 500;
}
.status.success { background: #E7F5E0; color: #2F6B20; border: 1px solid #AFD39A; }
.status.error { background: #FCE7E7; color: #8B1A1A; border: 1px solid #E6A6A6; }

/* ---- Utility: prose (Impressum / Datenschutz) ---- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; line-height: 1.8; }
.prose a { color: var(--c-dark); text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero-form { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-split,
  .split { grid-template-columns: 1fr; gap: 50px; }
  .about-visual .sub { right: -10px; bottom: -10px; }
  .ablauf { grid-template-columns: 1fr; gap: 50px; }
  .step-arrow { display: none; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner-img { min-height: 220px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .cta-banner .phone-chip {
    left: 50%;
    top: 220px;
    transform: translate(-50%, -50%);
  }
  .contact-row { grid-template-columns: 1fr; gap: 28px; }
  .contact-section .container { justify-content: center; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-logos { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .partner-logo { max-width: 130px; height: 56px; }
}

@media (max-width: 820px) {
  .topbar { padding: 16px 20px; font-size: var(--fs-caption); }
  .topbar-left { gap: 18px; }
  .topbar-left a span.hide-sm { display: none; }

  .site-header {
    top: 60px;
    width: calc(100% - 24px);
    padding: 12px 14px 12px 22px;
    border-radius: 36px;
  }
  .site-header .brand img { height: 46px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    background: var(--c-dark);
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 26px;
    gap: 16px;
    display: none;
    box-shadow: var(--sh-nav);
  }
  .main-nav.open { display: flex; }
  /* Ganze Zeile klickbar: Links über volle Breite mit Padding */
  .main-nav > a,
  .nav-dd > a {
    display: block;
    width: 100%;
    padding: 12px 8px;
    border-radius: 10px;
  }
  .nav-dd { width: 100%; }
  .nav-dd > a { display: flex; align-items: center; justify-content: space-between; }
  .main-nav .btn-nav { width: 100%; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
  .nav-dd-panel {
    display: none;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-top: 4px;
    margin-left: 8px;
    min-width: 0;
  }
  .nav-dd.open .nav-dd-panel {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  /* Hover/Fokus öffnet auf Touch nichts ungewollt */
  .nav-dd:hover .nav-dd-panel,
  .nav-dd:focus-within .nav-dd-panel {
    transform: none;
  }
  .nav-dd.open > a .dd-caret { transform: rotate(180deg); color: var(--c-yellow); }
  .nav-dd-panel a { display: block; width: 100%; padding: 11px 8px; border-radius: 10px; font-size: 15px; }
  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 180px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-form { padding: 26px 22px 22px; }
  .hero-form h2 { font-size: 1.5rem; }
  .hero-usps { gap: 10px; margin-bottom: 28px; }
  .hero-usps li { font-size: var(--fs-small); }
  .page-hero { min-height: 380px; padding: 200px 0 60px; }
  section { padding: 72px 0; }
  h2 { font-size: 2rem; }
  .cta-banner-body { padding: 42px 28px 32px; }
  .cta-banner-body h2 { font-size: 1.7rem; }
  .cta-banner-body .cta-phone { font-size: var(--fs-h3); }
  .contact-card { padding: 38px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .why-grid, .benefits-grid, .services-grid { grid-template-columns: 1fr; }
  .partner-logos { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .partner-logo { height: 44px; max-width: 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { padding: 18px 24px; font-size: var(--fs-caption); }
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
/* Default: visible. JS adds .js-reveal class to <html> once ready;
   only then are .reveal elements initially hidden. This guarantees
   that without JS (or during JS load) content is always readable. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Variant: slide from left (good for split-text blocks) */
.js-reveal .reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js-reveal .reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

/* Variant: slide from right (good for split-images) */
.js-reveal .reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js-reveal .reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* Variant: scale-in with fade (for hero badges, icon-led elements) */
.js-reveal .reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js-reveal .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Variant: just fade (for subtle prose without movement) */
.js-reveal .reveal-fade {
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.js-reveal .reveal-fade.is-visible {
  opacity: 1;
}

/* Card hover lift — used together with the JS reveal */
.service-card,
.benefit,
.why-card,
.team-card,
.faq-item,
.partner-logo {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Bigger image zoom on hover for service cards (already had 1.04, bump it) */
.service-card:hover .service-card-img { transform: scale(1.06); }

/* Subtle background-image parallax for hero (CSS-only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-video {
    will-change: transform;
  }
}

/* Number counter for key-points (animated count via CSS counter-set) */
.kp-num {
  display: inline-block;
}
.js-reveal .kp.reveal .kp-num {
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--rd, 0ms) + 120ms);
}
.js-reveal .kp.reveal.is-visible .kp-num {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .reveal-left,
  .js-reveal .reveal-right,
  .js-reveal .reveal-scale,
  .js-reveal .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Leistungsseiten Intro (new structured intro block) ---- */
.intro-block { padding-top: 30px; padding-bottom: 30px; }
.intro-block .eyebrow { margin-bottom: 18px; }
.intro-block h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  margin-bottom: 26px;
  max-width: 18ch;
}
.intro-block .lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: var(--c-dark);
  max-width: 58ch;
  margin-bottom: 32px;
}
.intro-block .key-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--c-gray-200);
}
.intro-block .key-points .kp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.intro-block .key-points .kp-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--c-dark);
  letter-spacing: -0.02em;
}
.intro-block .key-points .kp-label {
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--c-dark);
}
.intro-block .key-points .kp-desc {
  font-size: var(--fs-small);
  color: var(--c-gray-500);
  line-height: var(--lh-loose);
}
@media (max-width: 820px) {
  .intro-block .key-points { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================
   BRAND THEME COLORS PER LEISTUNGSBEREICH
   Each service area gets its own brand color
   Applied via .theme-{name} class on cards or page <body>
   ============================================ */

/* Alle Leistungsbereiche: einheitlich Gelb */
.theme-heizung {
  --theme-color: var(--c-yellow);
  --theme-color-soft: rgba(255, 222, 23, 0.14);
}

.theme-sanitaer {
  --theme-color: var(--c-yellow);
  --theme-color-soft: rgba(255, 222, 23, 0.14);
}

/* Solar = Sonne = GELB (default, but explicit) */
.theme-solar {
  --theme-color: var(--c-yellow);
  --theme-color-soft: rgba(255, 222, 23, 0.14);
}

.theme-wartung {
  --theme-color: var(--c-yellow);
  --theme-color-soft: rgba(255, 222, 23, 0.14);
}

/* Apply theme color to service-card icon badge */
.service-card.theme-heizung .service-icon,
.service-card.theme-sanitaer .service-icon,
.service-card.theme-solar .service-icon,
.service-card.theme-wartung .service-icon {
  background: var(--theme-color);
}

/* Service-card icons: einheitlich dunkel auf Gelb */
.service-card:hover .service-icon { box-shadow: 0 14px 28px rgba(255, 222, 23, 0.4); }

/* Body-scoped theme: applies to whole Leistungs-Unterseite via <body class="theme-*"> */
body.theme-heizung .eyebrow,
body.theme-sanitaer .eyebrow,
body.theme-solar .eyebrow,
body.theme-wartung .eyebrow {
  color: var(--theme-color);
}

/* Eyebrow muted stays gray everywhere (subtle context label) */
body.theme-heizung .eyebrow.muted,
body.theme-sanitaer .eyebrow.muted,
body.theme-solar .eyebrow.muted,
body.theme-wartung .eyebrow.muted {
  color: var(--c-gray-500);
}


/* Hero accent strip — a 2px line under the H1 on subpages */
body.theme-heizung .page-hero h1::after,
body.theme-sanitaer .page-hero h1::after,
body.theme-solar .page-hero h1::after,
body.theme-wartung .page-hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--theme-color);
  margin-top: 22px;
  border-radius: 2px;
}

/* Benefit icons on Leistungsseiten: use theme color */
body.theme-heizung .benefit-icon,
body.theme-sanitaer .benefit-icon,
body.theme-solar .benefit-icon,
body.theme-wartung .benefit-icon {
  color: var(--theme-color);
}

/* FAQ caret on Leistungsseiten: use theme color */
body.theme-heizung .faq-item.is-open .caret,
body.theme-sanitaer .faq-item.is-open .caret,
body.theme-solar .faq-item.is-open .caret,
body.theme-wartung .faq-item.is-open .caret {
  color: var(--theme-color);
}


/* ============================================
   FLOATING CONTACT BUTTONS (bottom-right, sticky)
   ============================================ */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fc-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3),
              0 4px 10px -2px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.fc-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.4),
              0 6px 14px -3px rgba(0, 0, 0, 0.25);
}
.fc-btn svg { width: 26px; height: 26px; display: block; }
.fc-whatsapp { background: #25D366; color: #fff; }
.fc-call { background: var(--c-yellow); color: var(--c-dark); }

/* Subtle pulse animation on WhatsApp to draw eye */
.fc-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  opacity: 0.55;
  animation: fc-pulse 2.4s ease-out infinite;
}
.fc-whatsapp { position: relative; isolation: isolate; }
@keyframes fc-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-whatsapp::before { animation: none; }
}
@media (max-width: 820px) {
  .floating-contact { bottom: 16px; right: 16px; gap: 10px; }
  .fc-btn { width: 50px; height: 50px; }
  .fc-btn svg { width: 22px; height: 22px; }
}

/* ============================================
   STATS BAND (Über Uns) — dunkle Zahlen-Leiste
   ============================================ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.stats-band .kp-num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 12px;
}
.stats-band .kp-label {
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-small);
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 560px) {
  .stats-band { grid-template-columns: 1fr; gap: 32px; }
}

/* Team-Card Beschreibungstext */
.team-card p {
  margin-top: 14px;
  color: var(--c-gray-500);
  font-size: var(--fs-small);
  line-height: 1.65;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LEISTUNGSSEITEN POLISH
   ============================================ */

/* Key-Points als Karten */
.intro-block .key-points .kp {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  border-top: 3px solid var(--c-yellow);
}
body.theme-heizung .intro-block .kp,
body.theme-sanitaer .intro-block .kp,
body.theme-solar .intro-block .kp,
body.theme-wartung .intro-block .kp {
  border-top-color: var(--c-yellow);
}

/* Benefits (dunkle Section) als abgesetzte Karten */
.benefits-grid .benefit {
  background: var(--c-dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 34px 30px;
}
.benefits-grid .benefit:hover {
  border-color: rgba(255,222,23,0.35);
}
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,222,23,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.benefit-icon img,
.benefit-icon svg { width: 32px; height: 32px; }

/* Split-Bilder: dezenter gelber Versatz-Rahmen */
.split-img { position: relative; }
.split-img::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid rgba(255,222,23,0.45);
  border-radius: var(--r-xl);
  z-index: -1;
}
.split.img-left .split-img::before {
  inset: 18px 18px -18px -18px;
}

/* FAQ-Frage etwas luftiger */
.faq-question { padding: 22px 26px; }
.faq-answer-in { padding: 0 26px 22px; }
.split-img { z-index: 0; }
@media (max-width: 820px) {
  .split-img::before { display: none; }
}

/* ============================================
   RESPONSIVE FEINSCHLIFF (Gesamtseite)
   ============================================ */

/* Gestackte Splits: Bilder zentrieren */
@media (max-width: 1100px) {
  .split-img.square { margin: 0 auto; }
  .split-img { max-width: 640px; margin-left: auto; margin-right: auto; width: 100%; }
}

/* Schmale Phones */
@media (max-width: 560px) {
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero { padding: 170px 0 50px; min-height: 320px; }
  .crumb { font-size: var(--fs-micro); }
  .intro-block .key-points .kp { padding: 22px 20px; }
  .benefits-grid .benefit { padding: 26px 22px; }
  .section-head { margin-bottom: 44px; }
  .cta-banner-body h2 { font-size: 1.5rem; }
  .cta-banner-body .cta-phone { font-size: 1.1rem; }
  .hero-form { padding: 24px 18px 20px; }
  .stats-band .kp-num { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .topbar { padding: 12px 16px; }
  .topbar-left { gap: 14px; }
}

/* Sehr schmale Geräte */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.85rem; }
  .btn { padding: 16px 28px; font-size: 15px; }
}

/* ============================================
   LEISTUNGSSEITEN LANDING-HERO
   ============================================ */
.leistung-hero {
  min-height: auto;
  padding: 190px 0 100px;
}
.leistung-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay-static {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,0.86) 0%, rgba(20,20,20,0.66) 50%, rgba(20,20,20,0.5) 100%),
    linear-gradient(180deg, rgba(20,20,20,0.4) 0%, rgba(20,20,20,0.05) 35%, rgba(20,20,20,0.05) 65%, rgba(20,20,20,0.45) 100%);
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--c-yellow);
  border-radius: 2px;
}
@media (max-width: 820px) {
  .leistung-hero { padding: 160px 0 70px; }
}
.hero-content.hero-solo { max-width: 760px; }

/* Leistungs-Hero: vollflächig + zentriert */
.leistung-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 170px 0 90px;
}
.leistung-hero .container { width: 100%; }
.leistung-hero .hero-content.hero-solo {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.leistung-hero .hero-content.hero-solo p {
  margin-left: auto;
  margin-right: auto;
}
.leistung-hero .hero-eyebrow::before { display: none; }
.leistung-hero .hero-usps {
  display: inline-grid;
  text-align: left;
  margin-bottom: 40px;
}
.leistung-hero .hero-ctas { justify-content: center; }
/* Zentriertes Layout: symmetrisches Overlay statt links-lastig */
.leistung-hero .hero-overlay-static {
  background:
    linear-gradient(180deg, rgba(20,20,20,0.62) 0%, rgba(20,20,20,0.55) 40%, rgba(20,20,20,0.55) 70%, rgba(20,20,20,0.7) 100%);
}
@media (max-width: 820px) {
  .leistung-hero { min-height: auto; padding: 150px 0 60px; }
}

/* ============================================
   INFO-CARDS (Wissenswertes-Blöcke)
   ============================================ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.info-card {
  background: var(--c-gray-100);
  border-radius: var(--r-lg);
  padding: 40px 38px;
  border-left: 4px solid var(--c-yellow);
}
.info-card h3 {
  margin-bottom: 14px;
  font-size: var(--fs-h3);
}
.info-card p {
  color: var(--c-gray-700);
  font-size: var(--fs-body);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 1100px) {
  .info-cards { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .info-card { padding: 28px 24px; }
}

/* Prose: zusätzliche Ebenen für Rechtstexte */
.prose h3 { margin-top: 36px; margin-bottom: 12px; font-size: 1.3rem; }
.prose h4 { margin-top: 26px; margin-bottom: 10px; font-size: 1.05rem; }
.prose ul { margin: 0 0 18px 22px; }
.prose ul li { margin-bottom: 10px; line-height: 1.7; color: var(--c-gray-700); }
.prose ul li::marker { color: var(--c-yellow); }

/* ============================================================
   MOBILE-PASS (Komplett-Überarbeitung Handy-Ansicht)
   Diese Regeln stehen am Dateiende und überschreiben Altlasten.
   ============================================================ */

@media (max-width: 820px) {

  /* --- Topbar komplett weg, Header rückt hoch --- */
  .topbar { display: none; }
  .site-header { top: 14px; }

  /* --- Heros: Offset an fehlende Topbar angepasst --- */
  .hero { padding: 130px 0 60px; }
  .leistung-hero { padding: 122px 0 56px; }
  .page-hero { padding: 130px 0 50px; min-height: 300px; }

  /* --- Startseiten-Hero zentrieren --- */
  .hero-content { text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-eyebrow::before { display: none; }
  .hero-usps {
    display: inline-grid;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 br { display: none; }
  .hero-form { margin: 0 auto; width: 100%; }

  /* --- Sektionen: kompakterer Rhythmus --- */
  section { --section-py: 64px; }
  section.tight { --section-py: 48px; }
  .container, .container-sm { padding: 0 20px; }

  /* --- Headings: Umbrüche & Zentrierung --- */
  h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; }
  section > .container > .section-head,
  section > .container-sm > .section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  section > .container > .section-head .eyebrow,
  section > .container-sm > .section-head .eyebrow {
    justify-content: center;
  }

  /* --- Service-Cards: untereinander, natürliche Höhe --- */
  .services-grid,
  .services-grid.services-grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .service-card {
    aspect-ratio: auto;
    grid-template-rows: 200px auto;
  }
  .service-card-body { padding: 24px; }

  /* --- Splits kompakter --- */
  .split { gap: 36px; }
  .split-text .section-head { margin-bottom: 24px; }

  /* --- Grids: Abstände --- */
  .why-grid, .benefits-grid, .info-cards { gap: 16px; }
  .key-points { gap: 16px; }

  /* --- Buttons: volle Breite, zentriert --- */
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero-ctas .btn { text-align: center; justify-content: center; }

  /* --- Footer: Kontaktblöcke untereinander, alles mittig --- */
  .contact-row {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }
  .contact-block { justify-content: flex-start; text-align: left; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    text-align: left;
    padding: 24px 0 36px;
  }
  .footer-brand { grid-column: 1 / -1; text-align: left; }
  .footer-brand p { margin-left: 0; margin-right: 0; max-width: 100%; }
  .footer-socials { justify-content: flex-start; }
  .footer-col li { justify-content: flex-start; }
  .footer-col ul { display: block; text-align: left; }

  /* --- CTA-Banner Text zentriert --- */
  .cta-banner-body { text-align: center; padding: 60px 24px 36px; }
  .cta-banner-body p { margin-left: auto; margin-right: auto; }

  /* --- RF-Section / Über-Uns --- */
  .stats-band { text-align: center; }
  .team-card p { max-width: 100%; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2rem; }
  .leistung-hero h1 { font-size: 2rem; }
  .hero p, .leistung-hero p { font-size: 16px; }
  .service-card { grid-template-rows: 180px auto; }
  .split { gap: 28px; }
  .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-form .btn, .lf-submit { width: 100%; }
  .step h3 { font-size: 1.2rem; }
  .faq-question { padding: 18px 18px; font-size: 15px; }
  .faq-answer-in { padding: 0 18px 18px; }
}

/* ============================================
   SERVICE-CARDS PREMIUM-HOVER
   ============================================ */
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.22);
}
.service-card:hover .service-card-img {
  transform: scale(1.07);
}

/* Gelbe Linie wächst über die Body-Oberkante */
.service-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--c-yellow);
  transition: width 0.5s var(--ease);
}
.service-card:hover .service-card-body::before { width: 100%; }

/* Mehr-erfahren-Zeile */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--c-yellow);
}
.card-more svg {
  transition: transform 0.3s var(--ease);
}
.service-card:hover .card-more svg {
  transform: translateX(6px);
}

/* Badge reagiert mit */
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-8deg);
}
.service-icon { transition: transform 0.35s var(--ease); }

/* Mobile: Body wächst eh natürlich, Zeile braucht keinen auto-Push */
@media (max-width: 820px) {
  .service-card { aspect-ratio: auto; }
  .card-more { margin-top: 14px; padding-top: 0; }
}

/* ============================================
   LESBARKEIT: Gelbe Labels auf hellen Flächen -> Grau
   Auf dunklen Flächen (Heros, dark-Sections, Footer) bleibt Gelb.
   ============================================ */
.eyebrow { color: var(--c-gray-500); }
.eyebrow::before { background: var(--c-gray-500); }

/* Dunkle Kontexte: Gelb beibehalten */
section.dark .eyebrow,
.site-footer .eyebrow,
.hero .eyebrow,
.hero-eyebrow,
.cta-banner .eyebrow {
  color: var(--c-yellow);
}
section.dark .eyebrow::before,
.hero-eyebrow::before {
  background: var(--c-yellow);
}

/* Formular: Label-Zeile in Grau statt Gelb */
.hero-form-eyebrow { color: var(--c-gray-500); }
/* Strich vor Eyebrow folgt der Textfarbe-Logik */
.section-head .eyebrow::before { background: var(--c-gray-500); }
section.dark .section-head .eyebrow::before { background: var(--c-yellow); }

/* Karten in einer Reihe: identische Body-Höhe, Mehr-erfahren immer unten */
@media (max-width: 820px) {
  .service-card { grid-template-rows: 200px auto; }
}
@media (max-width: 560px) {
  .service-card { grid-template-rows: 180px auto; }
}

/* ============================================
   MOBILE: Splits stapeln mit Text zuerst,
   Bilder kompakter, Team-Placeholder begrenzt
   ============================================ */
@media (max-width: 1100px) {
  .split .split-text { order: 1; }
  .split .split-img { order: 2; }
}
@media (max-width: 820px) {
  .split-img,
  .split-img.tall { aspect-ratio: 16 / 11; }
  .split-img.square { aspect-ratio: 1 / 1; max-width: 420px; }
  .team-card .team-img {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .stats-band { gap: 32px; }
}

/* ============================================
   COOKIE-BANNER (zentriertes Modal)
   ============================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-overlay[hidden] { display: none; }
.cookie-modal {
  background: var(--c-dark);
  color: #fff;
  border-radius: var(--r-xl);
  max-width: 560px;
  width: 100%;
  padding: 40px 38px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.cookie-modal h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.cookie-modal > p {
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-small);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cookie-cat { margin-bottom: 24px; }
.cookie-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--c-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.85);
}
.cookie-row input {
  accent-color: var(--c-yellow);
  margin-top: 3px;
  flex-shrink: 0;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-actions .btn { flex: 1; justify-content: center; text-align: center; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.cookie-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.cookie-links a {
  color: rgba(255,255,255,0.55);
  font-size: var(--fs-caption);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-links a:hover { color: var(--c-yellow); }
.footer-bottom #cookieSettingsLink { margin-left: 10px; }
@media (max-width: 560px) {
  .cookie-modal { padding: 28px 22px 24px; }
  .cookie-actions { flex-direction: column; }
}

/* ============================================
   FIX: Splits stapeln mobil zuverlässig
   (.img-left/.img-right haben höhere Spezifität
   als der alte .split-Override und blieben 2-spaltig)
   ============================================ */
@media (max-width: 1100px) {
  .split,
  .split.img-left,
  .split.img-right {
    grid-template-columns: 1fr;
  }
}

/* Formular-Feedback */
.lf-feedback {
  margin-top: 14px;
  font-size: var(--fs-small);
  line-height: 1.55;
  display: none;
}
.lf-feedback.is-success,
.lf-feedback.is-error { display: block; }
.lf-feedback.is-success {
  color: #1d6b3a;
  background: rgba(46, 160, 90, 0.12);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.lf-feedback.is-error {
  color: #b23b2e;
  background: rgba(214, 70, 54, 0.10);
  border-radius: var(--r-md);
  padding: 12px 14px;
}

/* ============================================================
   DYNAMISCHER HEADER (Mobile/Tablet, wenn Burger aktiv)
   Versteckt beim Runterscrollen, erscheint beim Hochscrollen
   ============================================================ */
@media (max-width: 820px) {
  .site-header {
    position: fixed;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    will-change: transform;
  }
  .site-header.header-hidden {
    transform: translateX(-50%) translateY(-160%);
    opacity: 0;
    pointer-events: none;
  }
}

/* ============================================================
   MOBILE HERO: Video nur oben, Formular auf solidem Grund
   ============================================================ */
@media (max-width: 820px) {
  /* Solider dunkler Hintergrund für den gesamten Hero */
  .hero { background-color: #1a1a1a; }

  /* Video nur im oberen Bereich, nicht über die gestapelte Höhe gestreckt */
  .hero-video {
    height: 60vh;
    max-height: 500px;
    bottom: auto;
  }
  /* Weicher Verlauf vom Video in den dunklen Grund (eigenes Element,
     damit die Poster-Overlay für reduced-motion unberührt bleibt) */
  .hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 60vh;
    max-height: 500px;
    background: linear-gradient(180deg, rgba(20,20,20,0.12) 0%, rgba(20,20,20,0.5) 68%, #1a1a1a 100%);
    z-index: 1;
    pointer-events: none;
  }
  /* Poster-Overlay (reduced-motion) ebenfalls nur oben */
  .hero-overlay {
    height: 60vh;
    max-height: 500px;
    bottom: auto;
  }
  /* Content und Formular über dem Verlauf */
  .hero-content, .hero-form {
    position: relative;
    z-index: 2;
  }
}

/* Zeilenumbruch nur auf Mobile (z.B. R&F-Überschrift "Webseite") */
.br-mobile { display: none; }
@media (max-width: 820px) {
  .br-mobile { display: inline; }
}
