@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,600;1,400&display=swap');

/*Allg.*/
html{
    width: 100%;
}
body{
    font-family: 'Raleway', sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
}
main{
    margin-left: 150px;
    margin-right: 150px;
}
h1, h2, h3 {
    color: #90C4A1;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}
h1{
    font-size: 34px;
    line-height: 1.5;
}
h2{
    font-size: 24px;
    line-height: 1.3;
    margin-top: 50px;
}
.h2{
    margin-top: 0;
}
h3{
    font-size: 19px;
    line-height: 1.3;
}
img{
    width: 100%;
}
a {
    color: #EB8EA0;
    text-decoration: none;
    line-height: 1.2;
}
a:hover{
    color: #EB5E7B;
}
p{
    color: #707070;
    line-height: 1.2;
    padding: 0;
}
.info-box{
    text-align: center;
}
.einleitungsText p{
    padding-top: 15px;
    padding-bottom: 30px;
    margin: 0;
    text-align: center;
}
.link-button{
    background-color: #707070;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.link-button-content{
    display: flex;
    align-items: baseline;
}
.link-button:hover{
    background-color: #999797d1;
}
.link-button a{
    color: #ffffff;
    display: flex;
    align-items: center;
}
.link-button a:hover{
    text-decoration: underline;
}
/*Logo & header Bild*/
.logo img{
    width: 130px;
    height: auto;
}
.logo{
    display: flex;
    margin-top: 60px;
    /* padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px; */
    margin-left: 120px;
    position: absolute;
    /* background-color: rgba(255, 255, 255, 0.693); */
}
header{
    height: 800px;
    background-image: url(img/Allgemein/headerBild.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    display: flow-root;
}
.titel h1{
    color: white;
    font-size: 60px;
}
.titel{
    display: flex;
    justify-content: center;
    margin-top: 25%;
}

/*Navigation*/
.head-nav{
    padding-top: 15px;
    padding-bottom: 15px;
}
.head-nav a{
    color: #707070;
    font-size: 24px;
    font-weight: 600;
}
.head-nav a:hover{
    color: #EB5E7B;
}
.head-nav ul {
    list-style: none; 
}
@media screen and (min-width: 770px){
    .head-nav{
        margin-left: 30%;
        background-color: rgba(255, 255, 255, 0.693);
        margin-top: 60px;
        margin-right: 120px;
    }


    .head-nav ul {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding-left: 0;
    }
    .head-nav ul ul{
        display: none;
        background-color: #ffffff;
    }
    .head-nav ul ul li{
        padding: 15px;
    }
    .head-nav > ul > li:hover > ul{
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
    }
    .head-nav > ul > li{
        position: relative;
    }
    .toggler{
        display: none;
    }
}
@media screen and (max-width: 770px){
    .head-nav{
        position: fixed;
        inset: 0;
        background-color: #707070;
    }
    .head-nav li{
        padding: 15px;
    }
    .head-nav a{
        color: #ffff;
    }
    .head-nav:not(.active){
        display: none;
        margin: 0    }
    .head-nav.active{
        margin: 0;
    }
    .head-nav ul ul{
        padding: 5px;
    }
    .head-nav ul ul li{
        padding: 5px;
    }
    .toggler{
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
        border: none;
        background-color: rgba(255, 255, 255, 0.693);  
        color: #707070;
        width: auto;
        font-size: 40px;
        margin-top: 15px;
        margin-right: 15px;
    }
}

/*Home*/
.link-boxen img{

        object-fit: cover;
        width: 100%;
        aspect-ratio: 3/2 ;
}
.link-boxen {

        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 10px;
        margin-top: 30px;
}
.link-box a{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: end;
}
.link-box a p{
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.693);
    padding-bottom: 15px;
    padding-top: 15px;
    padding-left: 15px;
    width: 70%;
}
.link-box a > *{
    grid-column-start: 1;
    grid-row-start: 1;

}
.link-box{
    display: flex;
    justify-content: center;
}
/*content seiten*/
.content-box, .content-box-2{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
}
.content-box-background{
    display: flex;
    justify-content: space-between;
    background-color: #707070;
    padding-top: 30px;
    padding-bottom: 30px;
}
.content-box-background iframe{
    width: 560px;
    height: 315px;
    padding-left: 30px;
    border: 0;
}
.content-box img{
    width: 500px;
    height: auto;
}
.content-box-2 img{
    width: 300px;
}
.content-box p, .content-box-2 p {
    width: 45%;
    display: flex;
    align-items: center;
}
.content-box-background p{
    width: 45%;
    display: flex;
    align-items: center;
    padding-right: 30px;
    color: #ffffff;
}
.info-box{
    background-color: #707070;
}
.info-box p{
    color: #ffffff;
    padding: 30px;
    display: flex;
    justify-content: center;
}
.galerie img{
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3/2 ;
}
.galerie{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 10px;
    margin-top: 30px;
}
.link-box-content img{
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3/2 ;
}
.link-box-content{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 6px;
}
.link-box-content a{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: end;
}
.link-box-content a p{
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.693);
    padding-bottom: 15px;
    padding-top: 15px;
    padding-left: 15px;
    width: 70%;
}
.link-box-content a > *{
    grid-column-start: 1;
    grid-row-start: 1;

}
.link-box{
    display: flex;
    justify-content: center;
}
.gallery img{
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3/2 ;
}
.gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 6px;
}

