
.loading-screen {
    background-color: rgba(0,0,0,.7);
    position: fixed;
    line-height: 40px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    z-index: 9999;
}

.loading-screen > span {
    color: #FFF;
    display: block;
    font-size: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.loading-screen-gpt {
    background-color: rgba(0,0,0,.7);
    position: fixed;
    /*line-height: 30px;*/
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    z-index: 9999;
}

.loading-screen-gpt > span {
    color: #FFF;
    display: block;
    /*font-size: 16px;*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

body {
    background-color: rgba(212, 175, 55, 0.5);
    margin: 0;
}

/* Umhüllendes Element mit max. Breite */
.site-wrapper {
    max-width: 1024px;
    margin: 0 auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* <– wichtig für Footer-Verhalten */
}

/* Header bleibt oben stehen */
.main-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}


/* Optional: falls du inneres Padding brauchst */
.scroll-inhalt {
    flex: 1;
}

/* Textarea Höhe auf länge vom Text */
.grow-wrap {
    display: grid;
}

.grow-wrap::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
}

.grow-wrap > textarea {
    resize: none;
    overflow: hidden;
}

.grow-wrap > textarea,
.grow-wrap::after {
    border: 1px solid black;
    padding: 0.5rem;
    font: inherit;

    grid-area: 1 / 1 / 2 / 2;
}



.switch-custom {
    position: relative;
    display: inline-block;
    width: 80px; /* Breiterer Switch */
    height: 30px;
}

