﻿:root {
    --primary: #0055a5;
    --primary-h: #003f7d;
    --accent: #00bcd4;
    --text: #1a1a1a;
    --text-muted: #555;
    --border: #d8dde5;
    --card-bg: #fff;
    --radius: 6px;
}

.head-image {
    margin-bottom: 10px;
}

    .head-image img {
        width: 100%;
        height: auto;
        max-width: 900px;
    }


.input-error {
    border: 1.5px solid #e53935 !important;
    background-color: #fff5f5 !important;
}

/* ─── uhr Banner ───────────────────────────────────── */
.uhr-banner {
    background: #e9ecf0;
    overflow: hidden;
}

/* DESKTOP: full-width banner, title floats left inside it */
@media (min-width: 768px) {
    .uhr-banner {
        position: relative;
        height: 200px;
    }

    .uhr-banner__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .uhr-banner__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(255,255,255,.85) 0%, rgba(255,255,255,.55) 38%, transparent 65%);
    }

    .uhr-banner__text {
        /*position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);*/
    }
}

/* MOBILE: image small + title side by side */
@media (max-width: 767.98px) {
    .uhr-banner {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 18px 20px;
    }

    .uhr-banner__img {
        width: 180px;
        max-width: 180px;
        height: 110px;
        object-fit: cover;
        border-radius: var(--radius);
        flex-shrink: 0;
    }

    .uhr-banner__overlay {
        display: none;
    }

    .uhr-banner__text {
        flex: 1;
    }
}

.uhr-banner__breadcrumb {
    font-size: .75rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 2px;
    margin-bottom: 6px;
}

.uhr-banner__title {
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.15;
}







.page-body {
    max-width: 1060px;
    margin: 0 auto;
    padding: 52px 24px 72px;
}

/* ─── Headline block ────────────────────────────────── */
.headline {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 22px;
    line-height: 1.2;
    max-width: 680px;
}

.intro-text {
    font-size: clamp(.88rem, 1.3vw, 1rem);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 0 52px;
}

    .intro-text strong {
        color: var(--red);
        font-weight: 700;
    }

/* ─── Form section heading ──────────────────────────── */
.form-section-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text);
    margin: 0 0 20px;
}

/* ─── Form layout ───────────────────────────────────── */
.cv-form-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0 28px;
    align-items: start;
}

@media (max-width: 760px) {
    .cv-form-grid {
        grid-template-columns: 1fr;
    }

    .drop-col {
        order: -1;
        margin-bottom: 20px;
    }
}

/* ─── Labels & required star ────────────────────────── */
.field-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

    .field-label .req {
        color: var(--red);
        margin-left: 2px;
    }

/* ─── Inputs ────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    margin-bottom: 18px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.field-group {
    margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Titillium Web', sans-serif;
    font-size: .86rem;
    color: var(--text);
    padding: 10px 14px;
    outline: none;
    transition: border-color .2s;
    resize: none;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus {
        border-color: var(--primary);
        background: #fff;
    }

    input::placeholder,
    textarea::placeholder {
        color: #aab0ba;
    }

textarea {
    height: 230px;
}

/* ─── CV Drop zone ──────────────────────────────────── */
.drop-zone {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    max-height: 390px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--input-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
    overflow: hidden;
}

    .drop-zone:hover,
    .drop-zone.dragover {
        border-color: var(--primary);
        background: #eef4fb;
    }

    .drop-zone input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        width: 100%;
        height: 100%;
    }

.drop-icon {
    width: 64px;
    height: 64px;
    opacity: .28;
}

.drop-hint {
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 16px;
    pointer-events: none;
}

.drop-filename {
    font-size: .78rem;
    color: var(--primary);
    font-weight: 600;
    display: none;
    text-align: center;
    padding: 0 12px;
    word-break: break-all;
}

/* ─── Submit button ─────────────────────────────────── */
.btn-submit {
    margin-top: 10px;
    background: #0156b3;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'Titillium Web', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 11px 32px;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

    .btn-submit:hover {
        background: #003f7d;
        transform: translateY(-1px);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

/* ─── Success message ───────────────────────────────── */
.success-msg {
    display: none;
    margin-top: 16px;
    font-size: .86rem;
    color: #1a7a3c;
    font-weight: 600;
}