/* JHB Fallanfrage – Seitenlayout. Formularlogik und Formularbasis liegen im Plugin. */
.jhb-fap{
    --fap-green:#0E3C28;
    --fap-green-2:#164F38;
    --fap-mid:#579343;
    --fap-orange:#E9620B;
    --fap-mint:#E5F9F2;
    --fap-mint-soft:#F3FBF7;
    --fap-apricot:#FFF4EA;
    --fap-blue:#EAF4FF;
    --fap-ink:#17362C;
    --fap-muted:#5E726A;
    --fap-line:rgba(14,60,40,.11);
    --fap-shadow:0 24px 64px rgba(14,60,40,.08);
    color:var(--fap-ink);
    background:#fff;
    font-family:"Nunito Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    overflow:hidden;
}

.jhb-fap,.jhb-fap *{box-sizing:border-box}

.jhb-fap-shell{
    width:min(1440px,calc(100% - 64px));
    margin-inline:auto;
}

.jhb-fap-hero{
    position:relative;
    isolation:isolate;
    padding:clamp(54px,6vw,92px) 0 clamp(64px,7vw,104px);
    background:
        radial-gradient(720px 420px at -4% 28%,rgba(229,249,242,.82),transparent 67%),
        radial-gradient(680px 380px at 103% 10%,rgba(234,244,255,.66),transparent 72%),
        linear-gradient(180deg,#fff 0%,#fbfefd 100%);
}

.jhb-fap-hero::after{
    content:"";
    position:absolute;
    z-index:-1;
    right:-180px;
    bottom:-210px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,244,234,.82),rgba(255,244,234,0) 70%);
}

.jhb-fap-hero__grid{
    display:grid;
    grid-template-columns:minmax(470px,.9fr) minmax(690px,1.1fr);
    gap:clamp(48px,4.6vw,76px);
    align-items:start;
}

.jhb-fap-hero__copy{
    min-width:0;
    padding-top:clamp(10px,1.5vw,24px);
}

.jhb-fap-eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:8px 14px;
    border-radius:999px;
    background:var(--fap-mint);
    color:var(--fap-green);
    font-size:13px;
    font-weight:900;
    line-height:1.2;
    letter-spacing:.005em;
    white-space:nowrap;
}

.jhb-fap h1,
.jhb-fap h2,
.jhb-fap h3{
    font-family:"Nunito",system-ui,sans-serif;
    color:var(--fap-green);
    word-break:normal;
    overflow-wrap:normal;
    hyphens:none;
}

.jhb-fap h1{
    max-width:660px;
    margin:20px 0 22px;
    font-size:clamp(48px,4.15vw,68px);
    font-weight:900;
    line-height:.99;
    letter-spacing:-.045em;
}

.jhb-fap h1>span{
    display:block;
    white-space:nowrap;
}

.jhb-fap-lead{
    max-width:575px;
    margin:0;
    color:#425b52;
    font-size:clamp(16.5px,1.15vw,18.5px);
    line-height:1.68;
    text-wrap:pretty;
}

.jhb-fap-facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    max-width:630px;
    margin-top:25px;
}

.jhb-fap-facts>span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:8px 10px;
    border:1px solid rgba(14,60,40,.09);
    border-radius:11px;
    background:rgba(255,255,255,.78);
    color:#315247;
    font-size:12px;
    font-weight:850;
    line-height:1.3;
    box-shadow:0 8px 22px rgba(14,60,40,.025);
}