/*Kontaktformular*/
.Kontaktformular{
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 60px;
}
  #ft-form *,
  #ft-form ::after,
  #ft-form ::before {
    box-sizing: border-box
  }

  #ft-form select {
    text-transform: none
  }
  #ft-form [type=submit] {
    -webkit-appearance: button
  }
  #ft-form legend {
    padding: 0
  }
  #ft-form h2,
  #ft-form p {
    margin: 0
  }
  #ft-form fieldset {
    margin: 0;
    padding: 0
  }

  #ft-form *,
  #ft-form ::after,
  #ft-form ::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #707070
  }
  #ft-form textarea {
    resize: vertical
  }
  #ft-form input::-moz-placeholder,
  #ft-form textarea::-moz-placeholder {
    color: #707070;
  }
  #ft-form input:-ms-input-placeholder,
  #ft-form textarea:-ms-input-placeholder {
    color: #707070;
  }
  #ft-form input::placeholder,
  #ft-form textarea::placeholder {
    color: #707070;
  }

  #ft-form input,
  #ft-form select,
  #ft-form textarea {
    padding: 0;
  }
  #ft-form [type=date],
  #ft-form [type=email],
  #ft-form [type=tel],
  #ft-form [type=text],
  #ft-form select,
  #ft-form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-color: #707070;
    border-width: 1px;
    border-radius: 0;
    padding-top: .5rem;
    padding-right: .75rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
    font-size: 1rem;
    line-height: 1.5rem
  }
  #ft-form [type=date]:focus,
  #ft-form [type=email]:focus,
  #ft-form [type=tel]:focus,
  #ft-form [type=text]:focus,
  #ft-form select:focus,
  #ft-form textarea:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #707070
  }
  #ft-form [type=checkbox],
  #ft-form [type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
    color:#707070;
    background-color: #fff;
    border-color: #707070;
    border-width: 1px
  }
  #ft-form [type=checkbox] {
    border-radius: 0
  }
  #ft-form [type=radio] {
    border-radius: 100%
  }
  #ft-form [type=checkbox]:focus,
  #ft-form [type=radio]:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  #ft-form [type=checkbox]:checked,
  #ft-form [type=radio]:checked {
    border-color: transparent;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat
  }
  #ft-form [type=file] {
    border-width: 0;
    border-radius: 0;
    padding: 0;
  }
  #ft-form fieldset {
    font-size: 100%;
    margin-top: 3rem;
    margin-bottom: 1.5rem
  }
  #ft-form fieldset:first-child {
    margin-top: 0
  }
  #ft-form fieldset > * {
    display: block;
    margin-bottom: 1.5rem
  }
  #ft-form fieldset > :last-child {
    margin-bottom: 0
  }
  #ft-form fieldset > .two-cols > * {
    display: block;
    margin-bottom: 1.5rem
  }
  #ft-form fieldset > .two-cols > :last-child {
    margin-bottom: 0
  }
 

