/* ============================================================
   VAKANZKOSTEN-RECHNER | Tool-spezifische Styles
   Layered ON TOP of fkj-base.css + tool-template.css.
   Hier nur: Wizard, Slider, Branche-Cards, KPI/Compare/Result-Hero (rot!),
   Breakdown, Bar-Chart, Insight, WA-CTA, PDF-Card, Sources, Counter-Bar.
   ============================================================ */

/* ============================================================
   CSS-Variablen, die fkj-base.css NICHT bereitstellt
   (Pain-Farben + Tool-spezifische Schatten/Radien)
   ============================================================ */
:root {
  --red: #e74c3c;
  --red-deep: #c0392b;
  --red-light: rgba(231, 76, 60, 0.08);
  --color-gold-light: #F6D979;
  --color-gold-soft: rgba(242, 205, 92, 0.20);
  --color-gold-glow: rgba(242, 205, 92, 0.28);
  --color-teal-light: #8BCFC3;
  --color-teal-soft: rgba(111, 191, 177, 0.18);
  --color-teal-glow: rgba(111, 191, 177, 0.22);
  --color-petrol: #2C5B70;
  --text-faint: rgba(255, 255, 255, 0.30);

  --grad-pain: linear-gradient(135deg, #1a0a0a 0%, #2a0d0d 50%, var(--red-deep) 120%);
  --grad-petrol-deep: linear-gradient(135deg, #0d1f2c 0%, #14334a 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.18);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.30);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.40);
  --shadow-gold: 0 8px 40px rgba(242, 205, 92, 0.25), 0 0 100px rgba(242, 205, 92, 0.10);
  --shadow-btn: 0 6px 24px rgba(242, 205, 92, 0.32);

  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
}

/* ============================================================
   LIVE COUNTER (sticky top, wird per JS .active geschaltet)
   ============================================================ */
.counter-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(135deg, #081520 0%, #1a3a4a 100%);
  border-bottom: 2px solid var(--red);
  color: #fff;
  padding: 10px 20px;
  display: none;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.25);
}
.counter-bar.active { display: block; animation: counterIn 0.4s ease; }
/* Nav schiebt nach unten wenn Counter-Bar aktiv ist (Modern Browsers) */
body:has(.counter-bar.active) .nav { top: 64px; }
body:has(.counter-bar.active) main { padding-top: 8px; }
.counter-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.counter-bar__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
.counter-bar__label { color: rgba(255,255,255,0.85); }
.counter-bar__value {
  font-weight: 800;
  color: #ff8470;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.counter-bar__unit { color: rgba(255,255,255,0.6); font-size: 13px; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes counterIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   WIZARD
   ============================================================ */
.wizard {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #fff;
}

.wizard__progress {
  background: rgba(255, 255, 255, 0.06);
  height: 6px;
  position: relative;
}
.wizard__progress-fill {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  height: 100%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 25%;
}

.wizard__steps {
  display: flex;
  padding: 24px 40px 0;
  gap: 8px;
  flex-wrap: wrap;
}
.wizard__step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 0;
}
.wizard__step-pill .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.3s;
}
.wizard__step-pill.active .num {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
}
.wizard__step-pill.active { color: #fff; }
.wizard__step-pill.done .num {
  background: var(--color-teal);
  color: #081520;
}
.wizard__step-pill.done .num::before { content: '✓'; }
.wizard__step-pill.done .num span { display: none; }
.wizard__step-pill .sep,
.wizard__steps > .sep {
  width: 24px; height: 1px; background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
  align-self: center;
}

.wizard__body { padding: 32px 40px 40px; color: #fff; }

.step-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Form Elements (innerhalb Wizard) */
.wizard .form-group { margin-bottom: 24px; }
.wizard .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.wizard .form-group .hint,
.wizard .range-group .hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.5;
}
.wizard .form-group .hint strong,
.wizard .range-group .hint strong { color: var(--color-gold); font-weight: 700; }

.wizard select,
.wizard input[type="number"],
.wizard input[type="email"],
.wizard input[type="text"],
.wizard input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
  -webkit-appearance: none;
}
.wizard select { cursor: pointer; }
.wizard select option,
.wizard select optgroup { background: #081520; color: #fff; }
.wizard select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F2CD5C' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.wizard input::placeholder { color: rgba(255, 255, 255, 0.3); }
.wizard select:focus, .wizard input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(111, 191, 177, 0.18);
}
.wizard select.error, .wizard input.error { border-color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Range Slider */
.range-group { margin-bottom: 28px; }
.range-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.range-group .range-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
}
.range-group .range-value .unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-left: 4px;
}
.range-track {
  position: relative;
  padding: 8px 0;
}
.wizard input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  padding: 0;
  border: none;
}
.wizard input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  border: 3px solid rgba(8, 21, 32, 0.95);
  box-shadow: 0 4px 16px rgba(242, 205, 92, 0.35);
  cursor: pointer;
  transition: transform 0.15s;
}
.wizard input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.wizard input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  border: 3px solid rgba(8, 21, 32, 0.95);
  box-shadow: 0 4px 16px rgba(242, 205, 92, 0.35);
  cursor: pointer;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-dim);
}

