/* ÖFD Vorfinanzierung V2.0. Uses the standard ÖFD design system. */
.funding-v20 .hero-copy .oefd-credentials{margin-top:25px}
.funding-v20 .hero-copy h1 span{color:#555c61}
.funding-v20 .ads-term--google span{max-width:105px;text-align:center}

/* Prevent the comparison card outcome from ever overlapping copy. */
.funding-v20 .funding-stage{min-height:0;display:flex;flex-direction:column}
.funding-v20 .funding-outcome{position:static;left:auto;right:auto;bottom:auto;margin-top:2px;opacity:1;transform:none;transition:none}
.funding-v20 .funding-single span{width:84%}
.funding-v20 .psych-visual.is-running .funding-outcome{transition:none}
.funding-v20 .psych-copy>p{max-width:690px}
.funding-v20 .psych-note{font-size:13px!important;color:#727a7f!important}

/* Compact included-scope section, aligned to standard section spacing. */
.vf20-included{position:relative;padding:64px 0 92px;background:#fff;border-top:1px solid rgba(17,19,21,.06)}
.vf20-shell{width:min(var(--shell),calc(100% - var(--side)*2));margin-inline:auto}
.vf20-section-head{display:grid;grid-template-columns:minmax(170px,.32fr) minmax(0,1.68fr);gap:clamp(44px,5vw,78px);align-items:start;margin-bottom:38px}
.vf20-section-head>.section-kicker{padding-top:7px}
.vf20-section-head h2{max-width:980px;margin:0;font-size:clamp(46px,4.35vw,70px);line-height:1;letter-spacing:-.052em;font-weight:840;text-wrap:balance}
.vf20-section-head>div>p{max-width:740px;margin:22px 0 0;color:var(--muted);font-size:17px;line-height:1.7}
.vf20-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.vf20-service{display:flex;align-items:flex-start;gap:15px;min-height:168px;padding:22px;border:1px solid #dde1dd;border-radius:14px;background:#fbfbfa}
.vf20-service--wide{grid-column:span 2;background:#fff;border-color:#cfd5d0;box-shadow:0 16px 42px rgba(17,19,21,.045)}
.vf20-service__icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #d6ddd7;border-radius:10px;background:#fff;color:#1b6f4b}
.vf20-service__icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.vf20-service h3{margin:1px 0 0;font-size:19px;line-height:1.25;letter-spacing:-.026em;font-weight:790}
.vf20-service--wide h3{font-size:23px}
.vf20-service p{margin:9px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
.vf20-included__summary{display:flex;align-items:baseline;gap:16px;margin-top:18px;padding:19px 22px;border-top:1px solid var(--line);color:#5f676c}
.vf20-included__summary strong{color:var(--ink);font-size:16px}.vf20-included__summary span{font-size:14px}

/* Project check: keep standard component, only reduce unnecessary pre-form whitespace. */
.funding-v20 .project-check-section{padding-top:64px}
.funding-v20 .project-check-copy h2{font-size:clamp(44px,4.15vw,66px)}
.funding-v20 .project-check-note strong{color:var(--ink)}

/* Post-form editorial content for SEO/AI and human scanning. */
.vf20-depth{padding:72px 0 92px;background:#f5f6f4;border-top:1px solid rgba(17,19,21,.06)}
.vf20-depth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vf20-depth-grid article{padding:26px 26px 28px;border-top:1px solid #cfd5d0;background:#fff}
.vf20-depth-grid article>span{display:block;color:#8a9195;font-size:11px;font-weight:800;letter-spacing:.1em}
.vf20-depth-grid h3{margin:18px 0 0;font-size:24px;line-height:1.15;letter-spacing:-.032em;font-weight:800}
.vf20-depth-grid p{margin:14px 0 0;color:var(--muted);font-size:15px;line-height:1.72}
.vf20-quote{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:60px;align-items:start;margin-top:42px;padding-top:32px;border-top:1px solid #cfd5d0}
.vf20-quote p{margin:0;font-size:clamp(28px,2.7vw,42px);line-height:1.08;letter-spacing:-.038em;font-weight:820}
.vf20-quote span{color:var(--muted);font-size:16px;line-height:1.75}

.vf20-extras{padding:64px 0 92px;background:#fff;border-top:1px solid rgba(17,19,21,.06)}
.vf20-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vf20-extra-grid article{padding:24px;border:1px solid #e0e3df;border-radius:12px;background:#fafaf9}
.vf20-extra-grid h3{margin:0;font-size:22px;line-height:1.25;letter-spacing:-.027em;font-weight:790}
.vf20-extra-grid p{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.68}
.vf20-text-link{display:inline-flex;align-items:center;gap:10px;margin-top:25px;padding-bottom:5px;border-bottom:1px solid #b8beb9;font-size:13px;font-weight:760}

/* Standard black final CTA. */
.funding-v20 .final-cta-phone{text-align:left}

@media(max-width:980px){
 .vf20-section-head{grid-template-columns:1fr;gap:13px}.vf20-section-head>.section-kicker{padding-top:0}.vf20-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vf20-service--wide{grid-column:1/-1}.vf20-depth-grid{grid-template-columns:1fr}.vf20-quote{grid-template-columns:1fr;gap:18px}.vf20-extra-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 .funding-v20 .hero-shell{padding-top:38px}.funding-v20 .hero-copy .oefd-credentials{margin-top:21px}
 .funding-v20 .psych-section{padding:50px 0 58px}.funding-v20 .psych-shell{gap:30px}.funding-v20 .psych-copy{order:1}.funding-v20 .psych-visual{order:2;padding-top:0}
 .funding-v20 .funding-stage{padding:20px 18px;border-radius:13px}.funding-v20 .funding-row{padding:22px 0 20px}.funding-v20 .funding-outcome{padding-top:17px;margin-top:2px}.funding-v20 .funding-outcome strong{font-size:18px}.funding-v20 .funding-outcome span{font-size:11.5px}
 .vf20-included,.vf20-depth,.vf20-extras{padding:52px 0 58px}.vf20-section-head{margin-bottom:25px}.vf20-section-head h2{font-size:clamp(36px,10vw,48px)}.vf20-section-head>div>p{margin-top:16px;font-size:15px;line-height:1.65}
 .vf20-service-grid{grid-template-columns:1fr;gap:9px}.vf20-service,.vf20-service--wide{grid-column:auto;min-height:0;padding:17px 16px;gap:13px}.vf20-service h3,.vf20-service--wide h3{font-size:18px}.vf20-service p{font-size:13px;margin-top:6px}.vf20-service__icon{flex-basis:31px;width:31px;height:31px}.vf20-service__icon svg{width:19px;height:19px}
 .vf20-included__summary{display:block;margin-top:14px;padding:16px 2px 0}.vf20-included__summary strong,.vf20-included__summary span{display:block}.vf20-included__summary span{margin-top:5px;font-size:13px;line-height:1.6}
 .funding-v20 .project-check-section{padding:52px 0 62px}.funding-v20 .project-check-copy h2{font-size:clamp(36px,10vw,48px)}
 .vf20-depth-grid{gap:10px}.vf20-depth-grid article{padding:21px 18px}.vf20-depth-grid h3{font-size:21px;margin-top:12px}.vf20-depth-grid p{font-size:14px;margin-top:9px}.vf20-quote{margin-top:28px;padding-top:25px}.vf20-quote p{font-size:30px}.vf20-quote span{font-size:14px;line-height:1.7}
 .vf20-extra-grid{gap:9px}.vf20-extra-grid article{padding:19px 18px}.vf20-extra-grid h3{font-size:20px}.vf20-extra-grid p{font-size:13px;margin-top:7px}
}
@media(max-width:430px){.funding-v20 .hero-copy h1{font-size:clamp(42px,12vw,52px)}.funding-v20 .funding-months{gap:3px}.funding-v20 .funding-stage{min-height:0}}

/* V2.1 refinements */
.funding-v20 .hero-copy .oefd-credentials{gap:16px;justify-content:flex-start}
.funding-v20 .hero-copy .oefd-credentials__badge{flex-basis:84px;width:84px;height:84px}
.funding-v20 .project-check-section{padding-top:56px;padding-bottom:72px}
.funding-v20 .hero-shell{gap:34px}
@media(max-width:700px){
 .funding-v20 .hero-copy .oefd-credentials{justify-content:center;gap:12px;width:100%}
 .funding-v20 .hero-copy .oefd-credentials__badge{flex-basis:64px;width:64px;height:64px}
 .funding-v20 .hero-shell{gap:22px;padding-bottom:34px}
 .funding-v20 .project-check-section{padding-top:44px;padding-bottom:56px}
}

/* V2.2 compact mobile rhythm and badges */
.funding-v20 .hero-copy .oefd-credentials__badge{width:84px;height:84px;flex-basis:84px}
@media(max-width:700px){
 .funding-v20 .hero-copy .oefd-credentials{justify-content:center;align-items:center;gap:10px;width:100%;margin:20px auto 0}
 .funding-v20 .hero-copy .oefd-credentials__badge{width:64px;height:64px;flex:0 0 64px}
 .funding-v20 .hero-shell{gap:18px;padding-top:34px;padding-bottom:28px}
 .funding-v20 .psych-section{padding:30px 0}.funding-v20 .psych-shell{gap:22px}
 .funding-v20 .vf20-included{padding:30px 0}.funding-v20 .vf20-section-head{margin-bottom:20px;gap:8px}
 .funding-v20 .project-check-section{padding:30px 0}
 .funding-v20 .vf20-depth{padding:28px 0 34px}.funding-v20 .vf20-extras{padding:30px 0 34px}
}

/* V2.3 hard containment for mobile and tablet */
.funding-v20 .hero-shell,.funding-v20 .hero-copy,.funding-v20 .hero-visual,.funding-v20 .ads-motion,.funding-v20 .ads-motion__stage{min-width:0;max-width:100%}
@media(max-width:980px){.funding-v20 .hero-copy h1{font-size:clamp(46px,7vw,62px)}}
@media(max-width:700px){
 .funding-v20 .hero-copy h1{font-size:clamp(35px,9.2vw,39px);line-height:1;letter-spacing:-.042em}
 .funding-v20 .hero-visual,.funding-v20 .ads-motion,.funding-v20 .ads-motion__stage{width:100%;max-width:100%;overflow:hidden}
}

/* V2.4 final animation layering fix */
.funding-v20 .ads-final{z-index:7}
.funding-v20 .ads-benefit{z-index:6;border-top:0}

/* V2.5 visual centering of final Gesamtkonzept card */
.funding-v20 .ads-final{
  align-items:center;
  text-align:center;
}
.funding-v20 .ads-final small,
.funding-v20 .ads-final strong,
.funding-v20 .ads-final>span{
  width:100%;
  text-align:center;
}
.funding-v20 .ads-final>span{
  max-width:190px;
  margin-left:auto;
  margin-right:auto;
}


/* V2.6 final card centering fallback */
@media(max-width:700px){
 .funding-v20 .ads-final{left:50%;right:auto;width:250px;max-width:calc(100% - 56px);padding:20px 18px;box-sizing:border-box;align-items:center;text-align:center;margin:0}
 .funding-v20 .ads-final small,.funding-v20 .ads-final strong,.funding-v20 .ads-final>span{width:100%;margin-left:auto;margin-right:auto;text-align:center}
 .funding-v20 .ads-final strong{font-size:24px;white-space:nowrap;letter-spacing:-.035em}
 .funding-v20 .ads-final>span{max-width:200px}
}