/*Footer*/
footer{
    background-color: #707070;
    height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 60px;
    width: 100%;
}
footer p, footer a{
    display: flex;
    justify-content: center; 
    margin-bottom: 15px;
    color: #ffffff;
}
.info{
    font-size: 14px;
}
@media screen and (max-width: 1290px){
    .content-box img{
        width: 400px;
        height: auto;
    }
    main{
        margin-right: 100px;
        margin-left: 100px;
    }
    .content-box-2 img{
        object-fit: cover;
        width: 200px;
        height: auto;
    }
}
@media screen and (max-width: 1230px){
    header{
        height: 600px;
    }
    .head-nav{
        padding-top: 10px;
        padding-bottom: 10px;
        margin-top: 60px;
        margin-right: 100px;
    }
    .head-nav a{
        font-size: 18px;
    }
    .logo img{
        width: 100px;
        height: auto;
    }
    .logo{
        margin-left: 40px;
    }
    .galerie{
        gap: 30px;
    }
    .content-box-2 {
        flex-direction: column;
    }
}
@media screen and (max-width: 1100px){
    .content-box {
        flex-direction: column;
        align-items: center;
    }
    .content-box img{
        object-fit: cover;
        width: 900px;
        height: auto;
    }
    .content-box p{
        width: 80%;
        text-align: center;
        margin-top: 20px;
    }
    h2{
        margin-top: 15px;
    }
}
@media screen and (max-width: 970px){
    .content-box img{
        object-fit: cover;
        width: 600px;
        height: auto;
    }
    .content-box p{
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}
@media screen and (max-width: 950px){
    header{
        height: 400px;
    }
    .head-nav{
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 40px;
        margin-right: 80px;
    }
    .head-nav a{
        font-size: 16px;
    }
    .logo img{
        width: 90px;
        height: auto;
    }
    .logo{
        margin-right: 20px;
        margin-top: 20px;
    }
    .titel h1{
        font-size: 50px;
    }
    .titel{
        display: flex;
        justify-content: center;
        margin-top: 15%;
    }
    main{
        margin-right: 100px;
        margin-left: 100px;
    }
    .einleitungsText p{
        padding-bottom: 0;
    }
    h1{
        margin-top: 15px;
    }
    .link-button {
        padding: 15px;
    }

}
@media screen and (max-width: 700px){
    h1{
        margin-top: 15px;
        font-size: 30px;
    }
    h2{
        font-size: 20px;
    }
}
@media screen and (max-width: 770px){
    .titel{
        margin-top: 15%;
    }
    .titel h1{
        font-size: 40px;
    }
}
@media screen and (max-width: 780px){
    header {
        height: 300px;
    }
}
@media screen and (max-width: 650px){
    header{
        height: 300px;
    }
    .head-nav{
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 40px;
        margin-right: 80px;
    }
    .head-nav a{
        font-size: 16px;
    }
    .logo img{
        width: 90px;
        height: auto;
    }
    .logo{
        margin-left: 15px;
        margin-top: 15px;
    }
    main{
        margin-right: 80px;
        margin-left: 80px;   
    }
    .content-box img{
        object-fit: cover;
        width: 400px;
        height: auto;
    }
    h1{
        margin-top: 10px;
    }
    .titel{
        margin-top: 35%;
    }

}
@media screen and (max-width: 530px){
    main{
        margin-right: 60px;
        margin-left: 60px;   
    }
}
@media screen and (max-width: 490px){
    main{
        margin-right: 40px;
        margin-left: 40px;   
    }
    header{
        height: 200px;
    }
    .titel {
        margin-top: 20%;
    }
    .titel h1{
        font-size: 30px;
    }
}
@media screen and (max-width: 450px){
    main{
        margin-right: 20px;
        margin-left: 20px;   
    }
    .content-box img{
        object-fit: cover;
        width: 300px;
        height: auto;
    }
}
@media only screen and (min-width:640px) {
    #ft-form fieldset > .two-cols {
      display: flex;
      align-items: flex-end
    }
    #ft-form fieldset > .two-cols > * {
      display: block;
      margin-right: 1.5rem;
      margin-top: 0;
      margin-bottom: 0;
      flex: 1
    }
    #ft-form fieldset > .two-cols > :last-child {
      margin-right: 0
    }
  }
  #ft-form fieldset div > label {
    display: inline-flex;
    align-items: flex-start;
    margin-top: .5rem;
    width: 100%
  }
  #ft-form fieldset div > label:last-child {
    margin: .5rem 0 0 0
  }
  #ft-form fieldset div.inline {
    padding: .55rem 0 0;
    width: 100%
  }
  #ft-form fieldset div.inline > label {
    width: auto;
    margin-right: .5rem
  }
  #ft-form fieldset div.inline > label:last-child {
    margin-right: 0
  }
  #ft-form fieldset > .two-cols div.inline {
    padding: .55rem 0
  }
  #ft-form fieldset > legend {
    font-weight: 700;
    font-size: 120%;
    margin-bottom: 1rem
  }
  #ft-form fieldset > p {
    margin: 0
  }
  #ft-form [type=file] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-color: #707070;
    border-width: 1px;
    border-radius: 0;
    padding-top: .5rem;
    padding-right: .75rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
    font-size: 1rem;
    line-height: 1.5rem
  }
  #ft-form [type=file]:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #707070;
  }
  #ft-form [multiple],
  #ft-form [type=date],
  #ft-form [type=datetime-local],
  #ft-form [type=email],
  #ft-form [type=file],
  #ft-form [type=month],
  #ft-form [type=number],
  #ft-form [type=password],
  #ft-form [type=search],
  #ft-form [type=tel],
  #ft-form [type=text],
  #ft-form [type=time],
  #ft-form [type=url],
  #ft-form [type=week],
  #ft-form select,
  #ft-form textarea {
    border-radius: .375rem;
    margin-top: .25rem;
    border-color: #707070;
    width: 100%
  }
  #ft-form [multiple] select,
  #ft-form [type=date] select,
  #ft-form [type=datetime-local] select,
  #ft-form [type=email] select,
  #ft-form [type=file] select,
  #ft-form [type=month] select,
  #ft-form [type=number] select,
  #ft-form [type=password] select,
  #ft-form [type=search] select,
  #ft-form [type=tel] select,
  #ft-form [type=text] select,
  #ft-form [type=time] select,
  #ft-form [type=url] select,
  #ft-form [type=week] select,
  #ft-form select select,
  #ft-form textarea select {
    padding-right: 2.5rem
  }
  #ft-form [type=checkbox],
  #ft-form [type=radio] {
    color: #fff;
    box-shadow: none;
    border-radius: .25rem;
    border-color: #707070;
    margin-right: .5rem
  }
  #ft-form [type=checkbox]:focus,
  #ft-form [type=radio]:focus {
    border-color: #707070;
  }
  #ft-form .btns > input[type=button],
  #ft-form .btns > input[type=reset],
  #ft-form .btns > input[type=submit] {
    display: inline-block;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
    line-height: 1.25rem;
    border-width: 1px;
    border-radius: .375rem;
    border-color: #707070;
    background-color: #fff;
    cursor: pointer;
    margin-left: .5rem;
    font-weight: 700
  }
  #ft-form .btns > input[type=submit] {
    background-color: #707070;
    transition: background-color .1s
  }