/* --- Formular Container --- */
.modern-form-container {
    width: 45vw;
    margin: 4vw auto;
    background: #181819;
    border-radius: 2vw;
    box-shadow: 0 8px 60px #000b;
    padding: 2.5vw 2.8vw 2vw 2.8vw;
    display: flex;
    flex-direction: column;
    gap: 1.1vw;
}

/* --- Headline --- */
.kontakt-headline {
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.03em;
    padding-top:7vw;
    color: #ffe761;
    font-size: 3.5vw;
    font-weight: 900;
    margin-bottom: 3vw;
    text-shadow: 0 1vw 3vw #ffe76144;
}

/* --- Input-Felder --- */
.modern-form .label-container {
    display: flex;
    gap: 1vw;
    margin-bottom: 0.7vw;
}
.modern-form .label-container > div {
    flex: 1 1 0;
}
.modern-form input,
.modern-form textarea {
    width: 100%;
    background: #232327;
    color: #ffe97a;
    font-size: 1.1vw;
    font-family: inherit;
    font-weight: 500;
    border: none;
    border-radius: 1.3vw;
    padding: 1vw 1.2vw;
    margin-bottom: 0.7vw;
    box-shadow: 0 2px 14px #0004;
    outline: none;
    transition: box-shadow 0.15s, background 0.13s;
}
.modern-form textarea {
    min-height: 6vw;
    resize: vertical;
}
.modern-form input:focus,
.modern-form textarea:focus {
    box-shadow: 0 4px 24px #ffe97a22;
    background: #252529;
    color: #fff;
}
.modern-form input::placeholder,
.modern-form textarea::placeholder {
    color: #ffe97a;
    opacity: 0.78;
    font-size: 1.1vw;
    font-weight: 500;
}

/* --- Checkbox --- */
.modern-form label {
    color: #fff;
    font-size: 1vw;
    display: flex;
    align-items: flex-start;
    gap: 0.7vw;
    margin: 1vw 0 0.6vw 0;
    font-weight: 500;
}
.modern-form input[type="checkbox"] {
    accent-color: #ffe97a;
    width: 1vw;
    height: 1vw;
    min-width: 18px;
    min-height: 18px;
    margin-top: 0.22vw;
}

/* --- Button --- */
.modern-btn, .modern-form button {
    width: 100%;
    background: #ffe97a;
    color: #181819;
    border: none;
    border-radius: 1vw;
    padding: 1vw 0;
    font-size: 1.35vw;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-top: 0.7vw;
    box-shadow: 0 3px 18px #0008;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.modern-btn:hover, .modern-form button:hover {
    background: #fffbe6;
    color: #181819;
}
.modern-btn:active, .modern-form button:active {
    background: #ffe15a;
}

/* --- Responsiv für Mobil --- */
@media (max-width: 900px), (orientation: portrait) {
    .modern-form-container {
        width: 93vw;
        min-width: unset;
        max-width: unset;
        padding: 6vw 3vw 5vw 3vw;
        border-radius: 5vw;
        gap: 2vw;
    }
    .kontakt-headline {
        font-size: 6vw;
        margin-bottom: 6vw;
        margin-top: 12vw;
    }
    .modern-form .label-container {
        flex-direction: column;
        gap: 0;
    }
    .modern-form input,
    .modern-form textarea {
        font-size: 4vw;
        border-radius: 3vw;
        padding: 3vw 4vw;
    }
    .modern-form textarea {
        min-height: 18vw;
    }
    .modern-form label {
        font-size: 3vw;
    }
    .modern-form input[type="checkbox"] {
        width: 5vw; height: 5vw;
        min-width: 24px; min-height: 24px;
    }
    .modern-btn, .modern-form button {
        font-size: 5vw;
        border-radius: 3vw;
        padding: 1vw 0;
    }
}

.modern-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.9vw;
    font-size: 1vw;
    color: #fff;
    font-weight: 500;
    margin: 1vw 0 0.6vw 0;
    line-height: 1.5;
    max-width: 100%;
}
.modern-checkbox-label input[type="checkbox"] {
    accent-color: #ffe97a;
    width: 1.15vw;
    height: 1.15vw;
    min-width: 18px;
    min-height: 18px;
    margin-top: 0.18vw;
    flex-shrink: 0;
}
.modern-checkbox-label span {
    display: block;
    /* Falls noch nicht: sorgt für ordentlichen Umbruch */
    word-break: break-word;
}
.modern-checkbox-label a {
    color: #ffe97a;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}
.modern-checkbox-label a:hover {
    color: #fffbe6;
}
@media (max-width: 900px), (orientation: portrait) {
    .modern-checkbox-label {
        font-size: 3vw;
        gap: 2vw;
    }
    .modern-checkbox-label input[type="checkbox"] {
        width: 5vw; height: 5vw;
        min-width: 22px; min-height: 22px;
    }
}


/* ende kontaktformular, anfang impressum und datenschutz*/

.center {
    text-align: center;
}

.impressum-main {
    max-width: 62vw;
    margin: 15vw auto 3vw auto;
    color: #fff;
}



.imp-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw 7vw;
    margin-bottom: 2vw;
}

.imp-block {
    flex: 1 1 22vw;
    min-width: 20vw;
    max-width: 27vw;
    margin-bottom: 2vw;
}

.imp-block h3 {
    color: #4bf1f7;
    font-size: 1.38vw;
    font-weight: 700;
    margin-bottom: 0.3vw;
    letter-spacing: 0.01em;
}

.imp-block p {
    font-size: 1.19vw;
    font-weight: 400;
    margin: 0 0 0.7vw 0;
}

.imp-mail {
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    word-break: break-all;
}

.datenschutz-text {
    margin: 0 auto;
    text-align: left;
    font-size: 1.07vw;
    color: #eee;
    padding-bottom: 2vw;
    max-width: 56vw;
}

.datenschutz-text b {
    color: #ffe761;
    font-weight: 800;
}

.datenschutz-text hr {
    border: none;
    border-top: 1px solid #444;
    margin: 1.5vw 0;
}

/* Responsive Design */
@media (max-width: 950px), (orientation: portrait) {
    .impressum-main { max-width: 98vw; padding-top: 7vw; }
    .impressum-main h2 { font-size: 6vw; margin-bottom: 4vw; }
    .imp-columns { flex-direction: column; gap: 0.8vw; }
    .imp-block { min-width: unset; max-width: unset; margin-bottom: 3.5vw;}
    .imp-block h3 { font-size: 4vw; margin-bottom: 0.7vw;}
    .imp-block p { font-size: 3.5vw; margin-bottom: 2vw;}
    .datenschutz-text { font-size: 3vw; max-width: 97vw; padding-bottom: 6vw;}
}
