/* ============================================================
   CULIC ENERGY — Modern Redesign 2025
   Design: Dark hero + clean sections + green/blue energy accents
   ============================================================ */

/* ── Local Fonts (DSGVO – no external requests) ───────────── */
@import url('fonts.css');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand */
  --brand:          #3B5BDB;
  --brand-dark:     #2F4ACC;
  --brand-light:    #93B4FF;
  --electric:       #38BDF8;
  --electric-dark:  #0EA5E9;
  /* Logo yellow — used as accent / highlight color */
  --yellow:         #EECE1A;
  --yellow-dark:    #C9AD00;
  --yellow-light:   #F7DF5E;
  --amber:          #F59E0B;

  /* Backgrounds */
  --bg-hero:        #030B17;
  --bg-dark:        #060F1E;
  --bg-dark-2:      #091525;
  --bg-card-dark:   #0D1D35;
  --bg-light:       #F8FAFC;
  --bg-section:     #F1F5F9;
  --bg-white:       #FFFFFF;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --text-white:     #FFFFFF;
  --text-white-70:  rgba(255,255,255,0.70);
  --text-white-50:  rgba(255,255,255,0.50);

  /* Borders */
  --border-light:   #E2E8F0;
  --border-dark:    rgba(255,255,255,0.08);
  --border-brand:   rgba(59,91,219,0.30);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(59,91,219,0.20);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.06);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-py: 6rem;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-med:    250ms ease;
  --t-slow:   400ms cubic-bezier(0.4,0,0.2,1);

  /* Z-index scale */
  --z-canvas:  0;
  --z-base:    10;
  --z-card:    20;
  --z-nav:     50;
  --z-modal:   80;
  --z-toast:   90;
  --z-cookie:  100;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scroll Progress Bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--electric));
  z-index: calc(var(--z-nav) + 5);
  transition: width 0.1s linear;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ── Section Utilities ────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.section-title--white { color: var(--text-white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-top: 0.75rem;
}
.section-subtitle--white { color: var(--text-white-70); }
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-eyebrow { justify-content: center; }
.section-header--center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--t-med);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59,91,219,0.35);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 25px rgba(59,91,219,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-outline-dark:hover {
  background: var(--bg-section);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}
.btn svg { flex-shrink: 0; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

/* ── Gradient Text — yellow (logo) → brand blue ───────────── */
.gradient-text {
  background: linear-gradient(125deg, var(--yellow) 0%, var(--electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAVBAR — Pill Style (matches screenshot)
   ================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 1.5rem 0;
  transition: padding var(--t-slow);
}
#navbar.scrolled {
  padding: 0.875rem 0;
  background: rgba(3, 11, 23, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }

/* ── Pill nav container (desktop) ─── */
.nav-pill-wrap {
  display: none;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3rem;
  padding: 0.3rem;
}
@media (min-width: 1024px) { .nav-pill-wrap { display: flex; } }

.nav-pill-link {
  display: block;
  padding: 0.5rem 1.1rem;
  border-radius: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-pill-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-pill-link.active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(59,91,219,0.45);
}

/* ── Nav right CTA pill ─── */
.nav-actions { display: flex; align-items: center; gap: 0.875rem; }

.nav-cta-pill {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: background var(--t-med);
  white-space: nowrap;
}
.nav-cta-pill:hover { background: rgba(255,255,255,0.18); }
@media (min-width: 768px) { .nav-cta-pill { display: inline-flex; } }

.nav-cta-arrow {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta-pill:hover .nav-cta-arrow {
  background: var(--brand-dark);
  transform: rotate(45deg);
}

/* ── Hamburger ─── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 0.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--t-fast);
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text-white); border-radius: 2px;
  transition: all var(--t-med);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ─── */
.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  background: rgba(3,11,23,0.97);
  backdrop-filter: blur(20px);
  z-index: calc(var(--z-nav) - 1);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.2rem; font-weight: 600;
  color: var(--text-white-70);
  border-radius: 0.5rem;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--text-white); }
.nav-mobile .btn-primary {
  margin-top: 1rem;
  justify-content: center;
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

/* ================================================================
   HERO — Full-screen background image (matches screenshot)
   ================================================================ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Background photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* Directional dark overlay — darker on the left for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(3, 8, 20, 0.72) 0%,
    rgba(3, 8, 20, 0.45) 55%,
    rgba(3, 8, 20, 0.15) 100%
  );
  pointer-events: none;
}
/* Bottom gradient bleeds into the stats section (#091525) */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, #091525 0%, rgba(9,21,37,0.75) 35%, transparent 80%);
}

/* Inner layout */
.hero-inner {
  position: relative;
  z-index: var(--z-base);
  width: 100%;
  padding-bottom: 7rem;
  padding-top: 6rem;
}

/* ── Hero text content ─── */
.hero-content {
  max-width: 680px;
  /* individual children animate in; no wrapper animation */
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

/* Line-reveal wrappers */
.h-row {
  display: block;
  overflow: hidden;
  line-height: 1.15;
  padding-bottom: 0.06em;
}
.h-row em {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  animation: textReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.h-row:nth-child(1) em { animation-delay: 0.45s; }
.h-row:nth-child(2) em { animation-delay: 0.60s; }
.h-row:nth-child(3) em { animation-delay: 0.75s; }

.hero-subtext {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── "Jetzt starten" pill button ─── */
.hero-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--t-med), border-color var(--t-med);
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-start-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
}
.hero-start-arrow {
  width: 44px; height: 44px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-med);
  box-shadow: 0 2px 12px rgba(59,91,219,0.5);
}
.hero-start-btn:hover .hero-start-arrow {
  background: var(--brand-dark);
  transform: rotate(45deg);
}

/* Hero arrows removed per design update */
.hero-arrows { display: none; }

/* ── Bottom-right discover card ─── */
.hero-discover {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: calc(var(--z-base) + 2);
  width: 270px;
  background: rgba(18, 22, 38, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.25rem;
  overflow: hidden;
  opacity: 0;
  animation: fadeSlideUp 0.9s 1.1s ease forwards;
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.hero-discover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
@media (max-width: 768px) { .hero-discover { display: none; } }

.hero-discover-header {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.hero-discover-header img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.hero-discover:hover .hero-discover-header img { transform: scale(1.06); }
.hero-discover-dots {
  position: absolute;
  top: 0.75rem; right: 0.875rem;
  display: flex; gap: 4px;
}
.hero-discover-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
}

.hero-discover-body {
  padding: 1rem 1rem 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.hero-discover-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.hero-discover-arrow {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.hero-discover:hover .hero-discover-arrow {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(45deg);
}

/* ================================================================
   STATS STRIP
   ================================================================ */
#stats {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dark);
}
@media (min-width: 768px)  { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  background: var(--bg-dark-2);
  padding: 1.5rem 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  display: block;
}
.stat-number span { color: var(--brand); }
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-white-50);
  font-weight: 500;
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ================================================================
   SERVICES
   ================================================================ */
#leistungen {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all var(--t-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,91,219,0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.service-card:hover {
  border-color: var(--border-brand);
  box-shadow: 0 8px 30px rgba(59,91,219,0.10), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 0.75rem;
  background: rgba(59,91,219,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 1.25rem;
  transition: background var(--t-med), transform var(--t-med);
}
.service-card:hover .service-icon {
  background: rgba(59,91,219,0.18);
  transform: scale(1.08);
}
.service-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.service-arrow {
  position: absolute;
  bottom: 1.5rem; right: 1.75rem;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--t-med);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
#warum-wir {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
#warum-wir::before {
  content: '';
  position: absolute;
  top: -10rem; right: -15rem;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,219,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.why-image-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}
.why-image-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(3,11,23,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.why-image-badge svg { color: var(--brand); }
.why-badge-text { font-size: 0.875rem; font-weight: 600; color: var(--text-white); }
.why-badge-sub  { font-size: 0.72rem; color: var(--text-white-50); margin-top: 1px; }

.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: 0.875rem;
  transition: border-color var(--t-med), background var(--t-med);
}
.why-item:hover {
  background: rgba(59,91,219,0.04);
  border-color: rgba(59,91,219,0.2);
}
.why-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 0.625rem;
  background: rgba(59,91,219,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.why-item-title  { font-weight: 700; font-size: 0.95rem; color: var(--text-white); margin-bottom: 0.25rem; }
.why-item-text   { font-size: 0.85rem; color: var(--text-white-50); line-height: 1.6; }

/* ================================================================
   PROJECTS GALLERY
   ================================================================ */
#projekte {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-dark);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t-slow);
  filter: brightness(0.9);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.65);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,11,23,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px; height: 48px;
  background: rgba(59,91,219,0.2);
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white);
  transition: transform var(--t-med);
}
.gallery-item:hover .gallery-overlay-icon { transform: translate(-50%, -50%) scale(1); }
.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(59,91,219,0.15);
  border: 1px solid rgba(59,91,219,0.3);
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
}
.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.75rem;
}
.lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 36px; height: 36px;
  background: var(--text-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-hero);
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox-close:hover { background: var(--brand); color: #fff; transform: scale(1.1); }

/* ================================================================
   STANDORT (MAP)
   ================================================================ */
#standort {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .map-grid { grid-template-columns: 2fr 1fr; gap: 3.5rem; } }

#leaflet-map {
  width: 100%;
  height: 420px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  z-index: var(--z-base);
}
.map-info { display: flex; flex-direction: column; gap: 1.25rem; }
.map-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-section);
  border-radius: 0.875rem;
  border: 1px solid var(--border-light);
  transition: border-color var(--t-med);
}
.map-info-card:hover { border-color: var(--brand); }
.map-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(59,91,219,0.10);
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.map-info-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.map-info-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); line-height: 1.5; }
.map-area-note {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(59,91,219,0.06), rgba(56,189,248,0.04));
  border: 1px solid rgba(59,91,219,0.2);
  border-radius: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================================================================
   CONTACT
   ================================================================ */
