/* ==========================================================================
   bern-heizung.ch – Hauptstylesheet
   Farbwelt: Navy #0E1E42 (gcg Logo) + Grün (Energie/Öko) – Mobile First
   ========================================================================== */

/* ---- Fonts (lokal, variable) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}

/* ---- Design Tokens ---- */
:root {
  --navy: #0E1E42;
  --navy-800: #16295C;
  --navy-100: #E8ECF5;
  --green-800: #14532D;
  --green-700: #15803D;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-100: #DCFCE7;
  --green-50: #F0FDF4;
  --text: #0E1E42;
  --text-soft: #4A566E;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F6F8F7;
  --bg-section: #F3F6F4;
  --border: #E5E9EC;
  --border-strong: #D5DBE1;
  --amber: #F59E0B;
  --red: #DC2626;
  --cool-700: #0369A1;
  --cool-600: #0284C7;
  --cool-500: #0EA5E9;
  --cool-100: #E0F2FE;
  --cool-50: #F0F9FF;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 30, 66, 0.06);
  --shadow: 0 4px 16px rgba(14, 30, 66, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 30, 66, 0.14);
  --container: 1200px;
  --header-h: 72px;
}

/* ---- Reset & Basis ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

/* Lucide Icons Grundgrösse */
svg.lucide { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- Typografie ---- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg-section); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}

.section-head p { margin-top: 14px; color: var(--text-soft); font-size: 1.06rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: all 0.22s ease;
  text-align: center;
}
.btn .lucide { width: 18px; height: 18px; }

.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}
.btn--primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.35);
}

.btn--outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--navy); transform: translateY(-1px); }

.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover { background: var(--green-50); transform: translateY(-2px); }

.btn--lg { padding: 17px 34px; font-size: 1.06rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(14, 30, 66, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.header-logo img { width: 132px; height: auto; }

.header-trust { display: none; }
.header-trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
}
.header-trust .lucide { width: 15px; height: 15px; color: var(--green-600); stroke-width: 3; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-cta { padding: 11px 20px; font-size: 0.94rem; white-space: nowrap; }

/* ==========================================================================
   Hero mit Multistep-Formular
   ========================================================================== */
.hero {
  position: relative;
  padding: 40px 0 56px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(22, 163, 74, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(14, 30, 66, 0.05), transparent 55%),
    linear-gradient(180deg, #FBFDFC 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge .lucide { width: 14px; height: 14px; }

.hero h1 { margin-bottom: 6px; }
.hero-sub {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-text {
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-text strong { color: var(--navy); font-weight: 600; }

.hero-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.98rem;
}
.hero-checks .check-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}
.hero-checks .check-ic .lucide { width: 13px; height: 13px; stroke-width: 3.5; }

.hero-partners { border-top: 1px solid var(--border); padding-top: 20px; max-width: 540px; }
.hero-partners__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.hero-partners__logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-partners__logos img {
  height: 26px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.25s ease;
}
.hero-partners__logos img:hover { filter: grayscale(0); opacity: 1; }
.hero-partners__logos .partner-ewb {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-muted);
  opacity: 0.75;
  letter-spacing: -0.01em;
}

/* ---- Formular-Karte ---- */
.form-wrap { position: relative; }

.form-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 24px;
  z-index: 2;
}

.form-flag {
  position: absolute;
  top: -14px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.form-flag .lucide { width: 13px; height: 13px; color: var(--green-500); }

.form-card__head { margin-bottom: 18px; }
.form-card__head h2 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card__head p { color: var(--text-soft); font-size: 0.94rem; }

/* Fortschritt */
.form-progress { margin-bottom: 22px; }
.form-progress__bar {
  height: 6px;
  background: var(--navy-100);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.form-progress__fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-progress__steps {
  display: flex;
  justify-content: space-between;
}
.form-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
}
.form-progress__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.form-progress__num .lucide { width: 14px; height: 14px; stroke-width: 3; }
.form-progress__step.is-active .form-progress__num {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 0 0 4px var(--green-100);
}
.form-progress__step.is-active { color: var(--green-700); }
.form-progress__step.is-done .form-progress__num { background: var(--green-100); color: var(--green-700); }
.form-progress__step.is-done { color: var(--green-700); }

/* Schritte */
.form-step { display: none; }
.form-step.is-active { display: block; animation: stepIn 0.35s ease; }

.form-step__title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.form-step__hint { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 16px; }

/* Options-Karten */
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-grid--3 { grid-template-columns: 1fr 1fr; }

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.18s ease;
  min-height: 92px;
  width: 100%;
}
.option-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.option-card.is-selected {
  border-color: var(--green-600);
  background: var(--green-50);
  box-shadow: 0 0 0 3px var(--green-100);
}
.option-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-section);
  color: var(--navy);
  transition: all 0.18s ease;
}
.option-card__icon .lucide { width: 21px; height: 21px; }
.option-card.is-selected .option-card__icon { background: var(--green-100); color: var(--green-700); }
.option-card__label { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.option-card__sub { font-size: 0.74rem; color: var(--text-muted); line-height: 1.3; }
.option-card__tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-600);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Dropdown (Zeitrahmen) */
.dropdown { position: relative; }

.dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.dropdown__trigger:hover { border-color: var(--green-500); }
.dropdown.is-open .dropdown__trigger,
.dropdown__trigger:focus-visible {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}
.dropdown.has-value .dropdown__trigger { color: var(--navy); font-weight: 600; }
.dropdown.has-error .dropdown__trigger { border-color: var(--red); }

.dropdown__icon { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }
.dropdown__value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.dropdown.is-open .dropdown__chevron { transform: rotate(180deg); }

.dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.dropdown.is-open .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 12px;
  background: none;
  border: none;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background 0.15s ease;
}
.dropdown__option:hover { background: var(--green-50); }
.dropdown__option > .lucide:first-child {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.dropdown__option span { flex: 1; }
.dropdown__check {
  width: 16px;
  height: 16px;
  color: var(--green-600);
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.dropdown__option.is-selected {
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
}
.dropdown__option.is-selected > .lucide:first-child { color: var(--green-600); }
.dropdown__option.is-selected .dropdown__check { opacity: 1; transform: scale(1); }

.form-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 10px;
}

/* Eingabefelder */
.form-fields { display: grid; gap: 12px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder { color: #9CA3AF; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}
.label-optional { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.field.has-error input { border-color: var(--red); }
.field-error {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 5px;
}
.field.has-error .field-error { display: block; }

.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Datenschutz-Checkbox */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: 4px;
}
.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green-600);
  flex-shrink: 0;
}
.consent-field a { text-decoration: underline; }
.consent-field.has-error { color: var(--red); }

/* Formular-Navigation */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 6px;
  transition: color 0.18s ease;
}
.form-back:hover { color: var(--navy); }
.form-back .lucide { width: 16px; height: 16px; }
.form-back[hidden] { display: none; }

.form-next, .form-submit { flex: 1; }

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}
.form-trust .lucide { width: 14px; height: 14px; color: var(--green-600); }

.form-error-box {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--red);
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* Mini-Trust unter der Formular-Karte */
.form-under {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-under span { display: inline-flex; align-items: center; gap: 6px; }
.form-under .lucide { width: 14px; height: 14px; color: var(--green-600); }

/* ==========================================================================
   USP-Karten
   ========================================================================== */
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.usp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: all 0.25s ease;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.usp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 16px;
}
.usp-card__icon .lucide { width: 26px; height: 26px; }
.usp-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.usp-card p { font-size: 0.92rem; color: var(--text-soft); }

/* ==========================================================================
   Eigenmietwert / Steuer-Sektion (dunkel)
   ========================================================================== */
.tax-section {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(34, 197, 94, 0.14), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(22, 163, 74, 0.1), transparent 50%),
    var(--navy);
  color: #fff;
  padding: 72px 0;
}
.tax-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.tax-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tax-kicker .lucide { width: 14px; height: 14px; }

.tax-section h2 { color: #fff; margin-bottom: 16px; }
.tax-section h2 em { font-style: normal; color: var(--green-500); }
.tax-lead { color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; max-width: 560px; margin-bottom: 8px; }
.tax-note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); margin-top: 22px; max-width: 560px; }

.tax-cards { display: grid; gap: 14px; }
.tax-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tax-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.16);
  color: var(--green-500);
  flex-shrink: 0;
}
.tax-card__icon .lucide { width: 22px; height: 22px; }
.tax-card h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.tax-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.tax-card--highlight {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
}

.tax-cta { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   Heizsysteme im Vergleich
   ========================================================================== */
.systems-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.system-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.system-card--featured { border: 2px solid var(--green-600); box-shadow: var(--shadow); }

.system-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.system-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.system-card:hover .system-card__img img { transform: scale(1.04); }

.system-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.system-card__badge--neutral { background: var(--navy); }
.system-card__badge .lucide { width: 12px; height: 12px; }

.system-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.system-card__body h3 { font-size: 1.15rem; margin-bottom: 12px; }
.system-card__list { display: grid; gap: 8px; margin-bottom: 18px; }
.system-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.system-card__list .lucide {
  width: 16px;
  height: 16px;
  color: var(--green-600);
  stroke-width: 3;
  margin-top: 3px;
}
.system-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--green-700);
  transition: gap 0.2s ease;
}
.system-card__link:hover { gap: 10px; }
.system-card__link .lucide { width: 16px; height: 16px; }

