/* Notgroschen-Wegweiser — nutzt die Tokens aus style.css. */

/* ---------- Hero ---------- */
.tool-hero { padding: 64px 0 48px; }
.tool-hero .hero-inner { max-width: 780px; position: relative; }
.privacy-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 18px; background: rgba(201, 168, 95, 0.12);
  border: 1px solid rgba(201, 168, 95, 0.35); border-radius: 999px;
  font-size: 14px; color: rgba(244, 236, 220, 0.92);
}
.privacy-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.privacy-badge strong { color: var(--gold); font-weight: 600; }

/* ---------- Layout ---------- */
.tool-section { padding: 48px 0 88px; }
.rechner-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.panel-card {
  background: #FFFFFF; border: 1px solid var(--border-subtle);
  border-radius: 18px; padding: 28px;
}
.panel-card h2 {
  font-family: 'Newsreader', serif; font-weight: 500; font-size: 21px;
  color: var(--navy); margin-bottom: 22px;
}

/* ---------- Felder ---------- */
.control { margin-bottom: 22px; }
.control:last-child { margin-bottom: 0; }
.control-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.control-head label { font-size: 15px; font-weight: 700; color: var(--navy); }
.control-field {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--border-subtle); border-radius: 9px; padding: 6px 10px; background: var(--white-soft);
}
.control-field input {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--navy);
  border: none; background: transparent; outline: none; width: 86px; text-align: right;
}
.control-field .unit { font-size: 14px; color: var(--ink-soft); }
.control-hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 4px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fill, 50%), #E5DCC8 var(--fill, 50%), #E5DCC8 100%);
  border-radius: 999px; outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold); cursor: pointer; transition: transform 140ms var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 3px solid var(--gold); cursor: pointer;
}

.field-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.field-row label { font-size: 15px; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.select {
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy);
  background: var(--white-soft); border: 1px solid var(--border-subtle); border-radius: 9px;
  padding: 9px 34px 9px 12px; cursor: pointer; outline: none; max-width: 62%;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23B8924A' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.select:focus { border-color: var(--gold); }

/* ---------- Stufen-Treppe ---------- */
.stufen { display: grid; gap: 0; }
.stufe { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.stufe:last-child { padding-bottom: 0; }
/* verbindende Linie zwischen den Nummern */
.stufe::before {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 0; width: 2px; background: var(--border-subtle);
}
.stufe:last-child::before { display: none; }
.stufe-nr {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white-soft); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', serif; font-size: 18px; font-weight: 500; color: var(--gold-ink); z-index: 1;
}
.stufe-body { flex: 1; padding-top: 3px; }
.stufe-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.stufe-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.stufe-betrag { font-family: 'Newsreader', serif; font-size: 26px; font-weight: 500; color: var(--gold-ink); }
.stufe-text { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* Ruhepunkt hervorgehoben */
.stufe--ruhepunkt .stufe-nr { background: var(--navy); border-color: var(--gold); color: var(--gold); }
.stufe--ruhepunkt .stufe-body {
  background: var(--ivory); border-radius: 14px; padding: 16px 18px; margin-top: -4px;
}

.fragen { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(201, 168, 95, 0.3); }
.fragen-titel { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 8px; }
.fragen ol { margin: 0; padding-left: 20px; }
.fragen li { font-size: 14px; color: var(--ink); line-height: 1.5; margin-bottom: 7px; }
.fragen li:last-child { margin-bottom: 0; }

.denkfehler {
  margin-top: 24px; padding: 16px 20px; background: rgba(10, 23, 48, 0.04);
  border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0;
  font-size: 14px; color: var(--ink); line-height: 1.55; display: flex; flex-direction: column; gap: 6px;
}
.denkfehler-mark { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); }

.tool-actions { margin-top: 24px; }
.btn-print {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--navy);
  background: transparent; border: 1.5px solid var(--navy); border-radius: 999px;
  padding: 12px 26px; cursor: pointer; transition: all 200ms var(--ease);
}
.btn-print:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

/* ---------- Disclaimer ---------- */
.disclaimer-band {
  margin-top: 36px; padding: 18px 22px; background: rgba(10, 23, 48, 0.04);
  border: 1px solid var(--border-subtle); border-radius: 12px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; display: flex; gap: 12px;
}
.disclaimer-band svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-ink); margin-top: 1px; }
.disclaimer-band strong { color: var(--navy); }

/* ---------- Lead-Magnet ---------- */
.tool-cta { background: var(--ivory); }
.tool-cta .signup { background: #FFFFFF; border-color: var(--border-subtle); margin: 0 auto; }
.tool-cta .signup label { color: var(--gold-ink); }
.tool-cta .signup input[type="email"] { color: var(--ink); background: var(--white-soft); border-color: var(--border-subtle); }
.tool-cta .signup .trust, .tool-cta .signup .consent { color: var(--ink-soft); }
.tool-cta .signup .consent a { color: var(--gold-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .rechner-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 880px) {
  .tool-hero { padding: 48px 0 36px; }
  .select { max-width: 56%; }
}

/* ---------- Druck ---------- */
@media print {
  nav, .tool-hero, .tool-actions, .tool-cta, footer, input[type="range"] { display: none !important; }
  .rechner-grid { grid-template-columns: 1fr; }
  .panel-card { border: none; padding: 0 0 16px; break-inside: avoid; }
  body { background: #FFFFFF; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
