* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f9f9f9;
}

header {
    position: relative;
    padding: 2rem 3rem;
    text-align: center;
    background: #0055aa;
    color: white;
}

.logo {
    position: absolute;
    top: 12px;
    right: 12px;
    height: 48px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .logo {
        height: 36px;
        top: 8px;
        right: 8px;
    }

    header {
        padding: 1.25rem 1rem;
    }
}

#slideshow {
    width: 100%;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    background: white;
    min-width: 0;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    min-width: 0;
}

.slides img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0;
}

@media (max-width: 480px) {
    #slideshow {
        height: 240px;
    }
}


.slide .caption {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 90%;
    text-align: center;
}

#questionnaire {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

#questionnaire h2 {
    margin-top: 0;
}

#questionnaire h3 {
    margin-top: 3rem;
}

.question {
    margin-bottom: 1rem;
}

.question label,
.question-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.binary-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.binary-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
    font-weight: 400;
}

.likert-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.likert-question {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.2rem 0;
}

.likert-question .question-label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 0;
}

.likert-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    width: 100%;
}
.likert-options label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 48px;
    padding: 0.2rem 0.35rem;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.multi-option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.multi-option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.multi-option-group label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.multi-option-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.multi-option-group label.is-selected {
    background: #0055aa;
    border-color: #0055aa;
    color: #fff;
}

.selected-options {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    color: #334155;
    min-height: 2.5rem;
}

button[type="submit"] {
    padding: 0.75rem 1.5rem;
    background: #0055aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #004499;
}

button[type="submit"]:disabled {
    background: #bccdde;
}

button[type="submit"]:disabled::after {
    content: "  ..wird gesendet..";
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
input[type="file"] {
    width: 100%;
    padding: 0.5rem;
}
