*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #3f3838;
    color: #f5f2f2;
    font-family: Arial, sans-serif;
}

.box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(90deg, #1c6bff 0%, #aa0000 100%);
    font-size: 20px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link {
    padding: 7px 14px;
    border-radius: 6px;
    background: #1c6bff;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.link:hover {
    background: #124fc5;
    color: #fff;
    transform: translateY(-2px);
}

.contact-page {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: min(100% - 40px, 1050px);
    margin: 0 auto;
    padding: 64px 0;
}

.contact-intro {
    flex: 0 1 38%;
    max-width: 38%;
    margin: 0;
    text-align: center;
}

.eyebrow,
.aside-label {
    margin: 0 0 12px;
    color: #a9c5ff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.16em;
}

.contact-intro h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
}

.contact-intro > p:last-child {
    margin: 0;
    color: #d0caca;
    font-size: 18px;
    line-height: 1.65;
}

.contact-card {
    flex: 1 1 62%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: #24242f;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 24px;
}

.input-box h2,
.contact-aside h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
}

.form-note {
    margin: -4px 0 4px;
    color: #bdbbc8;
    font-size: 14px;
    line-height: 1.5;
}

.input-box label {
    color: #e8e6ed;
    font-size: 14px;
    font-weight: bold;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #494958;
    border-radius: 9px;
    outline: none;
    background: #30303d;
    color: #fff;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
    color: #aaa9b6;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: #6f9fff;
    box-shadow: 0 0 0 3px rgba(111, 159, 255, 0.18);
}

.input-box textarea {
    min-height: 50px;
    resize: vertical;
}

.input-box button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: #1c6bff;
    color: #fff;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.input-box button:hover {
    transform: translateY(-2px);
    background: #124fc5;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 24px;
    background: linear-gradient(145deg, #244987, #542b4d);
}

.profiel {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1;
    margin: 0 auto 12px;
    border: 4px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.contact-aside > p:not(.aside-label) {
    margin: 8px 0 20px;
    color: #e3deea;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #f4eff7;
    font-size: 13px;
}

.status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75e0a1;
    box-shadow: 0 0 10px rgba(117, 224, 161, 0.75);
}

@media (max-width: 700px) {
    .box {
        flex-wrap: wrap;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 6px;
    }

    .link {
        padding: 6px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    .contact-page {
        flex-direction: column;
        width: min(100% - 28px, 520px);
        padding: 40px 0;
    }

    .contact-intro {
        flex: none;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .contact-intro > p:last-child {
        font-size: 16px;
    }

    .contact-card {
        flex: none;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .input-box {
        padding: 18px;
    }

    .contact-aside {
        padding: 18px 24px;
    }

    .profiel {
        width: min(100%, 150px);
        margin-bottom: 12px;
    }
}