.jhb-fap-facts svg,
.jhb-fap-note svg,
.jhb-fap-route-card svg{
    width:20px;
    height:20px;
    flex:0 0 20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.75;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.jhb-fap-note{
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    gap:17px;
    align-items:start;
    max-width:630px;
    margin-top:26px;
    padding:20px 22px 20px 19px;
    border:1px solid rgba(233,98,11,.10);
    border-left:3px solid var(--fap-orange);
    border-radius:18px;
    background:linear-gradient(135deg,#fff8f1,#fff4ea 62%,#fffaf6);
    box-shadow:0 14px 34px rgba(14,60,40,.045);
}

.jhb-fap-note__icon{
    display:grid;
    width:48px;
    height:48px;
    place-items:center;
    border:1px solid rgba(233,98,11,.42);
    border-radius:50%;
    background:rgba(255,255,255,.72);
    color:var(--fap-orange);
}

.jhb-fap-note strong{
    display:block;
    margin:1px 0 6px;
    color:var(--fap-green);
    font-size:15.5px;
    line-height:1.35;
}

.jhb-fap-note p{
    margin:0;
    color:#53665f;
    font-size:13.7px;
    line-height:1.58;
    text-wrap:pretty;
}

.jhb-fap-safety-link{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    max-width:630px;
    margin-top:14px;
    padding:13px 14px;
    border:1px solid rgba(233,98,11,.13);
    border-radius:15px;
    background:linear-gradient(135deg,rgba(255,248,242,.92),rgba(255,252,248,.96));
    box-shadow:0 9px 24px rgba(14,60,40,.03);
}

.jhb-fap-safety-link__icon{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    border:1px solid rgba(233,98,11,.25);
    border-radius:50%;
    background:#fff1e8;
    color:var(--fap-orange);
    font-size:14px;
    font-weight:950;
}

.jhb-fap-safety-link__copy{
    min-width:0;
}

.jhb-fap-safety-link strong{
    display:block;
    margin:0 0 2px;
    color:var(--fap-green);
    font-size:12.8px;
    line-height:1.35;
}

.jhb-fap-safety-link p{
    margin:0;
    color:#5b6c65;
    font-size:12px;
    line-height:1.4;
}

.jhb-fap-safety-link a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:36px;
    padding:8px 11px;
    border:1px solid rgba(14,60,40,.11);
    border-radius:10px;
    background:#fff;
    color:var(--fap-green);
    font-size:12px;
    font-weight:900;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.jhb-fap-safety-link a:hover{
    transform:translateY(-1px);
    border-color:rgba(14,60,40,.2);
    box-shadow:0 8px 18px rgba(14,60,40,.06);
}

.jhb-fap-hero__form{
    min-width:0;
}

.jhb-fap-hero__form .jhb-fa__panel{
    border-radius:28px;
    box-shadow:0 30px 82px rgba(14,60,40,.105);
}

.jhb-fap-plugin-missing{
    padding:34px;
    border:1px solid var(--fap-line);
    border-radius:24px;
    background:#fff;
    box-shadow:var(--fap-shadow);
}

.jhb-fap-plugin-missing strong{color:var(--fap-green);font-size:20px}
.jhb-fap-plugin-missing p{margin:8px 0 0;color:var(--fap-muted)}

.jhb-fap-section{
    padding:clamp(66px,7vw,100px) 0;
}

.jhb-fap-section--process{
    background:linear-gradient(180deg,#fff,#f7fbf9);
}

.jhb-fap-section--routes{
    border-top:1px solid rgba(14,60,40,.055);
    background:#fff;
}

.jhb-fap-section-head{
    max-width:780px;
    margin:0 0 34px;
}

.jhb-fap-section-head--wide{max-width:930px}

.jhb-fap-section-head h2,
.jhb-fap-final h2{
    margin:16px 0 11px;
    font-size:clamp(32px,3vw,48px);
    font-weight:900;
    line-height:1.08;
    letter-spacing:-.035em;
    text-wrap:balance;
}

.jhb-fap-section-head p,
.jhb-fap-final p{
    max-width:780px;
    margin:0;
    color:var(--fap-muted);
    font-size:16px;
    line-height:1.68;
    text-wrap:pretty;
}

.jhb-fap-process-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.jhb-fap-process-grid article{
    position:relative;
    min-width:0;
    min-height:220px;
    padding:26px 26px 28px;
    border:1px solid var(--fap-line);
    border-radius:20px;
    background:rgba(255,255,255,.92);
    box-shadow:0 14px 36px rgba(14,60,40,.04);
}

.jhb-fap-step{
    display:inline-grid;
    min-width:38px;
    height:30px;
    place-items:center;
    padding:0 9px;
    border-radius:9px;
    background:var(--fap-mint);
    color:var(--fap-green);
    font-size:12px;
    font-weight:950;
}

.jhb-fap-process-grid h3{
    margin:20px 0 9px;
    font-size:21px;
    font-weight:900;
    line-height:1.25;
    letter-spacing:-.02em;
}

.jhb-fap-process-grid p{
    margin:0;
    color:#5a6f67;
    font-size:14.5px;
    line-height:1.62;
}

.jhb-fap-route-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.jhb-fap-route-card{
    min-width:0;
    display:flex;
    flex-direction:column;
    min-height:310px;
    padding:24px;
    border:1px solid var(--fap-line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 13px 32px rgba(14,60,40,.035);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.jhb-fap-route-card:hover{
    transform:translateY(-2px);
    border-color:rgba(14,60,40,.18);
    box-shadow:0 18px 42px rgba(14,60,40,.07);
}

.jhb-fap-route-card--office{background:linear-gradient(145deg,#f4fbf7,#fff 70%)}
.jhb-fap-route-card--safety{background:linear-gradient(145deg,#fff7ef,#fff 70%)}

.jhb-fap-route-card__icon{
    display:grid;
    width:44px;
    height:44px;
    place-items:center;
    margin-bottom:18px;
    border-radius:14px;
    background:var(--fap-mint);
    color:var(--fap-green);
}

.jhb-fap-route-card--safety .jhb-fap-route-card__icon{
    background:#fff0e5;
    color:var(--fap-orange);
}

.jhb-fap-route-card__kicker{
    color:var(--fap-mid);
    font-size:11px;
    font-weight:950;
    line-height:1.2;
    letter-spacing:.065em;
    text-transform:uppercase;
}

.jhb-fap-route-card h3{
    margin:8px 0 9px;
    font-size:20px;
    font-weight:900;
    line-height:1.27;
    letter-spacing:-.02em;
}

.jhb-fap-route-card p{
    margin:0 0 22px;
    color:#5e7069;
    font-size:14px;
    line-height:1.58;
}

.jhb-fap-route-card a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    max-width:100%;
    margin-top:auto;
    color:var(--fap-green);
    font-size:13.5px;
    font-weight:900;
    line-height:1.4;
    text-decoration:none;
}

.jhb-fap-route-card a span{transition:transform .18s ease}
.jhb-fap-route-card a:hover span{transform:translateX(3px)}

.jhb-fap-final{
    padding:0 0 clamp(72px,8vw,112px);
    background:#fff;
}

.jhb-fap-final__card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:30px;
    align-items:center;
    padding:clamp(28px,3vw,42px);
    border:1px solid rgba(14,60,40,.10);
    border-radius:26px;
    background:
        radial-gradient(420px 180px at 93% 0,rgba(229,249,242,.7),transparent 72%),
        linear-gradient(135deg,#f7fcf9,#fff);
    box-shadow:var(--fap-shadow);
}

.jhb-fap-final h2{font-size:clamp(29px,2.6vw,42px)}

.jhb-fap-btn{
    display:inline-flex;
    min-height:48px;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 19px;
    border-radius:13px;
    background:var(--fap-green);
    color:#fff;
    font-size:14px;
    font-weight:900;
    line-height:1.2;
    text-decoration:none;
    box-shadow:0 12px 28px rgba(14,60,40,.16);
    transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease;
}

.jhb-fap-btn:hover{
    background:var(--fap-green-2);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 15px 32px rgba(14,60,40,.20);
}

.jhb-fap a:focus-visible{
    outline:3px solid rgba(233,98,11,.34);
    outline-offset:3px;
}

@media(max-width:1240px){
    .jhb-fap-shell{width:min(1180px,calc(100% - 48px))}
    .jhb-fap-hero__grid{grid-template-columns:minmax(360px,.78fr) minmax(620px,1.22fr);gap:42px}
    .jhb-fap-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .jhb-fap-route-card{min-height:270px}
}

@media(max-width:1080px){
    .jhb-fap-hero{padding-top:48px}
    .jhb-fap-hero__grid{grid-template-columns:1fr;gap:42px}
    .jhb-fap-hero__copy{max-width:820px;padding-top:0}
    .jhb-fap h1{max-width:780px}
    .jhb-fap-lead,.jhb-fap-note,.jhb-fap-safety-link{max-width:760px}
    .jhb-fap-process-grid{grid-template-columns:1fr}
    .jhb-fap-process-grid article{min-height:0}
}

@media(max-width:720px){
    .jhb-fap-shell{width:calc(100% - 28px)}
    .jhb-fap-hero{padding:38px 0 58px}
    .jhb-fap-hero__copy{text-align:center}
    .jhb-fap h1{margin-top:18px;font-size:clamp(40px,11vw,54px);line-height:1.04}
    .jhb-fap-lead{font-size:16px;line-height:1.63}
    .jhb-fap-facts{max-width:640px;margin-inline:auto}
    .jhb-fap-note{margin-inline:auto;text-align:left}
    .jhb-fap-safety-link{margin-inline:auto;text-align:left}
    .jhb-fap-section{padding:58px 0}
    .jhb-fap-section-head{text-align:center;margin-inline:auto}
    .jhb-fap-route-grid{grid-template-columns:1fr}
    .jhb-fap-route-card{min-height:0}
    .jhb-fap-final__card{grid-template-columns:1fr;text-align:center}
    .jhb-fap-final__card .jhb-fap-eyebrow{justify-content:center}
    .jhb-fap-final__card p{margin-inline:auto}
    .jhb-fap-btn{width:100%}
}


@media(max-width:560px){
    .jhb-fap h1>span{white-space:normal}
    .jhb-fap-facts{grid-template-columns:1fr}
}

@media(max-width:460px){
    .jhb-fap-shell{width:calc(100% - 22px)}
    .jhb-fap-facts{grid-template-columns:1fr;text-align:left}
    .jhb-fap-note{grid-template-columns:1fr;padding:19px 17px}
    .jhb-fap-note__icon{margin-inline:auto}
    .jhb-fap-note>div{text-align:center}
    .jhb-fap-safety-link{grid-template-columns:36px minmax(0,1fr);align-items:start}
    .jhb-fap-safety-link a{grid-column:2;width:max-content;margin-top:2px}
    .jhb-fap-route-card,.jhb-fap-process-grid article{padding:21px}
}

@media(prefers-reduced-motion:reduce){
    .jhb-fap *{scroll-behavior:auto;transition:none}
}
