/* Interactive editorial graphics, inspired by the supplied reel and DMF charts. */
#own-bar{flex:0 0 auto;background:#b5b8b3}#base-bar{background:#d1d6c4;flex-basis:0}
:root{--ink:#303330;--muted:#626662;--deep:#353735;--wash:#f4f5f1}
.hero{display:block;max-width:1360px;padding:42px 5% 65px;background:#fff}
.hero-copy{display:grid;grid-template-columns:1.3fr 1fr;gap:0 7%;padding:0 0 32px;align-items:center}
.hero-copy>.eyebrow{grid-column:1/-1;margin-bottom:16px}
.hero h1{font-size:clamp(40px,4.5vw,64px);margin:0;line-height:1.02}
.hero h1 br:first-child{display:none}.hero h1 br:nth-child(2){display:block}
.hero h1>span{color:#303330;white-space:normal;background:linear-gradient(transparent 66%,#dceca1 66%,#dceca1 91%,transparent 91%)}
.hero h1>span:after{display:none}.hero .intro{font-size:19px;line-height:1.5;margin:0;max-width:370px}
.hero .small-proof{grid-column:2;gap:17px;margin-top:12px}.hero .ben-mini,.hero .hero-note{display:none}
.quiz-card{border-radius:24px;box-shadow:0 20px 60px #0000000b;margin:0;border-color:#dfe2d7}
.card-top{background:#f1f3eb;padding:17px 28px}.progress{max-width:750px;margin:auto;padding:22px 28px 0}
#quiz-content{padding:28px}.visual-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.visual-intro h2{font-size:clamp(30px,3.5vw,45px);margin-top:8px;letter-spacing:-.025em}.visual-intro h2 span{color:#748d14}
.visual-intro>p{font-size:14px;line-height:1.5}.funding-playground{display:grid;grid-template-columns:.9fr 1.35fr;gap:35px;align-items:stretch}
.funding-controls{padding:18px 4px 10px;min-width:0}.control-number{font-size:12px;font-weight:700;color:#7c8f47;display:flex;align-items:center;gap:10px}
.control-number>span{color:#353735;font-size:16px;letter-spacing:0}.contribution{margin:22px 0 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:15px}
.amount-input{display:flex;align-items:baseline;gap:3px;border-bottom:2px solid var(--lime)}.amount-input input{border:0;background:none;outline-offset:2px;font-size:44px;font-weight:700;width:111px;padding:0;text-align:right;line-height:1.2}
.amount-input>span{font-size:21px}.amount-input input::-webkit-inner-spin-button{display:none}
#contribution-range{--fill:5.26%;appearance:none;-webkit-appearance:none;width:100%;height:8px;border-radius:10px;background:linear-gradient(to right,var(--lime) var(--fill),#d9ddd1 var(--fill));margin:20px 0 10px;cursor:ew-resize}
#contribution-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:27px;height:27px;border:4px solid white;background:var(--lime);box-shadow:0 0 0 1px #91ac22,0 4px 10px #738c1240;border-radius:50%;cursor:grab}
#contribution-range::-moz-range-thumb{width:20px;height:20px;border:4px solid white;background:var(--lime);border-radius:50%;box-shadow:0 0 0 1px #91ac22}
.range-labels{display:flex;justify-content:space-between;font-size:11px;color:#747a6b;margin:3px 0 15px}
.contribution-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.contribution-presets button{border:1px solid #dde1d3;border-radius:9px;background:white;padding:9px 5px;font-size:14px;font-weight:700}
.contribution-presets button:hover{border-color:#92ad21}.contribution-presets button[aria-pressed=true]{background:#edf4d2;border-color:#92ad21}.control-help{font-size:12px;line-height:1.5;margin-top:12px;color:#707667}
.family-heading{border-top:1px solid var(--line);margin-top:28px;padding-top:23px;display:flex;justify-content:space-between;align-items:center;gap:10px}.family-stepper{display:flex;align-items:center;gap:7px}
.family-stepper button{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid #dbe1ce;border-radius:50%;background:#f1f5e6;font-size:25px;line-height:1}
.family-stepper button:disabled{opacity:.35;cursor:default}.family-stepper output{min-width:22px;text-align:center;font-size:20px;font-weight:700}
.family-members{display:flex;flex-wrap:wrap;gap:9px;min-height:84px;align-content:start;margin-top:17px}
.child-person{position:relative;display:grid;place-items:center;width:53px;height:70px;border:1px solid #c5d495;background:#f1f7dc;border-radius:11px;animation:child-in .22s ease-out}
.child-person svg,.empty-family svg{height:48px;width:36px;fill:none;stroke:#485a25;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.remove-mark{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:20px;height:20px;background:#353735;color:white;border:2px solid white;border-radius:50%;font-size:14px;line-height:1}
.child-person:hover{background:#e4efbf}.empty-family{display:flex;gap:12px;padding:10px 9px;opacity:.24}.family-caption{font-size:13px;color:#4d573f;line-height:1.4;min-height:19px}
.interactive-note{display:flex;align-items:center;gap:10px;font-size:13px;color:#7b885e;margin-top:20px;font-style:italic}.interactive-note span{font-size:28px}
.funding-stage{background:#353735;border-radius:20px;padding:23px 29px 20px;color:#fff;overflow:hidden;min-width:0;position:relative}
.stage-topline{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.12em;font-weight:700;color:#d3d8cd}
.stage-badge{color:#d5ed85;border:1px solid #899367;border-radius:20px;padding:4px 9px;letter-spacing:.06em}
.grant-hero{display:flex;align-items:end;gap:20px;margin-top:17px}.grant-hero>div:first-child>span{display:block;font-size:10px;letter-spacing:.13em;color:#e2e8d8}
.grant-hero strong{font-size:clamp(49px,5.1vw,69px);line-height:1.1;color:#c4e440;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.grant-context{padding-bottom:7px}.grant-context>span{font-size:16px;font-weight:700}.grant-context small{display:block;max-width:140px;font-size:11px;color:#bfc8b6;line-height:1.4;margin-top:4px}
.comparison-chart{--chart-height:260px;display:flex;justify-content:center;align-items:end;gap:29px;margin:23px 0 18px;padding:0 20px;height:calc(var(--chart-height) + 65px);position:relative}
.comparison-chart:before{content:'';position:absolute;height:1px;background:#a6b09b66;left:0;right:0;bottom:28px}
.plot-column{width:38%;max-width:145px;display:flex;flex-direction:column;align-items:stretch;text-align:center;min-width:0}.plot-value{font-size:23px;line-height:1.1;white-space:nowrap;margin-bottom:9px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.state-value{color:#d0eb7d}.plot-bar{height:calc(var(--chart-height)*var(--height));transition:height .28s cubic-bezier(.2,.8,.2,1);border-radius:12px 12px 0 0;overflow:hidden;min-height:0;position:relative}
.own-column{background:#b5b8b3;color:#353735;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;box-shadow:inset -8px 0 0 #00000008}
.person-icon svg{width:32px;height:45px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}.inside-label{font-size:11px;font-weight:700}.compact-bar .inside-label,.compact-bar .person-icon{display:none}
.state-column{display:flex;flex-direction:column;background:var(--lime)}.base-segment{flex-basis:0;min-height:0;display:flex;align-items:center;justify-content:center;gap:6px;background:#d1d6c4;color:#353735;overflow:hidden;padding:0 3px}
.base-segment svg{width:27px;height:29px;flex:none;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round}.base-segment>span{font-size:10px;font-weight:700}.compact-bar .base-segment>span{display:none}
.child-stack{display:flex;flex-direction:column;flex-basis:0;min-height:0;background:var(--lime);overflow:hidden}.child-segment{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;border-bottom:2px solid #35373555;overflow:hidden}
.child-segment svg{width:24px;height:34px;max-height:90%;fill:none;stroke:#354222;stroke-width:3.3;stroke-linecap:round}.plot-caption{font-size:12px;padding-top:10px;height:28px;white-space:nowrap;color:#edf0e7}
.chart-plus{color:#bec5b3;font-size:27px;font-weight:400;align-self:center}.stage-breakdown{border-top:1px solid #ffffff24;padding-top:13px;display:grid;gap:7px;font-size:12px;color:#e4e8df}
.stage-breakdown>div{display:flex;align-items:center;gap:7px}.stage-breakdown strong{margin-left:auto;font-size:14px;font-variant-numeric:tabular-nums}.legend-square{width:9px;height:9px;border-radius:2px;display:block}.base-square{background:#d1d6c4}.child-square{background:var(--lime)}
.year-total{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffff26;margin-top:14px;padding-top:14px}.year-total span{font-size:10px;font-weight:700;letter-spacing:.08em}.year-total small{display:block;color:#c5cdbd;font-size:10px}.year-total>strong{font-size:31px;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.funding-stage .result-note{font-size:11px;color:#d5dec9;margin-top:12px;border-top:0;padding-top:0;min-height:32px;line-height:1.5}
.calculation-foot{display:grid;grid-template-columns:1fr 1fr;gap:0 35px;margin-top:13px;align-items:start}.calculation-foot .eligibility{grid-column:1;grid-row:1/3}.calculation-foot .calc-disclaimer{grid-column:2;grid-row:1;margin-top:5px}.calculation-foot .primary{grid-column:2;grid-row:2;font-size:15px}.calculation-foot .under-button{grid-column:2;grid-row:3}.quiz-card:has([data-step="0"][hidden]){max-width:660px;margin:auto}.quiz-card:has([data-step="0"][hidden]) .progress{padding-left:28px;padding-right:28px}
@keyframes child-in{from{opacity:0;transform:translateY(7px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1000px){.funding-playground{gap:22px;grid-template-columns:.9fr 1.2fr}.funding-stage{padding:21px}.family-heading{display:block}.family-stepper{margin-top:12px}.comparison-chart{gap:15px;padding:0 8px}.visual-intro>p{max-width:210px}.hero-copy{gap:0 5%}.hero h1{font-size:47px}}
@media(max-width:720px){.hero{padding:24px 4% 42px}.hero-copy{display:block;padding-bottom:26px}.hero-copy>.eyebrow{margin-bottom:14px}.hero h1{font-size:43px;margin:0;line-height:1.02}.hero h1 br:nth-child(2){display:block}.hero h1>span{display:inline}.hero .intro{font-size:16px;margin-top:18px;max-width:450px}.hero .small-proof{margin-top:14px;font-size:11px}.card-top{padding:14px 17px}.progress{padding:18px 17px 0}#quiz-content{padding:22px 17px}.visual-intro{display:block;margin-bottom:20px}.visual-intro h2{font-size:32px;max-width:320px}.visual-intro>p{max-width:none;margin-top:11px;font-size:13px}.visual-intro>p br{display:none}.funding-playground{grid-template-columns:1fr;gap:23px}.funding-controls{padding:0}.contribution{margin-top:12px}.amount-input input{font-size:39px;width:100px}.control-number>span{font-size:15px}.family-heading{display:flex;margin-top:22px;padding-top:18px}.family-stepper{margin-top:0}.family-stepper button{min-height:40px;min-width:40px}.family-members{min-height:70px;gap:9px;margin-top:14px}.child-person{height:63px;width:49px}.child-person svg{height:42px}.interactive-note{display:none}.funding-stage{padding:22px 20px 18px;border-radius:15px}.grant-hero{gap:15px}.grant-hero strong{font-size:57px}.grant-context>span{font-size:13px}.grant-context small{font-size:10px}.stage-topline{font-size:9px}.comparison-chart{--chart-height:220px;gap:16px;margin-top:23px}.plot-value{font-size:22px}.plot-caption{font-size:11px}.base-segment>span{display:none}.year-total>strong{font-size:31px}.calculation-foot{display:block;margin-top:18px}.calculation-foot .calc-disclaimer{margin:14px 0}.funding-stage .result-note{min-height:0}.empty-family{padding:7px}.quiz-card:has([data-step="0"][hidden]) .progress{padding-left:17px;padding-right:17px}}
@media(prefers-reduced-motion:reduce){.child-person{animation:none}.plot-bar{transition:none}}

.funding-stage.invalid-amount>.grant-hero,.funding-stage.invalid-amount>.comparison-chart,.funding-stage.invalid-amount>.stage-breakdown,.funding-stage.invalid-amount>.year-total,.funding-stage.invalid-amount>.result-note{visibility:hidden}
.funding-stage.invalid-amount:after{content:"Bitte zuerst einen gültigen Monatsbeitrag eingeben.";position:absolute;inset:40% 25px auto;text-align:center;color:white;font-size:20px}

.chart-explainer{font-size:11px;color:#d5dec9;line-height:1.5;margin:0 0 14px}

@media(max-width:720px){.own-column{gap:4px}.own-column .person-icon{display:flex}.own-column .person-icon svg{width:24px;height:32px}.own-column .inside-label{font-size:10px;line-height:12px}}