/* Toggle Pills (Yes/No) */
.toggle-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.toggle-row > div {
  flex: 1;
}
.toggle-pill {
  display: flex;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.toggle-pill input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-pill__option {
  flex: 1;
  padding: 12px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-pill input:checked + .toggle-pill__option {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
}
.toggle-pill__option:hover { background: rgba(255, 255, 255, 0.05); }
.toggle-pill input:checked + .toggle-pill__option:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
}

/* Branchen-Cards */
.branche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.branche-card {
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.branche-card:hover {
  border-color: var(--color-teal);
  transform: translateY(-2px);
  background: rgba(111, 191, 177, 0.06);
}
.branche-card.selected {
  border-color: transparent;
  background:
    linear-gradient(rgba(13, 31, 44, 0.6), rgba(13, 31, 44, 0.6)) padding-box,
    linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%) border-box;
  box-shadow: 0 8px 24px rgba(242, 205, 92, 0.18);
}
.branche-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: rgba(111, 191, 177, 0.10);
  border: 1px solid rgba(111, 191, 177, 0.22);
  color: var(--color-teal, #6FBFB1);
  transition: all 0.2s;
}
.branche-card__label {
  display: block;
}
.branche-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}
.branche-card:hover .branche-card__icon {
  background: rgba(111, 191, 177, 0.16);
  border-color: rgba(111, 191, 177, 0.4);
  transform: scale(1.05);
}
.branche-card.selected .branche-card__icon {
  background: rgba(242, 205, 92, 0.14);
  border-color: rgba(242, 205, 92, 0.5);
  color: var(--color-gold, #F2CD5C);
}
.branche-card__label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* Conditional Block */
.conditional {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
  margin-bottom: 0;
}
.conditional.show {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 24px;
}
.conditional-inner {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-gold);
}

/* Wizard Navigation Buttons (Tool-spezifisch — eigene .btn-Klassen, KEINE Kollision mit .btn-primary aus base) */
.wizard__nav {
  display: flex;
  gap: 12px;
  padding: 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}
.wizard .btn,
.pdf-card .btn {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.wizard .btn--primary,
.pdf-card .btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
  flex: 1;
  box-shadow: var(--shadow-btn);
}
.wizard .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(242,205,92,0.45);
}
.wizard .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}
.wizard .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.wizard .btn--green,
.pdf-card .btn--green {
  background: var(--color-teal);
  color: #081520;
  flex: 1;
}
.wizard .btn--green:hover,
.pdf-card .btn--green:hover {
  background: var(--color-teal-light);
  transform: translateY(-1px);
}
.wizard .btn:disabled,
.pdf-card .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Step transitions */
.step { display: none; animation: stepIn 0.4s ease; }
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESULT (per JS .visible geschaltet)
   ============================================================ */
.result { display: none; max-width: 1080px; margin: 0 auto; padding: 0; }
.result.visible { display: block; animation: stepIn 0.6s ease; }

