* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    line-height: 1.2;
    height: 2000px;
}
body::before {
    content: "";
    display: block;
    height: clamp(5.5em, 4vh, 120px); /* gleiche Höhe wie Header */
}
@media (max-width: 630px) {
    body::before {
        content: "";
        display: block;
        height: clamp(4em, 2vh, 120px); /* gleiche Höhe wie Header */
    }
}

/*header*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ACB090;
    display: flex;
    align-items: center;
    padding: 1rem 4%;
    font-size: clamp(0.8rem, 1.2vw, 2rem);
    z-index: 1000;
}
#logo {
    width: clamp(150px, 12vw, 250px);
    position: absolute;
    top: 25%;
    z-index: 1010;
}
#navöffner {
    display: none;
    font-size: clamp(1.5rem, 1.2vw, 2rem);
    background: none;
    border: none;
    cursor: pointer;
    color: #3A523C;
}
nav {
    align-items: center;
    margin: 0 auto 0 30%;
    display: flex;
    gap: 7.5vw;
}
a {
    color: #5B5B5B;
    text-decoration: none;
}
a:hover {color: black;}
#headerbutton {
    margin-left: 10vw;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    background: #3A523C;
    color: white;
    cursor: pointer;
    font-size: clamp(0.8rem, 1.2vw, 2rem);
}
@media (max-width: 630px) {
    #headerbutton {
        margin: 0;
        align-self: end;
        padding: 0.75rem 2rem;
    }
    #logo {width: 100px;}
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ACB090;
        display: flex;
        flex-direction: column;
        text-align: right;
        gap: 1rem;
        overflow: hidden;
        max-height: 0;
        z-index: 100;
        font-size: 1rem;
        margin: 0 auto;
        align-items: normal;
    }
    nav.open {
        max-height: 300px;
        padding: 1.5rem 10%;
    }
    #navöffner {
        display: block;
        margin-left: auto;
        margin-right: 5%;
    }
}

/*Section*/
main {
    display: block;
    width: 95%;
    margin: auto;
    background-color: white;
}
section {scroll-margin-top: 30vh;}
@media (max-width: 630px) {main {width: 100%;}}

/*Section1*/
#section1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #273D26;
    color: white;
    gap: 5%;
    border-top: 0.8vh solid #5E4B3B;
    border-bottom: 0.8vh solid #5E4B3B;
}
#sprühflasche {width: clamp(315px, 30vw, 50rem);}
#section1textbox {flex: 1;}
#section1ueberschrift {
    font-size: clamp(4rem, 5vw, 10rem);
    margin: 0;
}
#section1text {
    font-size: clamp(2rem, 3vw, 6rem);
    margin-top: 1.5rem;
}
@media (max-width: 720px) {
    #sprühflasche {width: clamp(50%, 32vw, 50rem);}
    #section1ueberschrift {font-size: clamp(2rem, 7vw, 10rem);}
    #section1text {font-size: clamp(1.2rem, 4vw, 6rem);}
}
@media (max-width: 380px) {#sprühflasche {width: 100vw;}}

/*Section2*/
#section2 {
    background-color: #FDF8F4;
    padding: 4em 2em 4em 2em;
    color:#5E4B3B;
}
#section2ueberschrift {
    font-size: clamp(2.5rem, 5vw, 10rem);
    position: absolute;
    background-color: #FDF8F4;
    margin-left: 0.5em;
}
#section2text {
    border: 2px dashed #5E4B3B;
    border-radius: 50px;
    padding: 1.2em;
    font-size: clamp(1rem, 2vw, 10rem);
    margin: 2em 0 0 0 ;
}

/*Section3*/
#section3 {
    background-color: #273D26;
    padding: 4em 2em 4em 2em;
    color: white;
}
#section3ueberschrift {
    font-size: clamp(2.5rem, 5vw, 10rem);
    margin-bottom: 1em;
}
#section3box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 0.25fr));
    gap: 2rem;
}
.section3Leistungen {
    background: #ACB090;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
}
.section3Leistungen h1 {
    margin-bottom: 0.5em;
    font-size: clamp(1.4rem, 2.2vw, 10rem);
}
.section3Leistungen p {font-size: clamp(1rem, 1.4vw, 10rem);}
@media (max-width: 1048px) {#section3box {grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));}}

/*Section 4*/
#section4 {
    padding: 4vh 1vw 4.5vh 1vw;
    border-bottom: 0.8vh solid #5E4B3B;
}
#section4ueberschrift {font-size: clamp(2.5rem, 3vw, 10rem);}
#section4box {
    margin: 2vh 0;
    display: flex;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 10rem);
}
#section4box img {width: clamp(10%, 10vw, 10rem);}
.pfeil {
    font-size: clamp(2.5rem, 3vw, 10rem);
    align-self: center;
}
@media (max-width: 768px) {
    #section4box {display: block;}
    #section4ueberschrift {font-size: clamp(2.5rem, 5vw, 10rem);}
    #section4box img {width: clamp(30%, 20vw, 10rem);}
}

/*Section 5*/
#section5 {
    padding: 3vh 1vw;
    line-height: 2;
    background-color: #ACB090;
}
#Copyright {font-weight: bolder;}

/*Kontaktformular*/
#kontaktformular {
    display: none;
    position: fixed;
    top: 10%;
    width: 80%;
    height: 80%;
    background-color: #ACB090;
    justify-self: center;
    color: #273D26;
}
#kontaktformularclose {
    position: fixed;
    right: 11%;
    font-size: clamp(2.5rem, 2vw, 10rem);
    cursor: pointer;
}
#kontaktformularüberschrift {
    font-size: clamp(2.5rem, 5vw, 10rem);
    text-align: center;
}
#kontaktformulareingabe {
    justify-self: center;
}
#kontaktformulareingabe input {
    display: block;
    margin: 3vh 0;
    font-size: clamp(1rem, 1.2vw, 10rem);
    width: 20vw;
    border: none;
    border-bottom: 0.2vh solid black;
}
#kontaktformulareingabe textarea {
    display: block;
    resize: none;
    width: 40vw;
    height: 15vh;
    margin-bottom: 3vh;
    font-size: clamp(1rem, 1.2vw, 10rem);
    border: none;
    border-bottom: 0.2vh solid black;
}
#kontaktformularbutton {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    background: #3A523C;
    color: white;
    cursor: pointer;
    font-size: clamp(0.8rem, 1.2vw, 2rem);
}
#telefon::-webkit-outer-spin-button, #telefon::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
@media (max-width: 768px) {
    #kontaktformularüberschrift {font-size: clamp(2rem, 4vw, 10rem);}
}