/* ==========================================================================
   HN Green GbR — Premium Website Stylesheet
   Farbwelt: Anthrazit / Salbeigrün / Creme / Sandton
   ========================================================================== */

:root {
  --c-anthracite:      #24231f;
  --c-anthracite-2:    #34322b;
  --c-anthracite-soft: #454338;
  --c-sage:            #8a9a72;
  --c-sage-dark:       #6b7a56;
  --c-sage-light:      #b7c4a3;
  --c-cream:           #f6f1e6;
  --c-cream-2:         #efe8d8;
  --c-sand:            #c99a63;
  --c-sand-dark:       #a97a48;
  --c-white:           #ffffff;
  --c-ink:             #201f1b;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 60px -20px rgba(24, 23, 20, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(24, 23, 20, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* No scroll-behavior:smooth here — Lenis (animations.js) owns smooth
     scrolling. Native CSS smooth-scroll would otherwise fight Lenis for
     control on keyboard/scrollbar-driven scrolling. */
  scroll-padding-top: 90px;
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sage-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--c-sand);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--c-anthracite);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 20px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: #55534a; line-height: 1.65; }

.section-pad { padding: 140px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 88px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: box-shadow 0.45s var(--ease), background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
/* Note: transform on hover/press is driven by the JS magnetic-button
   layer (animations.js) via GSAP, not by CSS — this keeps the pointer-
   follow and the lift in a single, non-conflicting timeline. Box-shadow
   above still transitions in pure CSS, so hover always reads as
   interactive even before the animation layer boots. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-primary {
  background: var(--c-sage);
  color: var(--c-anthracite);
  box-shadow: 0 8px 24px -8px rgba(138, 154, 114, 0.6);
}
.btn-primary:hover {
  box-shadow: 0 16px 32px -10px rgba(138, 154, 114, 0.7);
}
.btn-outline {
  background: transparent;
  color: var(--c-cream);
  border: 1.5px solid rgba(246, 241, 230, 0.45);
}
.btn-outline:hover {
  border-color: var(--c-cream);
  background: rgba(246, 241, 230, 0.08);
}
.btn-dark {
  background: var(--c-anthracite);
  color: var(--c-cream);
}
.btn-dark:hover {
  box-shadow: 0 16px 32px -12px rgba(36, 35, 31, 0.5);
}
.btn-whatsapp {
  background: #3f5c3a;
  color: #f6f1e6;
}
.btn-whatsapp:hover { box-shadow: 0 14px 28px -10px rgba(63, 92, 58, 0.6); }
.btn-sm { padding: 11px 20px; font-size: 0.85rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(36, 35, 31, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(246,241,230,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--c-cream);
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.site-header:not(.scrolled) .brand img { box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.08rem; letter-spacing: 0.01em; }
.brand-text span { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sage-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: var(--c-cream);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  opacity: 0.88;
  transition: opacity 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--c-sage);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--c-cream); font-size: 0.9rem; font-weight: 600;
  opacity: 0.9;
}
.nav-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--c-cream);
  z-index: 1201;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: translateY(8px) rotate(45deg); background: var(--c-cream); }
.nav-toggle.active span::after { transform: translateY(-8px) rotate(-45deg); background: var(--c-cream); }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--c-anthracite);
    z-index: 1150;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    color: var(--c-cream);
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .mobile-menu .btn { margin-top: 10px; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-anthracite);
}
.hero-media {
  position: absolute;
  inset: -8% -2%;
  z-index: 1;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(24,23,20,0.35) 0%, rgba(24,23,20,0.25) 35%, rgba(24,23,20,0.85) 100%),
    linear-gradient(90deg, rgba(24,23,20,0.55) 0%, rgba(24,23,20,0.05) 55%);
}
.cursor-glow {
  position: absolute;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin-left: -240px; margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,196,163,0.22) 0%, rgba(183,196,163,0) 70%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 900px) { .cursor-glow { display: none; } }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 130px 32px 100px;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--c-cream);
}
@media (max-width: 620px) {
  .hero-content { padding: 120px 22px 70px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { margin-top: 30px; gap: 12px; }
  .hero-stats { margin-top: 40px; gap: 32px; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 100px;
  background: rgba(246, 241, 230, 0.1);
  border: 1px solid rgba(246, 241, 230, 0.25);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tag .dot-img {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover;
}
.hero h1 {
  color: var(--c-cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--c-sage-light);
}
.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(246, 241, 230, 0.86);
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--c-cream);
}
.hero-stats div span {
  font-size: 0.82rem;
  color: rgba(246,241,230,0.68);
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  right: 40px; bottom: 40px;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(246,241,230,0.75);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  writing-mode: horizontal-tb;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(246,241,230,0.8), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* ==========================================================================
   Reveal utility (scroll animations)
   ========================================================================== */
/* Base state is always visible — GSAP takes elements from visible to hidden
   to visible via inline styles only once it has successfully initialised.
   If the animation layer fails to load, content simply stays visible. */
.reveal, .reveal-scale { opacity: 1; transform: none; }

/* ---------- Split-text heading reveal scaffolding ---------- */
.split-line { overflow: hidden; display: block; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--c-anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.95;
}
.preloader-bar {
  width: 160px;
  height: 2px;
  border-radius: 2px;
  background: rgba(246, 241, 230, 0.15);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--c-sage-light);
}
.preloader.done { pointer-events: none; }

