/* ============================================================
   HOMEPAGE — REDESIGN WELLE 1 (2026-04)
   Editorial B2B look, navy-hero + paper sections.
   ============================================================ */

/* === BODY / BASE === */
body.hp-redesign { background: var(--paper); color: var(--ink-900); }
body.hp-redesign .container { max-width: 1180px; }

/* === HP-NAV (overrides global .nav on homepage hero) === */
body.hp-redesign .nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,22,40,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0; min-height: 68px;
}
body.hp-redesign .nav .container { height: 68px; display: flex; align-items: center; justify-content: space-between; }
body.hp-redesign .nav-logo { display: inline-flex; align-items: center; height: 40px; }
body.hp-redesign .nav-logo-img { height: 40px; width: auto; display: block; }
body.hp-redesign .nav-logo-light { display: none; }
body.hp-redesign .nav-logo-dark { display: block; }
body.hp-redesign .nav.scrolled .nav-logo-dark { display: none; }
body.hp-redesign .nav.scrolled .nav-logo-light { display: block; }
body.hp-redesign .nav-links { gap: 28px; }
body.hp-redesign .nav-links a { color: rgba(255,255,255,.75); font-size: 0.875rem; font-weight: 500; transition: color .15s; }
body.hp-redesign .nav-links a:hover { color: #fff; text-decoration: none; }
body.hp-redesign .nav-cta { background: var(--accent); color: #fff !important; padding: 9px 18px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 500; box-shadow: 0 1px 0 rgba(255,255,255,.1) inset; }
body.hp-redesign .nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
body.hp-redesign .nav-toggle { color: #fff; }

/* Nav goes light after hero (on scroll past hero) */
body.hp-redesign .nav.scrolled {
  background: rgba(251,250,247,.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(15,23,42,.06);
}
body.hp-redesign .nav.scrolled .nav-logo { color: var(--ink-900); }
body.hp-redesign .nav.scrolled .nav-links a { color: var(--ink-700); }
body.hp-redesign .nav.scrolled .nav-links a:hover { color: var(--ink-900); }
body.hp-redesign .nav.scrolled .nav-toggle { color: var(--ink-900); }

/* === HERO === */
.hp-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,.05), transparent 50%);
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hp-hero .container { position: relative; z-index: 1; }
.hp-hero-inner { max-width: 920px; display: flex; flex-direction: column; gap: 24px; }

.hp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  font-size: 0.75rem; font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  align-self: flex-start;
}
.hp-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }

.hp-hero h1 {
  font-family: var(--fs-display);
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  max-width: 14ch;
}
.hp-hero h1 em { color: var(--accent); font-style: italic; font-weight: 400; }

.hp-hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
  max-width: 52ch;
  margin: 0;
}
.hp-hero-lead strong { color: #fff; font-weight: 600; }

.hp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--fs-sans);
  font-weight: 500; font-size: 1rem;
  border-radius: var(--radius);
  transition: all .15s ease;
  white-space: nowrap;
  border: none; cursor: pointer;
}
.hp-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 0 0 1px rgba(0,0,0,.04); }
.hp-btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.hp-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.hp-btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; border-color: rgba(255,255,255,.4); }
.hp-btn-light { background: #fff; color: var(--ink-900); border: 1px solid var(--ink-200); }
.hp-btn-light:hover { border-color: var(--ink-300); color: var(--ink-900); text-decoration: none; }
.hp-btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.hp-btn-lg { padding: 18px 32px; font-size: 1.0625rem; }

/* Hero stats */
.hp-hero-stats {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hp-hero-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hp-stat-value {
  font-family: var(--fs-display);
  font-size: 2.625rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
}
.hp-stat-value.accent { color: var(--accent); }
.hp-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,.55); margin-top: 6px; }
.hp-hero-methodik-link {
  margin-top: 28px; font-size: 0.8125rem; color: rgba(255,255,255,.55);
}
.hp-hero-methodik-link a { color: var(--accent); border-bottom: 1px solid currentColor; }
.hp-hero-methodik-link a:hover { color: var(--accent-light); text-decoration: none; }

