/* =====================================================================
   Henbo – Local Services (Nachbau des Elementor Template Kits)
   Farben & Typografie entsprechen den globalen Kit-Einstellungen:
   primary #0F172A · secondary #F8FAFC · text #475569 · accent #1C7CAC
   Headings: Poppins 600 · Body: Inter 400
   ===================================================================== */

:root {
  --primary: #0F172A;
  --secondary: #F8FAFC;
  --text: #475569;
  --accent: #1C7CAC;
  --accent-soft: rgba(28, 124, 172, .05);
  --line: #DDDDDD;
  --white: #FFFFFF;
  --star: #F5A623;
  --radius: 15px;
  --container: 1420px;
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis (Smooth Scrolling) übernimmt das Scrollen, natives smooth-scroll dann aus */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--secondary);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 10px; }
svg { width: 1em; height: 1em; fill: currentColor; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 0 0 20px;
}
h1 { font-size: 2.812rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.625rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  padding: 13px 24px;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  transition: background .3s;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--primary); }
.btn-block { display: block; width: 100%; text-align: center; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  transition: color .3s;
}
.link-more svg { width: 14px; height: 14px; }
.link-more:hover { color: var(--accent); }
.link-more.light { color: var(--white); border-color: var(--white); }
.link-more.light:hover { color: var(--accent); }

/* ---------- Labels, Cards ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.label svg { width: 16px; height: 16px; }
.label.light { color: var(--white); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(15, 23, 42, .06);
}
.card-outline {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.section-head { margin-bottom: 50px; }
.section-head h2 { max-width: 640px; }
.section-head p { margin-bottom: 0; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.center p { max-width: 840px; }
.section-head.center h2 { max-width: 800px; margin-bottom: 20px; }
.section-head.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.section-head.split h2 { margin-bottom: 0; }
.section-head-side { padding-top: 6px; }
.section-head-side p { margin-bottom: 20px; }
.section-head-side .link-more { margin-top: 4px; }

/* ---------- Formulare ---------- */
.form input, .form textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--primary);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 8px;
  outline: 0;
  resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: var(--primary); opacity: .9; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 60px; }
