@font-face {
    font-family: twt;
    src: url(junegull.ttf);
}
@font-face {
    font-family: twt-text;
    src: url(RockoFLF-Bold.ttf);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: twt-text;
}

html{
    scroll-behavior: smooth;
    
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



.navbar{
    background: #ff333c;
    background-size: 100%;;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 0 25px grey; 
}




.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo{
    background-color: red;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.navbar__container img{
    width: 7vh;
    margin: 10px;
}

.fa-gem{
    margin-right: 0.5rem;
}


.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    height: 100%;
    flex-direction: row;
    transition: all 0.3s ease-in-out; /* Glatte Animation */
    overflow: hidden; /* Verhindert das Überspringen */
}

.navbar__item{
    height: 80px;
}

.navbar__links{
    color: #ffffe1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: rgb(5, 224, 5);
    color: black;
}

.button:hover{
    background: blue;
    transition: all 0.3s ease;
}

.navbar__links:hover{
    color: #ffffe188;
    transition: all 0.3s ease;
}

.dropdown-ul{
    height: 0;
    overflow: hidden;
    background: #ff333c;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    list-style: none;
    border-radius: 0 0 12px 12px;   /* Nur unten abgerundet */
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 0;
    min-width: 200px;
    z-index: 10;
    transition: height 0.3s cubic-bezier(.4,0,.2,1), padding 0.3s cubic-bezier(.4,0,.2,1);
}

.dropdown-ul li{
    height: 70px;
    width: 100%;
}
.navbar__item:hover .dropdown-ul{
    display: flex;
}

/* Dropdown aktiv: Höhe auf Inhalt setzen, Padding sichtbar */
.navbar__item:hover .dropdown-ul,
.navbar__item:focus-within .dropdown-ul {
    height: 384px; /* Passe ggf. an die Anzahl der Einträge an (z.B. 8 Einträge à 48px) */
    padding: 0.5rem 0;
}

@media screen and (max-width: 960px){
    .navbar__container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu{
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active{
        background: #ff333c;
        top: 80px;
        opacity: 1;
        transition: top 0.5s ease, opacity 0.5s ease; /* Synchronisierte Animation */
        z-index: 0;
        font-size: 1.6rem;
    }

    #navbar__logo{
        padding-left: 25px;
    }

    .navbar__toggle .bar{
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background:#ffffe1;
    }

    .navbar__item{
        width: 100%;
    }

    .navbar__links{
        text-align: center;
        padding: 0;
        width: 100%;
        position: static;
        display: block;
    }

    #mobile-menu{
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }


    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);

    }

    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
        
    }

   

    .navbar__item:hover .dropdown-ul{
        display: none;
    }

}

/*START*/

.main{
    background-color: transparent;
    overflow: hidden;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    justify-content: center;
    
}



.main__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    width: 100%;
    height: 65vh;
    background-color:#00312c;
    background-image: url(images/Background.png);
    background-size: cover;
    z-index: 1;
    padding: 0 50px;


}



.main__content h1{
    font-family: twt;
    font-size: 5rem;
    background-color: #ffffe1;
    /*background-image: linear-gradient(to top, rgb(204, 25, 25) 0%, rgb(231, 52, 52) 100%); */
  
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    
}
.main__content h2{
    font-family: twt;
    font-size: 3rem;
    background-color:#ffffe1;
    /*background-image: linear-gradient(to top, rgb(204, 25, 25) 0%, rgb(231, 52, 52) 100%);*/
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__img--container{
    text-align: center;
    
}


#main__img{
    height: 50%;
    width: 50%;
}

