
/* ============================================================
   COMHOME – Light Theme
   Layout-Basis: 04-Produkt (Split Hero, Bento, Asymmetric Service)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Design Tokens – LIGHT THEME ── */
:root {
  /* Basis (60%) – Hell, offen, klar */
  --bg-white:     #ffffff;
  --bg-light:     #f8fafc;
  --bg-muted:     #f1f5f9;
  --bg-cream:     #f0f4f0;

  /* Primär (30%) – Dunkelblau: Vertrauen, Seriosität */
  --primary:      #1a365d;
  --primary-l:    #2b5ea7;
  --primary-ll:   #e8f0fe;

  /* Sekundär – Tannengrün: Nachhaltigkeit, Ökologie */
  --green:        #166534;
  --green-l:      #16a34a;
  --green-ll:     #dcfce7;

  /* Akzent (10%) – Orange: Energie, Wärme, CTAs */
  --accent:       #d97706;
  --accent-l:     #f59e0b;
  --accent-ll:    #fef3c7;

  /* Gelb – Sonnenenergie, Photovoltaik */
  --yellow:       #eab308;
  --yellow-ll:    #fefce8;

  /* Text */
  --text-dark:    #0f172a;
  --text-body:    #334155;
  --text-muted:   #64748b;
  --text-white:   #ffffff;

  /* Status */
  --emergency:    #dc2626;

  /* Linien */
  --line:         #e2e8f0;
  --line-d:       rgba(0,0,0,.06);

  /* Fonts */
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Radii */
  --r-sm:   0.25rem;
  --r-md:   0.5rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-pill: 9999px;

  /* Layout */
  --container:  1200px;
  --section-py: clamp(5rem, 9vw, 7rem);
  --header-h:   68px;

  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── Body ── */
body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
}

/* ── Type Scale ── */
.t-hero {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-dark);
}
.t-section {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}
.t-card {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
.t-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, top .2s ease;
}

/* WordPress Admin Bar: verschiebt fixed Header nach unten */
.admin-bar #site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
#site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: flex;
  align-items: baseline;
  gap: 0;
}
.logo-text .wm-com {
  color: inherit;
}
.logo-text .wm-home {
  color: var(--accent);
}

/* Slogan Banner – prominent but not h1 */
.slogan-bar {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
#site-header.scrolled .slogan-bar {
  border-color: var(--line);
  color: var(--text-muted);
}

/* Header transparent state: white text on hero */
#site-header:not(.scrolled) .logo-text,
#site-header:not(.scrolled) .logo-text .wm-com,
#site-header:not(.scrolled) nav a { color: var(--text-white); }
#site-header:not(.scrolled) .logo-text .wm-home { color: var(--accent-l); }
#site-header:not(.scrolled) .nav-cta { color: var(--text-white); border-color: rgba(255,255,255,.4); }
#site-header:not(.scrolled) .nav-cta:hover { background: var(--text-white); color: var(--primary); }
#site-header.scrolled nav a { color: var(--text-muted); }
#site-header.scrolled nav a:hover { color: var(--text-dark); }
#site-header.scrolled .nav-cta { color: var(--accent); border-color: var(--accent); }
#site-header.scrolled .nav-cta:hover { background: var(--accent); color: var(--text-white); }

nav { display: flex; align-items: center; gap: 2.25rem; }
nav a {
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-cta {
  padding: .5rem 1.25rem;
  border: 1px solid;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-dark);
  display: block;
  transition: all .3s var(--ease-expo);
  transform-origin: center;
}
#site-header:not(.scrolled) .hamburger span { background: var(--text-white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
#mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px);
  padding: 2rem 1.5rem;
  gap: .75rem;
  z-index: 99;
  transform: translateX(100%);
  transition: transform .4s var(--ease-expo);
}
#mobile-nav.open { transform: translateX(0); }
#mobile-nav a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-cta-nav {
  margin-top: 1.5rem;
  background: var(--accent) !important;
  color: var(--text-white) !important;
  text-align: center;
  border-radius: var(--r-md) !important;
  padding: 1rem !important;
  border-bottom: none !important;
}