.form .btn { margin-top: 20px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 15px 10px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
/* Beim Scrollen: dunkler Hintergrund, kompakter */
.site-header.is-scrolled {
  background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding-top: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header.is-scrolled .header-inner { padding: 6px 10px; }
.site-header.is-scrolled .logo img { width: 260px; }
.logo img { transition: width .3s; }
/* Ankerziele nicht unter dem Header verschwinden lassen */
[id] { scroll-margin-top: 90px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
}
.logo img { width: 340px; }

.main-nav .nav-mobile-head { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  height: 45px;
  padding: 5px 2px;
  border-radius: 50px;
  background: rgba(0, 0, 0, .19);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 5px;
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 20px;
  line-height: 25px;
  transition: background .3s, color .3s;
}
.nav-list > li > a.is-active,
.nav-list > li > a:hover { background: var(--secondary); color: var(--primary); }
.nav-plus { width: 14px; height: 14px; }

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
  display: block;
  padding: 10px 15px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid var(--line);
  transition: color .3s;
}
.sub-menu li:last-child a { border-bottom: 0; }
.sub-menu a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 35px; height: 35px;
  border: 0; border-radius: 50px;
  background: var(--accent); color: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-close {
  width: 34px; height: 34px;
  border: 0; background: none; color: var(--primary); cursor: pointer;
}
.nav-close svg { width: 24px; height: 24px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: var(--primary) url("../img/hero-bg.webp?v=2") 68% center/cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0F172A 0%, rgba(129, 166, 255, 0) 55%);
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.hero-content { max-width: 560px; }
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 20px;
}
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; }
.hero-trust em { font-size: 0.9375rem; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatar-plus {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  margin-right: -12px;
  object-fit: cover;
}
.avatar-plus {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white);
  font-size: 1.25rem;
}
.hero h1 { font-size: 4.125rem; color: var(--white); margin-bottom: 25px; }
.hero p { font-size: 1.125rem; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-call { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.hero-call svg { width: 44px; height: 44px; }
.hero-call strong { display: block; font-size: 1.062rem; line-height: 1.3; }

.hero-form {
  width: 100%;
  max-width: 350px;
  padding: 30px;
  color: var(--text);
}
.hero-form h3 { margin-bottom: 15px; }
.hero-form > p { margin-bottom: 15px; }

/* =====================================================================
   FEATURES
   ===================================================================== */
.white-band { background: var(--white); }
.features { position: relative; z-index: 2; margin-top: -60px; }
.features-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}
.feature {
  text-align: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature-icon { width: 50px; height: 50px; color: var(--accent); margin: 0 auto 15px; }
.feature h5 { margin-bottom: 8px; }
.feature p { margin: 0; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 30px;
}
.about-text h2 { max-width: 560px; }
.about-text > p { margin-bottom: 30px; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.check-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px;
  background: var(--accent-soft);
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
}
.check-list svg { width: 20px; height: 20px; color: var(--accent); }
.about-images { display: flex; gap: 20px; align-items: flex-end; }
.about-img {
  flex: 1;
  border-radius: var(--radius);
  background: center/cover no-repeat;
}
.about-img-1 { height: 420px; }
.about-img-2 { height: 460px; }

/* =====================================================================
   CLIENT LOGOS
   ===================================================================== */
.clients { padding: 60px 0 80px; overflow: hidden; }
.clients-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}
.client {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  background: var(--white);
}
.client img { max-height: 100%; width: auto; filter: brightness(0) invert(.45); opacity: .9; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { padding-bottom: 80px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column; /* füllt spaltenweise, wie die HTML-Reihenfolge */
  gap: 20px;
}
/* Karten liegen direkt im Raster: jede Zeile so hoch wie ihre höchste Karte */
.services-col { display: contents; }
.service-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
/* Sichtbarer Bildbereich oberhalb des Text-Panels: füllt den Rest der Karte,
   das Bild wird nur hier zugeschnitten (nicht auf die ganze Kartenhöhe). */
.service-img {
  position: relative;
  flex: 0 0 var(--service-img-h, 400px);
  height: var(--service-img-h, 400px);
  background: center/cover no-repeat;
}
/* Bildausschnitt pro Motiv: zeigt den wichtigen Teil, statt immer die Mitte */
.service-img[style*="electrical"] { background-position: center 62%; }
.service-img[style*="repair"]     { background-position: center 40%; }
.service-img[style*="painting"]   { background-position: center 42%; }
.service-img[style*="cleaning"]   { background-position: center 35%; }
.service-img[style*="carpentry"]  { background-position: center 45%; }
/* Weicher Schatten: das Bild läuft unten in die Kartenfarbe aus, kein harter Kasten */
.service-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 23, 42, 0)    45%,
    rgba(15, 23, 42, 0.55) 78%,
    var(--primary)         100%);
}
/* Alle Kacheln gleich hoch, feste Bildhöhe oben, Text-Panel füllt den Rest */
.h-550, .h-500, .h-450 { min-height: 640px; }
.review {
  position: absolute; top: 30px; left: 30px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: var(--white);
  border-radius: 50px;
  font-size: 0.9375rem;
  color: var(--primary);
}
.review svg { width: 16px; height: 16px; color: var(--star); }
/* Text-Panel: leicht durchscheinend + Weichzeichner, Bild bleibt darüber sichtbar */
.service-body {
  position: relative;
  flex: 1 1 auto;
  padding: 4px 30px 30px;
}
.service-body h4 { color: var(--white); margin-bottom: 8px; }
.service-body p { font-style: normal; font-size: 1.125rem; margin-bottom: 22px; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.steps-wrap { padding: 0 0 80px; }
.section-card {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 30px;
  background: var(--white);
  border-radius: var(--radius);
}
@media (min-width: 1401px) {
  .section-card { max-width: 100%; border-radius: var(--radius); }
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 40px 40px 40px;
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.step-num {
  position: absolute; top: 20px; right: 25px;
  font-family: var(--font-head);
  font-size: 2.75rem; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #d5dbe3;
}
.step-icon { width: 50px; height: 50px; color: var(--accent); }
.step h4 { margin-bottom: 10px; }
.step p { margin: 0; }
.step-image { min-height: 520px; border-radius: var(--radius); background: center/cover no-repeat; }

.cta-row { text-align: center; padding-top: 50px; }
.cta-row h4 { margin-bottom: 20px; }

/* =====================================================================
   WHY CHOOSE
   ===================================================================== */
.why { padding-top: 0; }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.why-item { padding-left: 20px; border-left: 1px solid var(--line); }
.why-item h5 { font-size: 1.25rem; margin-bottom: 6px; }
.why-item p { margin: 0; }
.why-tagline { font-style: italic; font-weight: 600; color: var(--primary); margin-bottom: 30px; }
.why-video {
  position: relative;
  min-height: 370px;
  border-radius: var(--radius);
  background: center/cover no-repeat;
}
.play-btn {
  position: absolute; right: 30px; bottom: 30px;
  width: 70px; height: 70px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white); color: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
  animation: pulse 2s infinite;
}
.play-btn svg { width: 34px; height: 34px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
  100% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.stats::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -180px; height: 320px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 60%);
}
.stat { position: relative; text-align: center; border-right: 1px solid rgba(255, 255, 255, .25); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.5rem; line-height: 1.1; margin-bottom: 6px; }
.stat > span { font-size: 1rem; }

