/* General Styling */
body {
    margin: 0;
    font-family: serif;
    background: #7c1f34;
    color: #f1d1d8;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
}
.logo {
    font-family: "Avenir", sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.logo {
    font-size: 22px;
    font-weight: bold;
      text-decoration: none;    /* entfernt Unterstreichung */
    color: inherit; 
}
.logo a:visited {
    color: inherit;           /* verhindert lila visited-Farbe */
}

.logo a:hover,
.logo a:active {
    text-decoration: none;    /* verhindert Unterstreichung beim Hover */
    color: inherit;           /* keine Farbänderung */
}


.nav nav a {
    font-family: "Avenir", sans-serif;
    margin-left: 25px;
    padding: 8px 22px;
    background: #e49bab;
    color: #7c1f34;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}
   /* übernimmt die normale Textfarbe */


/* =========================
   MOBILE HEADER (GLOBAL)
   ========================= */

@media (max-width: 700px) {

    .nav {
        flex-direction: column;
        align-items: center;
        padding: 24px 20px 30px;
        gap: 18px;
    }

    .logo {
        font-size: 26px;
        text-align: center;
    }

    .nav nav {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav nav a {
        margin: 0;
        padding: 10px 22px;
        font-size: 14px;
        border-radius: 999px;
    }
}
/* =========================
   MOBILE HERZENSBILD
   ========================= */

@media (max-width: 700px) {

    .heart-badge {
        position: relative;
        display: block;
        margin: 0 auto 20px;
        width: 110px;
        left: auto;
        top: auto;
        opacity: 0.95;
    }
}




   /* Hero Bereich */
.project-hero {
    position: relative;
    text-align: center;
    margin-top: 60px;
}


h1 {
    font-family: "DM Serif Display", serif;
    font-size: 48px;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 650px;
    max-width: 90%;
    border-radius: 18px;
}

/* Textbereiche */
.text-section {
    max-width: 650px;
    margin: 60px auto;
    text-align: center;
}

.text-section h3 {
    font-family: "Avenir", sans-serif;
    font-weight: 600;
    margin-bottom: 18px;
}

.text-section p {
    font-family: "Avenir", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #fcecf2;
}

.external-link-box {
    display: block;          
    width: fit-content;      
    margin: 60px auto;       
    padding: 30px 50px;

    border-radius: 18px;
    background: #d895a5;
    color: #7c1f34;
    text-decoration: none;
    text-align: center;
    font-family: "Avenir", sans-serif;
    font-size: 16px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


.external-link-box:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}



/* Footer */
.footer {
    background: #d9a1b0;
    color: #7c1f34;
    padding-top: 50px;
    margin-top: 200px;
}

.footer-upper {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
}

.footer-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 60px;
}

.footer-columns {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    margin-bottom: 8px;
    font-weight: bold;
}

.footer-col a {
    display: block;
    margin-bottom: 4px;
    color: #7c1f34;
    text-decoration: none;
    font-size: 14px;
}

/* Lower Footer */
.footer-lower {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid #7c1f34;
}

.footer-lower a {
    color: #7c1f34;
    text-decoration: none;
    font-size: 14px;
}

/* Gesamter Footer in Avenir */
.footer,
.footer a,
.footer h4 {
    font-family: "Avenir", sans-serif;
}

/* Ausnahme: Der Name "Nina Keusch" bleibt in der Standardschrift */
.footer-name {
    font-family: serif; /* oder die Schrift, die du willst */
}


/* =========================
   Footer – leicht responsiv
   ========================= */

@media (max-width: 800px) {

    .footer {
        margin-top: 120px;
    }

    .footer-upper {
        padding: 40px 30px;
        gap: 40px;
    }

    .footer-columns {
        gap: 50px;
    }

    .footer-name {
        margin-top: 20px;
        font-size: 18px;
    }

    .footer-lower {
        gap: 40px;
        padding: 20px 0;
    }
}

@media (max-width: 500px) {

    .footer-upper {
        flex-direction: column;
        align-items: flex-start; /* bewusst NICHT center */
        padding: 30px 25px;
        gap: 30px;
    }

    .footer-columns {
        gap: 35px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    .footer-col a {
        font-size: 14px;
    }

    .footer-lower {
        flex-direction: row; /* bleibt horizontal wie Header */
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 25px;
        padding: 20px 25px;
        font-size: 13px;
    }
}