/* ─────────────────────────────────────────
   HERO – Full Width with Overlay
───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,23,42,.85) 0%,
    rgba(15,23,42,.55) 40%,
    rgba(15,23,42,.3) 70%,
    rgba(15,23,42,.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--accent-l);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem; height: 2px;
  background: var(--accent);
}

.hero-headline {
  color: var(--text-white);
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.hero-headline span { color: var(--accent-l); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: var(--accent);
  color: var(--text-white);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-accent:hover { background: var(--accent-l); transform: translateY(-2px); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-l); transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  border: 1px solid var(--line);
  color: var(--text-body);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  z-index: 2;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 2.5rem;
  background: currentColor;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { height: 2.5rem; opacity: .4; transform: scaleY(1);   transform-origin: top; }
  50%  { height: 3.5rem; opacity: 1;  transform: scaleY(1);   transform-origin: top; }
  100% { height: 2.5rem; opacity: .4; transform: scaleY(1);   transform-origin: top; }
}

/* Hero Reveal */
.hero-eyebrow, .hero-headline, .hero-sub, .hero-actions {
  opacity: 0;
  animation: heroUp .9s var(--ease-expo) forwards;
}
.hero-eyebrow  { animation-delay: .2s; }
.hero-headline { animation-delay: .4s; }
.hero-sub      { animation-delay: .6s; }
.hero-actions  { animation-delay: .75s; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-44px);
  transition: opacity .85s var(--ease-expo), transform .85s var(--ease-expo);
  transition-delay: var(--delay, 0ms);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(44px);
  transition: opacity .85s var(--ease-expo), transform .85s var(--ease-expo);
  transition-delay: var(--delay, 0ms);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(.95);
  transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo);
  transition-delay: var(--delay, 0ms);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ─────────────────────────────────────────
   SECTION SHELL
───────────────────────────────────────── */
section { padding: var(--section-py) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem; height: 2px;
}
.section-eyebrow-text {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Default eyebrow: accent */
.section-eyebrow { color: var(--accent); }
.section-eyebrow::before { background: var(--accent); }

/* Green eyebrow */
.section-eyebrow.green { color: var(--green-l); }
.section-eyebrow.green::before { background: var(--green-l); }

/* ─────────────────────────────────────────
   SO ARBEITEN WIR – 4 Phasen (Split Layout)
───────────────────────────────────────── */
#so-arbeiten-wir {
  background: var(--bg-white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.approach-headline { margin-bottom: 1.25rem; }
.approach-sub {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.phase-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.6;
}
.phase-num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  margin-top: .1rem;
}
.phase-list li strong {
  color: var(--text-dark);
  font-weight: 700;
}

.approach-card {
  background: var(--bg-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.approach-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.approach-card-label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(26,54,93,.9);
  backdrop-filter: blur(12px);
  color: var(--text-white);
  padding: .6rem 1.1rem;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
}

/* ─────────────────────────────────────────
   VORTEILE – Bento Grid
───────────────────────────────────────── */
#vorteile {
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vorteile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.vorteile-headline { color: var(--text-dark); }
.vorteile-sub {
  max-width: 380px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .875rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-white);
  border: 1px solid var(--line);
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.75rem;
  transition: border-color .25s;
}
.bento-item:hover { border-color: var(--primary); }

.bento-item-icon {
  width: 2.75rem; height: 2.75rem;
  background: var(--primary-ll);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.bento-item-icon i { width: 1.25rem; height: 1.25rem; }

.bento-item-icon.green-icon {
  background: var(--green-ll);
  color: var(--green);
}
.bento-item-icon.accent-icon {
  background: var(--accent-ll);
  color: var(--accent);
}

.bento-num {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}
.bento-title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.bento-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grid Placement */
.bento-1 { grid-column: 1 / 5;  min-height: 280px; }
.bento-2 { grid-column: 5 / 9;  min-height: 280px; }
.bento-3 { grid-column: 9 / 13; min-height: 280px; }
.bento-4 { grid-column: 1 / 7;  min-height: 240px; }
.bento-5 { grid-column: 7 / 13; min-height: 240px; }

/* ─────────────────────────────────────────
   KUNDENPROBLEME – Asymmetric Service Layout
───────────────────────────────────────── */
#kundenprobleme {
  background: var(--bg-white);
}

.kp-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.kp-header .section-eyebrow { justify-content: center; }
.kp-sub {
  margin-top: .75rem;
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.kp-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.kp-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kp-card {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
  transition: border-color .25s;
}
.kp-card:hover { border-color: var(--primary); }

.kp-card-icon { width: 2rem; height: 2rem; color: var(--primary); }
.kp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.01em;
}
.kp-card-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Center Image */
.kp-center {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.kp-center img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 480px;
}
.kp-center-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,54,93,.92);
  backdrop-filter: blur(16px);
  color: var(--text-white);
  padding: .75rem 1.5rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.kp-center-badge span {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--accent-l);
  margin-bottom: .2rem;
}

