/* ==========================================================================
   assets/css/hunter-finder.css – Hunter-Finder
   ========================================================================== */

.hf{
    --hf-bg:#141414;
    --hf-panel:#1C1C1A;
    --hf-panel-2:#1A1A18;
    --hf-line:#2E2E2A;
    --hf-line-2:#34342F;
    --hf-accent:#F2B705;
    --hf-accent-dark:#8A6A08;
    --hf-text:#C9C7BD;
    --hf-muted:#A8A69C;
    --hf-faint:#8E8C83;
    position:relative;
    padding:56px 0 80px;
    background:var(--hf-bg);
    color:#fff;
}
.hf *{box-sizing:border-box}
.hf__container{display:flex;flex-direction:column;gap:30px}

/* Kopf */
.hf__head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.hf__head-copy{display:flex;flex-direction:column;gap:14px;max-width:720px}
.hf__badge{
    align-self:flex-start;
    padding:8px 16px;
    border-radius:999px;
    background:rgba(242,183,5,.14);
    color:var(--hf-accent);
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.16em;
}
.hf__title{margin:0;color:#fff;font-size:clamp(2.1rem,4.2vw,3.2rem);line-height:1.02;font-weight:800;letter-spacing:-.04em}
.hf__title span{color:var(--hf-accent)}
.hf__intro{margin:0;color:var(--hf-text);font-size:1.02rem;line-height:1.65}

.hf__steps{display:flex;gap:8px;flex-wrap:wrap}
.hf-step{
    min-height:40px;
    padding:0 16px;
    border-radius:999px;
    font:700 .82rem/1 inherit;
    font-family:inherit;
    cursor:pointer;
    background:transparent;
    color:var(--hf-faint);
    border:1.5px solid var(--hf-line-2);
    transition:all .2s ease;
}
.hf-step.is-done{color:var(--hf-accent);border-color:#6B5410}
.hf-step.is-on{background:var(--hf-accent);color:#141414;border-color:var(--hf-accent)}
.hf-step:disabled{cursor:default;opacity:.7}

/* Raster */
.hf__grid{display:grid;grid-template-columns:minmax(0,1fr) 520px;gap:40px;align-items:start}
.hf__main{display:flex;flex-direction:column;gap:22px;min-width:0}

/* Frage */
.hf-q{display:flex;flex-direction:column;gap:20px;animation:hfIn .35s ease}
@keyframes hfIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hf-q__eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.14em;color:var(--hf-accent)}
.hf-q__title{margin:4px 0 0;color:#fff;font-size:clamp(1.5rem,2.4vw,1.9rem);font-weight:800;letter-spacing:-.02em}

.hf-tiles{display:grid;gap:14px}
.hf-tiles--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hf-tiles--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hf-tiles--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hf-tile{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    min-height:96px;
    padding:18px 20px;
    border-radius:18px;
    text-align:left;
    font-family:inherit;
    cursor:pointer;
    background:var(--hf-panel);
    border:2px solid var(--hf-line);
    color:#fff;
    transition:all .2s ease;
}
.hf-tile:hover{border-color:#5A4A12}
.hf-tile.is-on{background:#2A2410;border-color:var(--hf-accent);box-shadow:0 0 0 4px rgba(242,183,5,.12)}
.hf-tile__label{font-size:1.1rem;font-weight:800;color:#fff}
.hf-tile__sub{font-size:.85rem;line-height:1.45;color:var(--hf-muted)}
.hf-tile__tow{font-size:.82rem;font-weight:700;color:var(--hf-accent)}
.hf-tile__rule{width:100%;height:1px;background:var(--hf-line-2);margin:4px 0}
.hf-tile__eg{font-size:.72rem;font-weight:700;letter-spacing:.1em;color:var(--hf-faint)}
.hf-tile__ex{font-size:.85rem;line-height:1.5;color:#D5D3CA}

.hf-sliders{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    padding:22px;
    border-radius:20px;
    background:var(--hf-panel);
    border:1px solid var(--hf-line);
}
.hf-slider{display:flex;flex-direction:column;gap:10px}
.hf-slider label{display:flex;justify-content:space-between;gap:10px;font-size:.88rem;color:var(--hf-text)}
.hf-slider label small{color:var(--hf-muted);font-weight:600;font-size:.8rem}
.hf-slider b{color:var(--hf-accent);font-size:1rem;white-space:nowrap}
.hf-slider input{width:100%;accent-color:var(--hf-accent)}
.hf-sliders__hint{grid-column:1 / -1;font-size:.8rem;line-height:1.5;color:var(--hf-faint)}

/* Buttons */
.hf-nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.hf .hf-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:52px;
    padding:0 26px;
    border-radius:999px;
    font-family:inherit;
    font-weight:800;
    font-size:.88rem;
    letter-spacing:.05em;
    text-decoration:none;
    cursor:pointer;
    border:1.5px solid transparent;
    transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease;
}
.hf .hf-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hf .hf-btn--primary{background:var(--hf-accent);color:#141414}
.hf .hf-btn--primary:hover{background:#fff;color:#141414;transform:translateY(-2px)}
.hf .hf-btn--primary:disabled{background:var(--hf-line-2);color:var(--hf-faint);cursor:not-allowed;transform:none}
.hf .hf-btn--ghost{background:transparent;border-color:#4A4A43;color:#fff}
.hf .hf-btn--ghost:hover{border-color:var(--hf-accent);color:var(--hf-accent)}
.hf .hf-btn--dark{background:#141414;color:#fff}
.hf .hf-btn--dark:hover{background:#000;color:var(--hf-accent)}
.hf .hf-btn--outline-dark{background:transparent;border-color:#141414;color:#141414}
.hf .hf-btn--outline-dark:hover{background:#141414;color:#fff}

/* Gespann */
.hf__rig{
    position:sticky;
    top:calc(var(--navbar-offset,100px) + 16px);
    display:flex;
    flex-direction:column;
    gap:16px;
    padding:24px;
    border-radius:26px;
    background:var(--hf-panel-2);
    border:1px solid var(--hf-line);
}
.hf__rig-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hf__rig-title{font-size:.8rem;font-weight:800;letter-spacing:.14em;color:var(--hf-muted)}
.hf__rig-label{font-size:.82rem;font-weight:700;color:var(--hf-accent);text-align:right}
.hf-scene{display:block;width:100%;height:auto;aspect-ratio:600/190;overflow:visible}
.hf-car{opacity:0;transform:translateX(-24px);transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.hf-car.is-on{opacity:1;transform:none}
.hf-cv{opacity:0;transform:translateX(640px);transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .4s ease}
.hf-cv.is-on{opacity:1}
.hf-cv.is-tight{opacity:.75}
.hf-fam{opacity:0;transition:opacity .45s ease}
.hf-fam.is-on{opacity:1}
.hf-win4{opacity:0}
.hf-win4.is-on{opacity:1}

.hf__gauge{display:flex;flex-direction:column;gap:10px}
.hf-gauge__head{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:var(--hf-faint)}
.hf-gauge__head b{color:var(--hf-accent)}
.hf-gauge__row{display:grid;grid-template-columns:52px minmax(0,1fr) 104px;gap:12px;align-items:center}
.hf-gauge__name{font-size:.8rem;font-weight:800;color:#fff}
.hf-gauge__row.is-no .hf-gauge__name{color:#6E6C64}
.hf-gauge__row.is-best .hf-gauge__name{color:var(--hf-accent)}
.hf-gauge__track{position:relative;height:14px;border-radius:7px;background:#262622}
.hf-gauge__bar{position:absolute;top:2px;height:10px;border-radius:5px;background:var(--hf-accent)}
.hf-gauge__row.is-tight .hf-gauge__bar{opacity:.55}
.hf-gauge__row.is-no .hf-gauge__bar{background:#4A4A43}
.hf-gauge__mark{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#fff;transition:left .2s ease}
.hf-chip{text-align:center;padding:5px 0;border-radius:999px;font-size:.72rem;font-weight:800;border:1.5px solid var(--hf-line-2);color:#6E6C64}
.hf-chip--ok{background:var(--hf-accent);border-color:var(--hf-accent);color:#141414}
.hf-chip--tight{border-color:var(--hf-accent);color:var(--hf-accent)}
.hf-chip--best{box-shadow:0 0 0 3px rgba(242,183,5,.25)}
.hf-gauge__axis{display:flex;justify-content:space-between;padding:0 116px 0 64px;font-size:.7rem;color:#6E6C64}

/* Ergebnis */
.hf-res{display:flex;flex-direction:column;gap:16px;animation:hfIn .35s ease}
.hf-res__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.hf-res__hint{font-size:.82rem;color:var(--hf-faint)}
.hf-cmp{display:flex;gap:12px;align-items:stretch}
.hf-cmp__labels{flex:0 0 128px;display:flex;flex-direction:column;padding-top:216px}
.hf-cmp__label,.hf-cmp__cell{
    height:40px;
    display:flex;
    align-items:center;
    border-top:1px solid var(--hf-line);
    font-size:.82rem;
    line-height:1.2;
}
.hf-cmp__label{font-weight:700;color:var(--hf-faint)}
.hf-cmp__col{
    flex:1 1 0;
    min-width:0;
    display:flex;
    flex-direction:column;
    border-radius:18px;
    overflow:hidden;
    background:var(--hf-panel);
    border:1.5px solid var(--hf-line);
}
.hf-cmp__col.is-best{background:#221F12;border-color:var(--hf-accent)}
.hf-cmp__col.is-shown:not(.is-best){border-color:var(--hf-accent-dark)}
.hf-cmp__top{
    display:flex;
    flex-direction:column;
    gap:8px;
    height:216px;
    padding:0 0 12px;
    border:0;
    background:transparent;
    color:#fff;
    text-align:left;
    font-family:inherit;
    cursor:pointer;
}
.hf-cmp__top img{width:100%;height:112px;object-fit:cover;display:block}
.hf-cmp__top-body{display:flex;flex-direction:column;gap:6px;padding:0 14px}
.hf-cmp__badge{align-self:flex-start;padding:4px 10px;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.12em;background:var(--hf-line);color:var(--hf-text)}
.hf-cmp__col.is-best .hf-cmp__badge{background:var(--hf-accent);color:#141414}
.hf-cmp__name{font-size:1.15rem;font-weight:800;letter-spacing:-.02em}
.hf-cmp__status{font-size:.78rem;font-weight:700;color:#9FD18B}
.hf-cmp__status.is-tight{color:#E0A800}
.hf-cmp__show{font-size:.74rem;font-weight:700;color:var(--hf-faint)}
.hf-cmp__col.is-shown .hf-cmp__show{color:var(--hf-accent)}
.hf-cmp__cell{padding:0 14px;color:#E8E6DD}
.hf-cmp__cell-label{display:none}
.hf-cmp__links{margin-top:auto;display:flex;flex-direction:column;border-top:1px solid var(--hf-line)}
.hf .hf-cmp__link{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    color:var(--hf-accent);
    font-weight:800;
    font-size:.8rem;
    letter-spacing:.06em;
    text-decoration:none;
}
.hf .hf-cmp__link + .hf-cmp__link{border-top:1px solid var(--hf-line);color:#fff;font-weight:700;letter-spacing:0}
.hf .hf-cmp__link:hover{background:rgba(242,183,5,.08)}
.hf .hf-cmp__link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

.hf-why{margin:0;font-size:.9rem;line-height:1.55;color:var(--hf-text)}
.hf-why b{color:var(--hf-accent)}

.hf-cta{
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px 22px;
    border-radius:20px;
    background:var(--hf-accent);
    color:#141414;
}
.hf-cta__ico{flex:0 0 48px;height:48px;border-radius:14px;background:#141414;display:grid;place-items:center}
.hf-cta__ico svg{width:24px;height:24px;fill:none;stroke:var(--hf-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hf-cta__copy{flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
.hf-cta__copy strong{font-size:1.15rem}
.hf-cta__copy span{font-size:.88rem;line-height:1.45;color:#3A3000}
.hf-cta__actions{display:flex;gap:10px;flex-wrap:wrap}

.hf-none{padding:26px;border-radius:24px;background:var(--hf-panel);border:1px solid #4A4A43;display:flex;flex-direction:column;gap:10px}
.hf-none strong{font-size:1.4rem}
.hf-none p{margin:0;color:var(--hf-text);line-height:1.6}
.hf-disclaimer{margin:0;font-size:.78rem;line-height:1.5;color:var(--hf-faint)}
.hf__noscript{color:var(--hf-text)}

/* Fokus */
.hf button:focus-visible,.hf a:focus-visible,.hf input:focus-visible{outline:2px solid var(--hf-accent);outline-offset:3px}

/* Tablet: Gespann oben, Fragen darunter */
@media (max-width:1199.98px){
    .hf__grid{grid-template-columns:minmax(0,1fr)}
    .hf__rig{position:relative;top:auto;order:-1}
    .hf-tiles--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Handy */
@media (max-width:767.98px){
    .hf{padding:32px 0 56px}
    .hf__steps{display:none}
    .hf__rig{padding:16px;border-radius:20px}
    .hf-gauge__row{grid-template-columns:40px minmax(0,1fr) 84px;gap:8px}
    .hf-gauge__axis{padding:0 92px 0 48px}
    .hf-tiles--3,.hf-tiles--2{grid-template-columns:minmax(0,1fr)}
    .hf-tile{min-height:0;padding:14px 16px}
    .hf-sliders{grid-template-columns:minmax(0,1fr);padding:16px}
    .hf-nav .hf-btn{flex:1 1 auto}
    /* Vergleich als wischbare Karten */
    .hf-cmp{overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch}
    .hf-cmp__labels{display:none}
    .hf-cmp__col{flex:0 0 82%;scroll-snap-align:start}
    .hf-cmp__cell{justify-content:space-between;gap:10px}
    .hf-cmp__cell-label{display:inline;color:var(--hf-faint);font-weight:700}
    .hf-cta{flex-direction:column;align-items:flex-start}
    .hf-cta__actions{width:100%}
    .hf-cta__actions .hf-btn{flex:1 1 100%}
}
@media (max-width:575.98px){
    .hf-tiles--4{grid-template-columns:minmax(0,1fr)}
    .hf-tile__ex{white-space:normal}
}
@media (prefers-reduced-motion:reduce){
    .hf *,.hf *::before{animation:none!important;transition:none!important}
}
