/* =====================================================
   IAF – Grundlayout   --   Version 1.2.0  -  11.02.2026
   ===================================================== */

..iaf-form {
    width: 100%;
}

.iaf-form p {
    margin-bottom: 0.6rem;
}

/* =====================================================
   Eingabefelder
   ===================================================== */

.iaf-form input[type="text"],
.iaf-form input[type="email"],
.iaf-form textarea {
    font-family: "Courier Prime", monospace;
    font-weight: 500;
    width: 100%;
    font-size: 1rem;
    padding: 0.6em 0.7em;   /* etwas höher als Schrift */
    box-sizing: border-box;
    color:var(--global-palette4)! important;  }


/* =====================================================
   Textarea – Platz & Lesbarkeit
   ===================================================== */

.iaf-form textarea {
    min-height: 80px;
    line-height: 1.45;
    resize: vertical;
}

/* Placeholder dezent, gut lesbar opacity: 0.7; */
.iaf-form input::placeholder,
.iaf-form textarea::placeholder {
    font-style: italic;
    color:var(--global-palette4)! important;   }

/* =====================================================
   Einverständniserklärung – kompakt & kontrolliert
   ===================================================== */

.iaf-form p {
    margin-bottom: 0.3rem;
}

.iaf-form p:has(.iaf-consent) {
    margin-bottom: 0.3rem;
}

.iaf-form .iaf-consent {
    display: block;
    font-size: 0.85rem;
    line-height: 1.2;
    margin: 0 0 1.6rem 0;   /* Abstand NACH UNTEN */
    color: var(--global-palette4) !important;
}

/* Checkbox sauber ausrichten */
.iaf-consent input[type="checkbox"] {
    margin-right: 0.4em;
    margin-top: 0.1em;
    vertical-align: top;
}

/* Links */
.iaf-consent a {
    color: var(--global-palette2) !important;
    transition: color .1s linear;
}

.iaf-consent a:hover {
    color: var(--global-palette-highlight-alt) !important;
}

/* =====================================================
   Button – Theme-Standard, nur etwas kleiner
   ===================================================== */

.iaf-form button {
    font-size: 0.9rem;
    padding: 0.45em 0.9em;
}

/* =====================================================
   Erfolgsmeldung
   ===================================================== */

.iaf-success {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: bold;
    margin-top: 0.5rem;
}