/* === TRUST STRIP === */
.hp-trust-strip {
  background: var(--paper);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.hp-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hp-trust-item {
  display: flex; align-items: center; gap: 12px;
}
.hp-trust-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--accent);
}
.hp-trust-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.hp-trust-text span { display: block; font-size: 0.8125rem; color: var(--ink-500); margin-top: 2px; }

/* === SECTIONS (generic) === */
.hp-section { padding: 72px 0; }
.hp-section-alt { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-section-white { background: #fff; }
.hp-section-navy { background: var(--navy-900); color: #fff; }

.hp-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--fs-sans);
}
.hp-h2 {
  font-family: var(--fs-sans);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0; color: var(--ink-900);
}
.hp-h2 em { color: var(--accent); font-style: normal; font-weight: 600; }
.hp-h3 {
  font-family: var(--fs-sans);
  font-size: 1.375rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.25; color: var(--ink-900);
  margin: 0 0 12px;
}
.hp-section-head { max-width: 680px; margin-bottom: 40px; }
.hp-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.hp-section-head-row .hp-section-head { max-width: 600px; margin-bottom: 0; }
.hp-lede { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-700); margin: 16px 0 0; text-wrap: pretty; }
.hp-navy-h2 { color: #fff; }

/* === VALUE PROPS === */
.hp-vp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.hp-vp-item { display: flex; flex-direction: column; gap: 14px; }
.hp-vp-num {
  font-family: var(--fs-mono);
  font-size: 0.8125rem; color: var(--accent); font-weight: 600; letter-spacing: 0.06em;
}
.hp-vp-body { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-700); margin: 0; text-wrap: pretty; }

/* === ROLE TEASER GRID (alle 22) === */
.hp-roles-wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  min-height: 160px;
  position: relative;
}
.hp-role-card[data-cat]::before {
  font-family: var(--fs-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: -4px;
}
.hp-role-card[data-cat="management"]::before { content: "🏗️ Projekt & Bau"; }
.hp-role-card[data-cat="ingenieure"]::before { content: "⚙️ Ingenieure"; }
.hp-role-card[data-cat="planung"]::before { content: "📐 Planung & BIM"; }
.hp-role-card[data-cat="technik"]::before { content: "🔧 Service & Technik"; }
.hp-role-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(15,23,42,.12); text-decoration: none; color: inherit; }
.hp-role-label {
  font-family: var(--fs-display); font-size: 1.125rem;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
}
.hp-role-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
}
.hp-role-median {
  font-family: var(--fs-mono); font-size: 0.8125rem; color: var(--ink-500);
}
.hp-role-median strong { color: var(--ink-900); font-family: var(--fs-sans); font-weight: 600; }
.hp-role-arrow { width: 16px; height: 16px; color: var(--accent); }