#kontakt {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
#kontakt::after {
  content: '';
  position: absolute;
  bottom: -10rem; left: -15rem;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white-70);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 0.625rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--t-med), background var(--t-med);
  outline: none;
  resize: none;
  color-scheme: dark;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-white-50); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(59,91,219,0.5);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--t-med);
  box-shadow: 0 4px 15px rgba(59,91,219,0.30);
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 25px rgba(59,91,219,0.40);
  transform: translateY(-1px);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-message {
  padding: 0.875rem 1.1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.form-message.success {
  background: rgba(59,91,219,0.10);
  border: 1px solid rgba(59,91,219,0.30);
  color: var(--brand-light);
}
.form-message.error {
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.30);
  color: #FCA5A5;
}

/* Consent checkbox */
.form-check { margin-top: 0.25rem; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-white-50);
  line-height: 1.5;
}
.check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--brand);
  margin-top: 2px;
  cursor: pointer;
}
.check-label a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.check-label a:hover { color: var(--yellow); }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.contact-info-text { font-size: 0.95rem; color: var(--text-white-70); line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: 0.75rem;
  transition: border-color var(--t-med);
  text-decoration: none;
}
.contact-detail:hover { border-color: rgba(59,91,219,0.3); }
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(59,91,219,0.12);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.contact-detail-label { font-size: 0.72rem; font-weight: 600; color: var(--text-white-50); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-detail-value { font-size: 0.9rem; font-weight: 600; color: var(--text-white); }

/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: var(--bg-hero);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1.5fr; } }