/* =====================================================================
   PROJECTS
   ===================================================================== */
.projects { padding-top: 80px; }
.white-band .about { padding-top: 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Vorher/Nachher-Karten */
.ba-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 26px;
}
.ba-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--primary);
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}
.ba-after { opacity: 0; }
.ba-stage[data-state="after"] .ba-after { opacity: 1; }
.ba-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  color: var(--white);
  transition: opacity .3s ease;
  z-index: 2;
}
.ba-badge svg { width: 18px; height: 18px; }
.ba-badge-before { background: rgba(15, 23, 42, .78); }
.ba-badge-after { background: #16A34A; opacity: 0; }
.ba-stage[data-state="after"] .ba-badge-before { opacity: 0; }
.ba-stage[data-state="after"] .ba-badge-after { opacity: 1; }

.ba-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 14px 0 20px;
  padding: 4px;
  background: var(--secondary);
  border: 1px solid var(--line);
  border-radius: 50px;
}
.ba-toggle button {
  min-height: 48px;
  border: 0; border-radius: 50px;
  background: transparent;
  font: inherit; font-size: 1.062rem; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.ba-toggle button:hover { color: var(--primary); }
.ba-toggle button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ba-toggle button.is-active { background: var(--accent); color: var(--white); }
.ba-toggle button.is-active[data-show="after"] { background: #16A34A; }

.ba-text { display: grid; margin: 0 8px; }
.ba-copy { grid-area: 1 / 1; transition: opacity .4s ease, visibility .4s; }
.ba-copy-after { opacity: 0; visibility: hidden; }
.ba-card[data-state="after"] .ba-copy-before { opacity: 0; visibility: hidden; }
.ba-card[data-state="after"] .ba-copy-after { opacity: 1; visibility: visible; }
.ba-card h5 { font-size: 1.25rem; margin: 0 0 8px; }
.ba-card p { margin: 0; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { padding-top: 0; }
.testimonials-inner {
  display: grid;
  grid-template-columns: 35fr 45fr 20fr;
  gap: 20px;
  align-items: stretch;
}
.testi-intro {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
  padding: 30px;
  border-radius: var(--radius);
  background: center/cover no-repeat;
  overflow: hidden;
}
.testi-intro::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 1, 1, 0) 13%, var(--primary) 100%);
}
.testi-intro .label, .testi-intro h2 { position: relative; }
.testi-intro h2 { color: var(--white); margin: 0; }

.testi-slider { padding: 40px; position: relative; overflow: hidden; }
.testi-track { position: relative; }
.testi { margin: 0; display: none; }
.testi.is-active { display: block; animation: fade .5s; }
@keyframes fade { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.stars { display: flex; gap: 2px; margin-bottom: 20px; }
.stars svg { width: 18px; height: 18px; color: var(--star); }
.testi-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.testi-head strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--primary); }
.testi-head span { color: var(--accent); }
.quote { width: 44px; height: 44px; color: var(--accent); }
.testi p { font-style: normal; font-size: 1.125rem; line-height: 1.6; margin: 0; }