/* Range bar (compact, in role card / examples) */
.hp-range {
  position: relative; height: 28px;
}
.hp-range-track {
  position: absolute; top: 14px; left: 0; right: 0; height: 4px;
  background: var(--ink-100); border-radius: 999px;
}
.hp-range-fill {
  position: absolute; top: 14px; height: 4px; border-radius: 999px;
  background: rgba(8, 145, 178, 0.3); /* fallback */
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}
.hp-range-dot {
  position: absolute; top: 10px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.hp-range-labels {
  display: flex; justify-content: space-between; margin-top: 2px;
  font-family: var(--fs-mono); font-size: 0.6875rem; color: var(--ink-500);
}

.hp-roles-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.hp-filter-btn {
  padding: 8px 16px;
  font-family: var(--fs-sans); font-size: 0.8125rem; font-weight: 500;
  border: 1px solid var(--ink-200);
  background: #fff; color: var(--ink-700);
  border-radius: 999px;
  cursor: pointer; transition: all .12s;
}
.hp-filter-btn:hover { border-color: var(--ink-300); }
.hp-filter-btn.active {
  border-color: var(--accent);
  background: rgba(8, 145, 178, 0.08); /* fallback */
  background: color-mix(in srgb, var(--accent) 8%, white);
  color: var(--accent-dark);
}

/* === EXAMPLES (Vermittlungen) === */
.hp-examples-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.hp-example-row {
  padding: 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.hp-examples-grid > .hp-example-row:nth-child(odd) { border-right: 1px solid var(--line); }
.hp-examples-grid > .hp-example-row:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.hp-example-meta { font-size: 0.75rem; color: var(--ink-500); margin-bottom: 4px; }
.hp-example-role {
  font-family: var(--fs-sans); font-size: 1.0625rem;
  font-weight: 600; letter-spacing: -0.005em; color: var(--ink-900);
}
.hp-example-val {
  font-family: var(--fs-display); font-variant-numeric: tabular-nums;
  font-size: 1.875rem; color: var(--accent); line-height: 1;
  text-align: right;
}
.hp-example-unit { font-family: var(--fs-mono); font-size: 0.6875rem; color: var(--ink-500); margin-top: 4px; text-align: right; }
.hp-examples-note { margin-top: 20px; font-size: 0.8125rem; color: var(--ink-500); }

/* === CALCULATOR TEASER === */
.hp-calc-teaser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hp-calc-teaser .hp-field { margin-bottom: 18px; }
.hp-calc-teaser .hp-field:last-child { margin-bottom: 0; }
.hp-field label { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-500); margin-bottom: 6px; }
.hp-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--fs-sans); font-size: 0.9375rem;
  transition: border-color .12s, box-shadow .12s;
  color: var(--ink-900);
}
.hp-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.18); /* fallback */
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.hp-range-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--ink-200); border-radius: 999px; outline: none;
}
.hp-range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  cursor: grab; box-shadow: var(--shadow-sm);
}
.hp-range-input::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); cursor: grab;
}
.hp-calc-out {
  margin-top: 24px; padding: 20px;
  background: var(--ink-50);
  border-radius: var(--radius);
}
.hp-calc-out-label { font-size: 0.75rem; color: var(--ink-500); margin-bottom: 8px; }
.hp-calc-out-range { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hp-calc-out-range .v {
  font-family: var(--fs-display); font-variant-numeric: tabular-nums;
  font-size: 2rem; color: var(--accent); font-weight: 500; line-height: 1;
}
.hp-calc-out-range .sep { color: var(--ink-400); }
.hp-calc-out-range .unit { font-size: 0.875rem; color: var(--ink-500); }
.hp-calc-out-med { margin-top: 6px; font-size: 0.75rem; color: var(--ink-500); }
.hp-calc-out-med strong { color: var(--ink-900); font-variant-numeric: tabular-nums; }

.hp-calc-teaser-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}

