/* =================================================================
   Wärmepumpen-Vergleich · Wagner
   Custom CSS · Mai 2026
   ================================================================= */

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

:root {
  --primary: #1f4e78;
  --primary-light: #2e75b6;
  --accent: #58a83a;
  --warning: #ed7d31;
  --danger: #c00000;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #1f4e78;
  --text: #1a2e3d;
  --text-light: #586a78;
  --border: #e0e6ec;
  --shadow-sm: 0 1px 3px rgba(31,78,120,.08);
  --shadow-md: 0 4px 12px rgba(31,78,120,.12);
  --shadow-lg: 0 12px 32px rgba(31,78,120,.18);
  --radius: 14px;
  --radius-lg: 22px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HERO ========== */
.hero {
  background: #1f4e78;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-map iframe {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  border: 0;
  filter: saturate(1.1) contrast(1.05) brightness(1.0);
  pointer-events: auto;
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  /* Sehr dezent: links/oben nur leichte Tönung für Lesbarkeit, rechts/unten klare Sicht */
  background:
    linear-gradient(135deg, rgba(31,78,120,.55) 0%, rgba(31,78,120,.25) 45%, rgba(31,78,120,.15) 100%),
    linear-gradient(180deg, rgba(31,78,120,.0) 0%, rgba(31,78,120,.35) 100%);
  pointer-events: none;
}

/* Text-Sektionen über der Karte mit Glas-Effekt für Lesbarkeit */
.hero > .container.hero-content,
.hero-stats {
  position: relative;
  z-index: 2;
}

.hero > nav.container {
  position: relative;
  z-index: 3;
  background: rgba(31,78,120,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 14px 14px;
  max-width: 1248px;
}

.hero-content {
  background: rgba(31,78,120,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 44px 36px 28px !important;
  margin-top: 28px;
  margin-bottom: 28px;
  max-width: 880px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.hero-stats .stat {
  background: rgba(31,78,120,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.brand svg { opacity: .9; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color .2s;
}

.nav-links a:hover { color: #fff; }

.hero-content {
  padding: 64px 24px 32px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,.15);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.grad {
  background: linear-gradient(90deg, #ffd966, #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,.95);
  margin-bottom: 36px;
  max-width: 760px;
}

.lead strong { color: #ffd966; }

.cta-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  font-size: 15px;
}

.cta-primary {
  background: #ffd966;
  color: #1f4e78;
  box-shadow: var(--shadow-md);
}

.cta-primary:hover {
  background: #ffd152;
  transform: translateY(-2px);
}

.cta-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.cta-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 32px 24px 64px;
  position: relative;
  z-index: 1;
}

.stat {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
}

.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ffd966;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  letter-spacing: .3px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, #1f4e78, #2e75b6);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: rgba(255,255,255,.9); }

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 800px;
  line-height: 1.55;
}

.section-intro.center { margin: 0 auto 36px; }

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  position: relative;
  transition: all .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-rank {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #ffb000;
}

.card h3 { margin-bottom: 4px; font-size: 21px; }
.card-product {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  min-height: 36px;
}

.card-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  margin-bottom: 12px;
}

.card-features li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.card-features li:last-child { border-bottom: 0; }

.card-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.winner { border-color: var(--accent); border-width: 2.5px; }
.winner-badge { background: #e2efda; color: #2c5e1a; }
.budget-badge { background: #fff2cc; color: #856404; }

.budget { border-color: var(--warning); }
.premium { border-color: var(--primary-light); }
.expensive { border-color: var(--danger); opacity: .92; }

.onefive {
  border-color: #00C2A8;
  border-width: 2.5px;
  background: linear-gradient(180deg, #ffffff, #f0fbf9);
}

.onefive-badge {
  background: #00C2A8;
  color: #fff;
}

/* ========== MATRIX TABLE ========== */
.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.legend-item {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid;
}

.legend-red { background: #fce4d6; color: #842a09; border-color: #f0bf9b; }
.legend-yellow { background: #fff2cc; color: #856404; border-color: #ffe699; }
.legend-green { background: #e2efda; color: #2c5e1a; border-color: #b6d7a8; }
.legend-blue { background: #ddebf7; color: #1f4e78; border-color: #a4c5e5; }

.matrix-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.matrix thead {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
}

.matrix th {
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
}

.matrix th.pos-col {
  text-align: left;
  min-width: 220px;
}

.matrix td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.matrix td:first-child {
  text-align: left;
  font-weight: 500;
  background: var(--bg-alt);
  white-space: normal;
}

.matrix tr:hover td { background: #f8fafc; }
.matrix tr:hover td:first-child { background: #eaf2f9; }

.c-red { background: #fce4d6 !important; color: #842a09; font-weight: 600; }
.c-yellow { background: #fff2cc !important; color: #856404; font-weight: 600; }
.c-green { background: #e2efda !important; color: #2c5e1a; font-weight: 500; }
.c-blue { background: #ddebf7 !important; color: #1f4e78; }

/* ========== BOXES ========== */
.warning-box {
  background: linear-gradient(135deg, #fce4d6, #ffe8d0);
  border-left: 5px solid var(--danger);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.warning-box h3 {
  color: var(--danger);
  margin-bottom: 12px;
  font-size: 19px;
}

.warning-box p {
  color: #5d2410;
  margin-bottom: 8px;
}

.info-box {
  background: linear-gradient(135deg, #ddebf7, #e8f0f9);
  border-left: 5px solid var(--primary-light);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-top: 24px;
}

.info-box h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 18px;
}

/* ========== COSTS GRID ========== */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.cost-block {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.cost-block h3 { font-size: 18px; margin-bottom: 16px; }

.cost-table {
  width: 100%;
  border-collapse: collapse;
}

.cost-table td {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.cost-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.cost-table tr.sum td {
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--primary);
  border-bottom: none;
  padding-top: 12px;
}

/* ========== RESULT CARD ========== */
.result-card {
  background: linear-gradient(135deg, #1f4e78, #2e75b6);
  color: #fff;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.result-card h3 {
  color: #ffd966;
  font-size: 22px;
  margin-bottom: 16px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 17px;
}

.result-row strong {
  font-size: 22px;
  font-weight: 700;
}

.result-row.negative strong { color: #ff9d9d; }

.result-row.highlight {
  border-top: 2px solid #ffd966;
  border-bottom: none;
  margin-top: 8px;
  padding-top: 18px;
}

.result-row.highlight strong {
  font-size: 32px;
  color: #ffd966;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.note strong { color: #ffd966; }

/* ========== CHARTS ========== */
.chart-wrap {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin: 36px 0;
  min-height: 380px;
  position: relative;
}

.chart-wrap.small { min-height: 280px; }
.chart-wrap canvas { max-width: 100%; }

/* ========== SZENARIO ========== */
.szenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.szen-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  position: relative;
}

.szen-card.highlight {
  border-color: var(--accent);
  border-width: 2.5px;
  background: linear-gradient(135deg, #ffffff, #f0f8eb);
}

.szen-card h3 { font-size: 18px; margin-bottom: 4px; }
.szen-sub { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }

.szen-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.szen-card.highlight .szen-amount { color: var(--accent); }

.szen-list {
  list-style: none;
}

.szen-list li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.szen-list li:last-child { border-bottom: 0; }

.szen-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.wirt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.wirt-item {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.wirt-item.big {
  background: linear-gradient(135deg, #fff2cc, #ffe699);
  border-color: #f4b400;
}

.wirt-label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
  letter-spacing: .2px;
}

.wirt-val {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.wirt-item.big .wirt-val { color: #7a5800; }

.wirt-detail {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

/* ========== RECOMMENDATION ========== */
.recommendation-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.recommendation-card.top { border-color: var(--primary-light); }
.recommendation-card.best {
  border-color: var(--accent);
  border-width: 2.5px;
  box-shadow: var(--shadow-md);
}
.recommendation-card.runner { border-color: var(--border); }

.rec-num {
  flex: 0 0 100px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 800;
}

.recommendation-card.best .rec-num { background: var(--accent); }

.rec-content {
  padding: 24px 28px;
  flex: 1;
}

.rec-content h3 { margin-bottom: 4px; font-size: 19px; }
.rec-price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.recommendation-card.best .rec-price { color: var(--accent); }

/* ========== CHECKLIST ========== */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.check-item {
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.5;
}

.mt-large { margin-top: 48px; }

/* ========== DOWNLOADS ========== */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 24px;
  justify-content: center;
  margin-top: 36px;
}

.dl-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 32px 24px;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.dl-card:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-4px);
}

.dl-card svg { color: #ffd966; margin-bottom: 8px; }
.dl-card span {
  font-size: 19px;
  font-weight: 700;
}
.dl-card em {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  text-align: center;
}

.text-center { text-align: center; }

/* ========== FOOTER ========== */
footer {
  background: #0f2c44;
  color: rgba(255,255,255,.7);
  padding: 36px 0;
  text-align: center;
}

footer p { margin-bottom: 4px; font-size: 14px; }
footer p strong { color: #fff; }
footer .small { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; }
footer a { color: #ffd966; text-decoration: none; }

/* ========== STANDORT / KLIMA ========== */
.standort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.standort-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.standort-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
}

.standort-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.standort-card .muted {
  color: var(--text-light);
  font-size: 13px;
}

.standort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}

.standort-table td {
  padding: 8px 4px;
  border-bottom: 1px dashed var(--border);
}

.standort-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.map-link:hover { text-decoration: underline; }

.klima-table-wrap {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow-x: auto;
  margin: 18px 0;
}

.table-caption {
  font-size: 12px;
  color: var(--text-light);
  padding: 8px 16px;
  font-style: italic;
}

/* ========== BREAK-EVEN ========== */
.breakeven-table th {
  text-align: center;
  vertical-align: middle;
}

.breakeven-table td {
  vertical-align: middle;
}

.sub-h-large {
  font-size: 21px;
  background: var(--bg-alt);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 5px solid var(--primary);
  margin-top: 36px;
}

.highlight-card {
  background: linear-gradient(135deg, #fff8e7, #ffffff) !important;
  border-color: #f4b400 !important;
  border-top: 4px solid #f4b400;
}

/* ========== PRAXISTIPPS SUBUNTERNEHMER ========== */
.praxis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.praxis-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.praxis-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.praxis-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.praxis-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.praxis-sub {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: .3px;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.praxis-card p { margin-bottom: 16px; line-height: 1.55; }

.empfehlung-box {
  background: linear-gradient(135deg, #fff8e7, #fff2cc);
  border-left: 4px solid #f4b400;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.empfehlung-box.info {
  background: linear-gradient(135deg, #ddebf7, #e8f0f9);
  border-left-color: var(--primary-light);
}

.empf-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  margin: 4px 0;
}

.empf-link:hover { text-decoration: underline; }

.empf-detail {
  display: block;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 4px;
}

.empf-detail a { color: var(--primary-light); }

.empf-list {
  margin-left: 18px;
  margin-top: 8px;
}

.empf-list li {
  padding: 4px 0;
  font-size: 13.5px;
}

.praxis-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 14px;
}

.praxis-table td {
  padding: 9px 6px;
  border-bottom: 1px dashed var(--border);
}

.praxis-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.praxis-table.full {
  background: #fff;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 13.5px;
}

.praxis-table.full th {
  background: var(--primary);
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.praxis-table.full td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.praxis-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  line-height: 1.55;
}

.legal-section {
  margin-top: 32px;
}

.legal-section h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.legal-card {
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.legal-card.highlight-card {
  border-top-color: #f4b400;
  background: linear-gradient(180deg, #fffbf0, #fff);
}

.legal-card h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
}

.legal-card p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.legal-card ul {
  margin-left: 18px;
  margin-bottom: 10px;
}

.legal-card li {
  font-size: 13.5px;
  padding: 3px 0;
  line-height: 1.5;
}

/* Praxis-Grid Erweiterung */
.praxis-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.hagn-card {
  border-top: 5px solid #ED7D31;
}

.hagn-box {
  background: linear-gradient(135deg, #fff4e6, #ffe8cc) !important;
  border-left-color: #ED7D31 !important;
}

.info-callout {
  background: #f4f7fa;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 14px;
  border-left: 3px solid var(--primary-light);
}

.info-callout strong { color: var(--primary); }

/* Cost-Note */
.cost-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.legal-note {
  background: var(--bg-alt);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 10px;
  border-left: 3px solid var(--primary-light);
}

/* ========== JOURNALISTISCHE TEXT-STILE ========== */
.lead-text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 880px;
  font-weight: 400;
}

.lead-text strong {
  color: var(--primary);
}

.quote-box {
  background: linear-gradient(135deg, #f4f7fa, #eaf2f9);
  border-left: 6px solid var(--primary-light);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 32px 0;
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}

.quote-box p { margin-bottom: 12px; }
.quote-box p:last-child { margin-bottom: 0; }
.quote-cite, .quote-box .quote-cite {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-style: normal;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
}

/* ========== MYTH-CARDS ========== */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.myth-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.myth-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  letter-spacing: .8px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: #fce4d6;
  color: #842a09;
}

.myth-tag.positive {
  background: #e2efda;
  color: #2c5e1a;
}

.myth-tag.warning {
  background: #fff2cc;
  color: #856404;
}

.myth-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--primary);
}

.myth-text {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.myth-card ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

.myth-card li {
  font-size: 14px;
  padding: 3px 0;
  line-height: 1.5;
}

/* ========== ANBIETER-CARDS ========== */
.anbieter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.anbieter-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.anbieter-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: all .2s;
}

.anbieter-card.recommended {
  border-color: var(--accent);
  border-width: 2.5px;
}

.anbieter-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
}

.anbieter-card.recommended .anbieter-badge {
  background: var(--accent);
}

.anbieter-card h3 {
  font-size: 22px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.anbieter-region {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.anbieter-list {
  list-style: none;
  margin-bottom: 18px;
  flex: 1;
}

.anbieter-list li {
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.anbieter-list li:last-child { border-bottom: 0; }

.anbieter-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.anbieter-cta .cta {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  transition: background .2s;
}

.anbieter-cta .cta:hover {
  background: var(--primary-light);
}

.anbieter-tel {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* ========== FORM-CARDS (Anfrage-Vorlagen) ========== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0;
}

@media (min-width: 1024px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.form-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.form-template {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 12.5px;
  line-height: 1.55;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 14px;
  flex: 1;
  color: var(--text);
}

.form-template p {
  margin-bottom: 8px;
}

.form-template ul {
  margin-left: 16px;
  margin-bottom: 8px;
}

.form-template li {
  padding: 2px 0;
}

.copy-btn {
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.copy-btn:hover {
  background: var(--primary-light);
}

.copy-btn.copied {
  background: var(--accent);
}

/* ========== QUICK CONTACT ========== */
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.quick-contact {
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
}

.quick-contact:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.qc-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.quick-contact div { display: flex; flex-direction: column; gap: 2px; }
.quick-contact strong { font-size: 15px; color: var(--primary); }
.quick-contact em { font-size: 12px; font-style: normal; color: var(--text-light); }

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-left: 0;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--border) 100%);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.step-content {
  flex: 1;
  background: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-time {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: .3px;
}

.step-content h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.step-content ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.step-content li {
  font-size: 14px;
  padding: 3px 0;
  line-height: 1.5;
}

.step-tip {
  background: #fff8e7;
  border-left: 3px solid #f4b400;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px !important;
  margin-top: 12px !important;
}

/* ========== FINALE EMPFEHLUNG ========== */
.final-recommendation {
  background: linear-gradient(135deg, #1f4e78, #2e75b6);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
}

.final-rec-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.final-rec-badge {
  display: inline-block;
  padding: 8px 18px;
  background: #ffd966;
  color: #1f4e78;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.final-rec-header h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 0;
}

.final-rec-intro {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
  color: rgba(255,255,255,.95);
}

.final-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.final-option {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  padding: 22px 24px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.18);
}

.final-option.gold {
  background: rgba(255,217,102,.18);
  border-color: #ffd966;
  border-width: 2.5px;
  box-shadow: 0 8px 24px rgba(255,217,102,.25);
}

.final-option.silver { border-color: #a5a5a5; }
.final-option.platinum { border-color: #00C2A8; }

.final-option-label {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.final-option.gold .final-option-label {
  background: #ffd966;
  color: #1f4e78;
}

.final-option h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.final-option-price {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.final-option.gold .final-option-price {
  color: #ffd966;
}

.final-option-net {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}

.final-option ul {
  list-style: none;
}

.final-option li {
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  line-height: 1.45;
}

.final-option li:last-child { border-bottom: 0; }

.final-option li::before {
  content: '→ ';
  color: rgba(255,255,255,.7);
}

.final-rec-quote {
  background: rgba(0,0,0,.18);
  border-left: 4px solid #ffd966;
  padding: 20px 24px;
  border-radius: 10px;
  margin-bottom: 28px;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.55;
}

.final-rec-cite {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-style: normal;
  color: #ffd966;
  font-size: 13px;
}

.final-action {
  background: rgba(255,255,255,.1);
  padding: 22px 28px;
  border-radius: 12px;
}

.final-action h3 {
  color: #ffd966;
  font-size: 18px;
  margin-bottom: 14px;
}

.action-list {
  list-style: none;
  counter-reset: action;
}

.action-list li {
  position: relative;
  padding: 10px 0 10px 38px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,.1);
  counter-increment: action;
}

.action-list li:last-child { border-bottom: 0; }

.action-list li::before {
  content: counter(action);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: #ffd966;
  color: #1f4e78;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* ========== TABS (Excel-Matrix) ========== */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  padding: 12px 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: -2px;
  position: relative;
}

.tab-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tab-content {
  display: none;
  background: #fff;
  padding: 28px;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  margin-bottom: 36px;
  animation: fadeIn .25s ease-out;
}

.tab-content.active {
  display: block;
}

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

.tab-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary);
}

.tab-intro {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 14px;
}

.sub-h {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-light);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

/* Excel-Tabellen */
.excel-table-wrap {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-bottom: 16px;
}

.excel-table-wrap.scrollable {
  max-height: 600px;
  overflow-y: auto;
}

.excel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.excel-table thead {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.excel-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .2px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.excel-table th.sticky-col {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 240px;
}

.excel-table.small {
  font-size: 12.5px;
}

.excel-table.small th,
.excel-table.small td {
  padding: 8px 8px;
}

.excel-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid #f0f3f6;
  vertical-align: middle;
}

.excel-table td:first-child {
  background: var(--bg-alt);
  font-weight: 500;
}

.excel-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.excel-table tr:hover td {
  background: #f8fafc;
}

.excel-table tr:hover td:first-child {
  background: #eaf2f9;
}

.excel-table tr.row-section td {
  background: linear-gradient(90deg, var(--primary), var(--primary-light)) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  letter-spacing: .5px;
}

.excel-table tr.row-winner {
  background: linear-gradient(90deg, #e2efda, #f0f8eb) !important;
}

.excel-table tr.row-winner td {
  background: transparent !important;
  border-left: 4px solid var(--accent);
}

.excel-table tr.row-winner td:first-child {
  background: transparent !important;
}

.excel-table tr.row-eigen {
  background: linear-gradient(90deg, #fff2cc, #fffaf0) !important;
}

.excel-table tr.row-eigen td {
  background: transparent !important;
  border-left: 4px solid #f4b400;
}

.excel-table tr.row-eigen td:first-child {
  background: transparent !important;
}

.excel-table tr.row-loser {
  background: #fff7f5 !important;
  opacity: .92;
}

.excel-table tr.row-summary td {
  background: var(--bg-alt) !important;
  font-weight: 700;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  padding: 12px 10px;
}

.excel-table tr.c-green-row td {
  background: #e2efda !important;
  color: #2c5e1a;
}

.excel-table tr.c-blue-row td {
  background: #ddebf7 !important;
  color: #1f4e78;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content { padding: 40px 24px 20px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 17px; }
  .section { padding: 56px 0; }

  .recommendation-card { flex-direction: column; }
  .rec-num {
    flex: 0 0 60px;
    height: 60px;
    font-size: 32px;
  }

  .matrix { font-size: 12px; }
  .matrix th, .matrix td { padding: 8px 6px; }
}