.testi-side { display: flex; flex-direction: column; gap: 20px; }
.testi-side-img { flex: 1; min-height: 250px; border-radius: var(--radius); background: center/cover no-repeat; }
.testi-nav { display: flex; gap: 20px; }
.round-btn {
  width: 45px; height: 45px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--primary); color: var(--white);
  cursor: pointer;
  transition: background .3s;
}
.round-btn:hover { background: var(--accent); }
.round-btn svg { width: 20px; height: 20px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding-top: 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.contact-text { padding-right: 20px; }
.contact-text h2 { max-width: 380px; }
.contact-text > p { margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.125rem; color: var(--primary); }
.icon-sq {
  flex: 0 0 45px;
  width: 45px; height: 45px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px;
  background: var(--accent); color: var(--white);
}
.icon-sq svg { width: 22px; height: 22px; }
.contact-image { min-height: 500px; border-radius: var(--radius); background: center/cover no-repeat; }
.contact-form { padding: 40px; }
.contact-form h3 { margin-bottom: 15px; }
.contact-form > p { margin-bottom: 10px; }

.socials { display: flex; gap: 5px; }
.socials a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px;
  background: var(--accent); color: var(--white);
  transition: background .3s;
}
.socials a:hover { background: var(--primary); }
.socials svg { width: 15px; height: 15px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.newsletter {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  background: var(--primary) center/cover no-repeat;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(71, 85, 105, .92);
}
.newsletter .container { position: relative; }
.newsletter h2 { color: var(--white); margin-bottom: 20px; }
.newsletter p { max-width: 360px; margin: 0 auto 30px; font-size: 1.062rem; }
.newsletter-form {
  display: flex; align-items: center;
  max-width: 350px;
  margin: 0 auto;
  padding: 4px 4px 4px 22px;
  background: var(--white);
  border-radius: 50px;
}
.newsletter-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.9375rem;
  border: 0; outline: 0; background: none;
  color: var(--primary);
}
.newsletter-form .btn { padding: 15px 22px; }