/* === COMPARE (region/groesse/erfahrung bar chart) === */
.hp-compare-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.hp-compare-chart {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.hp-compare-row {
  display: grid; grid-template-columns: 1.2fr 3fr 1fr;
  align-items: center; gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hp-compare-row:last-child { border-bottom: none; }
.hp-compare-row .lab { font-size: 0.9375rem; font-weight: 500; color: var(--ink-900); }
.hp-compare-row .bar { height: 10px; background: var(--ink-100); border-radius: 999px; overflow: hidden; position: relative; }
.hp-compare-row .bar > span {
  display: block; height: 100%; background: var(--accent); border-radius: 999px;
}
.hp-compare-row .val {
  font-family: var(--fs-mono); font-variant-numeric: tabular-nums;
  text-align: right; font-size: 0.9375rem; color: var(--accent); font-weight: 600;
}

/* === BUNDESLAND / STADT / ERFAHRUNG GRIDS === */
.hp-bl-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hp-bl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  min-height: 120px;
}
.hp-bl-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(15,23,42,.1); text-decoration: none; color: inherit; }
.hp-bl-name { font-family: var(--fs-display); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.hp-bl-pct {
  font-family: var(--fs-mono); font-variant-numeric: tabular-nums;
  font-size: 0.9375rem; font-weight: 600;
}
.hp-bl-pct.pos { color: var(--accent); }
.hp-bl-pct.neu { color: var(--ink-500); }
.hp-bl-pct.neg { color: #B4864A; }
.hp-bl-desc { font-size: 0.8125rem; color: var(--ink-500); line-height: 1.45; margin-top: auto; }

.hp-stadt-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.hp-stadt-link {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-700);
  text-align: center;
  text-decoration: none;
  transition: all .12s;
}
.hp-stadt-link:hover { border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }

.hp-erf-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-erf-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  text-decoration: none; color: inherit;
  transition: all .12s;
  display: flex; flex-direction: column; gap: 10px;
}
.hp-erf-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.hp-erf-badge {
  font-family: var(--fs-mono); font-size: 0.6875rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.hp-erf-title { font-family: var(--fs-display); font-size: 1.125rem; font-weight: 500; }
.hp-erf-range { font-size: 0.8125rem; color: var(--ink-500); }
.hp-erf-factor {
  margin-top: auto;
  font-family: var(--fs-mono); font-size: 0.75rem;
  color: var(--accent); font-weight: 600;
}

/* === COMPARISON HIGHLIGHT BOX === */
.hp-highlight {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  font-size: 1.0625rem; line-height: 1.7; color: var(--ink-700);
}
.hp-highlight strong { color: var(--accent-dark); }

/* === VERGLEICHS-GRID === */
.hp-vergleich-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.hp-vergleich-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  text-decoration: none; color: inherit;
  transition: all .12s;
  display: flex; flex-direction: column; gap: 8px;
}
.hp-vergleich-card:hover { border-color: var(--accent); text-decoration: none; color: inherit; }
.hp-vergleich-title { font-family: var(--fs-display); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.hp-vergleich-values {
  font-family: var(--fs-mono); font-variant-numeric: tabular-nums;
  font-size: 0.9375rem; color: var(--accent); font-weight: 600;
}
.hp-vergleich-desc { font-size: 0.8125rem; color: var(--ink-500); line-height: 1.4; }

/* === RATGEBER GRID === */
.hp-ratgeber-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.hp-ratgeber-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.hp-ratgeber-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(15,23,42,.12); text-decoration: none; color: inherit; }
.hp-ratgeber-title { font-family: var(--fs-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.hp-ratgeber-desc { font-size: 0.875rem; color: var(--ink-700); line-height: 1.55; margin-top: 4px; flex: 1; }
.hp-ratgeber-more { font-size: 0.8125rem; color: var(--accent); font-weight: 500; margin-top: 8px; }

/* === METHOD TEASER (Code-Block) === */
.hp-method-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hp-method-code {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  font-family: var(--fs-mono); font-size: 0.8125rem; line-height: 1.8;
  color: var(--ink-700);
}
.hp-method-code .c { color: var(--ink-500); margin-bottom: 8px; }
.hp-method-code strong { color: var(--ink-900); font-weight: 600; }

/* === TESTIMONIALS === */
.hp-testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.hp-testi-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.hp-testi-stars { display: flex; gap: 2px; color: #F59E0B; font-size: 1rem; line-height: 1; }
.hp-testi-quote { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-900); font-style: italic; margin: 0; }
.hp-testi-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.hp-testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8, 145, 178, 0.12); /* fallback */
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.875rem;
}
.hp-testi-meta { font-size: 0.8125rem; }
.hp-testi-meta strong { display: block; color: var(--ink-900); }
.hp-testi-meta span { color: var(--ink-500); }
.hp-testi-verified { font-size: 0.6875rem; color: var(--accent-dark); margin-top: 2px; display: block; }

/* === LANDING CTA (Navy) === */
.hp-cta-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: center;
}
.hp-cta-copy h2 {
  font-family: var(--fs-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.1;
  color: #fff; margin: 0; max-width: 18ch;
}
.hp-cta-copy h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.hp-cta-copy p { font-size: 1.0625rem; line-height: 1.6; margin-top: 20px; color: rgba(255,255,255,.7); max-width: 52ch; }

.hp-cta-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hp-cta-bullets { list-style: none; margin: 0 0 24px; padding: 0; }
.hp-cta-bullets li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 0.9375rem; color: rgba(255,255,255,.85);
}
.hp-cta-bullets li:last-child { border-bottom: none; }
.hp-cta-bullets svg { flex-shrink: 0; color: var(--accent); }
.hp-cta-note {
  margin-top: 12px; font-size: 0.75rem; text-align: center;
  color: rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* === LEAD FORM (2-Step, Navy inverted) === */
.hp-form-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.hp-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.hp-form-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.hp-form h3 {
  font-family: var(--fs-display);
  font-size: 1.625rem; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.hp-form-sub { font-size: 0.875rem; color: var(--ink-700); margin: 0 0 24px; }
.hp-form-fields { display: flex; flex-direction: column; gap: 16px; }
.hp-form-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.75rem; line-height: 1.5; color: var(--ink-700); }
.hp-form-checkbox input { margin-top: 3px; accent-color: var(--accent); }
.hp-form-checkbox a { color: var(--accent-dark); text-decoration: underline; }
.hp-form-submit {
  width: 100%; margin-top: 20px;
  padding: 16px 28px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: var(--fs-sans); font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: background .15s;
}
.hp-form-submit:hover { background: var(--accent-dark); }
.hp-form-trust { margin-top: 10px; font-size: 0.75rem; color: var(--ink-500); text-align: center; }

/* === COMPACT VARIANTS (contact section) === */
/* Anchor scroll fix: sticky-nav offset + viewport-sized section so browser can always top-align */
#kontakt {
  scroll-margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}