.footer-brand-logo img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand-text { font-size: 0.875rem; color: var(--text-white-50); line-height: 1.75; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white-70);
  margin-bottom: 1.25rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col-links a {
  font-size: 0.875rem;
  color: var(--text-white-50);
  transition: color var(--t-fast);
}
.footer-col-links a:hover { color: var(--text-white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.875rem; color: var(--text-white-50); line-height: 1.5; }
.footer-contact-item a { color: var(--text-white-50); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--brand-light); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy { font-size: 0.8rem; color: var(--text-white-50); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-white-50); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--brand-light); }

/* ================================================================
   FLOATING CTA — bottom-left so it never overlaps the hero card
   ================================================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: calc(var(--z-nav) - 5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.floating-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.floating-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.floating-btn--phone { background: var(--yellow); color: #0F172A; }
.floating-btn--phone:hover {
  background: var(--yellow-dark);
  box-shadow: 0 8px 28px rgba(238,206,26,0.45);
}
.floating-tooltip {
  position: absolute;
  left: 62px;
  background: var(--text-primary);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.floating-btn:hover + .floating-tooltip,
.floating-btn:hover ~ .floating-tooltip { opacity: 1; }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-cookie);
  background: rgba(3,11,23,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-dark);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
.cookie-text { font-size: 0.875rem; color: var(--text-white-70); line-height: 1.6; }
.cookie-text a { color: var(--brand-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t-fast);
  cursor: pointer;
}
.cookie-btn--accept { background: var(--brand); color: #fff; }
.cookie-btn--accept:hover { background: var(--brand-dark); }
.cookie-btn--decline {
  background: transparent;
  color: var(--text-white-50);
  border: 1px solid var(--border-dark);
}
.cookie-btn--decline:hover { color: var(--text-white); border-color: rgba(255,255,255,0.2); }

/* ================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ================================================================ */
.legal-hero {
  background: var(--bg-hero);
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border-dark);
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}
.legal-hero p { font-size: 0.9rem; color: var(--text-white-50); margin-top: 0.5rem; }
.legal-body {
  padding: 4rem 0 6rem;
  background: var(--bg-white);
}
.legal-content { max-width: 780px; }
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-content a { color: var(--brand-dark); text-decoration: underline; }
.legal-content a:hover { color: var(--brand); }
.legal-divider {
  height: 3px;
  width: 3rem;
  background: var(--brand);
  border-radius: 2px;
  margin: 0.5rem 0 2rem;
}

