/* ============================================================
   IYS · fixes.css  · Korrekturen & Feinschliff
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   1. DROPDOWN: Hover-Gap-Bridge
   ────────────────────────────────────────────────────────── */
.nav-dropdown-menu {
    top: 100% !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.4rem !important;
}

/* ──────────────────────────────────────────────────────────
   2. SIDEBAR "Was ich Mitbringe"
   ────────────────────────────────────────────────────────── */
.iys-sidebar { text-align: center !important; }
.iys-sidebar-q { font-size: 1.75rem !important; line-height: 1.5 !important; margin-bottom: 1.5rem !important; }
.iys-sidebar-txt { text-align: left !important; font-size: 1.05rem !important; }
.iys-tags { margin-top: 1.5rem !important; justify-content: center !important; }

/* ──────────────────────────────────────────────────────────
   3. HERO-FOTO
   ────────────────────────────────────────────────────────── */
.iys-hero-img .iys-img-frame img { object-position: right top !important; }
@media (max-width: 750px) {
    .iys-hero-img .iys-img-frame { aspect-ratio: 4 / 3 !important; flex: none !important; min-height: auto !important; }
    .iys-hero-img .iys-img-frame img { object-position: right center !important; }
}

/* ──────────────────────────────────────────────────────────
   4. PRODUKT-KARTEN: Mobile Overflow
   ────────────────────────────────────────────────────────── */
.iys-product-badge { white-space: normal; word-break: break-word; line-height: 1.45; }
.iys-product-card { min-width: 0; overflow: hidden; word-break: break-word; }
.iys-product-featured { overflow: hidden; word-break: break-word; }
.iys-products-grid { overflow: hidden; }
.iys-product-name, .iys-product-hook, .iys-product-desc, .iys-product-list li { word-break: break-word; overflow-wrap: break-word; }
@media (max-width: 900px) {
    .iys-product-badge { font-size: 0.78rem !important; letter-spacing: 0.05em !important; }
    .iys-product-card[style*="grid-column"] > div[style*="1fr auto"] { display: flex !important; flex-direction: column !important; gap: 1.5rem !important; grid-template-columns: unset !important; }
    .iys-product-card[style*="grid-column"] div[style*="1fr 1fr"] { display: block !important; }
    .iys-product-featured-inner { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
}

/* ──────────────────────────────────────────────────────────
   5. ZURÜCK-NACH-OBEN BUTTON
   ────────────────────────────────────────────────────────── */
#scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: #b85c38; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, bottom 0.3s ease;
}
#scroll-top.scroll-top-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scroll-top:hover { background: #8a3d20; box-shadow: 0 6px 28px rgba(0,0,0,0.55); transform: translateY(-2px); }
#scroll-top.scroll-top-visible:hover { transform: translateY(-2px); }
#scroll-top:active { transform: translateY(0) !important; }
#scroll-top.iys-scroll-hoch { bottom: 7rem !important; }
@media (max-width: 600px) {
    #scroll-top { width: 42px; height: 42px; bottom: 1.25rem; right: 1.25rem; }
    #scroll-top.iys-scroll-hoch { bottom: 10rem !important; }
}

/* ──────────────────────────────────────────────────────────
   6. DATENSCHUTZ-PFLICHTHINWEIS
   ────────────────────────────────────────────────────────── */
