@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/caveat-variable.ttf") format("truetype");
}
:root {
  --navy: #0b1f3a;
  --blue: #007eae;
  --blue-dark: #00658d;
  --muted: #52657b;
  --line: #d5e2ed;
  --head: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter Tight", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; background: linear-gradient(155deg, #e6f3fb, #f7fbfe 42%, #fbfdff); color: var(--navy); font: 400 18px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
.shell { width: min(100% - 44px, 740px); margin: 0 auto; }
.top { height: 72px; display: flex; align-items: center; justify-content: center; }
.brand { color: inherit; text-decoration: none; font: 400 1.05rem/1 var(--head); }
.brand b { font-weight: 600; }
main { min-height: calc(100dvh - 152px); padding: 32px 0 72px; }
.progress-area { margin-bottom: 32px; }
.progress-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; font-size: .85rem; color: var(--muted); }
progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 999px; overflow: hidden; background: #dce8f0; accent-color: var(--blue); }
progress::-webkit-progress-bar { background: #dce8f0; }
progress::-webkit-progress-value { background: var(--blue); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--blue); }
h1, h2 { margin: 0; font-family: var(--head); text-wrap: balance; }
h1 { font-weight: 600; font-size: clamp(1.8rem, 4.3vw, 2.8rem); line-height: 1.13; letter-spacing: -.035em; }
h1:focus { outline: none; }
.choices { display: grid; gap: 10px; margin-top: 28px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(251, 253, 255, .94); cursor: pointer; font-size: 1rem; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #8abed3; background: #f0f8fc; }
.choice:has(input:checked) { border-color: var(--blue); background: #e7f4fb; box-shadow: inset 0 0 0 1px var(--blue); }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
.choice input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 1.5px solid #8092a4; background: #fbfdff; }
.choice input:checked { border: 6px solid var(--blue); }
.choice input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; accent-color: var(--blue); border-radius: 4px; border-width: 1.5px; }
.choice span { flex: 1; }
.input-group { margin-top: 28px; }
.input-group label { display: block; margin-bottom: 10px; font: 600 .95rem/1.4 var(--head); }
input[type="text"], input[type="email"], textarea { display: block; width: 100%; min-height: 60px; padding: 15px 18px; background: #fbfdff; color: var(--navy); border: 1px solid #9fafbe; border-radius: 12px; font: 400 1.2rem/1.4 var(--body); }
textarea { resize: vertical; min-height: 110px; font-size: 1rem; }
input:focus, textarea:focus { outline: 3px solid rgba(0, 126, 174, .22); outline-offset: 2px; border-color: var(--blue); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b32a32; }
.unit-input { position: relative; }
.unit-input input { padding-right: 60px; }
.unit-input > span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.number-input { max-width: 260px; }
.helper, .model-note, .privacy-note { color: var(--muted); font-size: .9rem; }
.helper { margin: 10px 0 0; }
.follow-up { margin-top: 22px; }
.zero-option { margin-top: 18px; padding: 12px 22px; min-height: 44px; border: 1px solid #9fafbe; border-radius: 999px; background: #fbfdff; color: var(--navy); font: 500 .95rem/1 var(--head); cursor: pointer; }
.zero-option[aria-pressed="true"] { border-color: var(--blue); color: var(--blue-dark); background: #e7f4fb; }
.form-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.next-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 16px 28px; border: 0; border-radius: 999px; background: var(--blue); color: #fbfdff; font: 600 1rem/1.25 var(--head); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .7; cursor: wait; transform: none; }
.back-button, .skip-button { min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--muted); cursor: pointer; font: 500 .95rem/1.3 var(--head); }
.back-button:hover, .skip-button:hover { color: var(--navy); text-decoration: underline; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.error { margin: 24px 0 0; padding: 14px 16px; border: 1px solid #e5b3b7; border-radius: 12px; background: #fff3f3; color: #98252c; font-size: .95rem; }
.intro { margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.privacy-note { margin: 24px 0 0; }
.privacy-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdff; color: var(--muted); font-size: .9rem; cursor: pointer; }
.privacy-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.privacy-consent:has(input[aria-invalid="true"]) { border-color: #b32a32; }
a { color: var(--blue-dark); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.outcome { padding-top: 12px; }
.outcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.text-link { font-size: .95rem; }
.result-status { margin: 0 0 18px; color: var(--blue-dark); font: 500 .95rem/1.4 var(--head); }
.potential-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: start; gap: 22px; margin-top: 28px; }
.loss-callout { grid-column: 2; grid-row: 1; font: 600 2rem/1.15 "Caveat", "Bradley Hand", cursive; padding: 4px 0 8px; }
.loss-callout p { margin: 0; }
.loss-callout strong { background: #ffe36b; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 3px; }
.loss-arrow { position: absolute; inset: 0; width: 100%; height: 100%; color: #e2b000; pointer-events: none; overflow: visible; }
.potential { grid-column: 1; grid-row: 1; min-width: 0; padding: 28px; border: 1px solid #bbd9e9; border-radius: 24px; background: #e6f3fb; }
.potential-value { margin: 6px 0 12px; color: #bd2635; font: 600 clamp(2.5rem, 7vw, 4.1rem)/1.1 var(--head); letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.calculation { margin: 0; color: var(--muted); font-size: .92rem; }
.model-note { margin: 18px 0 0; }
.booking-intro { margin-top: 36px; }
.booking-intro h2 { font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.025em; }
.booking-intro > p { color: var(--muted); }
.worry-pitch { color: var(--muted); }
.worry-pitch ul { padding-left: 22px; }
.worry-pitch li + li { margin-top: 8px; }
.annual-amount { color: var(--navy); font-weight: 600; }
.booking-intro .button { margin-top: 22px; }
.notice { padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0 30px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
footer nav { display: flex; gap: 18px; }
footer a { color: inherit; }
@media (max-width: 767px) {
  .potential-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .loss-callout { grid-column: 1; grid-row: 1; max-width: min(230px, 65%); padding-bottom: 22px; font-size: 1.9rem; }
  .potential { grid-column: 1; grid-row: 2; }
  .calculation { font-size: .75rem; line-height: 1.45; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .top { height: 64px; }
  main { padding: 24px 0 48px; }
  .progress-area { margin-bottom: 26px; }
  .progress-copy { font-size: .76rem; }
  h1 { font-size: clamp(1.75rem, 6.8vw, 2.15rem); }
  .choices { gap: 10px; margin-top: 24px; }
  .choice { padding: 14px 15px; gap: 12px; }
  .input-group { margin-top: 24px; }
  .form-navigation { flex-wrap: wrap; gap: 12px; }
  .next-actions { gap: 16px; }
  .button { padding: 15px 23px; min-height: 54px; }
  .potential { padding: 22px 20px; }
  #booking-link { width: 100%; font-size: .95rem; padding-inline: 18px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Rechner-Seite (Quiz v2, 30.10.) */
.calc-step { padding-top: 6px; }
.calc-bar { height: 8px; margin: 30px 0 22px; border-radius: 999px; background: #dce8f0; overflow: hidden; }
.calc-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--blue); transition: width .7s ease; }
.calc-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calc-lines li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff;
  font-size: 1rem; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.calc-lines li.done { opacity: 1; transform: none; }
.calc-lines li::before { content: "✓"; flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e7f4fb; color: var(--blue-dark); font-weight: 700; font-size: .85rem; }
.calc-hero { margin-top: 26px; padding: 28px; border: 1px solid #bbd9e9; border-radius: 24px; background: #e6f3fb; }
.calc-label { margin: 0; color: var(--muted); font: 600 .85rem/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.calc-year { margin: 0; font-size: 1.05rem; }
.calc-year strong { font-variant-numeric: tabular-nums; }
.calc-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.calc-breakdown div { padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; }
.calc-breakdown dt { color: var(--muted); font-size: .8rem; }
.calc-breakdown dt small { font-size: .75rem; }
.calc-breakdown dd { margin: 4px 0 0; font: 600 1.1rem/1.2 var(--head); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-controls { margin-top: 24px; padding: 20px; border: 1px dashed #9fc6da; border-radius: 18px; }
.calc-controls-title { margin: 0 0 12px; font: 600 1rem/1.3 var(--head); }
.calc-controls label { display: block; margin-top: 12px; font-size: .95rem; }
.calc-controls input[type="range"] { width: 100%; min-height: 36px; accent-color: var(--blue); }
.calc-formula { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 620px) {
  .calc-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-hero { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .calc-lines li { opacity: 1; transform: none; } }
/* Buchungsseite mit Cal.com-Embed */
.booking-page #kapital-kalender { margin-top: 24px; }
