/* Buttons */
.btn-blue.svelte-1cw59i1 {
    background: #00314c;
}

/* Typography */
.lead-lg.svelte-1cw59i1 {
    font-size: 0.95em;
}
.sub-slogan.svelte-1cw59i1 {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    margin: 10px 0 0;
}
h1.svelte-1cw59i1 {
    margin: 25px 0 0;
    font-size: 2.5rem;
}
h2.svelte-1cw59i1 {
    margin: 0 0 30px;
}
.topic.svelte-1cw59i1 {
    font-size: 2.5rem;
}
.question-text.svelte-1cw59i1 {
    font-size: 13px;
}

/* Layout and Containers */
.result-box.svelte-1cw59i1 {
    align-items: center;
    color: #fff;
    border-radius: 0;
    text-align: left;
    box-shadow: none;
}
.form.svelte-1cw59i1 {
    text-align: left;
    padding: 20px;
    border-radius: 0;
    border-top: solid 1px #eee;
}
.form-container.svelte-1cw59i1 {
    border-radius: 0;
    box-sizing: border-box;
    max-width: 1200px;
    background: rgba(255, 255, 255, 1);
}


/* Questions */
.question.svelte-1cw59i1 {
    min-height: 0;
}
.question-item.svelte-1cw59i1 {
    cursor: pointer;
    border-radius: 0;
    margin-bottom: 10px;
    padding: 20px;
    transition: 0.5s;
    background: #EAF6FD;
    text-align: left;
    align-items: center;
}

.question-item.svelte-1cw59i1:hover {
    background: #6F9DB9; /* Leicht dunklerer Blauton für den Hover-Effekt */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optionaler Schatteneffekt */
    transform: scale(1.02); /* Leichtes Vergrößern beim Hover */
}

.question-item.active.svelte-1cw59i1 {
    background: #6F9DB9;
    color: #fff;
}

/* Mobile Specific */
.mobile-100.svelte-1cw59i1 {
    width: 100%;
}
.mobile-text-center.svelte-1cw59i1 {
    text-align: center;
}

/* Special Backgrounds */
.special-bg.svelte-1cw59i1 {
    background: url(/bg2.webp) left center;
    padding-top: 20px; 
    padding-bottom: 60px;
    padding-left: 20px; 
    padding-right: 20px;
}

@media (max-width: 991.98px) {
    .special-bg.svelte-1cw59i1 {
        /* Reduziert das Padding auf einen kleineren, mobilen-freundlichen Wert */
        padding-top: -15px !important; 
		padding-bottom: 10px !important; 
    }
}

/* ZIEL: WEISSE BOX IM BLAUEN CONTAINER ERZEUGEN */
.special-bg.svelte-1cw59i1 {
    /* WICHTIG: Erzeugt einen neuen Kontext für das Pseudo-Element */
    position: relative; 
    /* Stellt sicher, dass das Formular nach wie vor das Hintergrundbild zeigt */
    z-index: 1; 
}

.special-bg.svelte-1cw59i1::before {
    /* Das Pseudo-Element deckt den Hintergrund des Formulars ab */
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Hintergrundfarbe, die den blauen Hintergrund überdeckt */
    background-color: white; 
    
    /* Der wichtige weiße Rand: Das Padding des Pseudo-Elements */
    padding: 30px; 
    
    /* Optionale Rundung */
    border-radius: 0.5rem;
    
    /* Muss HINTER dem Formularinhalt liegen, aber VOR dem blauen Hintergrundbild */
    z-index: -1; 
}

/* Den Inhalt des Formulars leicht ins Zentrum schieben, damit er über dem Padding liegt */
.special-bg.svelte-1cw59i1 > * {
    position: relative;
    z-index: 2;
}

/* Loader Animation */
.loader-animation.svelte-1cw59i1 {
    padding: 40px;
    width: 100%;
}
.loader.svelte-1cw59i1 {
    margin: 0 auto 20px;
    width: 60px;
    height: 50px;
    text-align: center;
    font-size: 10px;
}
.loader.svelte-1cw59i1 > div {
    height: 100%;
    width: 8px;
    display: inline-block;
    margin-left: 2px;
    animation: delay 0.8s infinite ease-in-out;
}
.loader .bar1.svelte-1cw59i1 { background-color: #754fa0; }
.loader .bar2.svelte-1cw59i1 { background-color: #09b7bf; animation-delay: -0.7s; }
.loader .bar3.svelte-1cw59i1 { background-color: #90d36b; animation-delay: -0.6s; }
.loader .bar4.svelte-1cw59i1 { background-color: #f2d40d; animation-delay: -0.5s; }
.loader .bar5.svelte-1cw59i1 { background-color: #fcb12b; animation-delay: -0.4s; }
.loader .bar6.svelte-1cw59i1 { background-color: #ed1b72; animation-delay: -0.3s; }

/* Responsive Design */
@media (min-width: 0px) {
    .topic.svelte-1cw59i1 {
        font-size: calc(1.5rem - 2px); /* Schriftgröße um 2 Punkte kleiner */
        margin-top: 10px; /* Zusätzlicher Abstand auf kleinen Geräten */
    }
    .question-text.svelte-1cw59i1 { font-size: 16px; }
}
@media (min-width: 768px) {
    .topic.svelte-1cw59i1 {
        font-size: 2.5rem; /* Standardgröße für größere Geräte */
        margin-top: 0; /* Abstand zurücksetzen für größere Geräte */
    }
    .lead-lg.svelte-1cw59i1 { font-size: 1.25rem; }
    .question-text.svelte-1cw59i1 { font-size: 16px; }
}
@media (min-width: 992px) {
    .sub-slogan.svelte-1cw59i1 { font-size: 1.3rem; }
    .form-container.svelte-1cw59i1 {
        border-radius: 0 0 10px 10px;
        animation: slideFromRight 2s;
    }
    .question.svelte-1cw59i1 { min-height: 80px; }
    .hero.svelte-1cw59i1 {
        height: auto;
        min-height: 590px;
    }
    .form.svelte-1cw59i1 {
        margin-top: 0;
        padding: 20px;
        background: #EAF6FD;
        border-radius: 5px 0 0 5px;
        border-top: none;
    }
    .mobile-100.svelte-1cw59i1 { width: auto; }
    .mobile-text-center.svelte-1cw59i1 { text-align: left; }
}
@media (min-width: 1200px) {
    .topic.svelte-1cw59i1 {
        font-size: 2.5rem; /* Standardgröße */
        margin-top: 0; /* Sicherstellen, dass kein zusätzlicher Abstand auf großen Geräten ist */
    }
    .question-text.svelte-1cw59i1 { font-size: 16px; }
}