/* ================================================================
   ANIMATIONS & KEYFRAMES
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* AOS-style custom scroll reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX( 32px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }

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

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-hero); }
::-webkit-scrollbar-thumb { background: rgba(59,91,219,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(59,91,219,0.25); color: var(--text-white); }

/* ── Leaflet custom ───────────────────────────────────────── */
.leaflet-container { font-family: var(--font-body) !important; }
.leaflet-popup-content-wrapper {
  border-radius: 0.75rem !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ── Hero second slider layer sits between bg and overlay ─── */
#hero > div:not(.hero-bg):not(.hero-overlay):not(.container):not(.hero-arrows):not(.hero-discover) {
  z-index: 0;
}

/* ── Eyebrow on dark sections stays blue (readable either way) */
.section-eyebrow--white { color: var(--brand-light); }

/* ── Stats: brand-colored checkmark tick ────────────────────*/
.stat-number .brand { color: var(--brand); }

/* ================================================================
   NAV ENTRANCE ANIMATIONS (stagger on page load)
   ================================================================ */
.nav-logo {
  opacity: 0;
  animation: navSlideIn 0.6s 0.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nav-pill-wrap { overflow: hidden; }
.nav-pill-link {
  opacity: 0;
  animation: navSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nav-pill-link:nth-child(1) { animation-delay: 0.12s; }
.nav-pill-link:nth-child(2) { animation-delay: 0.20s; }
.nav-pill-link:nth-child(3) { animation-delay: 0.28s; }
.nav-pill-link:nth-child(4) { animation-delay: 0.36s; }
.nav-pill-link:nth-child(5) { animation-delay: 0.44s; }
.nav-cta-pill {
  opacity: 0;
  animation: navSlideIn 0.55s 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navSlideIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Text reveal keyframe ───────────────────────────────────── */
@keyframes textReveal {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

/* ================================================================
   HERO WAVE — seamless transition into stats section
   ================================================================ */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: calc(var(--z-base) + 3);
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: auto; }

/* ================================================================
   PROCESS SECTION ("So einfach geht's")
   ================================================================ */
#prozess {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px)  { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-track { grid-template-columns: repeat(4, 1fr); gap: 0; } }

/* Horizontal connector line (desktop only) */
@media (min-width: 1024px) {
  .process-track::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
      var(--brand) 0%,
      rgba(59,91,219,0.4) 50%,
      rgba(59,91,219,0.15) 100%);
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0F172A;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(238,206,26,0.35);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.process-step:hover .process-num {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(238,206,26,0.5);
}
.process-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 0.875rem;
  background: rgba(59,91,219,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 1.25rem;
  transition: background var(--t-med);
}
.process-step:hover .process-icon-wrap { background: rgba(59,91,219,0.15); }
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.process-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 220px;
}

/* ================================================================
   FÖRDERUNG CTA BAND
   ================================================================ */
#foerderung {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0D1B42 0%, #1A2B6B 50%, #0D1B42 100%);
  position: relative;
  overflow: hidden;
}
#foerderung::before {
  content: '';
  position: absolute;
  top: -8rem; right: -8rem;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,219,0.18) 0%, transparent 70%);
  pointer-events: none;
}
#foerderung::after {
  content: '';
  position: absolute;
  bottom: -6rem; left: -6rem;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-band-inner { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
}
.cta-band-text {}
.cta-band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.cta-band-eyebrow::before {
  content: '';
  width: 1.5rem; height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}
