/* ===== SMART-HOMIES · Global Styles ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #f0f5ff;
  --dark:     #e3ecf7;
  --card-bg:  #ffffff;
  --border:   #c8d8ea;
  --green:    #1fab5e;
  --teal:     #0099aa;
  --yellow:   #7a9a00;
  --text:     #182030;
  --muted:    #4d6a85;
  --glow-green: 0 0 30px rgba(31,171,94,0.18);
  --glow-teal:  0 0 30px rgba(0,153,170,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Exo 2', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
}

/* ───── NAVIGATION ───── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(240,245,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 50px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  color: #000 !important;
  padding: 8px 20px; border-radius: 4px;
}
.nav-cta:hover { opacity: 0.85; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--green); display: block; }

/* Mobile nav overlay */
#mnav {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(240,245,255,0.97); backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
#mnav.on { display: flex; }
#mnav a {
  font-family: 'Rajdhani', sans-serif; font-size: 1.4rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  color: var(--text); text-decoration: none;
}
#mnav a:hover { color: var(--green); }

/* ───── SCROLL PROGRESS ───── */
.sp {
  position: fixed; top: 72px; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, #3ddc84, #00c8c8, #c8e600);
  z-index: 998;
}

/* ───── PAGE HERO (inner pages) ───── */
.page-hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,153,170,0.10) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(31,171,94,0.08) 0%, transparent 60%),
              var(--black);
  padding: 120px 5% 80px;
  text-align: center;
}
.page-hero .stag { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ───── HERO (home) ───── */
#home {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,153,170,0.10) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(31,171,94,0.08) 0%, transparent 60%),
              var(--black);
  padding: 80px 5% 60px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; max-width: 1200px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,171,94,0.10); border: 1px solid rgba(31,171,94,0.35);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
  font-size: 0.75rem; letter-spacing: 2px; color: var(--green); text-transform: uppercase;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.grad {
  background: linear-gradient(135deg, #3ddc84, #00c8c8, #c8e600);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-p {
  background: linear-gradient(135deg, #3ddc84, #00c8c8); color: #000;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: 1.5px; font-size: 0.9rem; text-transform: uppercase;
  padding: 14px 32px; border-radius: 4px; text-decoration: none;
  box-shadow: var(--glow-green); transition: opacity 0.2s, transform 0.2s;
}
.btn-p:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-o {
  border: 1px solid rgba(0,153,170,0.5); color: var(--teal);
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: 1.5px; font-size: 0.9rem; text-transform: uppercase;
  padding: 14px 32px; border-radius: 4px; text-decoration: none; transition: background 0.2s;
}
.btn-o:hover { background: rgba(0,153,170,0.08); }

.stats-row { display: flex; gap: 32px; margin-top: 48px; }
.stat { border-left: 2px solid var(--green); padding-left: 16px; }
.stat-num {
  font-size: 1.8rem; font-weight: 900;
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 1px; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-house { width: 320px; height: 320px; position: relative; display: flex; align-items: center; justify-content: center; }
.ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  animation: spin linear infinite;
}
.r1 { width: 320px; height: 320px; border-color: rgba(31,171,94,0.28); animation-duration: 20s; }
.r2 { width: 240px; height: 240px; border-color: rgba(0,153,170,0.35); animation-duration: 15s; animation-direction: reverse; }
.r3 { width: 160px; height: 160px; border-color: rgba(122,154,0,0.35); animation-duration: 10s; }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.hero-logo-big {
  width: 140px; height: 140px; object-fit: contain;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(31,171,94,0.40));
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ───── SECTIONS ───── */
section { padding: 100px 5%; }
.inner { max-width: 1200px; margin: 0 auto; }

.stag {
  font-family: 'Rajdhani', sans-serif; font-size: 0.72rem;
  letter-spacing: 3px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px; display: block;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 900; line-height: 1.15; margin-bottom: 14px; }
.sdesc { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; margin-bottom: 56px; }

/* ───── LEISTUNGEN ───── */
#leistungen, .sec-leistungen { background: var(--dark); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.svc {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px 28px; position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #3ddc84, #00c8c8);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(31,171,94,0.4); box-shadow: var(--glow-green); }
.svc:hover::before { transform: scaleX(1); }
.svc-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.svc h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.svc p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ───── ZIELGRUPPEN ───── */
#zielgruppen, .sec-zielgruppen { background: var(--black); }
.tg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tg {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 48px 40px; position: relative; overflow: hidden;
}
.tg::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,171,94,0.10), transparent);
  pointer-events: none;
}
.tg.t2::after { background: radial-gradient(circle, rgba(0,153,170,0.10), transparent); }
.tg-num {
  font-size: 4rem; font-weight: 900;
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.tg-num.teal {
  background: linear-gradient(135deg, #0099aa, #7a9a00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tg h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.tg p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.tg a { color: var(--green); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.tg.t2 a { color: var(--teal); }

/* ───── WARUM ───── */
#warum, .sec-warum { background: var(--dark); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why {
  padding: 32px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--card-bg);
}
.why-n {
  font-size: 0.72rem; letter-spacing: 2px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--teal);
  border: 1px solid rgba(0,153,170,0.4); padding: 3px 12px;
  border-radius: 100px; display: inline-block; margin-bottom: 14px;
}
.why h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ───── REFERENZEN ───── */
#referenzen, .sec-referenzen { background: var(--black); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ref {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px; position: relative;
}
.ref::before {
  content: '"'; font-size: 5rem; line-height: 0;
  position: absolute; top: 44px; right: 28px; opacity: 0.05; font-family: serif;
}
.stars { color: var(--green); margin-bottom: 16px; letter-spacing: 3px; }
.ref blockquote { font-size: 0.93rem; color: var(--muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.ref-who { font-weight: 700; font-size: 0.9rem; }
.ref-loc { font-size: 0.78rem; color: var(--muted); }

/* ───── NEWS ───── */
#news, .sec-news { background: var(--dark); }
.news-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.nc {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nc:hover { transform: translateY(-4px); box-shadow: var(--glow-teal); border-color: rgba(0,153,170,0.4); }
.nc-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.t1 { background: linear-gradient(135deg, rgba(31,171,94,0.12), rgba(0,153,170,0.08)); }
.t2 { background: linear-gradient(135deg, rgba(0,153,170,0.12), rgba(122,154,0,0.08)); }
.t3 { background: linear-gradient(135deg, rgba(122,154,0,0.10), rgba(31,171,94,0.08)); }
.nc-body { padding: 24px; }
.nc-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.nc-tag {
  font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--teal);
  background: rgba(0,153,170,0.10); padding: 3px 10px; border-radius: 100px;
}
.nc-date { font-size: 0.78rem; color: var(--muted); }
.nc h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.nc p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.nc-link { color: var(--green); text-decoration: none; font-size: 0.84rem; font-weight: 600; }
.nc-link:hover { text-decoration: underline; }

.add-btn {
  background: none; border: 1px solid rgba(31,171,94,0.5); color: var(--green);
  font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 1.5px;
  font-size: 0.84rem; text-transform: uppercase; padding: 10px 22px;
  border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.add-btn:hover { background: rgba(31,171,94,0.08); }

/* ───── KONTAKT ───── */
#kontakt, .sec-kontakt { background: var(--black); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ct-info { display: flex; flex-direction: column; gap: 28px; }
.ct-item { display: flex; gap: 20px; }
.ct-icon {
  width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0;
  background: rgba(31,171,94,0.10); border: 1px solid rgba(31,171,94,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.ct-item h4 { font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; letter-spacing: 1px; }
.ct-item p { font-size: 0.95rem; font-weight: 600; }
.ct-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 40px; }
.ct-form h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 24px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 0.78rem; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.fg input, .fg textarea, .fg select {
  width: 100%; background: #f5f8ff; border: 1px solid var(--border); color: var(--text);
  padding: 10px 14px; border-radius: 4px; font-family: 'Exo 2', sans-serif; font-size: 0.9rem; transition: border-color 0.2s;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { outline: none; border-color: var(--green); }
.fg textarea { min-height: 100px; resize: vertical; }
.fg select option { background: #f5f8ff; }
.submit-btn {
  background: linear-gradient(135deg, #3ddc84, #00c8c8); color: #000;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.9rem;
  padding: 13px 28px; border: none; border-radius: 4px; cursor: pointer;
  width: 100%; margin-top: 8px; transition: opacity 0.2s;
}
.submit-btn:hover { opacity: 0.9; }
#ty { display: none; margin-top: 14px; color: var(--green); font-size: 0.9rem; }

/* ───── FOOTER ───── */
footer { background: var(--dark); border-top: 1px solid var(--border); padding: 60px 5% 0; }
.ft { max-width: 1200px; margin: 0 auto; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ft-brand img { height: 52px; object-fit: contain; margin-bottom: 16px; display: block; }
.ft-brand p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }
.ft-col h4 {
  font-family: 'Rajdhani', sans-serif; font-size: 0.78rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col ul a { color: var(--muted); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.ft-col ul a:hover { color: var(--green); }
.ft-bar { height: 3px; background: linear-gradient(90deg, #3ddc84, #00c8c8, #c8e600); }
.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding: 24px 0;
}
.ft-bottom p { font-size: 0.81rem; color: var(--muted); }

/* ───── MODAL ───── */
.mo-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.82); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.mo-overlay.on { display: flex; }
.mo {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 40px; width: 90%; max-width: 540px; position: relative;
}
.mo h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; }
.mo-x {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer;
}
.mo-x:hover { color: var(--text); }

/* ───── FADE-IN ───── */
.fu { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fu.vis { opacity: 1; transform: none; }

/* ───── BREADCRUMB ───── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', sans-serif; font-size: 0.8rem;
  letter-spacing: 1px; color: var(--muted); margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--green); }

/* ───── CTA BANNER ───── */
.cta-banner {
  background: linear-gradient(135deg, rgba(31,171,94,0.08), rgba(0,153,170,0.06));
  border: 1px solid rgba(31,171,94,0.2); border-radius: 12px;
  padding: 48px 40px; text-align: center; margin-top: 64px;
}
.cta-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: var(--muted); margin-bottom: 28px; }

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  .hero-grid, .tg-grid, .ct-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 580px) {
  .why-grid { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   PATH CHOOSER – Two-way Hero (index.html)
═══════════════════════════════════════════════════════════════ */

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%,  rgba(0,153,170,.09)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(31,171,94,.07)  0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(200,230,0,.05)  0%, transparent 50%),
    var(--black);
  padding: 110px 24px 72px;
}

.hero-path-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.hero-path-layout .hero-badge { justify-content: center; margin-bottom: 24px; }

.hero-path-layout h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-path-layout .hero-sub {
  max-width: 540px;
  margin: 0 auto 52px;
  font-size: 1.05rem;
}

/* ── Two Path Cards ── */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 860px;
  margin-bottom: 56px;
  text-align: left;
}

.path-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}

.path-card:hover { transform: translateY(-7px); }

/* Top accent line */
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

/* Beratung — calm, teal */
.path-card.path-beratung::before {
  background: linear-gradient(90deg, #0099aa, #00c8c8);
}
.path-card.path-beratung:hover {
  border-color: rgba(0,153,170,.55);
  box-shadow: 0 12px 48px rgba(0,153,170,.14);
}

/* Konfigurator — energetic, green gradient */
.path-card.path-konfigurator {
  background: linear-gradient(145deg,
    rgba(31,171,94,.05) 0%,
    rgba(0,200,200,.04) 100%),
    var(--card-bg);
  border-color: rgba(31,171,94,.35);
}
.path-card.path-konfigurator::before {
  background: linear-gradient(90deg, #3ddc84, #00c8c8, #c8e600);
}
.path-card.path-konfigurator:hover {
  border-color: rgba(31,171,94,.65);
  box-shadow: 0 12px 48px rgba(31,171,94,.18);
}

/* "Empfohlen" badge */
.path-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.path-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}

.path-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.path-card > p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.path-hint {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
  padding: 12px 0;
  margin: 12px 0 0;
  border-top: 1px solid var(--border);
  flex: 1;
}

/* Path buttons */
.path-btn {
  display: block;
  margin-top: 24px;
  padding: 13px 20px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all .2s;
  line-height: 1.2;
}

.path-btn-beratung {
  background: transparent;
  border: 1.5px solid rgba(0,153,170,.5);
  color: var(--teal);
}
.path-btn-beratung:hover {
  background: rgba(0,153,170,.08);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.path-btn-konfigurator {
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  color: #000;
  box-shadow: 0 4px 20px rgba(31,171,94,.3);
}
.path-btn-konfigurator:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(31,171,94,.4);
}

/* Stats centered below cards */
.stats-row-center {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 8px;
}
.stats-row-center .stat {
  border-left: 2px solid var(--green);
  padding-left: 16px;
  text-align: left;
}

/* ═══════════════════════════════════════════════════════════════
   BERATUNGS-MODAL
═══════════════════════════════════════════════════════════════ */

.bm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(215,228,245,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bm-overlay.open { display: flex; }

.bm-modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.13);
  animation: modalIn .3s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes modalIn {
  from { transform: scale(.93); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.bm-top {
  height: 4px;
  background: linear-gradient(90deg, #0099aa, #00c8c8, #3ddc84);
  border-radius: 18px 18px 0 0;
  flex-shrink: 0;
}

.bm-body { padding: 36px 40px 40px; }

.bm-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--muted); font-size: 1.4rem;
  cursor: pointer; line-height: 1; padding: 4px;
  transition: color .2s;
  border-radius: 4px;
}
.bm-close:hover { color: var(--text); }

.bm-stag { color: var(--teal); }

.bm-modal h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 8px 0 10px;
}

.bm-desc {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bm-promises {
  display: flex;
  gap: 6px 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px 16px;
  background: rgba(31,171,94,.06);
  border: 1px solid rgba(31,171,94,.15);
  border-radius: 8px;
}
.bm-promise {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.bm-promise::before { content: '✓'; color: var(--green); font-weight: 700; }

#bm-ty { display: none; padding: 32px 0; text-align: center; }
#bm-ty p { color: var(--green); font-size: 1rem; margin-top: 12px; font-weight: 600; }
#bm-ty span { font-size: 3rem; display: block; }

/* ═══════════════════════════════════════════════════════════════
   KONFIGURATOR — New 7-Step Wizard
═══════════════════════════════════════════════════════════════ */

.kfg-new-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%,  rgba(0,153,170,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(31,171,94,.06) 0%, transparent 55%),
    var(--black);
  padding: 100px 24px 80px;
}

/* Intro header */
.kfg-new-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 0 8px;
}
.kfg-new-intro .hero-badge { justify-content: center; margin-bottom: 18px; }
.kfg-new-intro h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; margin-bottom: 12px; }
.kfg-new-intro p { color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 500px; margin: 0 auto; }

/* Trust row */
.kfg-trust-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.kfg-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; color: var(--muted);
}
.kfg-trust-item span:first-child { font-size: .9rem; }

/* Progress bar */
.kfg-new-progress-wrap {
  max-width: 760px;
  margin: 0 auto 20px;
}
.kfg-new-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
}
.kfg-prog-step { font-size: .76rem; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.kfg-prog-pct  { font-size: .76rem; color: var(--muted); }
.kfg-new-progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.kfg-new-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3ddc84, #00c8c8);
  border-radius: 100px;
  transition: width .45s ease;
}

/* Wizard card */
.kfg-new-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,.06);
}

/* Step panels */
.kfg-step-panel {
  display: none;
  padding: 48px 48px 36px;
  animation: kfgStepIn .3s ease;
}
.kfg-step-panel.active { display: block; }

@keyframes kfgStepIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.kfg-step-panel.from-back {
  animation: kfgStepBack .3s ease;
}
@keyframes kfgStepBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.kfg-step-q {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.3;
}

/* Option grids */
.kfg-opts {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}
.kfg-opts-3  { grid-template-columns: repeat(3, 1fr); }
.kfg-opts-5  { grid-template-columns: repeat(5, 1fr); }
.kfg-opts-4  { grid-template-columns: repeat(4, 1fr); }
.kfg-opts-2  { grid-template-columns: 1fr 1fr; }

/* Individual option card */
.kfg-opt {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px 18px;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  position: relative;
  user-select: none;
  background: var(--card-bg);
}
.kfg-opt:hover {
  border-color: rgba(0,153,170,.45);
  background: rgba(0,153,170,.04);
  transform: translateY(-3px);
}
.kfg-opt.sel {
  border-color: var(--green);
  background: rgba(31,171,94,.07);
  box-shadow: 0 0 0 3px rgba(31,171,94,.12);
}
.kfg-opt.sel::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 10px;
  width: 20px; height: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.kfg-opt-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.kfg-opt-label {
  font-weight: 700;
  font-size: .9rem;
  display: block;
  line-height: 1.3;
  color: var(--text);
}
.kfg-opt-sub {
  font-size: .75rem;
  color: var(--muted);
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

/* Multi-select hint */
.kfg-multi-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .79rem;
  color: var(--muted);
  margin-bottom: 18px;
  font-style: italic;
}
.kfg-multi-hint::before { content: 'ℹ'; color: var(--teal); font-style: normal; font-size: .9rem; }

/* Step 7: Lead form intro */
.kfg-lead-box {
  background: linear-gradient(135deg, rgba(31,171,94,.06), rgba(0,153,170,.04));
  border: 1px solid rgba(31,171,94,.18);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 26px;
}
.kfg-lead-box p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* Bottom nav bar */
.kfg-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 32px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.kfg-btn-back {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: .83rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 11px 24px; border-radius: 8px;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.kfg-btn-back:hover { border-color: var(--teal); color: var(--teal); }
.kfg-btn-back:disabled { opacity: .3; cursor: not-allowed; }

.kfg-btn-next {
  background: linear-gradient(135deg, #3ddc84, #00c8c8);
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: .9rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 36px; border: none; border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(31,171,94,.3);
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.kfg-btn-next:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(31,171,94,.4); }
.kfg-btn-next:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

/* Success / confirmation screen */
.kfg-success-panel {
  display: none;
  padding: 64px 48px;
  text-align: center;
  animation: kfgStepIn .4s ease;
}
.kfg-success-panel.active { display: block; }
.kfg-success-icon { font-size: 4rem; display: block; margin-bottom: 24px; animation: successPop .4s cubic-bezier(.175,.885,.32,1.275); }
@keyframes successPop { from { transform: scale(0); opacity:0; } to { transform: scale(1); opacity:1; } }
.kfg-success-panel h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.kfg-success-panel p { color: var(--muted); max-width: 440px; margin: 0 auto 32px; line-height: 1.65; font-size: .95rem; }

.kfg-sum-grid {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kfg-sum-item { font-size: .85rem; }
.kfg-sum-key { color: var(--muted); font-size: .76rem; letter-spacing: .5px; margin-bottom: 2px; font-family: 'Rajdhani', sans-serif; font-weight: 600; text-transform: uppercase; }
.kfg-sum-val { color: var(--text); font-weight: 700; }
.kfg-sum-full { grid-column: 1 / -1; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .path-cards { grid-template-columns: 1fr; max-width: 480px; }
  .kfg-opts-5 { grid-template-columns: repeat(3, 1fr); }
  .kfg-opts-4 { grid-template-columns: repeat(2, 1fr); }
  .kfg-opts-3 { grid-template-columns: repeat(3, 1fr); }
  .kfg-sum-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kfg-step-panel { padding: 28px 20px 24px; }
  .kfg-step-nav { padding: 18px 20px 26px; }
  .kfg-success-panel { padding: 40px 20px; }
  .kfg-opts-3, .kfg-opts-4, .kfg-opts-5 { grid-template-columns: 1fr 1fr; }
  .bm-body { padding: 28px 24px 32px; }
  .stats-row-center { gap: 28px; }
}
@media (max-width: 400px) {
  .kfg-opts-2 { grid-template-columns: 1fr; }
}

/* ── Konfigurator Nav Button (distinct from regular CTA) ── */
.nav-kfg {
  background: linear-gradient(135deg, #3ddc84, #00c8c8) !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-kfg:hover { opacity: .85 !important; }

/* ============================================================
   COOKIE CONSENT BANNER – Smart-Homies
   ============================================================ */
#smh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0d1117;
  border-top: 2px solid var(--green, #3ddc84);
  box-shadow: 0 -8px 40px rgba(0,0,0,.55);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  font-family: 'Exo 2', sans-serif;
}
#smh-cookie-banner.smh-cb-visible  { transform: translateY(0); }
#smh-cookie-banner.smh-cb-hide     { transform: translateY(100%); }

.smh-cb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.smh-cb-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 260px;
}

.smh-cb-logo {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.smh-cb-text strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.smh-cb-text p {
  color: #8b9ab1;
  font-size: .85rem;
  line-height: 1.55;
  margin: 0 0 6px;
}

.smh-cb-link {
  color: var(--green, #3ddc84);
  font-size: .82rem;
  text-decoration: none;
  transition: opacity .2s;
}
.smh-cb-link:hover { opacity: .75; }

.smh-cb-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}

.smh-cb-btn {
  padding: 11px 22px;
  border-radius: 6px;
  font-family: 'Exo 2', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.smh-cb-btn:hover { opacity: .85; transform: translateY(-1px); }
.smh-cb-btn:active { transform: translateY(0); }

.smh-cb-primary {
  background: var(--green, #3ddc84);
  color: #0d1117;
}
.smh-cb-secondary {
  background: transparent;
  color: #c8d0db;
  border: 1px solid rgba(255,255,255,.2);
}

@media (max-width: 640px) {
  .smh-cb-inner   { padding: 16px 20px; gap: 16px; }
  .smh-cb-actions { width: 100%; justify-content: flex-end; }
  .smh-cb-btn     { flex: 1; text-align: center; padding: 12px 16px; }
}

/* ============================================================
   MOBILE OPTIMIERUNG (Responsive Design)
   ============================================================ */

@media (max-width: 768px) {
  /* --- Allgemeine Abstände --- */
  .inner {
    padding: 0 20px;
  }
  
  section {
    padding: 60px 0; /* Etwas weniger vertikaler Abstand auf Mobilgeräten */
  }

  /* --- Typografie --- */
  h1 { font-size: 2.2rem !important; line-height: 1.2; }
  h2 { font-size: 1.8rem !important; }
  .hero-sub { font-size: 1rem; }

  /* --- Navigation --- */
  .nav-links {
    display: none; /* Desktop Links verstecken */
  }
  
  .hamburger {
    display: flex; /* Hamburger Icon anzeigen */
  }

  /* --- Hero Sektion --- */
  .hero-grid {
    grid-template-columns: 1fr; /* Text und Visual untereinander */
    text-align: center;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1; /* Bild über dem Text anzeigen */
  }
  
  .btn-row {
    flex-direction: column; /* Buttons untereinander stapeln */
    gap: 12px;
  }
  
  .btn-p, .btn-o {
    width: 100%;
    text-align: center;
  }

  /* --- Grid Systeme (Leistungen, Warum, Referenzen, News) --- */
  .svc-grid, 
  .why-grid, 
  .ref-grid, 
  .news-grid, 
  .ct-grid {
    grid-template-columns: 1fr !important; /* Alle Spalten auf 100% Breite */
    gap: 20px;
  }

  /* --- Konfigurator Wizard --- */
  .kfg-new-card {
    padding: 24px 16px;
    margin: 0 10px;
  }

  .kfg-opts {
    grid-template-columns: 1fr !important; /* Auswahlmöglichkeiten stapeln */
  }

  .kfg-opt {
    padding: 16px;
    flex-direction: row;
    text-align: left;
    gap: 15px;
    align-items: center;
  }

  .kfg-opt-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .kfg-step-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .kfg-btn-next, .kfg-btn-back {
    width: 100%;
    justify-content: center;
  }

  /* --- Footer --- */
  .ft-top {
    grid-template-columns: 1fr !important; /* Footer-Spalten stapeln */
    text-align: center;
  }
  
  .ft-brand {
    align-items: center;
  }
  
  .ft-col ul {
    padding-bottom: 20px;
  }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr; /* Statistiken untereinander */
    gap: 20px;
  }
  
  .page-hero {
    padding: 80px 0 40px;
  }
  
  /* Kontaktformular Anpassung */
  .ct-form {
    padding: 20px;
  }
  
  #kfg-form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important; /* Name/E-Mail Felder untereinander */
  }
}