/* Hero Result Card (PAIN — bleibt ROT) */
.result-hero {
  background: var(--grad-pain);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 24px 64px rgba(231, 76, 60, 0.30), 0 0 0 1px rgba(231, 76, 60, 0.20);
}
.result-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(231,76,60,0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(192,57,43,0.30) 0%, transparent 55%);
  pointer-events: none;
}
.result-hero__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  position: relative;
}
.result-hero__total {
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 900;
  color: #ff8470;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  position: relative;
  text-shadow: 0 4px 40px rgba(231, 76, 60, 0.40);
}
.result-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}
.result-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.4);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-top: 16px;
  position: relative;
}
.result-hero__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}
.result-hero__live-value {
  color: #ff8470;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.kpi-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kpi-card--red { border-top: 3px solid var(--red); }
.kpi-card--yellow { border-top: 3px solid var(--color-gold); }
.kpi-card--dark { border-top: 3px solid var(--color-petrol); }
.kpi-card--green { border-top: 3px solid var(--color-teal); }
.kpi-card__num {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.kpi-card--red .kpi-card__num { color: #ff8470; }
.kpi-card--yellow .kpi-card__num { color: var(--color-gold); }
.kpi-card--green .kpi-card__num { color: var(--color-teal-light); }
.kpi-card__label { font-size: 13px; color: var(--text-muted); }

/* Result-Section-Card (innerhalb .result) */
.result .section-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.result .section-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.result .section-card .section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/* Breakdown */
.breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row__main { display: flex; align-items: center; gap: 12px; }
.breakdown-row__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.breakdown-row__icon--red { background: rgba(231, 76, 60, 0.18); color: #ff8470; }
.breakdown-row__icon--orange { background: rgba(255, 159, 64, 0.18); color: #ffb777; }
.breakdown-row__icon--blue { background: rgba(111, 191, 177, 0.15); color: var(--color-teal-light); }
.breakdown-row__icon--purple { background: rgba(153, 102, 255, 0.18); color: #b794ff; }
.breakdown-row__icon--yellow { background: rgba(242, 205, 92, 0.20); color: var(--color-gold); }
.breakdown-row__label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.breakdown-row__source {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.breakdown-row__value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.breakdown-row.total {
  border-top: 2px solid rgba(231, 76, 60, 0.40);
  padding-top: 20px;
  margin-top: 8px;
}
.breakdown-row.total .breakdown-row__label { font-size: 16px; font-weight: 800; }
.breakdown-row.total .breakdown-row__value {
  color: #ff8470;
  font-size: 26px;
}

/* Compare Cards (3-column) */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.compare-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}
.compare-card--bad { border-top: 3px solid var(--red); }
.compare-card--mid { border-top: 3px solid rgba(255, 255, 255, 0.25); }
.compare-card--good {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(13, 31, 44, 0.85), rgba(13, 31, 44, 0.7)) padding-box,
    linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%) border-box;
  transform: scale(1.02);
  box-shadow: 0 12px 36px rgba(242, 205, 92, 0.18);
}
.compare-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
  padding: 5px 14px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(242, 205, 92, 0.35);
}
.compare-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  min-height: 40px;
}
.compare-card__time {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.compare-card--good .compare-card__time {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.compare-card--bad .compare-card__time { color: #ff8470; }
.compare-card__time-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.compare-card__cost-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.compare-card__cost {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.compare-card--bad .compare-card__cost { color: var(--red); }
.compare-card__features {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  padding: 0;
}
.compare-card__features li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  color: var(--text-muted);
}
.compare-card__features li::before {
  content: '·';
  color: var(--text-faint);
  font-weight: 700;
  flex-shrink: 0;
}
.compare-card--good .compare-card__features li::before {
  content: '✓';
  color: var(--color-teal);
}
.compare-card__savings {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  margin: 12px 0;
  box-shadow: 0 4px 14px rgba(242, 205, 92, 0.25);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.compare-card__savings:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(242, 205, 92, 0.35);
}
.compare-card__savings::after {
  content: ' →';
  opacity: 0;
  transition: opacity 0.2s;
}
.compare-card__savings:hover::after { opacity: 1; }

/* 12-Month Bar Chart */
.projection {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 200px;
  margin-top: 24px;
  padding: 8px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.projection__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease;
  min-height: 2px;
}
.projection__bar:hover::after {
  content: attr(data-value);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #081520;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 600;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.projection-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-dim);
}
.projection__total {
  text-align: center;
  margin-top: 24px;
  padding: 18px;
  background: rgba(231, 76, 60, 0.10);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
}
.projection__total-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.projection__total-value {
  font-size: 28px;
  font-weight: 900;
  color: #ff8470;
  font-variant-numeric: tabular-nums;
}

/* Insight Box */
.insight {
  background: linear-gradient(135deg, rgba(111,191,177,0.10) 0%, rgba(111,191,177,0.04) 100%);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-teal);
  border: 1px solid rgba(111, 191, 177, 0.20);
}
.insight p {
  font-size: 15px;
  color: var(--text-bright);
  line-height: 1.7;
}
.insight strong { font-weight: 800; color: var(--color-gold); }
.insight__source {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* CTA Section (innerhalb .result) */
.cta-section {
  background: var(--grad-petrol-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(50px);
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -40%; left: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(50px);
}
.cta-section > * { position: relative; }
.cta-section h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-section h2 .hl {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section__row-secondary {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cta-section__btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-section__btn--ghost {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.20);
}
.cta-section__btn--ghost:hover { background: rgba(255,255,255,0.10); }
.cta-section__btn--small {
  padding: 11px 22px;
  font-size: 14px;
  border-radius: 980px;
}
.cta-section__tertiary {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding-bottom: 1px;
}
.cta-section__tertiary:hover {
  color: var(--color-teal-light);
  border-bottom-color: var(--color-teal);
}

/* WA-CTA mit Niklaas-Foto (Primary, persoenlich) */
.wa-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  color: #081520;
  border-radius: 22px;
  padding: 14px 22px 14px 14px;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  max-width: 480px;
  margin: 0 auto 14px;
  transition: all 0.25s;
  position: relative;
}
.wa-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(242, 205, 92, 0.45);
}
.wa-cta__photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}
.wa-cta__text {
  flex: 1;
  text-align: left;
  line-height: 1.3;
}
.wa-cta__line1 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 2px;
  display: block;
}
.wa-cta__line2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
}
.wa-cta__line3 {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
  display: block;
}
.wa-cta__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  fill: currentColor;
}

/* PDF Lead-Capture Card */
.pdf-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.pdf-card::before {
  content: '';
  position: absolute; top: -10%; right: -10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.pdf-card__inner { position: relative; }
.pdf-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.pdf-card__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pdf-card__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.pdf-card__form input[type="text"],
.pdf-card__form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}
.pdf-card__form input::placeholder { color: rgba(255, 255, 255, 0.3); }
.pdf-card__form input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(111, 191, 177, 0.18);
}
.pdf-card__form label {
  color: #fff;
}
.pdf-card__success {
  display: none;
  background: rgba(111, 191, 177, 0.12);
  color: var(--color-teal-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(111, 191, 177, 0.32);
}
.pdf-card__success.show { display: block; }
.pdf-card__hint {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
}
.pdf-card__hint a { color: var(--color-teal-light); text-decoration: underline; }

/* Sources Disclaimer */
.sources {
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sources summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-bright);
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after {
  content: '+';
  margin-left: auto;
  font-size: 18px;
  color: var(--color-teal);
}
.sources[open] summary::after { content: '−'; }
.sources__body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.sources__body strong { color: #fff; }
.sources__body a { color: var(--color-teal-light); text-decoration: underline; }

/* Highlight-Span (cta-section h2 .hl) — wird oben in .cta-section h2 .hl genutzt */
.hl {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .wizard__steps { padding: 16px 20px 0; gap: 4px; }
  .wizard__step-pill { font-size: 11px; }
  .wizard__step-pill .label-full { display: none; }
  .wizard__step-pill .sep,
  .wizard__steps > .sep { width: 12px; }
  .wizard__body { padding: 24px 20px 28px; }
  .wizard__nav { padding: 20px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .branche-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card--good { transform: none; }
  .pdf-card { padding: 24px 20px; }
  .pdf-card__form { grid-template-columns: 1fr; }
  .result .section-card { padding: 24px 20px; }
  .result-hero { padding: 36px 24px; }
  .cta-section { padding: 36px 24px; }
  .breakdown-row__icon { width: 32px; height: 32px; font-size: 16px; }
}

@media (max-width: 480px) {
  .branche-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .branche-card { padding: 12px 8px; }
  .branche-card__icon { width: 36px; height: 36px; }
  .branche-card__icon svg { width: 20px; height: 20px; }
  .branche-card__label { font-size: 12px; }
  .counter-bar__inner { font-size: 12px; gap: 6px; flex-wrap: wrap; }
  .counter-bar__value { font-size: 14px; }
  .wa-cta { padding: 12px 16px 12px 12px; gap: 14px; }
  .wa-cta__photo { width: 56px; height: 56px; }
  .wa-cta__line2 { font-size: 15px; }
  .wa-cta__icon { width: 26px; height: 26px; }
}

/* ============================================
   FLOATING-CTA: Glass-Design Override
   Ueberschreibt den Gold-Teal-Gradient aus tool-template.css.
   Glass-Look passt zum Hintergrund + bringt Brand-Akzent nur via Fisch-Logo + Pulse rein.
============================================ */
.book-float {
  background: rgba(8, 21, 32, 0.62);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(158, 224, 210, 0.22);
  color: #ffffff;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.book-float:hover {
  background: rgba(8, 21, 32, 0.78);
  border-color: rgba(158, 224, 210, 0.42);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(111, 191, 177, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.book-float__title {
  color: #ffffff;
  font-weight: 700;
}

.book-float__sub {
  color: rgba(255, 255, 255, 0.66);
  opacity: 1;
}

.book-float__close {
  background: rgba(8, 21, 32, 0.92);
  color: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(158, 224, 210, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.book-float__close:hover {
  background: rgba(111, 191, 177, 0.20);
  color: #ffffff;
  border-color: rgba(111, 191, 177, 0.65);
}

/* Fisch-Icon im Glass-Container */
.float-icon {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon__svg {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.float-icon__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(242, 205, 92, 0.7);
  animation: float-pulse 2.4s cubic-bezier(0.16, 0.84, 0.44, 1) infinite;
  pointer-events: none;
}

.float-icon__pulse--delay {
  animation-delay: 1.2s;
}

@keyframes float-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  80% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-icon__pulse, .float-icon__pulse--delay { animation: none; opacity: 0; }
}

/* Print: nur Result rendern (PDF-Fallback) */
@media print {
  .counter-bar, .nav, .wizard, .cta-section, .pdf-card, .site-footer,
  .book-float-wrap, .tool-how, .tool-methode { display: none !important; }
  .result { display: block !important; max-width: 100% !important; padding: 20px !important; }
  body.tool-page { background: #fff !important; color: #000 !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
