/* ===== Allgemeines Layout ===== */

.question_container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.question_box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 700px;
    width: 100%;
}

/* ===== Überschriften ===== */
.smallHeading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.medium_heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.text {
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== Akkordeon ===== */
.accordion_container {
    margin-bottom: 15px;
}

.accordion {
    width: 100%;
    background-color: #70bf73;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.accordion:hover {
    filter: brightness(1.1);
}

.panel {
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 15px;
    border-radius: 0 0 5px 5px;
}

.panel.textblock {
    padding-top: 15px;
}

/* ===== Formulare ===== */
.mailDiv {
    margin-bottom: 15px;
}

.emailInput,
.nameField {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}



.submit_button {
    background-color: #70bf73;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

.submit_button:hover {
    background-color: #5ca95f;
}

/* Rote Variante für Abmelden */
.submit_button[style*="background-color: #ff5f3f"],
.accordion[style*="background-color: #ff5f3f"] {
    background-color: #ff5f3f !important;
}

.submit_button[style*="background-color: #ff5f3f"]:hover {
    background-color: #e65233 !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .question_box {
        padding: 15px;
    }

    .medium_heading {
        font-size: 1.3rem;
    }

    .smallHeading {
        font-size: 1.1rem;
    }

    .submit_button {
        font-size: 1rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .accordion {
        font-size: 1rem;
        padding: 12px;
    }

    .emailInput,
    .nameField {
        font-size: 0.95rem;
        padding: 10px;
    }

    .submit_button {
        font-size: 0.95rem;
        padding: 10px;
    }
}
