/*
Theme Name: iQ Living – Klassisch mit modernem Einstieg
Description: Behält das bestehende iQ-Living-Theme und ergänzt die Startseite um einen modernen Einstiegsbereich.
Author: iQ-living
Template: iqliving
Version: 0.1.8
*/

.iq-modern-hero {
    position: relative;
    display: flex;
    min-height: calc(100vh - 104px);
    box-sizing: border-box;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 22, 35, .88) 0%, rgba(7, 22, 35, .67) 48%, rgba(7, 22, 35, .26) 100%),
        url('/wp-content/uploads/2014/11/Fotolia_61387977_M-1100x734.jpg') center center / cover no-repeat;
}

.iq-modern-hero__inner {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 86px 0 58px;
}

.iq-modern-hero__content {
    max-width: 720px;
}

.iq-modern-hero__eyebrow {
    margin: 0 0 24px;
    color: #9fd1f4;
    font: 700 18px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.iq-modern-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font: 700 clamp(48px, 6.25vw, 82px)/1.05 Arial, Helvetica, sans-serif;
    letter-spacing: -.035em;
    text-transform: none;
}

.iq-modern-hero__lead {
    max-width: 680px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.92);
    font: 400 21px/1.65 Arial, Helvetica, sans-serif;
}

.iq-modern-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.iq-modern-hero__button {
    display: inline-flex;
    min-height: 52px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid #4d98cc;
    border-radius: 28px;
    color: #fff;
    background: #4d98cc;
    font: 700 16px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.iq-modern-hero__button:hover,
.iq-modern-hero__button:focus {
    border-color: #337eae;
    color: #fff;
    background: #337eae;
    text-decoration: none;
    transform: translateY(-1px);
}

.iq-modern-hero__button--secondary {
    border-color: rgba(255,255,255,.72);
    background: rgba(5,19,30,.32);
}

.iq-modern-hero__button--secondary:hover,
.iq-modern-hero__button--secondary:focus {
    border-color: #fff;
    background: rgba(5,19,30,.7);
}

.iq-modern-hero__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 920px;
    margin-top: 52px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    background: rgba(255,255,255,.22);
    box-shadow: 0 16px 45px rgba(0,0,0,.2);
}

.iq-modern-hero__benefit {
    padding: 20px 22px;
    background: rgba(7,22,35,.72);
    backdrop-filter: blur(8px);
}

.iq-modern-hero__benefit strong,
.iq-modern-hero__benefit span {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}

.iq-modern-hero__benefit strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
}

.iq-modern-hero__benefit span {
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.45;
}

#iq-classic-start,
#iq-contact {
    scroll-margin-top: 110px;
}

@media (max-width: 820px) {
    header.page {
        position: relative;
        z-index: 20;
        height: 96px;
        min-height: 96px;
        background: #fff;
    }

    header.page .inner.container {
        position: relative;
        width: 100%;
        height: 96px;
        min-height: 96px;
        box-sizing: border-box;
        padding: 0 18px;
    }

    header.page .logo {
        position: absolute;
        top: 10px;
        left: 18px;
        width: 176px;
        max-width: calc(100% - 86px);
    }

    header.page .logo img {
        width: 100%;
        height: auto;
    }

    header.page .nav,
    header.page .ebay-shop {
        display: none !important;
    }

    header.page .mobile {
        position: absolute;
        top: 31px;
        right: 18px;
        display: block !important;
    }

    .iq-modern-hero {
        min-height: auto;
        background-position: 62% center;
    }

    .iq-modern-hero__inner {
        width: min(100% - 34px, 680px);
        padding: 76px 0 64px;
    }

    .iq-modern-hero__eyebrow {
        font-size: 14px;
    }

    .iq-modern-hero h1 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .iq-modern-hero__lead {
        font-size: 18px;
        line-height: 1.55;
    }

    .iq-modern-hero__benefits {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

}

@media (max-width: 480px) {
    .iq-modern-hero__actions {
        display: grid;
    }

    .iq-modern-hero__button {
        width: 100%;
    }
}