/* ─────────────────────────────────────────
   LEAD MAGNET – Primary BG
───────────────────────────────────────── */
#lead-magnet {
  background: var(--primary);
  color: var(--text-white);
}

.lm-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.lm-inner .section-eyebrow { color: var(--accent-l); justify-content: center; }
.lm-inner .section-eyebrow::before { background: var(--accent-l); }

.lm-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1rem;
}
.lm-sub {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.lm-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.lm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.lm-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem; height: 1.1rem;
  background: var(--accent);
  border-radius: 50%;
  margin-top: .2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.lm-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  background: var(--text-white);
  color: var(--primary);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-white:hover { background: var(--accent-ll); transform: translateY(-2px); }

/* ─────────────────────────────────────────
   EINZUGSGEBIET
───────────────────────────────────────── */
#einzugsgebiet {
  background: var(--bg-light);
  border-top: 1px solid var(--line);
}

.ez-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ez-header .section-eyebrow { justify-content: center; }
.ez-headline { margin-bottom: .5rem; }
.ez-sub {
  font-size: .95rem;
  color: var(--text-muted);
}

.ez-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  max-width: 900px;
  margin-inline: auto;
}
.ez-chip {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: border-color .2s, color .2s;
}
.ez-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
#faq {
  background: var(--bg-white);
}

.faq-inner {
  max-width: 720px;
  margin-inline: auto;
}
.faq-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.4;
  transition: color .2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question i {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  color: var(--text-muted);
  transition: transform .3s var(--ease-expo);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-expo), padding .3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   CTA SPLIT
───────────────────────────────────────── */
#cta-section {
  background: var(--bg-muted);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem) clamp(2.5rem, 6vw, 6rem);
  gap: 1.25rem;
  /* kein eigener background – erbt var(--bg-muted) von #cta-section,
     damit der Gradient-Übergang zum Bild hin funktioniert */
}
.cta-headline { color: var(--text-dark); }
.cta-sub {
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
}
.cta-text .section-eyebrow-text { color: var(--accent); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.cta-meta {
  font-size: .82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: .03em;
}

.cta-image {
  position: relative;
  overflow: hidden;
}
.cta-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-expo);
}
.cta-image:hover img { transform: scale(1.03); }
.cta-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-muted) 0%, transparent 25%);
  pointer-events: none;
}

