/* ================================
 * Startseite: Layout
 * ================================ */

body.home {
    min-height: 100vh;
}

body.home .page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html, body {
    margin: 0 !important;
    padding: 0;
}


/* ================================
 * Hero-Bereich
 * ================================ */

/* Hero füllt alles zwischen Header und Footer */
.home-hero {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Hintergrundbild der Startseite */
.home-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/hello-08459.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Inhalt auf der Startseite */
.home-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 4rem 1.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}


/* ================================
 * Startseite: schwebendes Menü (Desktop)
 * ================================ */

.home-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding-top: 10rem;
}

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    /*background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);*/
}

/* Gemeinsamer Content-Rahmen */
.home-header-inner,
body.home footer.footer .footer-links {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Menü-Liste */
.home-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

/* Links */
.home-nav-list .nav-link {
    color: #1F3C55;
    font-weight: 300;
    text-decoration: none;
    font-size: clamp(1.9rem, 2.2vw, 3.2rem);
    /*text-shadow:
        0 3px 8px rgba(0, 0, 0, 0.6);
        /*-1px -1px 0 rgba(255,255,255,0.9),
         1px -1px 0 rgba(255,255,255,0.9),
        -1px  1px 0 rgba(255,255,255,0.9),
         1px  1px 0 rgba(255,255,255,0.9);*/
}

.home-nav-list .nav-link:hover {
    font-weight: 400;
}

/* Sprachumschalter */
.home-lang-switch {
    font-weight: 300;
    font-size: clamp(1.6rem, 2vw, 3rem);
}

.home-lang-switch .lang-link,
.home-lang-switch .lang-separator {
    color: #1F3C55;
    text-decoration: none;
}

.home-lang-switch .lang-link:hover {
    font-weight: 400;
}

.home-lang-switch .lang-link.active,
.home-lang-switch .lang-link.is-active,
.home-lang-switch .lang-link.lang-active {
    font-weight: 400;
}


/* ================================
 * Startseite: Logo unten rechts
 * ================================ */

/* Wrapper */
.home-logo {
    position: absolute;
    right: 2rem;
    bottom: 4rem;
    z-index: 3;
    pointer-events: none;
}

/* Neues Logo per Background setzen */
.home-logo-inner {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 2rem;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: auto;

    /* 🔥 HIER LOGO PFAD EINTRAGEN 🔥 */
    background-image: url('/assets/img/Hebamme Ellie Eichel - Logo beige (Web RGB).svg');
    background-size: 40vw auto;
    background-repeat: no-repeat;
    background-position: right;

    width: 35vw;   /* Größe des Containers */
    height: 10vw;  /* Logo-Höhe – ggf. anpassen */
}

/* altes Logo verstecken */
.home-logo-inner img,
.home-logo-inner svg {
    display: none !important;
}


/* ================================
 * Footer (Startseite)
 * ================================ */

body.home footer.footer {
    background-color: #1F3C55;
    color: #E3D6C5;
}

body.home footer.footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body.home footer.footer .footer-links .nav-link {
    padding: 0;
    color: #E3D6C5 !important;
    font-weight: 300;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
}

body.home footer.footer .footer-links .nav-link:hover {
    font-weight: 400;
    text-decoration: none;
}

@media (max-width: 768px) {
    body.home footer.footer .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 1.5rem 1.5rem;
    }
}


/* ================================
 * Startseite: Mobil
 * ================================ */

@media (max-width: 1390px) {

    .home-header {
        padding-top: 4rem;
    }

    .home-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .home-nav-list .nav-link {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .home-lang-switch {
        margin-bottom: 0.5rem;
    }

    .home-lang-switch,
    .home-lang-switch .lang-link {
        font-size: clamp(1.5rem, 3vw, 1.5rem);
    }

    .home-logo {
        right: 1rem;
        bottom: 4rem;
    }

    /* skalierung mobil */
    .home-logo-inner {
        width: 50vw;
        height: 20vw;
        background-position: right;
        background-size: 60vw auto;
    }

    /* altes Logo bleibt ausgeblendet */
    .home-logo-inner img,
    .home-logo-inner svg {
        display: none !important;
    }

    .home-hero-content {
        padding: 3rem 1.25rem;
    }

    body.home footer #footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
