@font-face { font-family: OpenSans; src: url("/v3/static/open-sans-var.woff2") format("woff2"); font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; background: #f8f8f5; color: #000; font-family: OpenSans, Arial, sans-serif; }
a { color: inherit; }
a:visited { color: inherit; }
.site-header { min-height: 68px; padding: 0 max(20px, calc((100vw - 1100px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #fff; }
.logo { display: inline-flex; color: #000; text-decoration: none; }
.logo img { width: 131px; height: 24px; }
main { max-width: 1100px; margin: 0 auto; padding: 56px 20px 112px; }
.card, .question-card { padding: clamp(24px, 4vw, 48px); background: #fff; border: 0; border-radius: 25px; }
.entry { max-width: 980px; margin: 6vh auto; }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.entry-visual { width: 100%; min-height: 360px; border-radius: 20px; object-fit: cover; }
.entry-copy > form { margin-top: 28px; }
.entry-copy > form:has(.resume-note) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.entry-copy > form .resume-note { flex-basis: 100%; margin: 0 0 4px; }
.entry-copy > form:has(.resume-note) button.button { background: transparent; box-shadow: inset 0 0 0 2px #000; color: #000; }
.entry-copy > form:has(.resume-note) button.button:hover { background: #000; color: #fff; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.entry h1, .question-card h1 { margin: .25em 0; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.06; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; background: #000; border: 0; border-radius: 15px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; }
.button:visited { color: #fff; }
.button:hover { background: #333; }
.button.primary { background: #faff00; color: #000; }
.button.primary:visited { color: #000; }
.button.primary:hover { background: #000; color: #fff; }
.button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.returning { margin-top: 28px; padding: 20px; background: #ececec; border-radius: 15px; }
.returning summary, .details summary { cursor: pointer; font-weight: 700; }
.returning form { display: grid; gap: 18px; margin-top: 18px; }
.returning label { display: grid; gap: 8px; }
.returning input, .field input:not([type="radio"]):not([type="checkbox"]), .field select, textarea { width: 100%; padding: 13px; background: #ececec; border: 0; border-radius: 12px; color: #000; font: inherit; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="range"] { width: 100%; accent-color: #000; appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: #ececec; border: 0; border-radius: 999px; }
input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -6px; -webkit-appearance: none; appearance: none; background: #000; border: 0; border-radius: 50%; }
input[type="range"]::-moz-range-track { height: 8px; background: #ececec; border: 0; border-radius: 999px; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: #000; border: 0; border-radius: 50%; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.progress { margin-bottom: 28px; }
.progress-label { font-weight: 700; }
.progress-track { height: 8px; margin: 8px 0 16px; overflow: hidden; background: #c8c8c8; border-radius: 50px; }
.progress-track span { display: block; height: 100%; background: #faff00; border-radius: 50px; }
.progress ol { display: flex; gap: 16px; padding: 0; overflow: auto; list-style: none; }
.progress li { white-space: nowrap; font-size: .85rem; }
.progress li:not(.active) { opacity: .55; }
.progress a { color: inherit; }
/* #2401 question block (conversational-form rhythm): bold question, its explanation
   directly below in lighter type, then a larger gap before the answers, and generous
   space between questions. */
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field + .field { margin-top: 48px; }
.field legend { display: block; width: 100%; margin: 0; padding: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.field > legend + :not(.help), .field > .help + * { margin-top: 20px; }
.help { margin: 8px 0 16px; color: #555; font-size: .95rem; line-height: 1.5; }
.field .help { margin: 6px 0 20px; color: #555; font-size: .95rem; }
.field > .help + * { margin-top: 0; }
.step-intro { margin: 8px 0 0; color: #333; font-size: 1.125rem; line-height: 1.55; }
.question-card > .field:first-of-type { margin-top: 40px; }
.form-section { margin-top: 64px; }
.form-section + .field { margin-top: 56px; }
.section-heading { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.section-description { margin: 6px 0 0; color: #555; font-size: .95rem; line-height: 1.5; }
.section-fields { margin-top: 28px; }
.section-fields > .field + .field { margin-top: 36px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; min-width: 0; isolation: isolate; }
.choice input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; cursor: pointer; opacity: 0; }
.choice span { display: block; height: 100%; padding: 14px; overflow-wrap: break-word; background: #ececec; border-radius: 12px; cursor: pointer; font-weight: 400; hyphens: manual; }
.choice input:checked + span { background: #faff00; font-weight: 400; }
.choice input:focus-visible + span { outline: 3px solid #000; outline-offset: 2px; }
/* #2401: grouped detail panels are white with a yellow frame (explicit product request,
   the only bordered surface); the tiles inside keep the neutral-soft fill. */
.details { margin: 36px 0; padding: 24px; background: #fff; border: 3px solid #faff00; border-radius: 15px; }
.details > summary { font-size: 1.1rem; }
.details[open] > summary { margin-bottom: 8px; }
.details > summary + div > .field:first-child { margin-top: 24px; }
.details .field + .field { margin-top: 36px; }
.details .details-description + .field { margin-top: 24px; }
.notice { margin: 18px 0; padding: 16px; background: #faff0038; border-radius: 15px; }
/* 1k-website/DESIGN.md: cards take neutral-soft (#ECECEC); the key figure is the yellow highlight. */
.estimate { margin: 18px 0; padding: 16px; background: #ececec; border-radius: 15px; }
.estimate .estimate-value { display: inline-block; margin: 0; font-size: inherit; padding: 1px 10px; background: #faff00; border-radius: 50px; }
.estimate span { display: block; margin-top: 5px; font-size: .85rem; }
.error, .client-error { color: #930000; font-weight: 700; }
.client-error[hidden] { display: none; }
.invalid input, .invalid select, .invalid textarea, .invalid .choice span, .client-invalid input, .client-invalid select, .client-invalid textarea, .client-invalid .choice span { background: #ffd6d6; }
.returning input { background: #fff; }
.details .choice input:checked + span { background: #faff00; }
.field textarea { min-height: 9rem; resize: vertical; }
.household-slider { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.household-slider output { min-width: 6rem; font-weight: 700; text-align: right; }
.video { margin: 36px 0; padding: 22px 24px; background: #faff00; border-radius: 15px; color: #000; }
.video button { background: none; border: 0; color: #000; cursor: pointer; font: inherit; font-weight: 700; }
.video button:focus-visible { outline-color: #000; }
[x-cloak] { display: none !important; }
.video-toggle { display: grid; width: 100%; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 0; text-align: left; }
.video-link { font-weight: 700; }
.video-toggle img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.video-toggle .chevron { font-size: 2rem; transition: transform .2s ease; }
.video-toggle .chevron.open { transform: rotate(90deg); }
.video iframe { width: 100%; margin-top: 12px; aspect-ratio: 16 / 9; border: 0; }
/* Zurück bottom-left, Weiter bottom-right. On the funding step the KfW rate floats
   centred above that row (#2401). */
.sticky-nav { position: sticky; z-index: 5; bottom: 0; display: grid; gap: 0; margin-top: 56px; padding: 0; background: transparent; pointer-events: none; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0 0; background: #fff; pointer-events: auto; }
.nav-row .button.primary { margin-left: auto; }
.rate-dock { display: flex; justify-content: center; pointer-events: none; }
.rate-dock > * { pointer-events: auto; }
.summary { max-width: 850px; margin: auto; }
.summary section { margin-top: 28px; padding: 20px; background: #ececec; border-radius: 15px; }
.summary section h2 { display: inline-block; margin-right: 12px; }
.summary dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 5px 0; }
.summary dt { color: #333; }
.summary-form .summary-question { margin-top: 56px; }
.summary dd { margin: 0; }
/* Desktop keeps the summary actions inline under the referral question; mobile docks
   them like the steps' footer. */
.summary .sticky-nav { position: static; margin-top: 48px; }
.summary .nav-row.summary-actions { padding: 0; background: none; box-shadow: none; }
@media (max-width: 767px) {
  main { padding: 28px 12px; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .progress ol { display: none; }
  .question-card { padding: 24px 16px; border-radius: 15px; }
  /* Two tiles per row; a tile whose longest word needs more than half the row wraps
     onto its own row instead of splitting the word (#2464 M6). */
  .choices { display: flex; flex-wrap: wrap; }
  .choices > .choice { flex: 1 1 calc(50% - 5px); min-width: auto; max-width: 100%; }
  .sticky-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; gap: 10px; margin: 0; padding: 0 0 env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -8px 24px #00000014; }
  .nav-row { padding: 12px; }
  .sticky-nav:has(.rate-dock) { gap: 0; background: none; box-shadow: none; }
  .sticky-nav:has(.rate-dock) .nav-row { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sticky-nav:has(.rate-dock .funding-rate[hidden]) .nav-row { box-shadow: 0 -8px 24px #00000014; }
  .rate-dock { padding: 0 12px 10px; background: linear-gradient(transparent 50%, #fff 50%); }
  .rate-dock:has(.funding-rate[hidden]) { padding: 0; background: none; }
  main:has(.rate-dock .funding-rate:not([hidden])) { padding-bottom: calc(200px + env(safe-area-inset-bottom)); }
  main:has(.rate-dock .funding-rate.show-breakdown:not([hidden])) { padding-bottom: calc(300px + env(safe-area-inset-bottom)); }
  .section-heading { font-size: 1.3rem; }
  .field + .field { margin-top: 40px; }
  .field legend { font-size: 1.125rem; }
  .form-section { margin-top: 52px; }
  .details { padding: 18px 16px; }
  .summary dl div { grid-template-columns: 1fr; }
  .summary .sticky-nav { position: fixed; margin: 0; }
  .summary .sticky-nav .nav-row.summary-actions { padding: 12px; background: #fff; }
  .site-header span { display: none; }
  .entry-layout { grid-template-columns: 1fr; }
  .entry-visual { min-height: 220px; order: -1; }
}
