/* mitholzfeuer – Produktfinder im Slider (Glasmorphismus) */
.mhf-finder {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 34px 30px 30px;
    color: #fff;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .08) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .38);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .08);
    overflow: visible;
}
.mhf-finder:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 100% 0%, rgba(47, 107, 69, .38) 0, rgba(47, 107, 69, 0) 46%);
    pointer-events: none;
}
.mhf-finder h2 {
    position: relative;
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.mhf-finder .mhf-finder-sub {
    position: relative;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.5;
}
.mhf-finder form { position: relative; display: block; margin: 0; }
.mhf-finder label { display: block; margin: 0 0 14px; text-align: left; }
.mhf-finder label span {
    display: block;
    margin: 0 0 6px 6px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mhf-finder select {
    display: block;
    width: 100%;
    height: auto;
    padding: 15px 44px 15px 18px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .42);
    background-color: rgba(255, 255, 255, .14);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'><path d='M1 1l6 6 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    outline: 0;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mhf-finder select:hover { background-color: rgba(255, 255, 255, .22); }
.mhf-finder select:focus { border-color: #2f6b45; box-shadow: 0 0 0 3px rgba(47, 107, 69, .35); }
.mhf-finder select option { color: #1c2a20; background: #fff; }
.mhf-finder button {
    margin-top: 8px;
    padding: 15px 42px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 0;
    border-radius: 999px;
    background: #2f6b45;
    box-shadow: 0 10px 26px rgba(47, 107, 69, .45);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.mhf-finder button:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }

@media (max-width: 767px) {
    .mhf-finder { padding: 22px 18px 20px; border-radius: 22px; }
    .mhf-finder h2 { font-size: 22px; }
    .mhf-finder .mhf-finder-sub { font-size: 13px; margin-bottom: 14px; }
    .mhf-finder select { padding: 12px 40px 12px 14px; font-size: 15px; }
}

/* ---------- eigenes Auswahlmenue im Glas-Stil (ersetzt die weisse Browser-Liste) ---------- */
.mhf-finder.mhf-js select { display: none; }
.mhf-dd { position: relative; }
.mhf-dd.open { z-index: 30; }
.mhf-dd-btn {
    display: block; width: 100%; box-sizing: border-box; padding: 15px 44px 15px 18px; text-align: left;
    color: rgba(255, 255, 255, .8); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.3;
    border-radius: 16px; border: 1px solid rgba(255, 255, 255, .42); background-color: rgba(255, 255, 255, .14);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'><path d='M1 1l6 6 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat; background-position: right 18px center; cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mhf-dd-btn.is-set { color: #fff; font-weight: 600; }
.mhf-dd-btn:hover { background-color: rgba(255, 255, 255, .22); }
.mhf-dd.open .mhf-dd-btn, .mhf-dd-btn:focus-visible { border-color: #2f6b45; box-shadow: 0 0 0 3px rgba(47, 107, 69, .35); outline: 0; }
.mhf-dd-list {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
    max-height: 232px; overflow-y: auto; border-radius: 18px; text-align: left;
    background: rgba(28, 42, 32, .62); border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
    scrollbar-width: thin; scrollbar-color: rgba(47, 107, 69, .8) transparent;
}
.mhf-dd.open .mhf-dd-list { display: block; }
.mhf-dd-list li {
    margin: 0; padding: 11px 14px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.25;
    border-radius: 12px; cursor: pointer; transition: background .15s, color .15s;
}
.mhf-dd-list li:hover { background: rgba(255, 255, 255, .18); }
.mhf-dd-list li.is-active { background: #2f6b45; color: #ffffff; font-weight: 700; }
.mhf-dd-list::-webkit-scrollbar { width: 6px; }
.mhf-dd-list::-webkit-scrollbar-thumb { background: rgba(47, 107, 69, .8); border-radius: 6px; }
@media (max-width: 767px) { .mhf-dd-btn { padding: 12px 40px 12px 14px; font-size: 15px; } .mhf-dd-list li { padding: 10px 12px; font-size: 14px; } }