.footer-main { background: var(--white); padding: 40px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 1.15fr 1.15fr;
  gap: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { width: 315px; margin-bottom: 25px; }
.footer-brand p { max-width: 320px; margin-bottom: 25px; }
.footer-col h5 {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
}
.footer-links.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.footer-links li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.footer-links li:last-child { border-bottom: 0; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 25px;
  font-size: 1rem;
}
.footer-bottom ul { display: flex; }
.footer-bottom li + li { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.footer-bottom a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact a, .footer-bottom a { transition: color .3s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.125rem; }
  .hero h1 { font-size: 3.375rem; }
  .features-card { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .feature:nth-child(2) { border-right: 0; }
  .clients-row { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-inner { grid-template-columns: 1fr 1fr; }
  .testi-side { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; }
  .testi-side-img { min-height: 220px; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .contact-image { grid-column: 1 / -1; min-height: 360px; order: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .hero { padding: 120px 0 100px; }
  .hero::before { background: linear-gradient(90deg, #0F172A 0%, rgba(129, 166, 255, 0) 75%); }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-form { max-width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .about-images { max-width: 700px; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .section-head.split h2 { margin-bottom: 10px; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); }
  .why-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(2) { border-right: 0; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid .project:last-child { grid-column: 1 / -1; }
  .steps-wrap, .services { padding-bottom: 60px; }
  .section-card { padding: 60px 20px; }
}

@media (max-width: 767px) {
  h1 { font-size: 2.375rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  .hero { padding: 110px 0 80px; }
  .hero::before { background: #0F172A; opacity: .85; }
  .hero h1 { font-size: 2.75rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-form { padding: 25px; }

  .site-header { padding-top: 10px; }
  .header-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 auto 0 0;
    width: min(320px, 85vw);
    background: var(--white);
    padding: 15px 15px 20px;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .3s;
    z-index: 2000;
    box-shadow: 0 0 40px rgba(0, 0, 0, .25);
  }
  .main-nav.is-open { transform: none; }
  .main-nav .nav-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
  .nav-list { display: block; height: auto; padding: 0; border-radius: 0; background: none; backdrop-filter: none; }
  .nav-list > li > a {
    display: flex; justify-content: space-between;
    margin: 0; padding: 12px 5px;
    border-radius: 0; border-bottom: 1px solid var(--line);
    color: var(--primary);
  }
  .nav-list > li > a.is-active, .nav-list > li > a:hover { background: none; color: var(--accent); }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 0 15px; display: none;
  }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 1999;
    opacity: 0; visibility: hidden; transition: all .3s;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }

  .features { margin-top: -40px; }
  .features-card { grid-template-columns: 1fr; padding: 30px 20px; row-gap: 0; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 10px; }
  .feature:last-child { border-bottom: 0; }
  .about-images { flex-direction: column; align-items: stretch; }
  .about-img-1, .about-img-2 { height: 320px; }
  .clients { padding: 40px 0 60px; }
  .clients-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, auto); }
  .service-card { min-height: 600px; --service-img-h: 360px; }
  .section-card { padding: 40px 15px; border-radius: var(--radius); }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 30px 25px; gap: 30px; }
  .step-image { min-height: 320px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-inner { grid-template-columns: 1fr; }
  .testi-side { flex-direction: column; align-items: stretch; }
  .testi-slider { padding: 30px 20px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-image { order: 0; min-height: 300px; }
  .contact-form { padding: 30px 20px; }
  .newsletter { padding: 60px 0; }
  .footer-main { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* Bestehende Gestaltung: besser lesbar und Kontakt direkt erreichbar. */
.btn { font-size: 1.062rem; line-height: 1.3; min-height: 48px; text-transform: none; white-space: normal; }
.link-more { font-size: 1.062rem; text-transform: none; }
.hero-form h2 { font-size: 1.75rem; }
.contact-number { display: block; margin: 20px 0; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 700; color: var(--accent); white-space: normal; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.white-band .features { margin-top: 0; padding-bottom: 40px; }
#angehoerige p { max-width: 660px; }
.header-btn { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1250px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .main-nav { order: 3; width: 100%; }
  .nav-list { justify-content: center; }
  .logo img { width: 260px; }
  .hero { padding-top: 180px; }
}
@media (max-width: 767px) {
  .logo { min-width: 0; }
  .logo img, .site-header.is-scrolled .logo img { width: min(260px, 65vw); }
  .nav-toggle, .nav-close { flex-shrink: 0; width: 48px; height: 48px; }
  .nav-mobile-head img { width: 200px; max-width: calc(100% - 58px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Nachprüfung: kleine Displays, Textvergrößerung und Tastaturbedienung. */
.container > *, .header-inner > *, .hero-inner > *, .services-grid > *,
.projects-grid > *, .footer-grid > *, .footer-links > *, .contact-inner > *,
.steps-grid > *, .testimonials-inner > * { min-width: 0; }
h1, h2, h3, h4, h5, h6, p, .footer-links a, .footer-contact a { overflow-wrap: anywhere; }
.hero-form { flex-shrink: 0; }
/* Glas-Header beim Scrollen: 72 % Deckung reicht für weißen Text (Kontrast > 6:1)
   und lässt den Seiteninhalt durchscheinen. */
.site-header.is-scrolled { background: rgba(15, 23, 42, .72); }
/* Nutzer, die Transparenz reduziert haben, oder Browser ohne Weichzeichner: fast deckend */
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: rgba(15, 23, 42, .97); }
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(15, 23, 42, .95); }
}
.contact-number { overflow-wrap: anywhere; }
.check-list li { border-radius: 12px; font-size: 1.0625rem; }
.check-list svg { flex-shrink: 0; }
.contact { padding-top: 60px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 18px 0; color: var(--primary); font-weight: 600; }
.faq-list details p { padding-bottom: 20px; }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: white; color: var(--primary); z-index: 3000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
[id] { scroll-margin-top: 150px; }
@media (min-width: 768px) {
  .nav-list { height: auto; flex-wrap: wrap; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .main-nav { visibility: hidden; }
  .main-nav.is-open { visibility: visible; }
  .nav-backdrop { z-index: 900; }
  .nav-list > li > a { font-size: 1.125rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-call span { min-width: 0; }
  .hero-form { width: 100%; }
  .footer-links.two { grid-template-columns: 1fr; }
  .footer-contact li { overflow-wrap: anywhere; }
  .service-card { min-height: 0; padding: 0; --service-img-h: 340px; }
  .service-body { padding: 0 24px 24px; }
  .review { top: 20px; left: 20px; right: 20px; width: fit-content; max-width: calc(100% - 40px); }
  .about-images { flex-direction: row; }
  .about-img-1, .about-img-2 { height: 260px; }
}

/* Luft zwischen Angehörigen-Banner und der folgenden Sektion. */
#angehoerige + .why { padding-top: 80px; }
@media (max-width: 767px) {
  #angehoerige + .why { padding-top: 48px; }
}
.stats > * { min-width: 0; overflow-wrap: anywhere; }
.stat { padding: 0 16px; }
.footer-bottom ul { flex-wrap: wrap; justify-content: center; row-gap: 12px; }

/* =====================================================================
   EINBLEND-ANIMATIONEN (wie im Original: fadeInUp, zoomIn, bounceInUp …)
   Elemente sind nur bei aktivem JavaScript zunächst unsichtbar und werden
   beim Scrollen ins Bild einmalig animiert. Ohne JS ist alles sofort sichtbar.
   ===================================================================== */
html.js .about-img-1,
html.js .about-img-2,
html.js .about-text .btn,
html.js .about-text .label,
html.js .about-text > p,
html.js .about-text h2,
html.js .ba-card,
html.js .check-list,
html.js .contact-form,
html.js .contact-image,
html.js .contact-list li,
html.js .contact-text .label,
html.js .contact-text > p,
html.js .contact-text h2,
html.js .cta-row,
html.js .feature,
html.js .hero-actions,
html.js .hero-content > p,
html.js .hero-content h1,
html.js .hero-form,
html.js .hero-trust,
html.js .newsletter h2,
html.js .newsletter p,
html.js .newsletter-form,
html.js .section-head .label,
html.js .section-head > p, html.js .section-head-side p,
html.js .section-head h2,
html.js .section-head-side .link-more,
html.js .service-card,
html.js .stat,
html.js .step,
html.js .step-icon,
html.js .step-image,
html.js .testi-intro,
html.js .testi-side,
html.js .testi-slider,
html.js .why-item,
html.js .why-tagline,
html.js .why-text .btn,
html.js .why-video { opacity: 0; }
html.js .is-inview {
  opacity: 1;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
}
html.js .is-inview[data-anim="up"]     { animation-name: rv-up; }
html.js .is-inview[data-anim="down"]   { animation-name: rv-down; }
html.js .is-inview[data-anim="fade"]   { animation-name: rv-fade; }
html.js .is-inview[data-anim="zoom"]   { animation-name: rv-zoom; }
html.js .is-inview[data-anim="bounce"] { animation-name: rv-bounce; animation-duration: 1.1s; }
@keyframes rv-up    { from { opacity: 0; transform: translate3d(0, 50px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-down  { from { opacity: 0; transform: translate3d(0, -50px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-zoom  { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } to { transform: none; } }
@keyframes rv-bounce {
  0%   { opacity: 0; transform: translate3d(0, 160px, 0); }
  60%  { opacity: 1; transform: translate3d(0, -20px, 0); }
  75%  { transform: translate3d(0, 10px, 0); }
  90%  { transform: translate3d(0, -5px, 0); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .about-img-1,
html.js .about-img-2,
html.js .about-text .btn,
html.js .about-text .label,
html.js .about-text > p,
html.js .about-text h2,
html.js .ba-card,
html.js .check-list,
html.js .contact-form,
html.js .contact-image,
html.js .contact-list li,
html.js .contact-text .label,
html.js .contact-text > p,
html.js .contact-text h2,
html.js .cta-row,
html.js .feature,
html.js .hero-actions,
html.js .hero-content > p,
html.js .hero-content h1,
html.js .hero-form,
html.js .hero-trust,
html.js .newsletter h2,
html.js .newsletter p,
html.js .newsletter-form,
html.js .section-head .label,
html.js .section-head > p, html.js .section-head-side p,
html.js .section-head h2,
html.js .section-head-side .link-more,
html.js .service-card,
html.js .stat,
html.js .step,
html.js .step-icon,
html.js .step-image,
html.js .testi-intro,
html.js .testi-side,
html.js .testi-slider,
html.js .why-item,
html.js .why-tagline,
html.js .why-text .btn,
html.js .why-video { opacity: 1; }
  html.js .is-inview { animation: none; }
}
