/* Global Styles */
body {
    background-color: transparent;
    font-family: Arial, sans-serif;
}

/* Teaser Styles */
.teaser {
    position: relative;
    cursor: pointer;
    margin-bottom: 30px;
    background-color: #6E143B;
    padding: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    height: 200px;
    transition: height 0.3s ease;
}

.teaser img {
    width: 100%;
    height: auto;
    transition: 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.teaser:hover img {
    filter: brightness(50%);
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.teaser:hover .overlay {
    opacity: 0.8;
}

.text-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #6E143B;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-circle {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: 15px;
    background-color: #6E143B;
    flex-shrink: 0;
    margin-left: 10px;
}

.teaser:hover .radio-circle {
    border-color: #fff;
}

.teaser:active .radio-circle {
    background-color: #fff;
}

.text {
    font-size: 20px;
}

/* No-Image Teaser Styles */
.teaser-no-image {
    background-color: #6E143B;
    color: #ffffff;
    text-align: left;
    padding: 20px;
    margin-bottom: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.teaser-no-image:hover {
    background-color: #50102a;
    transform: scale(1.05);
}

.teaser-no-image:active {
    background-color: #3b0c21;
    transform: scale(0.95);
}

.text-box-no-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-circle-no-image {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: 15px;
    background-color: #6E143B;
    flex-shrink: 0;
}

.teaser-no-image:hover .radio-circle-no-image {
    border-color: #fff;
}

.teaser-no-image:active .radio-circle-no-image {
    background-color: #fff;
}

/* Button Styles */
.back-button, .result-button {
    background-color: #fff;
    color: #6E143B;
    border: 2px solid #6E143B;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    margin-left: 10px;
}

.back-button:hover, .result-button:hover {
    background-color: #6E143B;
    color: #fff;
}

.result-button.active {
    background-color: #6E143B;
    color: #fff;
}

/* Step Title and Subtitle */
.step-title {
    margin-bottom: 20px;
    text-align: center; /* Zentriert die Step-Titel */
}

.step-subtitle {
    margin-bottom: 40px;
    text-align: center; /* Zentriert die Step-Subtitel */
}

/* Teaser Container for Desktop */
.teaser-container {
    display: flex;
    justify-content: space-between;
}

.teaser-no-image {
    flex: 1;
    margin: 0 10px;
}

.selected .radio-circle-no-image {
    background-color: #fff;
}

.dimmed {
    opacity: 0.5;
}

/* Flexbox Layout for Desktop */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md-4 {
    flex: 0 0 31%; /* Drei Spalten mit Platz dazwischen */
    max-width: 31%;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .teaser-container {
        flex-direction: column;
    }

    .teaser-no-image {
        margin-bottom: 20px;
    }
}

/* Anpassung für die Button-Ausrichtung */
.text-right {
    text-align: right;
    margin-top: 20px; /* Abstand nach oben zu den anderen Elementen */
}