/* ==========================================================================
   Leistungen
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--c-anthracite);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
  filter: saturate(0.95) brightness(0.92);
}
.service-card:hover img { transform: scale(1.08); filter: saturate(1.05) brightness(0.8); }
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,23,20,0.05) 30%, rgba(24,23,20,0.92) 100%);
  z-index: 1;
}
.service-num {
  position: absolute;
  top: 22px; left: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--c-sage-light);
  letter-spacing: 0.05em;
}
.service-body {
  position: absolute;
  left: 24px; right: 24px; bottom: 26px;
  z-index: 2;
  color: var(--c-cream);
}
.service-body h3 {
  color: var(--c-cream);
  font-size: 1.35rem;
  margin-bottom: 10px;
  transition: transform 0.4s var(--ease);
}
.service-body p {
  font-size: 0.92rem;
  color: rgba(246,241,230,0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease;
}
.service-card:hover .service-body p { max-height: 140px; opacity: 1; margin-top: 4px; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 5/4; }
  .service-body p { max-height: 140px; opacity: 1; }
}

/* ==========================================================================
   Über uns
   ========================================================================== */
.about {
  background: var(--c-anthracite);
  color: var(--c-cream);
  overflow: hidden;
}
.about .eyebrow { color: var(--c-sage-light); }
.about h2 { color: var(--c-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-text p { color: rgba(246,241,230,0.78); font-size: 1.04rem; margin-bottom: 18px; }
.about-founders {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.founder {
  display: flex; align-items: center; gap: 12px;
}
.founder-name { font-family: var(--font-display); font-size: 1.05rem; }
.founder-role { font-size: 0.78rem; color: var(--c-sage-light); letter-spacing: 0.03em; }
.about-media { position: relative; }
.about-photo-main {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-photo-main img { width: 100%; height: 560px; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo-main:hover img { transform: scale(1.04); }
.about-photo-float {
  position: absolute;
  bottom: -40px; left: -50px;
  width: 64%;
  display: flex;
  gap: 16px;
}
.about-photo-float-item {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 6px solid var(--c-anthracite);
  box-shadow: var(--shadow-card);
}
.about-photo-float-item img { width: 100%; height: 220px; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 90px; }
  .about-media { order: -1; }
  .about-photo-float { left: 0; width: 90%; }
}
@media (max-width: 480px) {
  .about-photo-float { gap: 10px; }
  .about-photo-float-item img { height: 150px; }
}

/* ==========================================================================
   Warum HN Green
   ========================================================================== */
.why {
  background: var(--c-cream);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--c-white);
  border: 1px solid rgba(36,35,31,0.08);
  border-radius: var(--radius-m);
  padding: 36px 30px;
  box-shadow: 0 2px 14px -10px rgba(36,35,31,0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s ease;
  will-change: transform;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--c-sage);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--c-anthracite);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; color: #5c5a50; }

.stats-strip {
  margin-top: 90px;
  background: var(--c-anthracite);
  border-radius: var(--radius-l);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: url('assets/img/team-schatten.jpg') center/cover;
  opacity: 0.14;
  mix-blend-mode: luminosity;
}
.stat {
  position: relative;
  text-align: center;
  color: var(--c-cream);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--c-sage-light);
}
.stat span { font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(246,241,230,0.75); }

@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 40px;} }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Projekte / Galerie
   ========================================================================== */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(36,35,31,0.15);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--c-sage-dark); }
.filter-btn.active { background: var(--c-anthracite); color: var(--c-cream); border-color: var(--c-anthracite); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 20px -10px rgba(24,23,20,0.25);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24,23,20,0.82) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 20px; right: 20px; bottom: -20px;
  z-index: 2;
  color: var(--c-cream);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  transform: translateY(10px);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); bottom: 20px; }
.gallery-caption .tag { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sage-light); }
.gallery-caption h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--c-cream); margin-top: 4px; }
.gallery-zoom-hint {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(246,241,230,0.9);
  color: var(--c-anthracite);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
  transition: all 0.4s var(--ease);
}
.gallery-item:hover .gallery-zoom-hint { opacity: 1; transform: scale(1); }
.gallery-zoom-hint svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Vorher/Nachher Slider ---------- */
.ba-section {
  margin-top: 110px;
}
.ba-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  user-select: none;
  touch-action: pan-y;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { z-index: 1; }