/* ─────────────────────────────────────────
   ÜBER UNS
───────────────────────────────────────── */
#ueber-uns {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
}
.uu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.uu-text { max-width: 540px; }
.uu-headline { margin-bottom: 1rem; }
.uu-body {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.uu-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.uu-fact {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem;
}
.uu-fact-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .35rem;
  display: block;
}
.uu-fact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.uu-image {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.uu-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 768px) {
  .uu-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   FÖRDERMITTEL-GUIDE
───────────────────────────────────────── */
#foerdermittel {
  background: var(--bg-light);
  border-top: 1px solid var(--line);
}
.fm-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.fm-body {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-top: .75rem;
}
.fm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fm-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: border-color .25s;
}
.fm-card:hover { border-color: var(--green-l); }
.fm-card-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--green-ll);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}
.fm-card-icon i { width: 1.2rem; height: 1.2rem; }
.fm-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.fm-card-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .fm-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  display: flex;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-white);
}
.footer-brand .logo-text .wm-home { color: var(--accent-l); }
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  margin-bottom: .4rem;
}
.footer-contact-line a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-contact-line a:hover { color: var(--text-white); }
.footer-contact-line svg, .footer-contact-line i { color: var(--accent-l); flex-shrink: 0; width: 14px; height: 14px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--text-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: var(--text-white); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .bento-1 { grid-column: 1 / 5; }
  .bento-2 { grid-column: 5 / 9; }
  .bento-3 { grid-column: 9 / 13; }
  .bento-4 { grid-column: 1 / 7; }
  .bento-5 { grid-column: 7 / 13; }
  .kp-grid { grid-template-columns: 1fr 1.3fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #mobile-nav { display: flex; }

  #hero { min-height: 90svh; }

  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { max-height: 350px; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 {
    grid-column: auto; min-height: 220px;
  }

  .kp-grid { grid-template-columns: 1fr; }
  .kp-center { display: none; }
  .kp-col { gap: 1rem; }

  .cta-split { grid-template-columns: 1fr; }
  .cta-image { height: 280px; }
  .cta-image-overlay { background: linear-gradient(180deg, var(--bg-muted) 0%, transparent 30%); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vorteile-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-accent, .btn-outline-light, .btn-primary, .btn-white { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 { min-height: 200px; }
  .lm-actions { flex-direction: column; }
}


/* ─────────────────────────────────────────
   Logo-Switching: hell/dunkel
   – .logo-light: weiße Version, sichtbar wenn Header NICHT gescrollt (über dunklem Hero)
   – .logo-dark:  dunkle Version, sichtbar wenn Header gescrollt (weißer Hintergrund)
───────────────────────────────────────── */
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo img { max-height: 56px; width: auto; display: block; }
.site-logo .logo-light { display: block; }
.site-logo .logo-dark  { display: none;  }

#site-header.scrolled .site-logo .logo-light { display: none;  }
#site-header.scrolled .site-logo .logo-dark  { display: block; }

/* Footer: immer logo-light (dunkler Hintergrund) */
.footer-logo img { max-width: 160px; height: auto; }

.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo:hover { opacity: 0.85; }

/* ─────────────────────────────────────────
   CF7 Formular – im Theme-Stil
───────────────────────────────────────── */
.cta-form,
.kontakt-form-wrap {
  margin-top: 2rem;
}

.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.wpcf7 form .wpcf7-form-control-wrap {
  display: block;
}

/* Jedes Span-Element (CF7 wrapper) als eigener Block mit Abstand */
.wpcf7 form > .wpcf7-form-control-wrap,
.wpcf7 form > p {
  margin: 0;
}

/* Direkte Inputs/Textareas etwas Luft nach unten */
.wpcf7 p {
  margin: 0 0 .6rem 0;
}

.wpcf7 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .wpcf7 .form-row { grid-template-columns: 1fr; }
}

/* Basis: alle Felder hell (weißer Hintergrund, dunkle Schrift, dunkler Rahmen) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: .85rem 1rem;
  background: #fff;
  border: 1.5px solid #c8c4bc;
  border-radius: var(--r-md);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9a9590;
  font-size: .9rem;
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  align-self: flex-start;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--accent-dark, #c47a00);
  transform: translateY(-1px);
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: .8rem;
  margin-top: .25rem;
}

.wpcf7 .wpcf7-response-output {
  padding: .75rem 1rem;
  border-radius: 0;
  font-size: .9rem;
  margin-top: .5rem;
  border: 1px solid;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.4);
  color: #16a34a;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.4);
  color: #dc2626;
}

/* ─────────────────────────────────────────
   Kontaktseite Layout
───────────────────────────────────────── */
.kontakt-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: var(--primary);
  color: var(--text-white);
}

.kontakt-hero .section-eyebrow-text { color: var(--accent); }
.kontakt-hero .t-section { color: var(--text-white); }
.admin-bar .kontakt-hero { padding-top: calc(var(--header-h) + 32px + 4rem); }

.kontakt-main {
  padding: 5rem 0 6rem;
  background: #fff;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.kontakt-info {
  padding: 2.5rem;
  background: var(--bg-light, #f8f7f5);
  border: 1px solid var(--line);
}

.kontakt-info h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.kontakt-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.kontakt-info-item:last-of-type { border-bottom: none; }

.kontakt-info-item i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .2rem;
}

.kontakt-info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

.kontakt-info-value {
  display: block;
  color: var(--text-dark);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}

a.kontakt-info-value:hover { color: var(--accent); }

.kontakt-versprechen {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(var(--accent-rgb, 212,130,0),.08);
  border-left: 3px solid var(--accent);
}

.kontakt-versprechen i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .2rem;
}

.kontakt-versprechen p {
  font-size: .9rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}