.cta-band-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}
.cta-band-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--brand);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--t-med);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-white:hover {
  background: var(--bg-light);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.cta-band-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) { .cta-band-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.cta-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0.875rem;
  transition: background var(--t-med), border-color var(--t-med);
}
.cta-stat:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
.cta-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.cta-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
#faq {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.faq-intro-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1rem;
}
.faq-contact-hint {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.faq-contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(59,91,219,0.08);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.faq-contact-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.faq-contact-text strong { display: block; color: var(--text-primary); font-weight: 600; margin-bottom: 0.25rem; }
.faq-contact-text a { color: var(--brand); font-weight: 600; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--brand); }
.faq-item.open .faq-question { color: var(--brand); }

.faq-plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(59,91,219,0.08);
  border: 1px solid rgba(59,91,219,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background var(--t-fast), transform var(--t-med);
}
.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease,
              opacity 0.3s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 400px;
  padding-bottom: 1.25rem;
  opacity: 1;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ================================================================
   YELLOW ACCENT — strategic usage of logo color #EECE1A
   ================================================================ */

/* Stats strip: the number highlights use yellow */
.stat-number > span[style*="color:var(--brand)"] { color: var(--yellow) !important; }

/* Scroll-progress bar: yellow → blue gradient */
#scroll-progress {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--brand) 60%, var(--electric) 100%);
}

/* Service cards: first 2 (PV services) get a yellow icon accent */
.service-card:nth-child(1) .service-icon,
.service-card:nth-child(2) .service-icon {
  background: rgba(238,206,26,0.10);
  color: var(--yellow-dark);
}
.service-card:nth-child(1):hover .service-icon,
.service-card:nth-child(2):hover .service-icon {
  background: rgba(238,206,26,0.18);
}

/* FAQ open state question uses yellow */
.faq-item.open .faq-question { color: var(--yellow-dark); }

/* "Jetzt starten" hero button arrow — yellow ring on hover */
.hero-start-btn:hover .hero-start-arrow {
  background: var(--yellow);
  color: #0F172A;
  box-shadow: 0 2px 12px rgba(238,206,26,0.5);
}

/* Hero discover card arrow — yellow on hover */
.hero-discover:hover .hero-discover-arrow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0F172A;
  transform: rotate(45deg);
}

/* Process connector line uses yellow accent */
@media (min-width: 1024px) {
  .process-track::before {
    background: linear-gradient(90deg, var(--yellow) 0%, var(--brand) 60%, rgba(59,91,219,0.15) 100%);
  }
}

