/* cf7-hauptseite-kontakt: Eigenständiges Styling.
   Da dieses Formular kein CF7-<form> mehr nutzt, greift das alte
   Theme-CSS für ".wpcf7 form" hier nicht mehr - der "Formular-Look"
   (weißer Kasten, Schatten, Rahmen) wird daher komplett selbst
   mitgebracht, angelehnt an die bisherige Optik und Markenfarbe
   der Seite (#aa1917). */

.cf7hk-wrapper {
    max-width: 100%;
}

/* Der Formular-Kasten selbst - ersetzt den bisherigen ".wpcf7 form"-Look */
.cf7hk-form {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c2c2c;
}

.cf7hk-h1 {
    font-size: 1.3rem;
    color: #891514;
    font-weight: 300;
    margin-bottom: 15px;
    border-left: 4px solid #aa1917;
    padding-left: 10px;
}

.cf7hk-intro {
    margin-bottom: 1.5em;
    padding-left: 1.2em;
}

.cf7hk-intro li {
    margin-bottom: 0.3em;
}

.cf7hk-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2c2c2c;
}

.cf7hk-checkbox-label {
    display: inline-block;
    font-weight: 400;
    margin: 0.2em 0;
}

.cf7hk-select,
.cf7hk-text,
.cf7hk-textarea {
    width: 100%;
    max-width: 420px;
    padding: 10px 14px;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #f7f7f7;
    transition: border 0.3s, box-shadow 0.3s;
}

.cf7hk-select:focus,
.cf7hk-text:focus,
.cf7hk-textarea:focus {
    border-color: #aa1917;
    box-shadow: 0 0 0 2px rgba(170, 25, 23, 0.2);
    outline: none;
}

.cf7hk-textarea {
    min-height: 100px;
}

.cf7hk-datenschutz {
    font-size: 0.9em;
    font-weight: 400;
}

.cf7hk-datenschutz label {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    font-weight: 400;
}

.cf7hk-submit {
    background-color: #aa1917;
    color: #fff;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.cf7hk-submit:hover {
    background-color: #891514;
}

.cf7hk-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cf7hk-gruppe {
    margin: 1em 0;
}

.cf7hk-sonstige-feld {
    margin-top: 0.5em;
}

/* Honeypot: für Menschen unsichtbar, aber im DOM vorhanden (Bots sehen/füllen es oft trotzdem) */
.cf7hk-honeypot-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf7hk-meldung {
    padding: 0.8em 1em;
    margin-bottom: 1em;
    border-radius: 6px;
    font-weight: 600;
}

.cf7hk-meldung-erfolg {
    background: #e6f4ea;
    color: #1e4620;
    border: 1px solid #b6dfc0;
}

.cf7hk-meldung-fehler {
    background: #fdecea;
    color: #611a15;
    border: 1px solid #f5c2c0;
}

.cf7hk-spinner {
    margin-left: 0.5em;
    font-style: italic;
    color: #555;
}

@media (max-width: 480px) {
    .cf7hk-form {
        padding: 20px;
    }
}
