html {
    overflow-y: scroll;
    height: 100%;
}

body {
    background-color: #0D1E41;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1 0 auto;
}

.banner-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    background-color: #0D1E41;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;  /* */
    position: relative;
}

.banner-container picture {
    display: block;
    width: 100%;
    max-width: 1920px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1025px) {
    .banner-image {
        max-height: 400px;
    }
}

@media (max-width: 1024px) {
    .banner-image {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .banner-image {
        max-height: 300px;
    }
    .language-switcher {
        top: 5%;
        transform: translateY(-10%);
        padding: 0.5rem 0.45rem;
        border-radius: 12px 0 0 12px;
    }
    .language-switcher img {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .banner-image {
        max-height: 200px;
    }
}

.content {
    background: transparent;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 2rem;
    position: relative;
    z-index: 4; /* */
}

h1 {
    color: #E65525;
    margin-bottom: 0.2rem;
    text-align: center;
}

h2 {
    color: #E65525;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.main-text {
    line-height: 1.6;
}

.main-text .lead {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.event-accordion .accordion-button {
    background-color: #ffffff;
    color: #0D1E41;
    font-weight: 500;
}

.event-accordion .accordion-button:focus {
    box-shadow: none;
}

.event-accordion .accordion-item,
.event-accordion .accordion-collapse {
    border: none;
    background: transparent;
}

.event-accordion .accordion-body {
    background-color: #243557;
    color: #ffffff;
    border-radius: 0 0 .5rem .5rem;
}

.event-accordion .agenda-list {
    margin-bottom: 1.5rem;
}

.event-accordion .accordion-item + .accordion-item {
    margin-top: 0.75rem;
}

.registration-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.registration-section .btn-primary {
    width: 100%;
}

.registration-section .text-muted.form-note {
    color: #ffffff !important;
}

.sold-out-banner {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto -1rem;
}

.fully-booked-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.waiting-list-text {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

.btn-primary {
    background-color: #E65525;
    border: none;
}

.btn-primary:hover {
    background-color: #E65525;
}

.fully-booked-img {
    max-width: 200px;
    margin: 2rem auto;
    display: block;
}

.waiting-list-text {
    text-align: center;
    margin: 2rem 0;
}

.required::after {
    content: "*";
    color: #E65525;
    margin-left: 4px;
}

.icon {
    width: 24px;
    height: auto;
    object-fit: contain;
}

.agenda-list {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.agenda-list li {
    margin-bottom: 0.5rem;
}

h2.d-flex {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.language-switcher {
    position: fixed;
    top: 18%;
    right: 0;
    z-index: 1000;
    transform: translateY(-18%);
    padding: 0.6rem 0.5rem;
    margin: 0;
    width: auto;
    max-width: none;
    background: #243557;
    border-radius: 10px 0 0 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    text-align: center;
}

.language-switcher a {
    display: block;
    margin: 0.5rem 0.6rem;
    opacity: 0.9;
}

.language-switcher a:hover {
    opacity: 1;
}

.language-switcher img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #cfd4e3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    object-fit: cover;
}

.language-switcher .active img {
    border: 1px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.attention-text {
    text-align: center;
    margin: 2.5rem 0 0.75rem 0;
    color: #E65525;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
}

.attention-text span {
    color: #ffffff;
    display: block;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.2;
}

.pre-form-text,
.post-form-text {
    text-align: center;
}

.post-form-text {
    text-align: center;
}

.form-note {
    color: #ffffff !important;
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.site-footer {
    background-color: #0C1832;
    color: #ffffff;
    text-align: center;
    padding: 1rem 1rem 2rem;
    z-index: 100;
    position: relative;   /* WICHTIG: position hinzufügen */
    z-index: 100;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.site-footer .footer-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0.25rem auto 0.25rem;
}

.site-footer .footer-copy {
    margin: 0;
    font-size: 0.9rem;
}

.gradient-wrapper {
    position: relative;
    height: 0;
}

.banner-gradient-anchor {
    position: relative;
    height: 0;
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.page-gradient {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-6px);
    width: 40vw;
    height: 60vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
            ellipse 80% 80% at top left,
            #324E87 0%,
            #18274B 58%,
            #0D1E41 100%
    );
}

.footer-gradient-anchor {
    position: relative;
    height: 0;
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.page-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    /*transform: translateY(-6px);*/
    width: 35vw;
    height: 50vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
            ellipse 80% 80% at bottom left,
            #737F99 0%,
            rgba(115,127,153,0.55) 15%,
            rgba(50,78,135,0.65) 35%,
            rgba(18,37,75,0.55) 70%,
            #0D1E41 100%
    );
}

.midright-gradient-anchor-fixed {
    position: relative;
    width: 100%;
    height: 0;
    overflow: visible;
    transform: translateY(60vh);
}

.page-gradient-midright {
    position: absolute;
    right: 0;
    width: 30vw;
    height: 80vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
            ellipse 60% 40% at center right,
            #A14C30 0%,
            #904030 10%,
            #704030 25%,
            #503850 50%,
            #384670 70%,
            #20325A 80%,
            #0D1E41 100%
    );
}
