@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #f4f1eb;
  --bg-dark: #0d2b1e;
  --bg-card: #ffffff;
  --green: #1a4731;
  --green-mid: #2d6a4f;
  --green-light: #e8f4ee;
  --gold: #c8871a;
  --gold-light: #fdf3e3;
  --text: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #717171;
  --border: #e2ddd5;
  --radius: 4px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-mid); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── LAYOUT ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--green);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px; border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-links a.cta {
  background: var(--green); color: white;
  padding: 8px 18px;
}
.nav-links a.cta:hover { background: var(--green-mid); }
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Nav Dropdown ── */
.nav-dropdown { position: relative; }
.nav-drop-trigger {
  font-size: 0.9rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 14px; border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  user-select: none; white-space: nowrap;
}
.nav-drop-trigger::after { content: '▾'; font-size: 0.7rem; opacity: 0.6; }
.nav-dropdown.open .nav-drop-trigger { color: var(--green); background: var(--green-light); }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10); min-width: 230px; padding: 6px; z-index: 200;
}
.nav-dropdown.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
  transition: background 0.15s, color 0.15s; text-decoration: none;
}
.nav-drop-menu a:hover { background: var(--green-light); color: var(--green); }
.nav-drop-menu .drop-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
@media (max-width: 768px) {
  .nav-dropdown .nav-drop-menu { display: none !important; }
  .nav-dropdown .nav-drop-trigger::after { display: none; }
}

/* ─── HERO ─── */
.hero {
  padding: 80px 0 64px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; color: var(--bg-dark); }
.hero h1 em { font-style: italic; color: var(--green-mid); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-mid);
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute; bottom: 24px; left: -24px;
  background: white; border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 180px;
}
.hero-badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--green);
  line-height: 1;
}
.hero-badge-text { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  padding: 14px 24px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-secondary:hover { background: var(--green-light); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: #b37818; transform: translateY(-1px); }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--bg-dark); padding: 40px 0;
}
.stats-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem; font-weight: 700; color: white;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: #a0aab4; margin-top: 6px; }

/* ─── SEGMENT CARDS ─── */
.segments { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px; transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.card-icon.green { background: var(--green-light); }
.card-icon.gold { background: var(--gold-light); }
.card-icon.gray { background: #f1f5f9; }
.card h3 { margin-bottom: 12px; color: var(--bg-dark); }
.card p { font-size: 0.95rem; margin-bottom: 20px; }
.card-tag {
  display: inline-block;
  background: var(--green-light); color: var(--green);
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 16px;
}
.card-tag.gold { background: var(--gold-light); color: var(--gold); }
.card-tag.gray { background: #f1f5f9; color: var(--text-light); }
.card-link {
  font-size: 0.9rem; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { gap: 10px; }

/* ─── WHY SECTION ─── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.why-content h2 { margin-bottom: 16px; }
.why-content p { margin-bottom: 32px; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-point-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; margin-top: 2px;
}
.why-point-text h4 { font-size: 1rem; margin-bottom: 4px; color: var(--bg-dark); }
.why-point-text p { font-size: 0.9rem; margin: 0; }
.why-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ─── RECHNER PROMO ─── */
.rechner-promo {
  background: var(--bg-dark); border-radius: var(--radius-lg);
  padding: 64px; margin: 0 24px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
}
.rechner-promo h2 { color: white; margin-bottom: 12px; }
.rechner-promo p { color: #8aaa90; }

/* ─── BLOG SECTION ─── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); display: block; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-cat {
  font-size: 0.75rem; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  padding: 80px 0; text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 36px; }
.cta-banner .hero-btns { justify-content: center; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-dark); padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: #7a9080; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem; font-weight: 600; color: #8aaa90;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.9rem; color: #7a9080;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1a3828;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.85rem; color: #567060; }

/* ─── INNER PAGE HERO ─── */
.page-hero {
  background: var(--bg-dark); padding: 64px 0;
}
.page-hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.page-hero .hero-eyebrow { background: rgba(255,255,255,0.1); color: #86efac; }
.page-hero h1 { color: white; margin: 16px 0; }
.page-hero p { color: #8aaa90; font-size: 1.1rem; max-width: 560px; }

/* ─── FEATURE LIST ─── */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: white; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-check {
  width: 24px; height: 24px; background: var(--green-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 0.8rem; flex-shrink: 0; margin-top: 2px;
}
.feature-item h4 { font-size: 1rem; color: var(--bg-dark); margin-bottom: 4px; }
.feature-item p { font-size: 0.9rem; margin: 0; }

/* ─── RECHNER CALC ─── */
.rechner-box {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.rechner-box iframe { width: 100%; min-height: 700px; border: none; display: block; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-item-icon {
  width: 40px; height: 40px; background: var(--green-light);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--green); flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; color: var(--text); margin: 0; }
.contact-form {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem;
  background: var(--bg); color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── PROS/CONS ─── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.pros, .cons {
  padding: 24px; border-radius: var(--radius-lg);
}
.pros { background: var(--green-light); }
.cons { background: #fef2f2; }
.pros h4 { color: var(--green); margin-bottom: 16px; }
.cons h4 { color: #b91c1c; margin-bottom: 16px; }
.pros li, .cons li { font-size: 0.9rem; margin-left: 16px; margin-bottom: 8px; }
.pros li { color: var(--green-mid); }
.cons li { color: #b91c1c; }

/* ─── EXAMPLE CALC TABLE ─── */
.calc-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; background: white;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.calc-table th {
  background: var(--bg-dark); color: white;
  padding: 14px 20px; text-align: left; font-size: 0.85rem; font-weight: 600;
}
.calc-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.calc-table tr:last-child td { border-bottom: none; }
.calc-table tr.highlight td { background: var(--green-light); font-weight: 600; color: var(--green); }
.calc-table td:last-child { font-weight: 600; text-align: right; }

/* ─── ACCORDION ─── */
.accordion { margin: 32px 0; }
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 8px; overflow: hidden;
}
.accordion-trigger {
  width: 100%; background: white; border: none; cursor: pointer;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  color: var(--text); text-align: left;
}
.accordion-trigger:hover { background: var(--bg); }
.accordion-icon { font-size: 1.2rem; color: var(--green); transition: transform 0.2s; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  display: none; padding: 0 20px 20px; background: white;
  font-size: 0.9rem; color: var(--text-mid);
}
.accordion-item.open .accordion-content { display: block; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .rechner-promo { grid-template-columns: 1fr; padding: 40px 24px; margin: 0 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
  .nav-links.open .nav-dropdown { display: contents; }
  .nav-links.open .nav-drop-trigger { display: none; }
  .nav-links.open .nav-drop-menu { display: contents !important; position: static; box-shadow: none; border: none; padding: 0; }
  .nav-links.open .nav-drop-menu a { padding-left: 28px; font-size: 0.88rem; }
  .nav-toggle { display: flex; }
  nav { position: relative; }
}