/* ==========================================================================
   Klima-Banner (Cross-Sell, kühles Blau)
   ========================================================================== */
.klima-band { padding: 0 0 64px; }

.klima-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background:
    radial-gradient(600px 300px at 95% -20%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(115deg, var(--cool-700) 0%, var(--cool-600) 55%, var(--cool-500) 100%);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.25);
}

.klima-card__deco {
  position: absolute;
  right: -30px;
  top: -40px;
  opacity: 0.13;
  pointer-events: none;
}
.klima-card__deco .lucide { width: 220px; height: 220px; stroke-width: 1; }

.klima-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.klima-kicker .lucide { width: 14px; height: 14px; }

.klima-card__content { position: relative; z-index: 1; }
.klima-card__content h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.klima-card__content p { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; max-width: 560px; }

.klima-card__action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}
.klima-card__note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }

.btn--cool {
  background: #fff;
  color: var(--cool-700);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35);
}
.btn--cool:hover {
  background: var(--cool-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(3, 105, 161, 0.4);
}

/* Im Modal: Blau als Primärfarbe */
.klima-modal .btn--cool {
  background: var(--cool-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.klima-modal .btn--cool:hover { background: var(--cool-700); }

/* ==========================================================================
   Klima-Popup (Multistep-Modal)
   ========================================================================== */
.klima-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.klima-modal[hidden] { display: none; }

.klima-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 45, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}

.klima-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 100dvh;
  overflow-y: auto;
  background: #fff;
  padding: 28px 24px 24px;
  animation: fadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile: Fullscreen */
@media (max-width: 767px) {
  .klima-modal__dialog {
    height: 100dvh;
    max-width: none;
    border-radius: 0;
    padding-top: 56px;
  }
}

/* Desktop: zentrierte Karte */
@media (min-width: 768px) {
  .klima-modal { padding: 24px; }
  .klima-modal__dialog {
    border-radius: var(--radius-lg);
    max-height: calc(100dvh - 48px);
    padding: 32px 30px 28px;
    box-shadow: 0 30px 90px rgba(8, 20, 45, 0.4);
  }
}

.klima-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  z-index: 2;
}
.klima-modal__close:hover { color: var(--navy); border-color: var(--navy); }
.klima-modal__close .lucide { width: 19px; height: 19px; }

.klima-modal__head { margin-bottom: 18px; padding-right: 42px; }
.klima-modal__head .klima-kicker {
  background: var(--cool-50);
  border-color: var(--cool-100);
  color: var(--cool-700);
}
.klima-modal__head h2 { font-size: 1.35rem; margin-bottom: 4px; }
.klima-modal__head p { color: var(--text-soft); font-size: 0.94rem; }

/* Blaue Zustände für Fortschritt & Auswahl im Klima-Modal */
.form-progress--cool .form-progress__fill {
  background: linear-gradient(90deg, var(--cool-600), var(--cool-500));
}
.form-progress--cool .form-progress__step.is-active .form-progress__num {
  background: var(--cool-600);
  box-shadow: 0 0 0 4px var(--cool-100);
}
.form-progress--cool .form-progress__step.is-active { color: var(--cool-700); }
.form-progress--cool .form-progress__step.is-done .form-progress__num {
  background: var(--cool-100);
  color: var(--cool-700);
}
.form-progress--cool .form-progress__step.is-done { color: var(--cool-700); }

.klima-modal .option-card:hover { border-color: var(--cool-500); }
.klima-modal .option-card.is-selected {
  border-color: var(--cool-600);
  background: var(--cool-50);
  box-shadow: 0 0 0 3px var(--cool-100);
}
.klima-modal .option-card.is-selected .option-card__icon {
  background: var(--cool-100);
  color: var(--cool-700);
}
.klima-modal .field input:focus,
.klima-modal .field textarea:focus {
  border-color: var(--cool-600);
  box-shadow: 0 0 0 3px var(--cool-100);
}
.klima-modal .form-trust .lucide { color: var(--cool-600); }
.klima-modal .consent-field input { accent-color: var(--cool-600); }

body.klima-modal-open { overflow: hidden; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: ablauf; }
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  transition: all 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step-card p { font-size: 0.92rem; color: var(--text-soft); }
.step-card__duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: 999px;
}
.step-card__duration .lucide { width: 12px; height: 12px; }

