@import url('https://fonts.googleapis.com/css2?family=Fauna+One&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Fauna One", sans-serif;
}

/* || VARIABLES */

:root {
    /* FONTS */
    --FF: "Fauna One", san-serif;
    --FF-HEADINGS: "Fauna One", cursive;
    --FS: clamp(1rem, 2.2vh, 1.5rem);

    /* COLORS */
    --BGCOLOR: #c2f1d7;
    --BGCOLOR-FADE: rgb(225, 245, 234);
    --BGIMAGE: linear-gradient(to right, var(--BGCOLOR), var(--BGCOLOR-FADE));
    --BGIMAGE1: url(/grafik/gallerie/usedom.jpg);
    --BGIMAGE_REVERS: linear-gradient(to bottom, var(--BGCOLOR-FADE), var(--BGCOLOR));
    --FONT-COLOR: #000;
    --FONT-COLOR-HELL: #fff;
    --BORDER-COLOR: #333;
}
/* || VARIABLEN ENDE */
/* || HTML Standard Start*/
html{
    background-color: var(--BGCOLOR-FADE);
    background-image: var(--BGIMAGE);
}

h2{
    border: 0px solid #000;
    font-family: var(--FF-HEADINGS);
    font-size: 1em;
    font-style: italic;
    margin: 1em auto;
}

header{
    position:sticky;
    background-color: var(--BGCOLOR);
    background-image: var(--BGIMAGE);
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 15px 200px;  
    transition: 0.5s ease; 
    z-index: 100;
}
header img{
    max-width: 200px;
    max-height: 200px;
}
header .brand{
    color: var(--FONT-COLOR-HELL);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform:capitalize;
    text-decoration: none;
    text-shadow: 2px 2px #fff;
    text-shadow:  0 -5px 20px #000;
}
header .navigation{
  position: relative;
}
header .navigation .navigation-items a{
    position: relative;
    color:var(--FONT-COLOR-HELL);
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
    text-shadow:  0 -5px 20px #000;
}
header .navigation .navigation-items a::before{
    content: "";
    position: absolute;
    background: var(--FONT-COLOR-HELL);
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
    text-shadow:  0 -5px 20px #000;
}
header .navigation .navigation-items a:hover::before{
    width: 100%;
}
 
/* || KONTAKT */

.container{
    border: 0px solid #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    flex-wrap: wrap ;
}

.map,
.form{
    
    width: 50vw;
    min-width: 300px;
    display: flex;
    padding: 5vw;
    justify-content: center;
    align-items: center;
}

.map iframe{
    border: 0px soild blue;
    width: 30vw;
    min-width: 250px;
    height: 30vw;
    min-height: 250px;
   
}

.form{
    border: 0px solid #000;
    background-color: transparent;
    display: flex;
    width: 40vw;
    justify-content: center;
    flex-wrap: wrap;
}
.form form{
    border: 0px solid red;
    display: flex;
    flex-direction: column;
	width: 40vw;
}
.form label {
    margin-top: 10px;
    padding-left: 5px;
    font-size: 0.9em;
    
}
.form input, 
.form textarea {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 0.9em;
}
.form .anzZeichen{
	font-size:0.7em;
    border: #000 solid 0px;
    text-align: right;
	margin: 0;
	padding: 0 15px;
}
.rechne{
    width: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    
    text-align: center;
    background-color: transparent;
    background-image: none;
    border: 0px solid #000;
}

.buttons{
    font-family: var(--FF);
    font-size: 0.9em;
    border: rgba(1, 1,1, 0.1) solid 0px;
    border-radius: 10px;
    padding: 8px 0;
    margin-top: 20px;
    cursor: pointer;
    width: 60%;
    align-self: center;
}

 .form button{
    width: 100%;
    height: 3em;
    border-radius: 10px;
    align-content: space-between;
    margin-bottom: 5px;
 }
  .form button[type="submit"]{
    color: #fff;
    background-color: rebeccapurple;
 }
 .form button[type="submit"]:hover{
    color: #fff;
    background-color: rgb(48, 4, 92);
 }
 .form button[type="reset"]{
    background-color:transparent;
 }
 .form button[type="reset"]:hover{
    background-color: rgba(1,1,1, 0.1);
 }

 /* Formatieren der Formularfelder bei Fehleingaben */
.fehler{
     color: red;
     font-size: 0.8em;
 }
.erfolg{
     color: green;
     font-size: 1em;
     margin-bottom: 1em;
 }

/* || KONTAKT ENDE */

footer{
    background-color: rgba(22, 151, 151, 0.877);
    /*background-color: rgba(134, 218, 190,1);*/
    color: var(--FONT-COLOR-HELL);
    position: relative;  /* NEU EINGEPFLEGT */
    height: 150px;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    text-align: center;
    padding: 0vh 5vw; /*padding: oben unten;*/   
    transition: 0.5s ease; 
    flex-wrap: wrap;
    font-size: 1em;
    z-index: 100;
}
footer img{
    margin: 0px 25px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
}

footer a{
    position: relative;
    color:var(--FONT-COLOR-HELL);
    font-size: 1.0em;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
}

footer a::before{
    content: "";
    position: absolute;
    background: var(--FONT-COLOR-HELL);
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}
footer a:hover::before{
    width: 100%;
}

footer div ul li{
list-style: none;
line-height: 1.8em;
}

footer figcaption{
    font-size: 0.9em;
}



@media(max-width: 1250px){
    header{
        z-index: 999;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        transition: 0.5s ease;
    }
    header img{
        max-width: 100px;
        max-height: 100px;
    }

    header .brand{
        font-size: 1.2rem;
    }

    section{
        padding: 1.5vh 5vw;
    }

    header .navigation{
        display: none;
    }
    header .navigation.active{
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, 0.5);
    }
    header .navigation .navigation-items a{
        color: #222;
        font-size: 1rem;
        margin: 20px;
    }
    header .navigation .navigation-items a::before{
        background: #222;
        background: red;
        height: 2px;
    }
    header .navigation.active .navigation-items{
        background: #fff;
        width: 300px;
        /* max-width: 300px; */
        margin: 20px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
        box-shadow: 0 5px 25px rgba(1, 1, 1, 0.2);
    }
    .menu-btn{
	background: url(../grafik/openMenuSW.png)no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
        background-color: transparent;
        border-radius: 10px;
    }
    .menu-btn.active{
        z-index: 999;
        background: url(../grafik/close.png)no-repeat;
        background-size: 30px;
        background-position: center;
        transition: 0.3 ease;
        color: #fff;
    }
    
    
    footer{
        padding: 0vh 5vw;
        flex-wrap: wrap;
        height: 120px;
    }    
    footer img{
        margin: 0px 25px;
        max-width: 50px;
        max-height: 50px;
        border-radius: 50%;
    }
    
    
    footer div ul li{
        font-size: 0.8em;
        line-height: 1.8em;
        margin: 0.2em;
    }
    footer a::before{
        height: 1px;
    }
}

@media screen and (max-width: 578px){
    section h2{
        font-size: 0.9em;
    }
   
    .map,
    .form,
    .form form{
    width: 90vw;
    font-size: 0.9em;
    }
        
    footer{
        padding: 3vh 2vw;
        flex-wrap: wrap;
        height: 100px;
        font-size: 0.7em;
    }    
    footer img{
        margin: 0px 25px;
        max-width: 35px;
        max-height: 35px;
        border-radius: 50%;
    }
    footer div ul li{
        line-height: 1.5em;
    }
    footer a::before{
        height: 1px;
    }
}