/* Theme Name: Haudegen Theme 1.0
Version: 1.0
Author: Haudegen Webdesign
Author URI: https://haudegen-webdesign.de */

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/PublicSans-Regular.eot');
    src: url('fonts/PublicSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/PublicSans-Regular.woff2') format('woff2'),
        url('fonts/PublicSans-Regular.woff') format('woff'),
        url('fonts/PublicSans-Regular.ttf') format('truetype'),
        url('fonts/PublicSans-Regular.svg#PublicSans-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Public Sans';
    src: url('fonts/PublicSans-Bold.eot');
    src: url('fonts/PublicSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/PublicSans-Bold.woff2') format('woff2'),
        url('fonts/PublicSans-Bold.woff') format('woff'),
        url('fonts/PublicSans-Bold.ttf') format('truetype'), 
        url('fonts/PublicSans-Bold.svg#PublicSans-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #171717 !important;
    --yellow: #FDCB00;
    --white: #f6f6f6 !important;
    --grey: #787878 !important;
    --light-grey: #626262 !important;
    --dark-white: #ccc !important;
    --border-white: solid 1px #ccc;
    --border-yellow: solid 2px var(--yellow);
}


html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;
    line-height: 2rem;
}

body.fixed {
    overflow: hidden;
}

.body-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: 0.1s;
    background-color: black;
    transform: translateX(100vw);
    z-index: 3;
}

body.fixed .body-overlay {
    opacity: 0.6;
    transform: translateX(0);
}


@keyframes grow {
    0% {
        transform: scale(0.1);
    }

    100% {
        transform: scale(1);
    }

}

img {
    max-width: 100%;
    height: auto;
}

.grecaptcha-badge {
    z-index: 3;
}

body::-webkit-scrollbar {
    -webkit-appearance: none;
}

body::-webkit-scrollbar:vertical {
    width: 0;
    overflow-x: hidden;
    position: relative;
}


body::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.desktop-only {
    display: none;
}




/*----------------------------------------
----------------TYPOGRAPHY----------------
----------------------------------------*/

.headline, h1, h2, h3, h4, h5, h6 {
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: 700;
}

.headline.subheadline, .headline.mini-headline  {
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-weight: 700;
}

.subheadline.yellow {
    color: var(--yellow);
}

.headline.headline-404 {
    font-size: 90px;
    line-height: 85px;
}

.bold, strong, .headline-p.bold, p.bold {
    font-weight: 700;
}

p, .headline-p, input, a, adress, .wpcf7-response-output, textarea, ul, li {
    font-size: 1rem;
    font-weight: normal;
    color: var(--black);
    line-height: 1.8rem;
}

.navi-punkt {
    font-size: 1.4rem;
}
.zitat {
    font-size: 20px;
    line-height: 32px;
    color: var(--grey);
    font-weight: 400;
    text-align: center;
}

ol, ul {
    padding-left: 15px;
}

ul.white li {
    color: var(--white);
    margin-left: 15px;
}

ul.white li.yellow {
    color: var(--yellow);
}

li {
    margin-top: 10px;
}

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

a {
    text-decoration: none;
}

.black {
    color: var(--black);
}

.white, .white p {
    color: var(--white);
}

.yellow {
    color: var(--yellow);
}

.grey, .grey p {
    color: var(--grey);
}

.dark-white {
    color: var(--dark-white);
}

.underline {
    text-decoration: underline;
}



/*---------------BUTTON--------------*/

.button, .wpcf7-submit {
    padding: 3px 30px;
    position: relative;
    z-index: 1;
    transition: 0.3s;
    color: white;
    font-weight: 700;
    background-color: var(--yellow);
    border-radius: 25px;
    display: inline-block;
}

.button.black {
    background-color: var(--black);
}


.wpcf7-submit  {
    padding: 4px 30px;
}










/*----------------------------------------
-------------MARGIN & PADDING-------------
----------------------------------------*/

.ma-bo {
    margin-bottom: 20px;
}

.ma-bo-10 {
    margin-bottom: 10px;
}

.ma-bo-30 {
    margin-bottom: 30px;
}

.ma-bo-40 {
    margin-bottom: 40px;
}

.ma-top {
    margin-top: 40px;
}

.ma-top-20 {
    margin-top: 20px;
}

.section-padding{ 
    padding: 40px;
}






/*----------------------------------------
---------------FLEX & GRID----------------
----------------------------------------*/


.double-grid, .triple-grid {
    display: grid;
}

