/*
 * Startseite: gezielte Hero- und Bekannt-aus-Anpassungen.
 * Bewusst separat geladen, damit Navigation und andere Templates unberührt bleiben.
 */

body.home .hero-v4 {
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(0.875rem, 1.5vw, 1.5rem);
    align-items: stretch;
    padding: 90px clamp(1rem, 4vw, 4rem) 1.5rem;
    background: #fff;
}

body.home .hero-v4-slider-section {
    min-width: 0;
    margin: 0;
    padding: 0;
}

body.home .hero-v4-slider-section::before {
    display: none;
}

body.home .hero-v4-slider-container {
    height: 100%;
    padding: 0;
}

body.home .hero-v4-slide-active {
    width: 100%;
    max-width: none;
    height: 460px;
    border-radius: 1.5rem;
}

body.home .hero-v4-slide-active img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-position: center;
}

body.home .hero-v4-copy-section {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    min-height: 460px;
    padding: clamp(2rem, 3.5vw, 3.75rem);
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 1.5rem;
}

body.home .hero-v4-copy-section > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.home .hero-v4-copy-section .hero-v4-content {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: 620px;
    margin: 0;
    text-align: left;
    isolation: auto;
}

body.home .hero-v4-copy-section .hero-v4-content::before {
    display: none;
}

body.home .hero-v4-copy-section .hero-v4-badge {
    justify-content: flex-start;
    color: #6f6f6f;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

body.home .hero-v4-copy-section .hero-v4-badge-line {
    background: #a7a7a7;
}

body.home .hero-v4-copy-section .hero-v4-title {
    color: #6f6f6f;
    font-size: clamp(2.4rem, 3.6vw, 3.45rem);
    line-height: 1.04;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

body.home .hero-v4-copy-section .hero-v4-title-accent {
    color: #111;
}

body.home .hero-v4-copy-section .hero-v4-description {
    color: #6f6f6f;
    max-width: 560px;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
    text-shadow: none;
}

body.home .hero-v4-copy-section .hero-v4-btn-primary {
    background: rgba(255, 255, 255, 0.92);
    color: #292929;
    border: 1px solid rgba(205, 205, 205, 0.9);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(12px);
}

body.home .hero-v4-copy-section .hero-v4-btn-primary:hover {
    background: #fff;
    border-color: #bdbdbd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.home .hero-v4-copy-section .hero-v4-btn-secondary {
    background: rgba(255, 255, 255, 0.76);
    color: #353535;
    border-color: rgba(205, 205, 205, 0.85);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
}

body.home .hero-v4-copy-section .hero-v4-btn-secondary:hover {
    background: #eaeaea;
    border-color: #cfcfcf;
}

body.home .hero-v4-copy-section .hero-v4-buttons {
    justify-content: flex-start;
}

body.home .site-header.header-clean-white .nav-phone-link {
    color: #1f1f1f;
}

body.home .site-header.header-clean-white .nav-phone-link:hover {
    color: #000;
}

body.home .site-header.header-clean-white .nav-cta-btn {
    background: #f4f4f4;
    color: #292929;
    border: 1px solid #dedede;
    box-shadow: none;
}

body.home .site-header.header-clean-white .nav-cta-btn:hover {
    background: #eaeaea;
    border-color: #cfcfcf;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

body.home #bekannt-aus .known-from-inner {
    display: grid;
    grid-template-columns: minmax(235px, 0.8fr) minmax(420px, 1.8fr) minmax(235px, 0.8fr);
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 3rem);
    width: 100%;
}

body.home #bekannt-aus .known-from-doctor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

body.home #bekannt-aus .known-from-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

body.home #bekannt-aus .known-from-media .known-from-logos {
    flex-wrap: nowrap;
    gap: clamp(0.8rem, 1.5vw, 1.75rem);
}

body.home #bekannt-aus .known-from-media .known-from-logo img {
    height: clamp(24px, 2vw, 36px);
    max-width: clamp(82px, 8vw, 142px);
}

body.home #bekannt-aus .known-from-stats {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
}

body.home #bekannt-aus .known-from-stats .hero-v4-stat {
    min-width: 96px;
    padding: 0.75rem 0.9rem;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: none;
}

body.home #bekannt-aus .hero-v4-card-video {
    width: 52px;
    height: 52px;
}

@media (max-width: 1100px) {
    body.home #bekannt-aus .known-from-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.5rem;
    }

    body.home #bekannt-aus .known-from-doctor,
    body.home #bekannt-aus .known-from-stats {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    body.home .hero-v4 {
        display: block;
        padding: 84px 0.75rem 1rem;
    }

    body.home .hero-v4-copy-section {
        min-height: 0;
        padding: 1.25rem;
        border-radius: 1.125rem;
    }

    body.home .hero-v4-copy-section .hero-v4-content {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    body.home .hero-v4-copy-section .hero-v4-badge,
    body.home .hero-v4-copy-section .hero-v4-buttons {
        justify-content: center;
    }

    body.home .hero-v4-copy-section .hero-v4-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.05;
    }

    body.home .hero-v4-copy-section .hero-v4-description {
        font-size: 0.9375rem;
        line-height: 1.5;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.1rem;
    }

    body.home .hero-v4-copy-section .hero-v4-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    body.home .hero-v4-copy-section .hero-v4-btn-primary,
    body.home .hero-v4-copy-section .hero-v4-btn-secondary {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }

    body.home .hero-v4-slider-section {
        margin-top: 0.75rem;
    }

    body.home .hero-v4-slide-active {
        height: clamp(220px, 38vw, 320px);
        border-radius: 1.125rem;
    }

    body.home .hero-v4-slide-active img {
        height: 100%;
        min-height: 0;
        max-height: none;
        object-position: center;
    }
}

@media (max-width: 640px) {
    body.home #bekannt-aus .known-from-media .known-from-logos {
        flex-wrap: wrap;
    }

    body.home #bekannt-aus .known-from-doctor {
        width: 100%;
        justify-content: center;
    }

    body.home #bekannt-aus .known-from-stats {
        width: 100%;
    }

    body.home #bekannt-aus .known-from-stats .hero-v4-stat {
        flex: 1 1 0;
        min-width: 0;
    }
}