.switch-custom .form-check-input {
    width: 80px; /* Breiterer Switch */
    height: 30px;
    margin: 0;
    opacity: 0;
    z-index: 2; /* Input bleibt klickbar */
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.switch-custom .form-check-label {
    width: 80px; /* Breiterer Switch */
    height: 30px;
    background-color: #dc3545; /* Rot für "Nein" */
    border-radius: 15px;
    position: relative;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px; /* Etwas mehr Platz für die Texte */
    box-sizing: border-box;
}

.switch-custom .form-check-label .switch-knob {
    position: absolute;
    width: 24px; /* Etwas größerer Knob */
    height: 24px;
    background-color: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.switch-custom .form-check-label .switch-label-on,
.switch-custom .form-check-label .switch-label-off {
    font-size: 16px; /* Standard für "Ja" */
    font-weight: bold;
    color: white;
    position: absolute;
    z-index: 0;
}

.switch-custom .form-check-label .switch-label-on {
    left: 10px;
    display: none;
}

.switch-custom .form-check-label .switch-label-off {
    right: 10px;
    font-size: 16px; /* Kleinere Schrift für "Nein" */
}

.switch-custom .form-check-input:checked + .form-check-label {
    background-color: #28a745; /* Grün für "Ja" */
}

.switch-custom .form-check-input:checked + .form-check-label .switch-knob {
    transform: translateX(50px); /* Schieberegler verschieben */
}

.switch-custom .form-check-input:checked + .form-check-label .switch-label-on {
    display: inline;
}

.switch-custom .form-check-input:checked + .form-check-label .switch-label-off {
    display: none;
}



.nav-link.dropdown-toggle::after {
    display: none !important;
}

.collapse a.dropdown-item {
    font-size: 0.95rem;
}

.ueberschrift {
    font-size: 40px;
    line-height: 40px;
    color: #bf991e;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}
@media (max-width: 480px) {
    .ueberschrift {
        font-size: 30px;
        line-height: 35px;
    }
}

.background-winter {
    background-image: url('/img/hintergrund.png');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    /*min-height: 100vh;*/
    min-width: 100%;
    position: relative;
    overflow-x: hidden;
    padding-top: 100px;
}
@media (max-width: 480px) {
    .background-winter {
        background-image: url('/img/hintergrund_mobile.png');
        background-size: contain;
    }
}

.winter-kugel {
    position: absolute;
    top: -75px;
    right: -85px;
    height: 550px;
    width: 550px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

@media (max-width: 768px) {
    .winter-kugel {
        top: -50px;
        right: -60px;
        height: 380px;
        width: 380px;
    }
}

@media (max-width: 480px) {
    .winter-kugel {
        top: -35px;
        right: -45px;
        height: 280px;
        width: 280px;
    }
}




.winter-kugel-terminanzeige {
    position: absolute;
    top: 290px;
    right: 80px;
    width: 350px;
    background-color: rgba(212, 175, 55, 0.9);
    color: black;
    z-index: 2;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;

    /* NEU für sanftes Ein-/Ausblenden */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none; /* Verhindert Hover/Klicks wenn unsichtbar */
}
.winter-kugel-terminanzeige.visible {
    opacity: 1;
    pointer-events: auto; /* Wieder anklickbar wenn sichtbar */
}
.winter-kugel-terminanzeige .event-zeile {
    font-size: 20px;
}

/* Tablet */
@media (max-width: 768px) {
    .winter-kugel-terminanzeige {
        top: 150px;
        right: 10px;
        width: 280px;
    }
    .winter-kugel-terminanzeige .event-zeile {
        font-size: 18px;
    }
}

/* Mobil */
@media (max-width: 480px) {
    .winter-kugel-terminanzeige {
        top: 70px;
        right: 15px;
        width: 270px;
        font-size: 80%;
    }
    .winter-kugel-terminanzeige .event-zeile {
        font-size: 16px;
    }
}


.content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    z-index: 2;
    position: relative;
}

.text-wrapper {
    max-width: 600px;
    padding-top: 50px;
    text-align: left;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 100px; /* genug Abstand zur Kugel */
    }

    .text-wrapper {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding-top: 120px;
    }
    .text-wrapper h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
}


.start-box {
    /*position: absolute;*/
    margin-top: 300px;
    width: 100%;
    z-index: 2;
}
@media (max-width: 768px) {
    .start-box {
        margin-top: 80px;
    }
}
@media (max-width: 480px) {
    .start-box {
        margin-top: 10px;
    }
}

.cross-img {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.cross-img.active {
    opacity: 1;
    z-index: 2;
}



.aussteller-card {
    cursor: pointer;
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #fff5e6; /* leicht weihnachtliches Beige */
}

.aussteller-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.aussteller-card .card-title {
    font-weight: bold;
}

.aussteller-card .card-text {
    font-size: 0.9rem;
}

.einfache-card {
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #fff5e6; /* leicht weihnachtliches Beige */
}

.einfache-card .card-title {
    font-weight: bold;
}

.einfache-card .card-text {
    font-size: 0.9rem;
}


.modal-content.bg-dark {
    background: linear-gradient(145deg, #2b2b2b, #1e1e1e);
    border: 3px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    color: white;
    overflow: hidden;
}

.modal-header {
    background-color: #d4af37;
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 3px solid #bf991e;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 0.5rem;
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5); /* dunkler Glas-Look */
    backdrop-filter: blur(4px); /* optionaler Blur, wenn du es etwas edler willst */
}

.modal-body > div:first-child {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    margin-bottom: 2rem;
}

@media(max-width: 768px) {
    .modal-content {
        margin: 0 auto;
        width: 95%;
    }
}



.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-height: 60vh;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.swiper-button-prev, .swiper-button-next {
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

}


.swiper-pagination {
    margin-top: 1rem;
}

.swiper-pagination-bullet {
    background: #d4af37;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
    border: 2px solid #d4af37;
}


.main-navi-drop {
    min-width: 300px !important;
    position: absolute !important;
    transform: translateX(0) !important;
    top: 100% !important;
    z-index: 9999;
}

@media (max-width: 767.98px) {
    .main-navi-drop {
        position: fixed !important;
        top: 89px !important;
        left: -1px !important;
        right: -1px !important;
        width: 101% !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;

        /* NEU */
        border-top: none;
        border-bottom: 1px solid #d4af37;
        border-left: none;
        border-right: none;
    }
}

