/* Foody aanmeldsite. Kleuren komen uit foody-theme.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--foody-ink);
    background: var(--foody-cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Outfit', sans-serif; line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -0.01em; }
a { color: var(--foody-primary); }
a:hover { color: var(--foody-primary-hover); }

.ob-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Kopbalk */
.ob-top { background: #fff; border-bottom: 1px solid rgba(31, 26, 23, 0.08); position: sticky; top: 0; z-index: 10; }
.ob-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.ob-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ob-logo img { height: 40px; width: auto; display: block; }
.ob-top-nav { display: flex; gap: 1.1rem; align-items: center; font-weight: 600; font-size: .92rem; }
.ob-top-nav a { color: var(--foody-ink); text-decoration: none; }
.ob-top-nav a:hover { color: var(--foody-primary); }
.ob-top-login { padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--foody-ink); }

/* Hero */
/* Logoblauw met donkere tekst: wit op #3FAFFD is te zwak (2,4:1), marineblauw haalt ruim 6:1. */
.ob-hero {
    background: var(--foody-brand);
    color: var(--foody-ink);
    padding: 3.25rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.ob-hero::after {
    content: ""; position: absolute; right: -90px; top: -70px; width: 340px; height: 340px; border-radius: 50%;
    background: rgba(255, 255, 255, .22);
}
.ob-hero::before {
    content: ""; position: absolute; right: 140px; bottom: -120px; width: 220px; height: 220px; border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}
.ob-hero .ob-wrap { position: relative; z-index: 1; }
.ob-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); max-width: 16ch; }
.ob-lead { font-size: 1.1rem; max-width: 52ch; opacity: .95; margin: 0 0 1.6rem; }
.ob-eyebrow {
    display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: 999px; background: #fff; color: var(--foody-primary); margin-bottom: .9rem;
}
.ob-card .ob-eyebrow { background: var(--foody-primary-soft); color: var(--foody-primary); }
.ob-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ob-benefits li {
    display: flex; gap: .65rem; align-items: flex-start; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
    padding: .85rem 1rem; border-radius: 14px; font-weight: 600;
}
.ob-check {
    flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--foody-ink); position: relative; margin-top: 1px;
}
.ob-check::after {
    content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Hoofdgedeelte */
.ob-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; margin-top: -1.5rem; margin-bottom: 3rem; position: relative; z-index: 2; }
.ob-card {
    background: #fff; border-radius: 20px; padding: 1.75rem; border: 1px solid rgba(31, 26, 23, 0.07);
    box-shadow: 0 18px 40px -24px rgba(31, 26, 23, .35);
}
.ob-card h2 { font-size: 1.6rem; }
.ob-card-small { padding: 1.35rem; }
.ob-card-small h3 { font-size: 1.1rem; }
.ob-side { display: flex; flex-direction: column; gap: 1rem; }
.ob-muted { color: var(--foody-ink-soft); }
.ob-small { font-size: .88rem; }

.ob-step { border: 0; padding: 0; margin: 1.6rem 0 0; min-width: 0; }
.ob-step legend { display: flex; align-items: center; gap: .6rem; font: 700 1.05rem 'Outfit', sans-serif; margin-bottom: .9rem; padding: 0; }
.ob-step legend small { font: 500 .85rem 'Plus Jakarta Sans', sans-serif; color: var(--foody-ink-soft); }
.ob-step-nr {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--foody-ink); color: #fff; font-size: .85rem;
}

.ob-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.ob-full { grid-column: 1 / -1; }
.ob-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ob-field label { font-weight: 600; font-size: .88rem; }
.ob-opt { font-weight: 400; color: var(--foody-ink-soft); }
.ob-field input:not([type=checkbox]):not([type=radio]) {
    width: 100%; padding: .75rem .85rem; border-radius: 12px; border: 1.5px solid rgba(31, 26, 23, .15);
    font: inherit; font-size: 1rem; background: #fff; color: var(--foody-ink);
    transition: border-color .15s, box-shadow .15s;
}
.ob-field input:focus { outline: none; border-color: var(--foody-primary); box-shadow: 0 0 0 4px rgba(var(--foody-primary-rgb), .15); }
.ob-field input.is-invalid { border-color: var(--foody-danger); }
.ob-hint { font-size: .78rem; color: var(--foody-ink-soft); }
.field-error { color: var(--foody-danger); font-size: .8rem; margin: 0; font-weight: 600; }

.ob-choices { display: grid; gap: .75rem; }
.ob-choice {
    display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; cursor: pointer;
    border: 1.5px solid rgba(31, 26, 23, .15); transition: border-color .15s, background .15s;
}
.ob-choice:has(input:checked) { border-color: var(--foody-primary); background: var(--foody-primary-soft); }
.ob-choice input { margin-top: .25rem; accent-color: var(--foody-primary); width: 18px; height: 18px; flex: none; }
.ob-choice-body { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; color: var(--foody-ink-soft); }
.ob-choice-body strong { color: var(--foody-ink); font-size: 1rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.ob-badge { font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--foody-accent); color: var(--foody-ink); }