.ba-after-wrap {
  position: absolute; inset: 0;
  z-index: 2;
  width: 55%;
  overflow: hidden;
  border-right: 2px solid var(--c-cream);
}
.ba-after-wrap img {
  width: var(--ba-w, 100vw);
  max-width: none;
  height: 100%;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 55%;
  z-index: 3;
  width: 52px; height: 52px;
  margin-left: -26px; margin-top: -26px;
  border-radius: 50%;
  background: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  cursor: ew-resize;
  transition: transform 0.2s ease;
}
.ba-handle:active { transform: scale(1.08); }
.ba-slider.dragging { cursor: ew-resize; }
.ba-slider.dragging .ba-handle { transform: scale(1.08); }
.ba-handle svg { width: 20px; height: 20px; color: var(--c-anthracite); }
.ba-label {
  position: absolute;
  bottom: 20px;
  z-index: 3;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(24,23,20,0.65);
  color: var(--c-cream);
  backdrop-filter: blur(4px);
}
.ba-label.before { left: 20px; }
.ba-label.after { right: 20px; }

.ba-text .eyebrow { color: var(--c-sage-dark); }
.ba-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.ba-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.98rem; color: #4b4940; }
.ba-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--c-sage-dark); margin-top: 2px; }

@media (max-width: 900px) {
  .ba-wrap { grid-template-columns: 1fr; gap: 40px; }
  .ba-slider { aspect-ratio: 4/4; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(24,23,20,0.94);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 85vh;
  border-radius: 12px;
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(246,241,230,0.12);
  color: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.lightbox-close:hover { background: rgba(246,241,230,0.25); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.process {
  background: var(--c-cream-2);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 30px; left: 6%; right: 6%;
  height: 1.5px;
  background: repeating-linear-gradient(to right, var(--c-sand) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 18px;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-sand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-anthracite);
  margin-bottom: 26px;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.step:hover .step-num {
  background: var(--c-sand);
  transform: translateY(-4px) rotate(-6deg);
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: #5c5a50; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 18px; }
  .process-line { display: none; }
}
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact {
  background: var(--c-anthracite);
  color: var(--c-cream);
}
.contact .eyebrow { color: var(--c-sage-light); }
.contact h2 { color: var(--c-cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.contact-info p.lead { color: rgba(246,241,230,0.78); font-size: 1.04rem; margin-bottom: 34px; max-width: 44ch; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.contact-list a, .contact-list div.item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(246,241,230,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-sage-light);
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-list a:hover .contact-icon { background: var(--c-sage); color: var(--c-anthracite); transform: scale(1.06); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(246,241,230,0.5); margin-bottom: 3px; }
.contact-item-value { font-size: 1.02rem; font-weight: 500; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.map-frame {
  margin-top: 34px;
  border-radius: var(--radius-m);
  overflow: hidden;
  height: 220px;
  filter: grayscale(0.3) contrast(1.05);
  border: 1px solid rgba(246,241,230,0.12);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--c-cream);
  border-radius: var(--radius-l);
  padding: 44px;
  color: var(--c-ink);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #55534a;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(36,35,31,0.14);
  background: var(--c-white);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-sage);
  box-shadow: 0 0 0 4px rgba(138,154,114,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: #75736a; margin-top: 6px; }
.form-submit { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.form-status { font-size: 0.85rem; color: var(--c-sage-dark); font-weight: 600; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { padding: 30px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--c-ink);
  color: rgba(246,241,230,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246,241,230,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-display); color: var(--c-cream); font-size: 1.1rem; }
.footer-col h4 { color: var(--c-cream); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.9rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--c-sage-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #3f5c3a;
  display: flex; align-items: center; justify-content: center;
  color: #f6f1e6;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.45);
  animation: floatPulse 3.4s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(63,92,58,0.5); }
  50% { box-shadow: 0 10px 40px -4px rgba(63,92,58,0.8); }
}

/* ---------- Back to top ---------- */
.top-btn {
  position: fixed;
  right: 26px; bottom: 96px;
  z-index: 899;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-anthracite);
  color: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
}
.top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn svg { width: 18px; height: 18px; }

/* ---------- Legal pages ---------- */
.legal-page {
  background: var(--c-cream);
  min-height: 100vh;
}
.legal-hero {
  background: var(--c-anthracite);
  color: var(--c-cream);
  padding: 180px 0 70px;
}
.legal-hero h1 { color: var(--c-cream); font-size: clamp(2rem, 4vw, 2.6rem); }
.legal-content {
  padding: 70px 0 120px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 42px;
  margin-bottom: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #4b4940; margin-bottom: 12px; font-size: 0.98rem; }
.legal-content a { color: var(--c-sage-dark); text-decoration: underline; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 30px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--c-sage-light);
}