@media screen and (max-width: 768px) {
    .main__container{
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__content{
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1{
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2{
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px){
    
    .main__content h1{
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2{
        font-size: 1rem;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}

/*actions*/

.actions{
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.actions h1{
    font-family: twt;
    font-size: 5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    background-color: red;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.actions__container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;

}

.actions__card{
    margin: 1rem;
    height: 400px;
    width: 400px;
    border-radius: 20px;
    background-color: #ff333c;
    overflow: hidden;
    background-size: cover;
    position: relative;
    color: black;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.4);
}

.actions__card img{
    width: 100%;
    height: auto;
}

.actions h2{
    color: #ffffe1;
    position: absolute;
    font-size: 2rem;
    top: 330px;
    left: 30px;
}

.actions p{
    position: absolute;
    top: 400px;
    left: 30px;
}

.actions__card:hover{
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}



@media screen and (max-width: 1312px) {
   

    .actions h1{
        font-size: 4rem;
        margin-top: 5rem;
    }

    
}









/*Footer*/

.footer__container{
    /*background: linear-gradient(to right, #98FB98 0%, #FF7373 50%, #98FB98 100%);*/
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px grey; 
    margin-top: auto;
}

.footer__logo img{
    width: 30px;
    height: 30px;
}

#footer__logo{
    color: black;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links{
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper{
    display: flex;
}

.footer__link--items{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

.footer__link--items h2{
    margin-bottom: 12px;
}

.footer__link--items > h2{
    color: black;
}

.footer__link--items a{
    color: black;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover{
    color: white;
    transition: 0.3s ease-out;
}

.social__icon--link{
    color: white;
    font-size: 24px;
}

.social__media{
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.social__icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo{
    color: white;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

@media screen and (max-width: 820px){
    .footer__links{
        padding-top: 2rem;
    }

    #footer__logo{
        margin-bottom: 1rem;
    }

    .website__rights{
        margin-top: 2rem;
    }

    .footer__link--wrapper{
        flex-direction: column;
    }

    .social__media--wrap{
        flex-direction: column;
    }
}

@media screen and (max-width: 280px){
    .footer__link--items{
        margin: 0;
        padding: 10px;
        width: 100%;
    }
}

.bg__img{
  width: 100%;
  height: 50vh;
}

.img{
    width: 100%;
    height: 50vh;
    background-image: url(images/kifrei.jpg);
    background-size: cover;
    background-position: 69%;
    border-radius: 4px;
    
}

/*Aktionen Seiten CSS*/

.headline__aktion{
    text-align: center;
    margin-top: 15px;
    
}

.headline__aktion h2{
    font-size: 6rem;
    font-family: twt;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    
    
}

.aktion__content{
    width: 60%;

}

.aktion__wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 30px;
    background: rgb(255, 255, 255);
}

#kifrei__imgs1{
    max-width: 320px;
    float: left;
    border: 4px solid black;
    border-radius: 10px;
    margin-right: 50px;
    margin-right: 50px;
}

#kifrei__imgs2{
    max-width: 320px;
    float: right;
    border: 4px solid black;
    border-radius: 10px;
    margin-left: 50px;
    margin-right: 50px;
}

.text__box{
    color: black;
    text-align: center;
}

.text__box h2{
    font-size: 3rem;
}

.text__box p{
    font-size: 20px;
}

@media screen and (max-width:768px) {
    #kifrei__imgs1{
        float: none;
        max-width: 280px;
        margin-left: 0px;
        margin-right: 0px;
    }

    #kifrei__imgs2{
        float: none;
        max-width: 280px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .headline__aktion h2{
        font-size: 2.5rem;
    }
}

.news__date__container{
display: flex;
flex-wrap: wrap;

}

.news__container{
    text-align: center;
    flex-basis: 50%;
    padding: 50px;
    font-size: 2rem;
    background-color: red;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    
}

.news__container h2{
    font-family: twt;
    margin-bottom: 10px;
}

.news{
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    background-color: rgb(241, 241, 241);
}

.news p{
    margin-top: 10px;
    font-size: 18px;
    -webkit-text-fill-color: black;
    -moz-text-fill-color: black;
}

.news h3{
    font-size: 24px;
    -webkit-text-fill-color: black;
    -moz-text-fill-color: black;
}

#news__datum{
    margin-top: 10px;
    font-size: 15px;
    -webkit-text-fill-color: red;
    -moz-text-fill-color: red;
}

.date__container{
    text-align: center;
    flex-basis: 50%;
    padding: 50px;
    font-size: 2rem;
    background-color: red;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    
}
 

.date__container h2{
    font-family: twt;
    
}

.date{
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    
}

.date p{
    margin-top: 10px;
    font-size: 18px;
    -webkit-text-fill-color: black;
    -moz-text-fill-color: black;
}

.date h3{
    font-size: 24px;
    -webkit-text-fill-color: black;
    -moz-text-fill-color: black;
}

@media screen and (max-width: 800px){

    .news__container{
        flex-basis: 100%;
    }

    .date__container{
        flex-basis: 100%;
    }
    
}

.intro__container{
    display: flex;
    text-align: center;
    padding: 50px;
    font-size: 3rem;
    background-color: red;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.intro h1{
    font-family: twt;
}

.intro p{
    -webkit-text-fill-color: black;
    -moz-text-fill-color: black;
    font-size: 1.5rem;
}

#intro{
    height: 15px;
}

#news{
    height: 15px;
}

.anmeldung_kifrei--btn{
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    font-family: twt-text;
    width: 100%;
    max-width: 400px;
    margin-top: 12px;
}


.anmeldung_kifrei--btn a{
    position: relative;
    z-index: 2;
    color: white;
    text-decoration: none;
}

.anmeldung_kifrei--btn:hover{
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}

.anmeldung_kifrei--btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto; /* optional: fügt Abstand hinzu */
}

/*Kontaktfeld*/

.kontakt__section {
    padding: 3rem 2rem;
    background: white;
    text-align: center;
    
    
}

.kontakt__section h2 {
    font-size: 3rem;
    font-family: twt;
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.kontakt__section p {
    font-size: 20px;
}

.kontakt__form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem;
    background-color: #ffffe1;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.kontakt__form input,
.kontakt__form textarea {
    padding: 0.8rem;
    border: 2px solid #008000;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    font-family: twt-text;
    color: #333;
}

.kontakt__form input:focus,
.kontakt__form textarea:focus {
    outline: none;
    border-color: white;
    
}

.kontakt__form button {
    background-image: linear-gradient(to top, green 0%, rgb(5, 224, 5) 100%);
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    font-family: twt-text;
}

.kontakt__form button:hover {
    transform: scale(1.05);
    background-image: linear-gradient(to top, rgb(3, 170, 3) 0%, rgb(4, 190, 4) 100%);
}

.kontakt__form .file-label {
    text-align: left;
    font-size: 1rem;
    color: #004d4d;
    margin-top: 0.5rem;
}

.kontakt__form input[type="file"] {
    padding: 0.4rem;
    background-color: #f5fff5;
    border: 2px dashed #008000;
    border-radius: 8px;
}

.kontakt__form p {
    font-size: 20px;
}