#iys-pflicht {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: rgba(26,29,33,0.97);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid #b85c38;
    transform: translateY(100%); opacity: 0;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.45s ease;
    pointer-events: none;
}
#iys-pflicht.iys-pflicht-an { transform: translateY(0); opacity: 1; pointer-events: auto; }
.iys-pflicht-box { max-width: 1500px; margin: 0 auto; padding: 1.1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.iys-pflicht-wrap { flex: 1; }
.iys-pflicht-text { font-family: 'Montserrat', system-ui, sans-serif; font-size: 0.88rem; line-height: 1.65; color: rgba(248,249,250,0.78); margin: 0; }
.iys-pflicht-text strong { color: rgba(248,249,250,0.95); font-weight: 700; }
.iys-pflicht-text a { color: #b85c38; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.iys-pflicht-text a:hover { color: #dcd5c9; }
.iys-pflicht-btn { flex-shrink: 0; padding: 0.7rem 1.75rem; background: #b85c38; color: #fff; border: 2px solid #b85c38; border-radius: 50px; font-family: 'Montserrat', system-ui, sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.iys-pflicht-btn:hover { background: transparent; color: #b85c38; }
@media (max-width: 700px) {
    .iys-pflicht-box { flex-direction: column; gap: 1rem; padding: 1.25rem 1.5rem; align-items: stretch; }
    .iys-pflicht-text { font-size: 0.84rem; }
    .iys-pflicht-btn { text-align: center; }
}

/* ──────────────────────────────────────────────────────────
   7. BIO / LINKTREE SEITE (/bio)
   ────────────────────────────────────────────────────────── */
body.bio-lp-page #main-nav,
body.bio-lp-page #menu-toggle { display: none !important; }
.bio-lp { padding-top: calc(72px + 3rem); padding-bottom: 5rem; display: flex; justify-content: center; min-height: calc(100vh - 72px); }
.bio-lp-inner { max-width: 660px; width: 100%; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; gap: 2.75rem; }
.bio-lp-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bio-lp-avatar { width: 308px; height: 308px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid rgba(184,92,56,0.45); margin-bottom: 1.75rem; box-shadow: 0 8px 36px rgba(0,0,0,0.45); }
.bio-lp-name { font-family: 'Lora', Georgia, serif; font-size: 3.1rem; font-weight: 400; color: var(--text); margin: 0 0 0.5rem; letter-spacing: -0.01em; line-height: 1.2; }
.bio-lp-role { font-size: 1.15rem; color: var(--accent); font-weight: 600; letter-spacing: 0.01em; line-height: 1.6; margin: 0 0 1.5rem; text-align: center; }
.bio-nowrap { white-space: nowrap; }
.bio-lp-bio { font-size: 1.0rem; line-height: 1.78; color: rgba(248,249,250,0.68); margin: 0; text-align: center; max-width: 540px; }
.bio-lp-group { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
.bio-lp-label { font-family: 'Montserrat', system-ui, sans-serif; font-size: 0.98rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); opacity: 0.70; text-align: center; }
.bio-lp-scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; opacity: 0.60; color: var(--accent); margin-top: -0.75rem; margin-bottom: 3.5rem; }
.bio-lp-scroll-label { font-family: 'Montserrat', system-ui, sans-serif; font-size: 0.98rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: inherit; }
.bio-lp-scroll-arrow { width: 28px; height: 28px; animation: bio-bounce 2s ease-in-out infinite; }
@keyframes bio-bounce { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(7px); opacity: 1.00; } }
@media (min-width: 768px) { .bio-lp-scroll-hint { display: none; margin-bottom: 0; } }
.bio-lp-btn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; padding: 1.05rem 1.75rem; border: 1px solid rgba(184,92,56,0.28); border-radius: 10px; background: rgba(255,255,255,0.04); color: var(--text) !important; text-decoration: none !important; font-family: 'Montserrat', system-ui, sans-serif; font-size: 1.0rem; font-weight: 500; letter-spacing: 0.02em; transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease; box-sizing: border-box; }
.bio-lp-btn:hover { background: rgba(184,92,56,0.11); border-color: rgba(184,92,56,0.50); transform: translateY(-1px); text-decoration: none !important; }
.bio-lp-btn svg { flex-shrink: 0; }
.bio-lp-btn-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; font-weight: 700; font-size: 1.05rem; }
.bio-lp-btn-primary:hover { background: #8a3d20 !important; border-color: #8a3d20 !important; }
.bio-lp-btn-soon { opacity: 0.32; cursor: default; pointer-events: none; }
.bio-lp-btn-soon:hover { transform: none !important; }
.bio-lp-social { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 540px) {
    .bio-lp-social { grid-template-columns: 1fr; }
    .bio-lp-inner { padding: 0 1.25rem; gap: 2rem; }
    .bio-lp { padding-top: calc(72px + 1.75rem); padding-bottom: 3.5rem; }
    .bio-lp-avatar { width: 200px; height: 200px; margin-bottom: 1.4rem; }
    .bio-lp-name { font-size: 2.4rem; }
    .bio-lp-role { font-size: 1.05rem; }
    .bio-lp-btn { font-size: 0.95rem; padding: 0.95rem 1.25rem; }
    .bio-lp-label { font-size: 0.90rem; }
    .bio-nowrap { white-space: normal; }
    .bio-lp-scroll-hint { margin-bottom: 2.5rem; }
    .bio-lp-scroll-label { font-size: 0.90rem; }
}

/* ──────────────────────────────────────────────────────────
   8. LANDING PAGE: PLZ (klein) / Ort (gross)
   ────────────────────────────────────────────────────────── */
.lp-field-row-plz-ort {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.75rem;
}
@media (max-width: 700px) {
    .lp-field-row-plz-ort {
        grid-template-columns: 100px 1fr;
    }
}
