
 

/* p im Overlay wie in anderen Heros */
.sehtest-hero-overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.75;
    max-width: 64ch;
}
/* h1 im Overlay wie in anderen Heros */
.sehtest-hero-overlay-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
/* Zentrales Overlay für den Sehtest-Hero-Bereich */
.sehtest-hero-overlay-wrap {
    position: relative;
}


.sehtest-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    transition: width 0.3s, max-width 0.3s;
}




.sehtest-hero-overlay-content {
    width: 100%;
    background: transparent;
    padding: 2.5rem 0;
    border-radius: 0;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .sehtest-hero-overlay {
        position: static;
        width: 100%;
        height: auto;
        display: block;
        box-shadow: none;
        background: none;
    }
    .sehtest-hero-overlay-content {
        margin: 2rem auto 0 auto;
        box-shadow: 0 4px 16px rgba(10,30,47,0.10);
        border-radius: 24px;
        background: transparent;
    }

    .sehtest-hero-overlay-content h1,
    .sehtest-hero-overlay-content p {
        background: transparent;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
        box-decoration-break: unset;
        -webkit-box-decoration-break: unset;
    }
}

.fassungen-hero-content {
    flex: 1 1 340px;
    min-width: 260px;
    max-width: 520px;
}

@media (max-width: 900px) {
    .sehtest-hero-flex {
        flex-direction: column;
        gap: 2.2rem;
        align-items: stretch;
    }
    .sehtest-hero__inner,
    .fassungen-hero-content {
        max-width: 100%;
        min-width: 0;
    }
}

#hero-fassungen {
    min-height: clamp(40rem, 78vh, 54rem);
}

#hero-fassungen .fassungen-hero-bg {
    background-color: #1b3448;
    background-image: none;
}

#hero-fassungen .containersehtest {
    width: 100%;
    max-width: var(--max);
    flex: 1 1 100%;
    box-sizing: border-box;
    padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.sehtest-hero-overlay-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    width: 100%;
    max-width: none;
    min-height: clamp(40rem, 78vh, 54rem);
    padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
    box-sizing: border-box;
}

.sehtest-hero__inner {
    grid-area: 1 / 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    align-items: center;
    gap: clamp(0.75rem, 1.4vw, 1.4rem);
    padding: clamp(1.1rem, 2vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
    box-sizing: border-box;
}

.sehtest-letters,
.sehtest-rings {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    gap: 0.65rem;
}

.sehtest-letters .sehtest-row {
    gap: clamp(2px, 0.4vw, 6px);
    color: var(--dark);
}

.sehtest-letters .row-1 { font-size: 3rem; }
.sehtest-letters .row-2 { font-size: 2.45rem; }
.sehtest-letters .row-3 { font-size: 1.95rem; }
.sehtest-letters .row-4 { font-size: 1.55rem; }
.sehtest-letters .row-5 { font-size: 1.25rem; }
.sehtest-letters .row-6 { font-size: 1rem; }
.sehtest-letters .row-7 { font-size: 0.82rem; }
.sehtest-letters .row-8 { font-size: 0.68rem; }

.sehtest-rings .ring-row {
    gap: clamp(2px, 0.4vw, 6px);
}

.sehtest-rings .row-1 .ring { width: 34px; height: 34px; }
.sehtest-rings .row-2 .ring { width: 28px; height: 28px; }
.sehtest-rings .row-3 .ring { width: 23px; height: 23px; }
.sehtest-rings .row-4 .ring { width: 18px; height: 18px; }
.sehtest-rings .row-5 .ring { width: 14px; height: 14px; }
.sehtest-rings .row-6 .ring { width: 11px; height: 11px; }
.sehtest-rings .row-7 .ring { width: 9px; height: 9px; }
.sehtest-rings .row-8 .ring { width: 7px; height: 7px; }

.sehtest-divider {
    background: rgba(16, 48, 74, 0.18);
}

.sehtest-hero-overlay {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    justify-content: flex-start;
    pointer-events: none;
    transition: none;
}

.sehtest-hero-overlay-content {
    width: 100%;
    max-width: 660px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sehtest-hero-overlay-content h1 {
    max-width: none;
    margin-bottom: 1.1rem;
    font-size: clamp(2.25rem, 3.35vw, 3rem);
    line-height: 1.08;
    text-wrap: balance;
}

.sehtest-hero-overlay-content p {
    max-width: 54ch;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.sehtest-hero-overlay-content .fassungen-hero-cta {
    margin-top: 1.7rem;
}

@media (max-width: 1000px) {
    #hero-fassungen {
        min-height: auto;
    }

    .sehtest-hero-overlay-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        min-height: 0;
        padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
    }

    .sehtest-hero-overlay {
        grid-area: 1 / 1;
    }

    .sehtest-hero__inner {
        grid-area: 2 / 1;
        width: min(100%, 760px);
        margin: 0 auto;
    }

    .sehtest-hero-overlay-content {
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    .sehtest-hero-overlay-wrap {
        gap: 1.5rem;
        padding: calc(var(--nav-h) + 2rem) 0 2.5rem;
    }

    .sehtest-hero-overlay-content h1 {
        font-size: clamp(1.6rem, 8vw, 2.7rem);
    }

    .sehtest-hero__inner {
        gap: 0;
        padding: 1.1rem;
        border-radius: 20px;
    }

    .sehtest-letters {
        gap: 0.35rem;
    }

    .sehtest-letters .row-1 { font-size: 2.8rem; }
    .sehtest-letters .row-2 { font-size: 2.1rem; }
    .sehtest-letters .row-3 { font-size: 1.65rem; }
    .sehtest-letters .row-4 { font-size: 1.3rem; }
    .sehtest-letters .row-5 { font-size: 1.05rem; }
    .sehtest-letters .row-6 { font-size: 0.86rem; }
    .sehtest-letters .row-7 { font-size: 0.7rem; }
    .sehtest-letters .row-8 { font-size: 0.58rem; }

    .sehtest-hero-overlay-content .fassungen-hero-cta {
        margin-top: 1.2rem;
    }
}

@media (max-width: 900px) {
    .sehtest-hero-overlay {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        background: transparent;
        box-shadow: none;
    }

    .sehtest-hero-overlay-content {
        margin: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .sehtest-hero-overlay-content h1,
    .sehtest-hero-overlay-content p {
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }
}