/* ==========================================================================
   Warum GCG / Region
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.about-list { display: grid; gap: 14px; margin: 24px 0 28px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list .check-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 1px;
}
.about-list .check-ic .lucide { width: 14px; height: 14px; stroke-width: 3; }
.about-list strong { display: block; color: var(--navy); font-size: 0.98rem; }
.about-list span { font-size: 0.9rem; color: var(--text-soft); }

.about-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #00293C;
  box-shadow: var(--shadow-lg);
}
.about-map img { width: 100%; }
.about-map__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.about-map__caption .lucide { width: 16px; height: 16px; color: var(--green-600); }

.partner-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.partner-row img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.55; transition: all 0.25s ease; }
.partner-row img:hover { filter: grayscale(0); opacity: 1; }
.partner-row .partner-ewb { font-weight: 800; font-size: 1.15rem; color: var(--text-muted); opacity: 0.7; }

/* ==========================================================================
   Zahlen / Stats
   ========================================================================== */
.stats-band { background: var(--bg-section); border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0; }
.stat { text-align: center; }
.stat__value {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat__value em { font-style: normal; color: var(--green-600); }
.stat__label { font-size: 0.88rem; color: var(--text-soft); font-weight: 500; margin-top: 6px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 3px; color: var(--amber); }
.testimonial-stars .lucide { width: 17px; height: 17px; fill: currentColor; }
.testimonial-card blockquote { font-size: 0.96rem; color: var(--text-soft); line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-author__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary .lucide {
  width: 18px;
  height: 18px;
  color: var(--green-600);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary .lucide { transform: rotate(45deg); }
.faq-item__body { padding: 0 20px 18px; font-size: 0.94rem; color: var(--text-soft); }
.faq-item__body a { font-weight: 600; }

/* ==========================================================================
   Finaler CTA
   ========================================================================== */
.final-cta { position: relative; overflow: hidden; }
.final-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 65%;
}
.final-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 30, 66, 0.94) 25%, rgba(14, 30, 66, 0.55) 100%);
}
.final-cta__inner { position: relative; z-index: 2; padding: 84px 0; max-width: 620px; }
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 28px; }
.final-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.final-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.final-cta__phone .lucide { width: 18px; height: 18px; color: var(--green-500); }
.final-cta__note { margin-top: 18px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 7px; }
.final-cta__note .lucide { width: 14px; height: 14px; color: var(--green-500); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand img { width: 132px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-uid { margin-top: 12px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-contact li { display: flex; gap: 10px; font-size: 0.92rem; margin-bottom: 12px; line-height: 1.5; }
.footer-contact a { display: flex; gap: 10px; color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; }
.footer-contact a:hover { color: #fff; }
.footer-contact .lucide { width: 17px; height: 17px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--green-500); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Sticky CTA (Mobile)
   ========================================================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(14, 30, 66, 0.1);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__btn { flex: 1; padding: 15px 10px; font-size: 0.98rem; }

/* ==========================================================================
   Cookie-Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px;
}
.cookie-banner__content {
  max-width: 720px;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 12px 48px rgba(14, 30, 66, 0.22);
}
.cookie-banner__text h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-banner__text h3 .lucide { width: 18px; height: 18px; color: var(--green-600); }
.cookie-banner__text p { font-size: 0.86rem; color: var(--text-soft); line-height: 1.55; }
.cookie-banner__link { font-weight: 600; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.cookie-btn--accept { background: var(--green-700); color: #fff; }
.cookie-btn--accept:hover { background: var(--green-800); }
.cookie-btn--reject { background: #F1F5F9; color: #334155; border: 1px solid var(--border); }
.cookie-btn--reject:hover { background: #E2E8F0; }

/* ==========================================================================
   Rechtsseiten & Danke-Seite
   ========================================================================== */
.legal-page { padding: 56px 0 72px; max-width: 800px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-page h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 10px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-page a { font-weight: 600; }
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 32px;
  font-weight: 600;
  font-size: 0.92rem;
}
.legal-page .back-link .lucide { width: 16px; height: 16px; }

.thanks-hero {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  padding: 64px 0;
  text-align: center;
}
.thanks-inner { max-width: 620px; margin: 0 auto; }
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 24px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thanks-icon .lucide { width: 42px; height: 42px; stroke-width: 2.5; }
.thanks-inner h1 { margin-bottom: 14px; }
.thanks-inner > p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 32px; }
.thanks-steps { display: grid; gap: 12px; text-align: left; margin-bottom: 32px; }
.thanks-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.thanks-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.thanks-step strong { display: block; font-size: 0.95rem; color: var(--navy); }
.thanks-step span { font-size: 0.87rem; color: var(--text-soft); }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.hidden-input { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
