/* ============================================================
   cl_registreer.css — OffRio 2040 · Registratie pagina
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --marine:      #0f3d2e;
    --marine-mid:  #1a5c44;
    --goud:        #c2a164;
    --goud-licht:  #d4b87a;
    --goud-dim:    rgba(194,161,100,.14);
    --goud-rand:   rgba(194,161,100,.3);
    --wit:         #ffffff;
    --pagina-bg:   #f4f1eb;
    --rand:        #e3ddd4;
    --tekst:       #1a1a1a;
    --tekst-zacht: #6b6560;
    --rood:        #c53030;
    --rood-dim:    rgba(197,48,48,.1);
}

html, body { height: 100%; font-family: 'DM Sans', sans-serif; }

body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: var(--marine);
}

/* ── BRAND PANEEL ────────────────────────────────────────────── */
.brand-paneel {
    background: var(--marine);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
}

.brand-paneel::before {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(194,161,100,.1);
    bottom: -160px; left: -100px;
    pointer-events: none;
}

.brand-paneel::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(194,161,100,.07);
    bottom: -60px; left: 60px;
    pointer-events: none;
}

.goud-cirkel {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194,161,100,.18) 0%, transparent 70%);
    top: -40px; right: -40px;
    pointer-events: none;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.brand-logo-mark {
    width: 38px; height: 38px;
    background: var(--goud);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.brand-logo-naam {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--wit);
    letter-spacing: -.4px;
}

.brand-logo-naam span { color: var(--goud); }

.brand-logo-jaar {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.3);
    letter-spacing: 1px;
    margin-left: 2px;
}

.brand-midden { position: relative; }

.brand-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--goud);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-label::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--goud);
    border-radius: 2px;
}

.brand-tagline {
    font-family: 'Syne', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--wit);
    letter-spacing: -.8px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.brand-tagline em { font-style: normal; color: var(--goud); }

.brand-omschrijving {
    font-size: 14px;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    font-weight: 300;
    max-width: 340px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: rgba(255,255,255,.6);
}

.feature-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--goud);
    flex-shrink: 0;
}

.brand-footer {
    font-size: 12px;
    color: rgba(255,255,255,.25);
    position: relative;
}

/* ── FORMULIER PANEEL ────────────────────────────────────────── */
.form-paneel {
    background: var(--pagina-bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.form-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 52px 48px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.form-header { margin-bottom: 32px; }

.form-titel {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--marine);
    letter-spacing: -.4px;
    margin-bottom: 6px;
}

.form-subtitel {
    font-size: 14px;
    color: var(--tekst-zacht);
    font-weight: 300;
}

/* ── FOUTMELDING ──────────────────────────────────────────────── */
.fout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--rood-dim);
    border: 1px solid rgba(197,48,48,.2);
    border-left: 3px solid var(--rood);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 22px;
    font-size: 13.5px;
    color: var(--rood);
    animation: slideIn .25s ease;
}

.fout-icoon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── FORMULIER SECTIES ───────────────────────────────────────── */
.form-sectie {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
}

.form-sectie:first-of-type { margin-top: 0; }

.form-sectie-lijn {
    flex: 1;
    height: 1px;
    background: var(--rand);
}

.form-sectie-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--goud);
    white-space: nowrap;
}

/* ── VELDEN ──────────────────────────────────────────────────── */
.veld-groep { margin-bottom: 14px; }

.veld-rij {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--tekst-zacht);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
.veld-select {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--tekst);
    background: var(--wit);
    border: 1.5px solid var(--rand);
    border-radius: 9px;
    padding: 11px 14px;
    transition: border-color .18s, box-shadow .18s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.veld-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

input::placeholder { color: #b8b0a8; font-weight: 300; }

input:focus, .veld-select:focus {
    border-color: var(--goud);
    box-shadow: 0 0 0 3px var(--goud-dim);
}

input[name="kvk_nummer"] {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 15px;
}

/* ── INFO BLOK ────────────────────────────────────────────────── */
.info-blok {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--goud-dim);
    border: 1px solid var(--goud-rand);
    border-radius: 9px;
    padding: 12px 16px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--tekst-zacht);
    line-height: 1.5;
}

.info-blok strong { color: var(--marine); }
.info-blok-icoon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── SUBMIT KNOP ──────────────────────────────────────────────── */
.btn-submit {
    width: 100%;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: var(--marine);
    color: var(--wit);
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--marine-mid);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15,61,46,.25);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit-pijl {
    font-size: 16px;
    transition: transform .2s;
}

.btn-submit:hover .btn-submit-pijl { transform: translateX(3px); }

/* ── FOOTER LINK ──────────────────────────────────────────────── */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13.5px;
    color: var(--tekst-zacht);
}

.link {
    color: var(--marine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--goud-rand);
    transition: border-color .15s;
}

.link:hover { border-color: var(--goud); color: var(--marine-mid); }

/* ── SUCCES SCHERM ────────────────────────────────────────────── */
.succes-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 48px;
}

.succes-ring {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--marine), var(--marine-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 28px;
    box-shadow: 0 0 0 12px rgba(15,61,46,.08), 0 8px 32px rgba(15,61,46,.2);
    animation: popIn .4s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(.6); }
    to   { opacity: 1; transform: scale(1); }
}

.succes-titel {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--marine);
    letter-spacing: -.4px;
    margin-bottom: 8px;
}

.succes-naam { font-size: 15px; font-weight: 600; color: var(--marine); margin-bottom: 4px; }
.succes-detail { font-size: 13.5px; color: var(--tekst-zacht); margin-bottom: 3px; }

.succes-detail.kvk {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 13px;
    color: var(--goud);
    margin-bottom: 20px;
}

.succes-info {
    background: var(--goud-dim);
    border: 1px solid var(--goud-rand);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 13.5px;
    color: var(--tekst-zacht);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 360px;
}

.succes-info strong { color: var(--marine); }

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 10px;
    background: var(--marine);
    color: var(--wit);
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(15,61,46,.2);
}

.btn-login:hover {
    background: var(--marine-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15,61,46,.28);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    body { grid-template-columns: 1fr; }
    .brand-paneel { padding: 32px 28px 28px; min-height: auto; }
    .brand-tagline { font-size: 24px; }
    .brand-features { display: none; }
    .brand-footer { display: none; }
    .brand-midden { margin: 20px 0 4px; }
    .form-inner { padding: 36px 28px; }
}

@media (max-width: 520px) {
    .form-inner { padding: 28px 20px; }
    .veld-rij { grid-template-columns: 1fr; }
    .brand-paneel { padding: 24px 20px; }
}