.hp-section-compact { padding: 56px 0 !important; }
.hp-form-wrap-tight {
  gap: 48px !important;
  align-items: center !important;
  max-width: 1080px;
  margin: 0 auto;
}
.hp-cta-bullets-tight { margin: 0 !important; }
.hp-cta-bullets-tight li {
  padding: 8px 0 !important;
  font-size: 1.0625rem;
  border-bottom: none !important;
  gap: 12px !important;
  color: rgba(255,255,255,.9) !important;
}
.hp-cta-bullets-tight svg { width: 18px !important; height: 18px !important; }
.hp-form-tight { padding: 22px !important; }
.hp-form-tight h3 { font-size: 1.25rem !important; }
.hp-form-tight .hp-form-fields { gap: 10px !important; }
.hp-form-tight .hp-field label { margin-bottom: 4px; font-size: 0.72rem; }
.hp-form-tight .hp-input { padding: 10px 12px; font-size: 0.9rem; }
.hp-form-tight .hp-form-submit { padding: 13px 24px; margin-top: 12px; font-size: 0.95rem; }
.hp-form-tight .hp-form-checkbox { font-size: 0.72rem; }

.hp-optional-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(8, 145, 178, 0.14); /* fallback */
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  vertical-align: middle;
}

@media (max-width: 720px) {
  .hp-section-compact { padding: 44px 0 !important; }
  .hp-form-wrap-tight { gap: 28px !important; }
}

