/* ----------------------------------------------------
   GLOBAL
---------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    background: #2a2a2a;
    padding: 20px;
    color: #fff;
}

/* ----------------------------------------------------
   FORMULARBOX
---------------------------------------------------- */

.contact-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 18px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    max-width: 520px;      /* SCHMALERES FORMULAR */
    margin: 0px auto;
}

/* ----------------------------------------------------
   TITEL & HINWEIS
---------------------------------------------------- */

.contact-box h2 {
    font-size: 28px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.contact-hint {
    background: rgba(255,255,200,0.20);
    border: 1px solid rgba(255,255,200,0.35);
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
}

/* ----------------------------------------------------
   LABELS
---------------------------------------------------- */

.contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #ccc;
    font-size: 14px;
}

/* ----------------------------------------------------
   INPUTFELDER
---------------------------------------------------- */

.contact-form input,
.contact-form textarea {
    font-family: Arial, sans-serif;
    width: 100%;
    padding: 4px 6px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #888;
    background: #fff9c4;
    color: #000;
    font-size: 13px;
    box-sizing: border-box;
}

/* SCHMALE FELDER */
.short-input {
    max-width: 260px;
}

/* SCHMALERE EMAIL */
.email-input {
    max-width: 360px;
}

/* ----------------------------------------------------
   TEXTAREA (Begründung)
---------------------------------------------------- */

#grund {
    width: 360px;          /* SCHMALER */
    min-height: 80px;      /* NIEDRIGER */
    resize: none;
    box-sizing: border-box;
    background: #fff9c4;
    color: #000;
    border: 1px solid #888;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 13px;
}

/* ----------------------------------------------------
   BUTTON: Begründung ein-/ausblenden
---------------------------------------------------- */

.reason-toggle {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    padding: 4px 10px;
    background: #e6e6e6;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.reason-toggle:hover {
    background: #d0d0d0;
}

/* ----------------------------------------------------
   FORMULAR-AKTIONEN (Zurück + Senden)
---------------------------------------------------- */

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.back-link,
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #e6e6e6;
    color: #000;
    border: 1px solid #ccc;

    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;

    width: 120px;
    height: 32px;
    box-sizing: border-box;
}

.back-link:hover,
.submit-btn:hover {
    background: #d0d0d0;
    border-color: #bbb;
}

/* ----------------------------------------------------
   ERFOLG / FEHLER
---------------------------------------------------- */

.success {
    background: #003300;
    color: #99ff99;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #006600;
}

.error {
    background: #330000;
    color: #ff9999;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #660000;
}

/* ----------------------------------------------------
   SMARTPHONE-OPTIMIERUNG
---------------------------------------------------- */
@media (max-width: 600px) {

    /* Buttons & Toggles – Schrift kleiner, kein Umbruch */
    .reason-toggle,
    .submit-btn,
    .back-link {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Kontaktbox */
    .contact-box {
        max-width: 100%;
        padding: 15px;
    }
	
	.contact-box h2 {
        font-size: 16px;
    }
	
    /* Eingabefelder */
    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 15px;
        padding: 10px;
    }

    .short-input,
    .email-input {
        max-width: 100% !important;
    }

    /* Textarea */
    #grund {
        width: 100% !important;
        min-height: 120px;
    }

    /* Toggle-Button */
    .reason-toggle {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    /* Formular-Aktionen */
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .back-link,
    .submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }
}