.no-gap-grid {
    gap: 0 !important;
}

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

.flex-start {
    align-items: flex-start;
}

.flex-end {
    align-items: flex-end;
}

.flex-horizontal {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

.gap-40 {
    gap: 40px;
}

.gap-20 {
    gap: 20px;
}

.gap-10 {
    gap: 10px;
}

.gap-5 {
    gap: 5px;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.z-index-3 {
    z-index: 3;
}






/*----------------------------------------
------------------HEADER------------------
----------------------------------------*/

header {
    overflow: hidden;
    position: relative;
}

#navi-big {
    display: none;
}

#header-bar {
    position: relative;
    z-index: 5;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.logo-box {
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    width: 170px;
}


#menue-box {
    position: relative;
}

#menue-box .plus-icon {
    width: 45px;
    transition: 0.3s;
    animation: wobble 0.6s ease-in-out 1s;
}

#menue-box.allright .plus-icon {
    transform: rotate(45deg);
}

@keyframes wobble {
    0% {
        transform: scaleX(1) scaleY(1);
    }

    10% {
        transform: scaleX(1.2) scaleY(0.8);
    }

    20% {
        transform: scaleX(1) scaleY(1);
    }

    30% {
        transform: scaleX(0.8) scaleY(1.2);
    }

    40% {
        transform: scaleX(1) scaleY(1);
    }

    50% {
        transform: scaleX(1.1) scaleY(0.9);
    }

    60% {
        transform: scaleX(1) scaleY(1);
    }

    70% {
        transform: scaleX(0.9) scaleY(1.1);
    }

    80% {
        transform: scaleX(1) scaleY(1);
    }

    90% {
        transform: scaleX(1.05) scaleY(0.95);
    }

    100% {
        transform: scaleX(1) scaleY(1);
    }
}

#navi-small {
    width: 80vw;
    height: 60vh;
    position: fixed;
    z-index: 4;
    top: 20vh;
    left: 10vw;
    transform: translateX(100%);
    transition: 0.4s ease-in-out;
    opacity: 0;
    overflow: hidden;
    background-color: white;
    border: solid 1px var(--yellow);
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

#navi-small.aktiv {
    transform: translateX(0);
    opacity: 1;
}

.navi-small-box {
    margin: 0 20px;
}

.fixed-kontakt-widget {
    position: fixed;
    display: grid;
    padding: 10px 0 0 0;
    bottom: 20px;
    right: 0;
    z-index: 5;
    width: 110px;
    border: solid 1px var(--yellow);
    background-color: white;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    animation: fixed-kontakt-widget 6s ease-out;
}