/* Bonus step (after initial submit) */
.hp-form-success {
  display: none;
  padding: 20px 0; text-align: center;
}
.hp-form-success-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(8, 145, 178, 0.1); /* fallback */
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hp-form-success h3 { font-family: var(--fs-display); font-size: 1.375rem; color: var(--accent-dark); margin: 0 0 8px; }
.hp-form-success p { color: var(--ink-700); font-size: 0.9375rem; margin: 0 0 20px; line-height: 1.55; }
.hp-form-bonus-head { font-weight: 600; font-size: 0.875rem; color: var(--ink-900); margin: 24px 0 12px; text-align: left; border-top: 1px solid var(--line); padding-top: 20px; }
.hp-form-bonus { display: flex; flex-direction: column; gap: 12px; }
.hp-file-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 12px; border: 2px dashed var(--ink-300);
  border-radius: var(--radius); background: var(--ink-50);
  cursor: pointer; transition: border-color .12s;
}
.hp-file-drop:hover { border-color: var(--accent); }
.hp-file-drop svg { color: var(--ink-500); margin-bottom: 2px; }
.hp-file-drop-label { font-weight: 600; font-size: 0.8125rem; color: var(--ink-900); }
.hp-file-drop-hint { font-size: 0.6875rem; color: var(--ink-500); }
.hp-form-bonus-submit {
  padding: 14px; background: var(--emerald-700); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: var(--fs-sans); font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.hp-form-bonus-submit:hover { background: var(--emerald-600); }

/* === SEO CONTENT (text block) === */
.hp-seo { background: #fff; padding: 96px 0; border-top: 1px solid var(--line); }
.hp-seo .container { max-width: 860px; }
.hp-seo h2 { text-align: left; }
.hp-seo-text { margin-top: 24px; font-size: 1rem; line-height: 1.75; color: var(--ink-700); }
.hp-seo-text p { margin-bottom: 16px; }
.hp-seo-text a { color: var(--accent-dark); text-decoration: underline; }

/* === FOOTER (redesign-compatible) === */
body.hp-redesign .footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.75);
  padding: 72px 0 40px;
}
body.hp-redesign .footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
body.hp-redesign .footer-brand { max-width: 340px; }
body.hp-redesign .footer-logo-link { display: inline-block; margin-bottom: 4px; }
body.hp-redesign .footer-logo-img { max-width: 240px; width: 100%; height: auto; display: block; }
body.hp-redesign .footer-brand p { margin-top: 16px; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,.65); }
body.hp-redesign .footer-brand p a { color: rgba(255,255,255,.9); text-decoration: underline; }
body.hp-redesign .footer-brand p a:hover { color: #fff; }
body.hp-redesign .footer-title {
  color: #fff; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--fs-sans);
}
body.hp-redesign .footer ul { list-style: none; padding: 0; margin: 0; }
body.hp-redesign .footer li { margin-bottom: 10px; }
body.hp-redesign .footer a { color: rgba(255,255,255,.75); font-size: 0.875rem; transition: color .12s; text-decoration: none; }
body.hp-redesign .footer a:hover { color: #fff; text-decoration: none; }
body.hp-redesign .footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.75rem; color: rgba(255,255,255,.45);
  text-align: left;
}
body.hp-redesign .footer-bottom-meta { display: flex; gap: 20px; flex-wrap: wrap; }

/* === WA STICKY / MOBILE BAR (on hp pages) — inherit from main.css but tweak colors === */
body.hp-redesign .wa-sticky { z-index: 60; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hp-hero { padding: 72px 0 56px; }
  .hp-hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hp-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hp-vp-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .hp-roles-wrap { grid-template-columns: repeat(2, 1fr); }
  .hp-calc-teaser-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hp-method-grid { grid-template-columns: 1fr; gap: 24px; }
  .hp-cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hp-bl-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-stadt-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-erf-grid { grid-template-columns: repeat(2, 1fr); }
  body.hp-redesign .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hp-section { padding: 56px 0; }
  .hp-hero { padding: 56px 0 48px; }
  .hp-hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hp-trust-grid { grid-template-columns: 1fr; }
  .hp-roles-wrap { grid-template-columns: 1fr; }
  .hp-examples-grid { grid-template-columns: 1fr; }
  .hp-examples-grid > .hp-example-row { border-right: none !important; }
  .hp-examples-grid > .hp-example-row:not(:last-child) { border-bottom: 1px solid var(--line); }
  .hp-compare-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hp-compare-row .bar { grid-column: 1 / -1; }
  .hp-bl-grid { grid-template-columns: 1fr; }
  .hp-stadt-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-erf-grid { grid-template-columns: 1fr; }
  body.hp-redesign .footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  body.hp-redesign .footer { padding-bottom: 80px; }
  .hp-btn { padding: 14px 22px; font-size: 0.9375rem; }
  .hp-btn-lg { padding: 16px 26px; font-size: 1rem; }
  .hp-section-head { margin-bottom: 40px; }
}

/* === MOBILE INPUT ZOOM FIX (iOS auto-zooms on focus if font-size < 16px) === */
@media (max-width: 768px) {
  .hp-input,
  select.hp-input,
  textarea.hp-input,
  .hp-hero-calc-card .hp-input,
  .hp-form-tight .hp-input {
    font-size: 16px !important;
  }
  /* Minimum touch target height for interactive elements */
  .hp-input,
  select.hp-input,
  .hp-btn,
  .hp-form-submit {
    min-height: 44px;
  }
}

/* === DESKTOP: HIDE WHATSAPP-ONLY ELEMENTS (see main.css for rationale) === */
@media (min-width: 768px) {
  .wa-sticky,
  .mobile-cta-bar,
  .hp-btn[href*="wa.me"],
  a[href*="wa.me"].hp-btn-ghost,
  .kontakt-whatsapp-btn,
  .contact-card--whatsapp {
    display: none !important;
  }
}
body.impressum-page .wa-sticky { display: flex !important; }
