html{
    scroll-behavior: smooth;
}

body {
    background-color: #F2EDE7;
    font-family: 'Inter', sans-serif;
    margin: 0; /* ganz wichtig */
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
}

.menu-button{
    text-decoration: none;
    padding: 10px 15px;
    color: black;
    transition: 0.3s;
}

.menu-button:hover{
     transform: scale(1.05);
}

.macherkirche-kreuz-header{
    width: 50px;
}

.kreuz-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px 40px;

    position: sticky; /* 👉 DAS ist der Trick */
    top: 0;           /* 👉 bleibt oben kleben */
    z-index: 1000;    /* 👉 bleibt über allem */
    background-color: #F2EDE7; /* 👉 wichtig damit nichts durchscheint */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu{
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.startpage{
position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.macherkirche-logo {
    width: 350px;
    height: auto;
    margin-top: 125px;
}

.wood-background {
    width: 100%;
    height: 110%;
    object-fit: cover; /* 👉 füllt Bereich schön aus */
}

.untertitelbild{
    width: 350px;
    height: auto;
    margin-top: -125px;
}

@media (max-width: 768px) {
    .image {
        width: 80%;
    }

    .macherkirche-logo {
        width: 250px;
        padding-bottom: 40px;
    }

    .untertitelbild {
        width: 250px;
    }
}

.header-images{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: flex;
    flex-direction: column; /* 👉 untereinander */
    align-items: center; /* 👉 mittig */
    gap: -20px; /* Abstand zwischen Logo und Schild */
}

.antrieb {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    align-items: stretch;
}

.antriebHeader{
    padding: 20px;
    text-align: center;
}

.bauen-text{
    border: 2px solid turquoise;
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    flex: 1;
}

.glaube-leben-text {
    border: 2px solid magenta;
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    flex: 1;
}

.gemeinschaft-text {
    border: 2px solid yellow;
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    flex: 1;
}

.images-antrieb{
    display: flex;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    align-items: stretch;
}

@media (max-width: 768px) {
    
.antrieb{
    display: flex;
    flex-direction: column;
}

}

.item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anmeldungs-header{
    padding-left: 20px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.anmeldung{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link {
    display: inline-block;
    background-color: #25D366; /* WhatsApp Grün */
    color: white;
    padding: 14px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

.link:hover{
    background-color: #1ebe5d;
    transform: scale(1.05);
}

.text{
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.submit{
    height: 30px;
}

.treffort{
    text-align: center;
}

.überUns{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    align-items: stretch;
}

.überUns-background{
    width: 100%;
    height: 70%;
    object-fit: cover; /* 👉 füllt Bereich schön aus */
}

.überUns-header{
    padding-top: 40px;
    text-align: center;
}

@media (max-width: 768px){
    
    .überUns{
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

}

.vers{
    transform: scale(0.5);
}

.box {
    flex: 1;
    display: flex;
    flex-direction: column;

    border: 2px solid #8B5E3C;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}



.highlight {
    color: #E67E22; /* schönes warmes Orange */
    font-weight: bold;
}

.Leitlinie{
    display: flex;
}

.freiheit-leitlinie{
    display: flex;
}

.pfeil{
    width: 30px;
    height: 30px;
    padding-top: 10px;
}

.image{
    margin-top: auto;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.unterstützeUnsHeader{
    text-align: center;
    display: flex;
    flex-direction: column;
}

.unterstützeUnsFull{
    display: flex;
    justify-content: space-around;
    
}

.unterstützeUns{
    flex: 1;
    display: flex;
    flex-direction: column;

    border: 2px;

    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;

}

.unterstützung{
    display: flex;
}

.unterstützungImage{
    padding: 20px;
    width: 25%;
    height: 25%;
}

@media (max-width: 768px) {
    .unterstützeUnsFull {
        flex-direction: column;
        align-items: center;
    }

    .unterstützeUns {
        width: 90%;
    }
}

.bold{
    font-weight: bold;
}

.SpendenLink{
    text-decoration: none;
    padding: 10px 15px;
    color: black;
    transition: 0.3s;
    border:2px solid black;
    border-radius: 15px;
    text-align: center;
    width: 200px;
    height: auto;
}

.SpendenLink:hover{
    transform: scale(1.05);
}

.LinkContainer{
    display: flex;
    justify-content: center;
}

.kommInsTeamHeader{
    text-align: center;
}

.kommInsTeam{
    flex: 1;
    display: flex;
    flex-direction: column;

    border: 2px;

    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;

}

.team{
    display: flex;
}

.ende{
    display: flex;
    background-color: #2C2C2C;
    color: white;
    border-top: 2px solid #E67E22;
    justify-content: center;
}

.coder {
    position: absolute;
    right: 50px; 
    padding-top: 70px;

}

.ende a{
    color: #E67E22;
    text-decoration: none;
}

.ende a:hover {
    text-decoration: underline;
}

.info{
    text-align: center;
}

.Kontakt{
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.menu-toggle{
    display: none;
    flex-direction: column;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #F2EDE7;
    padding: 10px 0;
}

@media (max-width: 768px){
    .menu{
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: #F2EDE7;
        padding: 10px 0;

        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;

        max-height: 0;
        overflow: hidden;
        padding: 0;

        pointer-events: none;
    }

    .menu.active{
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        max-height: 500px;
    }


    .menu a{
        padding: 2px 0;
    }

    .menu-toggle{
        display: block;
        font-size: 20px;
        text-align: center;
    }

    .menu-toggle:active{
        transform: rotate(90deg);
    }
}




.Impressum-menu{
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.ImpressumHeader{
    text-align: center;
}

.impressum{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.gecodet{
    text-align: center;
    padding-bottom: 20px;
    border-top: 2px solid black;
}

.datenschutzerklärung{
    display: flex;
    flex-direction: column;
    padding-left: 50px;
}

.datenschutzerklärung h1 h2 h3 h4{
    text-align: center;
}

.datenschutz {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.datenschutz h1 {
    text-align: center;
}

.datenschutz h2 {
    margin-top: 30px;
}

.datenschutz p {
    line-height: 1.6;
}