@keyframes fixed-kontakt-widget {
    0% {
        transform: translateX(120px);
        opacity: 0;
    }

    90% {
        transform: translateX(120px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fixed-kontakt-image {
    0% {
        transform: translateX(120px);
        rotate: 90deg;
        opacity: 0;
    }

    90% {
        transform: translateX(120px);
        rotate: 90deg;
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        rotate: 0deg;
        opacity: 1;
    }
}

.fixed-kontakt-image {
    width: 80px;
    margin-top: -40px;
    margin-left: 15px;
    transform-origin: center;
    animation: fixed-kontakt-image 6s ease-out;
}

.fixed-kontakt-name {
    color: var(--light-grey);
    margin-left: 10px;
    font-size: 0.8rem;
}

.fixed-kontakt-text {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: var(--yellow);
    padding: 7px 10px 10px 10px;
    border-radius: 0 0 0 10px;
}

.second-header-bar {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 5px 40px;
    background-color: var(--black);
    position: relative;
    z-index: 5;
}

.second-header-bar-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.second-header-icon {
    width: 20px;
    height: 20px;
}

/*------------------------------------------
-----------------ANIMATION------------------
------------------------------------------*/


.transform {
    opacity: 0;
}

.transform.aktiv {
    animation-fill-mode: forwards;
    animation-duration: 1s;
}



.delay-one {
    animation-delay: 0.2s;
}

.delay-two {
    animation-delay: 0.4s;
}

.delay-three {
    animation-delay: 0.6s;
}

.delay-four {
    animation-delay: 0.8s;
}

.delay-five {
    animation-delay: 1s;
}

.delay-six {
    animation-delay: 1.2s;
}

.delay-seven {
    animation-delay: 1.4s;
}

.delay-eight {
    animation-delay: 1.6s;
}

.delay-nine {
    animation-delay: 1.8s;
}

.delay-max {
    animation-delay: 2s;    
}

.duration-one {
    animation-duration: 0.2s;
}

.duration-two {
    animation-duration: 0.4s;
}

.duration-three {
    animation-duration: 0.6s;
}

.duration-four {
    animation-duration: 0.8s;
}

.duration-five {
    animation-duration: 1s;
}

.duration-six {
    animation-duration: 1.2s;
}

.duration-seven {
    animation-duration: 1.4s;
}

.duration-eight {
    animation-duration: 1.6s;
}

.duration-nine {
    animation-duration: 1.8s;
}

.duration-max {
    animation-duration: 2s;    
}

.transform.animation-duration {
    animation-duration: 2s;
}

.transform-big.aktiv  {
    animation-name: transform-big;
}

.transform-very-big.aktiv  {
    animation-name: transform-very-big;
}

.transform-middle.aktiv {
    animation-name: transform-middle;
}

.transform-small.aktiv {
    animation-name: transform-small;
}

.transform-star.aktiv {
    animation-name: star-animation;
}



@keyframes transform-small {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes transform-middle {
    0% {
        transform: translateY(300px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes transform-big {
    0% {
        transform: translateY(500px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }

}

@keyframes transform-very-big {
    0% {
        transform: translateY(800px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }

}



/*----------------------------------
---------------MAIN-----------------
----------------------------------*/

.hero-full-content {
    padding: 40px;
}

.black-bg {
    background-color: var(--black);
}

.absolute-headline {
    position: absolute;
    color: white;
    left: 20px;
    bottom: 20px;
}

.leistungen-uebersicht {
    display: grid;
    gap: 10px;
    border-bottom: solid 1px var(--grey);
    width: 100%;
}

.leistungen-uebersicht-beschreibung {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    margin-bottom: 15px;
}

.leistungen-uebersicht-link {
    display: flex;
    align-items: flex-end;
}

.leistungen-uebersicht-icon {
    width: 24px;
    margin-bottom: 5px;
}

.white-bg {
    background-color: var(--white);
}

.grey-bg {
    background-color: #f1f1f1;
}

.background {
    background-size: cover;
    background-position: center;
}

.overflow-hidden {
    overflow: hidden;
}

.image-div {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dreiviertel-div {
    width: 75%;
}

.dreiviertel-div.rechts {
    margin-left: auto;
}

.image-div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.max-width {
    max-width: 700px;
}

.max-width-1100 {
    max-width: 1100px;
}

.event-grid {
    display: grid;
    gap: 40px;
}

.event-card {
    border: solid 1px var(--grey);
}

.event-content-div {
    padding: 20px;
}

.event-tickets .tribe-tickets__rsvp-wrapper {
    border-radius: 0 !important;
    border: solid 1px var(--black) !important;
    background-color: var(--white) !important;
}

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn, .tribe-common button.tribe-common-c-btn {
    background-color: var(--yellow) !important;
    border-radius: 20px !important;
}







/* Verhindert, dass der Swiper das CSS Grid auf dem Desktop sprengt */
.swiper-grid-column {
    min-width: 0;
    width: 100%;
}

.bilder-swiper .swiper-slide {
    overflow: hidden;
}

/* Stellt sicher, dass die Bilder responsiv in der Grid-Spalte bleiben */
.bilder-swiper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* === PAGINATION AUSSERHALB DES SLIDERS === */

/* Löst die Punkte aus der Überlagerung und setzt sie unter die Bilder */
.bilder-swiper .swiper-pagination {
    position: relative !important; 
    margin-top: 20px; /* Abstand zwischen den Bildern und den Punkten */
    bottom: auto !important; /* Hebt den Swiper-Standardwert auf */
}

/* Die inaktiven Punkte (Weiß, leicht transparent passend zum black-bg) */
.bilder-swiper .swiper-pagination-bullet {
    background-color: #ffffff;
    opacity: 0.5;
}

/* Der aktive Punkt in Weissmann-Gelb */
.bilder-swiper .swiper-pagination-bullet-active {
    background-color: var(--yellow) !important; 
    opacity: 1;
}




/*----------------------------------
-----------------FAQ----------------
----------------------------------*/


.faq-icon {
    width: 25px;
    margin-left: 10px;
    transition: 0.5s;
}


.faq-icon.activated {
    rotate: 45deg;
}

.faq-question {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-answer {
    max-height: 0px;
    overflow: hidden;
    transition: 0.6s;
}

.faq-answer p {
    opacity: 0;
    transition: 0.6s;
    margin: 20px;
}

.faq-answer.activated {
    max-height: 1350px;
}

.faq-answer.activated p {
    opacity: 1;
}


.faq-answer .faq-strich {
    visibility: hidden;
    height: 1px;

}


.faq-answer.activated .faq-strich {
    visibility: visible;
}






/*----------------------------------
----------------KONTAKT-------------
----------------------------------*/


.wpcf7-form {
    position: relative;
    z-index: 1;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    border: solid 1px #ccc;
    outline: none;
    width: 300px;
    padding-left: 5px;
}


.wpcf7-list-item {
    margin: 5px 0 0 -5px !important;
}

.wpcf7-submit {
    margin-top: 20px;
    z-index: 2;
}

.wpcf7-submit, .wpcf7-acceptance {
    border: none;
}

textarea {
    height: 200px;
}




/*----------------------------------
-----------------BLOG---------------
----------------------------------*/

.blog-kategorie {
    padding: 10px 20px;
    background-color: var(--black);
    position: absolute;
    left: 0;
    bottom: 0;
}

.blog-card {
    border: solid 1px var(--black);
}

.blog-card-content {
    padding: 20px;
}







/*----------------------------------
----------------FOOTER--------------
----------------------------------*/

footer {
    padding: 60px 30px;
    display: grid;
    grid-gap: 40px;
    background-color: var(--black);
}

.footer-logo  {
    width: 80px;
}

.footer-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-padding-left {
    padding-left: 30px;
}

.footer-text {
    text-align: center;
    max-width: 300px;
}

.kontakt-icon-div {
    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 10px;
}

.kontakt-icon:not(.mitarbeiter-card .kontakt-icon) {
    width: 20px;
    margin-top: 5px;
}

.legal-footer {
    background-color:#373737;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}





@media(min-width: 800px) {

    .headline {
        font-size: 35px;
        line-height: 50px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 25px;
        line-height: 33px;
    }
    
    .subheadline {
        font-size: 20px;
        line-height: 30px;
    }

    .headline.desktop-big-headline {
        font-size: 50px;
        line-height: 65px;
    }

    .grey-headline-box {
        top: -18px;
    }

    p, .headline-p, input, a, adress, .wpcf7-response-output, .header-animation-startseite .headline-p, .small-p {
        font-size: 15px;
        line-height: 30px;
    }

    .hero-full-content {
        padding: 60px 120px;
    }

    .section-padding { 
        padding: 60px 120px;
    }

    .section-padding.widget-padding {
        padding: 40px 120px;
    }
    

    #header-bar {
        padding: 10px 80px;
    }

    .second-header-bar {
        padding: 5px 80px;
    }

    .logo {
        width: 210px;
    }

    #kontakt-box {
        bottom: 292px;
    }

    .wpcf7-form-control:not(.wpcf7-submit) {
        width: 330px;
    }






}





@media(min-width: 1200px) {

    
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .headline {
        font-size: 35px;
        line-height: 45px;
    }

    .section-padding {
        padding: 120px;
    }

    #header-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 120px;
    }

    .second-header-bar {
        padding: 5px 120px;
    }

    #navi-small, #menue-box {
        display: none;
    }

    #navi-big {
        display: flex;
        gap: 40px;
        align-items: center;
    }

    #navi-big .navi-punkt {
        margin-bottom: 0;
        letter-spacing: 1px;
    }

    .hero-full {
        height: 90vh;
        overflow: hidden;
    }

    .hero-full-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-full-content {
        max-width: 34vw;
        position: absolute;
        left: 120px;
        bottom: 60px;
    }

    .hero-full-text, .hero-full-headline {
        color: white;
    }

    .double-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 80px;
    }

    .triple-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .event-card {
        display: grid;
        grid-template-columns: 30% 70%;
    }

    /*----------------FOOTER--------------*/

    footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 60px 30px 90px 30px;
    }

    .footer-div {
        gap: 25px;
    }

    
    /*---------KONTAKT-----------*/

    textarea {
        height: 150px;
    }

    .wpcf7-form-control:not(.wpcf7-submit) {
        width: 600px;
    }


}




@media(min-width: 1600px) {

    .section-padding {
        padding: 100px 12vw;
    }

    .section-padding.widget-padding {
        padding: 40px 12vw;
    }

    
    #header-bar {
        padding: 0 12vw;
    }

    .second-header-bar {
        padding: 5px 12vw;
    }

    .swiper-post {
        min-height: 550px;
    }
    
    header.kontakt {
        background-size: 25%;
    }


}