.ob-apps { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.ob-app {
    display: inline-flex; flex-direction: column; padding: .55rem 1rem; border-radius: 12px; background: var(--foody-ink); color: #fff;
    text-decoration: none; font-weight: 700; line-height: 1.15; min-width: 150px;
}
.ob-app small { font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.ob-app:hover { color: #fff; background: #000; }

.ob-terms { margin-top: 1.4rem; }
.ob-checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500 !important; font-size: .9rem !important; cursor: pointer; }
.ob-checkbox input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--foody-primary); flex: none; }

.ob-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.ob-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px;
    border: 1.5px solid var(--foody-primary); background: var(--foody-primary); color: #fff; font: 700 1rem 'Outfit', sans-serif;
    cursor: pointer; text-decoration: none; transition: background .15s, transform .1s;
}
.ob-btn:hover { background: var(--foody-primary-hover); border-color: var(--foody-primary-hover); color: #fff; }
.ob-btn:active { transform: translateY(1px); }
.ob-btn:disabled { opacity: .6; cursor: wait; }
.ob-btn-ghost { background: transparent; color: var(--foody-ink); border-color: rgba(31, 26, 23, .2); }
.ob-btn-ghost:hover { background: var(--foody-primary-soft); color: var(--foody-ink); border-color: var(--foody-primary); }
.ob-card-small .ob-btn { width: 100%; }

.ob-alert { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.ob-alert.error { background: rgba(217, 58, 43, .08); color: var(--foody-danger); border: 1px solid rgba(217, 58, 43, .25); }
.ob-alert.success { background: rgba(31, 157, 99, .1); color: var(--foody-success); border: 1px solid rgba(31, 157, 99, .25); }

.ob-contact {
    display: flex; flex-direction: column; padding: .7rem .9rem; border-radius: 12px; background: var(--foody-cream);
    text-decoration: none; color: var(--foody-ink); font-weight: 700; margin-top: .55rem; word-break: break-word;
}
.ob-contact span { font-size: .72rem; font-weight: 600; color: var(--foody-ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.ob-contact:hover { background: var(--foody-primary-soft); color: var(--foody-ink); }

.spinner {
    width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff;
    animation: ob-spin .7s linear infinite;
}
@keyframes ob-spin { to { transform: rotate(360deg); } }

/* Bedankt-pagina */
.ob-done { padding: 3rem 16px; max-width: 680px; }
.ob-done .ob-card { text-align: center; }
.ob-done h1 { font-size: 1.8rem; }
.ob-done .ob-actions { justify-content: center; }
.ob-done-icon {
    width: 64px; height: 64px; border-radius: 50%; background: var(--foody-primary); margin: 0 auto 1rem; position: relative;
}
.ob-done-icon::after {
    content: ""; position: absolute; left: 24px; top: 14px; width: 13px; height: 26px;
    border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg);
}

/* Voettekst */
.ob-footer { background: var(--foody-ink); color: rgba(255, 255, 255, .78); padding: 2rem 0; font-size: .88rem; }
.ob-footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.ob-footer p { margin: .15rem 0; }
.ob-footer a { color: #fff; }
.ob-footer-logo { display: block; height: 36px; width: auto; margin-bottom: .6rem; }
.ob-footer p { max-width: 46ch; }

/* Voorwaardenpagina */
.ob-legal { padding: 2rem 16px 3rem; max-width: 860px; }
.ob-legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ob-legal-toc { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 1.5rem; }
.ob-legal-toc a {
    font-size: .78rem; font-weight: 600; text-decoration: none; padding: .25rem .55rem; border-radius: 999px;
    background: var(--foody-primary-soft); color: var(--foody-primary);
}
.ob-legal-body h2 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; padding-top: .4rem; scroll-margin-top: 80px; }
.ob-legal-body h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.ob-legal-body p, .ob-legal-body li { font-size: .95rem; color: var(--foody-ink); }
.ob-legal-body p { margin: 0 0 .6rem; }
.ob-legal-body .lid { display: grid; grid-template-columns: 1.8rem 1fr; }
.ob-legal-body .lid-nr { font-weight: 700; color: var(--foody-primary); }
.ob-legal-body ul { margin: .2rem 0 .9rem; padding-left: 2.6rem; }
.ob-legal-body li { margin-bottom: .35rem; }
.ob-legal-body li small { display: block; margin-top: .35rem; font-size: .9rem; color: var(--foody-ink-soft); }
.ob-legal-foot { margin-top: 1.6rem; }
@media print {
    .ob-top, .ob-footer, .ob-legal-toc, .ob-actions { display: none !important; }
    .ob-card { box-shadow: none; border: 0; padding: 0; }
}
.ob-footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: flex-start; }

@media (max-width: 900px) {
    .ob-main { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ob-hero { padding: 2.25rem 0 2.75rem; }
    .ob-grid { grid-template-columns: 1fr; }
    .ob-card { padding: 1.25rem; border-radius: 16px; }
    .ob-top-nav a:not(.ob-top-login) { display: none; }
    .ob-actions .ob-btn { width: 100%; }
    .ob-app { flex: 1 1 140px; min-width: 0; }
}