/* ================================================================
   LEISTUNGEN — Dark Grid  (screenshot-exact layout)
   ================================================================ */

/* Override previous light-bg rule */
#leistungen {
  padding: 5rem 0 0;
  background: var(--bg-dark-2); /* deep navy — same as stats strip */
}

/* ── Header ─── */
.svc-header {
  text-align: center;
  padding: 0 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.875rem;
}
.svc-eyebrow::before {
  content: '';
  width: 1.75rem; height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}
.svc-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.svc-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Grid — 5 columns on desktop ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* ── Card ─── */
.svc-card {
  position: relative;
  padding: 2rem 1.25rem 1.875rem;
  text-align: center;
  border-right:  1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t-slow);
  cursor: default;
}
.svc-card:hover { background: rgba(255,255,255,0.03); }

/* 5-col: no right border on col 5 and last card */
.svc-card:nth-child(5n),
.svc-card:last-child { border-right: none; }

/* 5-col: 14 items → rows 1–2 full (10 items), row 3 = items 11–14 (last) */
.svc-card:nth-child(n+11) { border-bottom: none; }

/* ── Diamonds at every row/col intersection (5-col desktop) ─── */
/* Cols 1–4 (5n+1 … 5n+4) AND not in last row (not n+11)       */
.svc-card:nth-child(5n+1):not(:nth-child(n+11))::after,
.svc-card:nth-child(5n+2):not(:nth-child(n+11))::after,
.svc-card:nth-child(5n+3):not(:nth-child(n+11))::after,
.svc-card:nth-child(5n+4):not(:nth-child(n+11))::after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 11px; height: 11px;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
  z-index: 2;
}

/* ── Icon circle ─── */
.svc-icon-wrap {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: rgba(255,255,255,0.75);
  transition: border-color var(--t-med), color var(--t-med), background var(--t-med);
}
.svc-card:hover .svc-icon-wrap {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(238,206,26,0.06);
}

/* ── Typography ─── */
.svc-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.3;
  transition: color var(--t-fast);
}
.svc-card:hover .svc-name { color: var(--yellow-light); }

.svc-desc {
  font-family: var(--font-body);
  font-size: 0.775rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ── CTA row ─── */
.svc-cta-row {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.svc-cta-row .btn-primary {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
}

/* ── Responsive: medium screens 768–1199px → 3 cols ─── */
@media (min-width: 768px) and (max-width: 1199px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  /* reset 5-col border rules */
  .svc-card:nth-child(5n) { border-right: 1px solid rgba(255,255,255,0.08); }
  /* 3-col rules */
  .svc-card:nth-child(3n),
  .svc-card:last-child    { border-right: none; }
  /* 14 items / 3 cols → row 5 starts at item 13 */
  .svc-card:nth-child(n+11) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .svc-card:nth-child(n+13) { border-bottom: none; }
  .svc-card::after { display: none !important; }
  .svc-card { padding: 1.75rem 1.25rem; }
}

/* ── Responsive: small tablets 480–767px → 2 cols ─── */
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  /* reset all desktop border rules */
  .svc-card:nth-child(5n),
  .svc-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.08); }
  /* 2-col rules: 14/2 = 7 full rows, last row = items 13–14 */
  .svc-card:nth-child(2n),
  .svc-card:last-child { border-right: none; }
  .svc-card:nth-child(n+11) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .svc-card:nth-child(n+13) { border-bottom: none; }
  .svc-card::after { display: none !important; }
  .svc-card { padding: 1.5rem 0.875rem; }
}

/* ── Responsive: mobile < 480px → 1 col ─── */
@media (max-width: 479px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; padding: 1.25rem 1rem; }
  /* reset all bottom border overrides, re-apply simply */
  .svc-card:nth-child(n+11),
  .svc-card:nth-child(n+13) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .svc-card:last-child { border-bottom: none; }
}

/* ── Gallery skeleton loading state ─────────────────────── */
.gallery-skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  cursor: default;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-skeleton { animation: none; background: rgba(255,255,255,0.05); }
}
