.survey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    color: #ffffff;
}

.progress-bar {
    background-color: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.progress-fill {
    background-color: #bb994c;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.question-counter {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

h2, h3 {
    color: #ffffff;
    margin-bottom: 1.5em;
}

/* Neue Styles für die Fragen */
.question h3 {
    font-size: 23px !important;
    font-weight: 700;
    line-height: 1.4;
    max-width: 100%;
    margin: 0 auto 1.5em;
}

/* Überschriften für Firmendaten und Kontaktdaten bleiben unverändert */
.company-data h3,
.contact-data h3,
.success-message h3 {
    font-size: 1.5em;
    font-weight: var(--e-global-typography-primary-font-weight);
}

.rating-scale {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    width: 100%;
}

.question {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.star-rating {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: rgba(187, 153, 76, 0.3);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 10px;
}

.star-rating svg {
    width: 48px;
    height: 48px;
}

.star-rating:hover,
.star-rating.selected {
    color: #bb994c;
    transform: scale(1.1);
}

.star-rating:hover ~ .star-rating,
.star-rating.selected ~ .star-rating {
    color: #bb994c;
}

.star-rating::before {
    content: attr(data-rating);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #bb994c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.star-rating:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.summary-rating {
    display: flex;
    gap: 2px;
}

.summary-rating svg {
    width: 32px;
    height: 32px;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    transition: all 0.3s ease;
}

.btn-back {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-back:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-next {
    background-color: #bb994c;
    color: #ffffff;
}

.btn-next:hover {
    background-color: #a68843;
}

/* Formular-Styling */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5em;
}

select option {
    background-color: #2d2d2d;
    color: #ffffff;
}

.privacy-policy {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-policy label {
    font-size: 0.9em;
    line-height: 1.4;
}

.privacy-link {
    color: #bb994c;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #a68843;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #bb994c;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
    width: 80px;
    height: 80px;
}

.success-message h3 {
    color: black;
    font-size: 1.8em;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-out 0.3s both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .rating-scale {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .rating-button {
        min-width: 35px;
        padding: 8px 12px;
    }

    .star-rating svg {
        width: 32px;
        height: 32px;
    }

    .question h3 {
        font-size: 18px !important;
        margin-bottom: 1em;
    }

    .star-rating::before {
        font-size: 12px;
        padding: 3px 6px;
        top: -25px;
    }
}

/* Noch kleinere Screens */
@media (max-width: 480px) {
    .rating-scale {
        gap: 5px;
    }

    .star-rating svg {
        width: 28px;
        height: 28px;
    }

    .star-rating {
        padding: 3px;
    }

    .summary-rating svg {
        width: 24px;
        height: 24px;
    }
}

.summary-section {
    color: #ffffff;
}

.summary-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.summary-content h4 {
    color: #bb994c;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.summary-content > div {
    margin-bottom: 30px;
}

.summary-content > div:last-child {
    margin-bottom: 0;
}

.summary-answers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-answers li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.summary-answers li:last-child {
    border-bottom: none;
}

.summary-answers li strong {
    flex: 1;
}

.summary-rating {
    color: #bb994c;
    font-weight: bold;
    white-space: nowrap;
} 