/* Grundstruktur */
.kontakt * {
    text-align: left;
}

.kontakt > h2 {
    text-align: center;
    margin-bottom: 25px;
}

.kontakt > h3 {
    text-align: center;
    margin-bottom: 25px;
}

.kontakt > p {
    text-align: center;
    margin-bottom: 30px;
}

/* Standort-Karten */
.kontakt-standorte {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.kontakt-card {
    background: #fff;
    padding: 0 0 20px 0; /* angepasst wegen Bild */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 320px;
    overflow: hidden; /* wichtig für runde Ecken beim Bild */
    text-align: center;
}

/* NEU: Standort-Bilder */
.kontakt-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.kontakt-card h3 {
    text-align: center;
    margin: 15px 0 12px 0;
    font-size: 22px;
    color: #96BA3B;
}

.kontakt-card p {
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: center;
    font-size: 16px;
}

.kontakt-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kontakt-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Kontaktformular */
.kontakt-form {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
}

.kontakt-form textarea {
    height: auto;
    min-height: 48px; /* gleiche Höhe wie Input */
    overflow: hidden;
    resize: none;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    border-color: #3AAADD;
    outline: none;
    box-shadow: 0 0 0 2px rgba(58,170,221,0.3);
}

.kontakt-form label {
    font-weight: bold;
}

/* Checkbox-Zeilen */
.kontakt-form .checkbox {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}

.kontakt-form .checkbox span {
    display: block;
    line-height: 1.4;
}

.kontakt-form .checkbox input {
    margin-top: 3px;
}

/* KLEINE CHECKBOX */
.kontakt-form .checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    border: 2px solid #3AAADD;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    margin-top: -2px;
}

/* Wenn angehakt */
.kontakt-form .checkbox input[type="checkbox"]:checked {
    background-color: #3AAADD;
    border-color: #3AAADD;
}

/* Haken */
.kontakt-form .checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2.5px;
    left: 8px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* CI-Blauer Button */
.btn-primary {
    background: #3AAADD;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}

.btn-primary:hover {
    background: #96BA3B;
}

.form-hinweis {
    font-size: 14px;
    color: #DE3A4F;
    text-align: center;
}