/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red: #e3000f;
    --red-dark: #c4000d;
    --green: #5aa812;
    --green-dark: #4d9210;
    --blue: #16386b;
    --grey-bg: #f0efe9;
    --text: #333;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: .2s;
    text-transform: uppercase;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: #f0f0f0; }
.btn-white-sm {
    background: #fff; color: var(--red);
    padding: 8px 20px; font-size: 13px; border-radius: 20px;
}
.btn-outline {
    background: transparent; color: var(--green);
    border: 2px solid var(--green); padding: 12px 32px;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ============ SECTION TITLE ============ */
.section-title {
    font-size: 30px;
    color: var(--red);
    margin-bottom: 18px;
    font-weight: 800;
}
.section-title.center { text-align: center; }
.subtitle { margin-bottom: 30px; color: #555; }

/* ============ HEADER ============ */
.topbar {
    background: var(--red);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.topbar-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo-mark {
    background: #fff; color: var(--red);
    font-weight: 800; font-size: 16px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
}
.logo-text { font-weight: 800; font-size: 13px; line-height: 1.05; letter-spacing: .5px; }

.main-nav ul { display: flex; gap: 20px; }
.main-nav a { font-size: 14px; font-weight: 700; }
.main-nav a:hover { text-decoration: underline; }
.has-caret::after { content: " \25BE"; font-size: 10px; }

.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-link { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.top-link:hover { text-decoration: underline; }
.ic-search, .ic-chat, .ic-user { font-size: 15px; }

/* feedback tab */
.feedback-tab {
    position: fixed;
    right: 0; top: 50%;
    transform: translateY(-50%) rotate(0deg);
    writing-mode: vertical-rl;
    background: #fff;
    color: var(--red);
    border: 1px solid #ddd;
    border-right: none;
    padding: 16px 8px;
    font-size: 13px; font-weight: 700;
    border-radius: 6px 0 0 6px;
    z-index: 90;
    box-shadow: -2px 0 8px rgba(0,0,0,.08);
}
.feedback-tab:hover { background: #f5f5f5; }

.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span {
    display: block; width: 26px; height: 3px; background: #fff;
    margin: 5px 0; border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
    background: var(--red);
    color: #fff;
    padding: 40px 0 70px;
    text-align: center;
}
.hero-badge {
    position: relative;
    display: inline-block;
    margin: 10px auto 20px;
}
.hero-img { max-width: 640px; width: 100%; margin: 0 auto; }
.hero-title {
    font-size: 44px;
    font-weight: 800;
    margin: 30px 0 28px;
}
.hero-cta { margin-bottom: 45px; }
.hero-cta .btn { font-size: 17px; padding: 16px 40px; }

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 900px;
    margin: 0 auto;
}
.hero-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    text-align: left;
    transition: transform .2s;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-img { height: 140px; overflow: hidden; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    color: #333;
    font-weight: 700;
    font-size: 15px;
}
.hero-card-foot .arrow { color: var(--green); font-style: normal; font-size: 22px; font-weight: 800; }

/* ============ NEWS ============ */
.news { background: #fff; }
.news-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 40px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.news-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.news-body { padding: 22px; }
.news-body h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #1a5b8a;
    font-weight: 800;
    line-height: 1.2;
}
.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}
.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tag-red { background: var(--red); }
.news-date { font-size: 13px; color: #777; white-space: nowrap; }
.news-body p { font-size: 14px; color: #555; margin-bottom: 18px; }
.lees-meer {
    color: #1a5b8a;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lees-meer:hover { text-decoration: underline; }
.circle-arrow {
    width: 22px; height: 22px;
    border: 2px solid #1a5b8a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.btn-outline-blue {
    background: transparent;
    color: #1a5b8a;
    border: 2px solid #1a5b8a;
    padding: 14px 40px;
    text-transform: none;
}
.btn-outline-blue:hover { background: #1a5b8a; color: #fff; }

/* ============ SPLIT LAYOUT ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.split-text p { margin-bottom: 16px; color: #555; }
.split-text.light { color: #fff; }
.split-text.light p { color: rgba(255,255,255,.9); }

/* ============ SPEEL MEE ============ */
.speelmee { background: var(--grey-bg); }
.split-media { position: relative; }
.straatprijs-badge {
    position: absolute;
    top: -12px; right: 20px;
    background: var(--red); color: #fff;
    font-weight: 800; font-size: 18px;
    padding: 12px 26px;
    border-radius: 8px;
    transform: rotate(-4deg);
    z-index: 2;
}

/* ============ WINACTIES ============ */
.winacties { background: #fff; }
.winacties-img { max-width: 360px; margin: 0 auto; }

/* ============ GOEDE DOELEN ============ */
.goededoelen {
    background: #2fa004;
    padding: 90px 0;
}
.goededoelen-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 22px;
}
.goededoelen-title span {
    color: #fff;
    background: rgba(120,160,120,.55);
    padding: 4px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.goededoelen-text {
    color: #fff;
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 16px;
    background: rgba(120,160,120,.45);
    padding: 6px 10px;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 36px;
    text-transform: none;
}
.btn-outline-white:hover { background: #fff; color: #2fa004; }

/* inline link */
.inline-link { color: #1a5b8a; text-decoration: underline; font-weight: 600; }

/* ============ DARK SECTION ============ */
.darksection {
    background: #1c2415;
    background-image: linear-gradient(90deg, rgba(10,15,8,.5), rgba(10,15,8,.85)), radial-gradient(circle at 30% 40%, #3a4a26, #141a0d);
    padding: 90px 0;
}
.darksection-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}
.darksection-text { max-width: 420px; color: #fff; }
.darksection-text p { color: rgba(255,255,255,.92); margin-bottom: 26px; }
.light-title { color: #fff; }

/* ============ PLUS / PREMIUM ============ */
.pluspremium { background: var(--grey-bg); }
.plus-subtitle { color: var(--red); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.split-media img { max-width: 100%; }
.btn-outline-red {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    padding: 14px 36px;
    text-transform: none;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }
.plus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    text-align: left;
}
.plus-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.plus-card-dark { background: var(--blue); color: #fff; }
.plus-card h3 { font-size: 20px; margin-bottom: 10px; }
.plus-card p { font-size: 14px; color: inherit; opacity: .85; }
.plus-amount {
    background: var(--red); color: #fff;
    font-weight: 900; font-size: 24px;
    padding: 18px; border-radius: 12px;
    text-align: center; flex-shrink: 0;
    min-width: 130px;
}
.plus-amount.light { background: #ffd400; color: var(--blue); font-size: 18px; }

/* ============ APP ============ */
.appsection { background: var(--red); }
.store-badges { display: flex; gap: 14px; margin-top: 20px; }
.store-img { max-width: 320px; }

/* ============ HOW (BLUE) ============ */
.howsection { background: var(--blue); padding: 70px 0; }

/* ============ NEWSLETTER ============ */
.newsletter { background: #fff; }
.newsletter-label { font-weight: 700; color: #333; margin-bottom: 10px; }
.newsletter-form {
    display: flex;
    align-items: center;
    max-width: 420px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    background: #fdf7f2;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}
.newsletter-btn {
    background: var(--green);
    color: #fff;
    border: none;
    width: 44px;
    align-self: stretch;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
}
.newsletter-btn:hover { background: var(--green-dark); }
.form-msg { margin-top: 12px; color: var(--green); font-weight: 700; min-height: 20px; }

/* ============ SOCIAL ============ */
.social { background: var(--grey-bg); padding: 40px 0; }
.social-heading { color: var(--red); font-size: 16px; margin-bottom: 22px; }
.social-icons { display: flex; justify-content: center; gap: 40px; }
.social-link img { width: 40px; height: 40px; }
.social-link:hover { opacity: .7; }

/* ============ FOOTER ============ */
.footer { background: #fff; color: #333; padding-top: 60px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 50px;
    text-align: center;
}
.footer-col h4 { color: var(--red); font-size: 15px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: #333; text-decoration: underline; }
.footer-col a:hover { color: var(--red); }

.footer-legal {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 26px 0;
    margin: 0 20px;
}
.legal-links { text-align: center; font-size: 14px; color: #333; }
.legal-links a { text-decoration: underline; color: #333; }
.legal-links a:hover { color: var(--red); }

.footer-bottom {
    padding: 36px 0;
    font-size: 13px;
    color: #777;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-18 { height: 34px; width: auto; margin: 14px auto 0; }

/* ============ REGISTRATIE MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 40px 16px;
    overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 14px;
    padding: 34px 32px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: modalIn .25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: none;
    font-size: 30px; line-height: 1;
    color: #999; cursor: pointer;
}
.modal-close:hover { color: var(--red); }
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-head .logo-mark {
    background: var(--red); color: #fff;
    margin: 0 auto 14px; width: 46px; height: 46px; font-size: 18px;
}
.modal-head h2 { color: var(--red); font-size: 24px; margin-bottom: 8px; }
.modal-head p { color: #666; font-size: 14px; }
.reg-form { display: flex; flex-direction: column; gap: 14px; }
.reg-form label { font-size: 13px; font-weight: 700; color: #333; display: flex; flex-direction: column; gap: 6px; }
.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="password"] {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
}
.reg-form input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.reg-check { flex-direction: row !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 13px !important; }
.reg-check input { margin-top: 3px; }
.reg-submit { margin-top: 6px; width: 100%; text-align: center; }
.reg-msg { margin-top: 14px; text-align: center; color: var(--green); font-weight: 700; min-height: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .main-nav, .topbar-actions { display: none; }
    .burger { display: block; margin-left: auto; }
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--red);
        padding: 20px;
    }
    .main-nav.open ul { flex-direction: column; gap: 14px; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .news-grid { grid-template-columns: 1fr; }
    .plus-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-cards { grid-template-columns: 1fr; max-width: 360px; }
    .hero-title { font-size: 30px; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-bottom { flex-direction: column; }
    .section-title { font-size: 24px; }
}
