/* ============================================================
   Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'Miller Display';
    src: url('Miller Display Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Miller Display';
    src: url('fonnts.com-Miller_Display_Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: #4D6988;
    background: #fff;
    line-height: 1.6;
    font-size: 20px;
    font-weight: 300;
}

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

/* ============================================================
   Variables
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Miller Display', Georgia, serif;
    color: #012955;
}


:root {
    --teal: #1a9688;
    --teal-dark: #157a6e;
    --teal-light: #e8f5f3;
    --navy: #1a1a2e;
    --gray-bg: #f4f6f8;
    --gray-light: #e8eaed;
    --text-muted: #6b7280;
    --radius: 48px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --max-width: 1400px;
}

/* ============================================================
   Utilities
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
    margin-top: 30px;
}

.btn.btn-primary {
    background: #20BD80;
    color: #fff;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-block { width: 100%; margin-top: 16px; padding: 14px; font-size: 1rem; border-radius: var(--radius); }

header .btn{margin: 0}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gray-bg);
    box-shadow: 0 1px 0 var(--gray-light);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
}

.site-logo svg { flex-shrink: 0; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    background: var(--gray-bg);
    padding: 95px 0 100px;
}

.hero-title {
    font-size: 56px;
    font-weight: normal;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight { font-weight: bold; }

.hero-desc {
    max-width: 860px;
    margin: 0 auto 0;
    text-align: center;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 150%;
}

/* ============================================================
   Calculator Card
   ============================================================ */
.calculator-stack {
    position: relative;
    max-width: 872px;
    margin: 0 auto;
    padding-top: 24px;
}

.calculator-stack::before,
.calculator-stack::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
}

.calculator-stack::after {
    width: calc(100% - 48px);
    top: 12px;
    z-index: 1;
}

.calculator-stack::before {
    width: calc(100% - 96px);
    top: 0;
    z-index: 0;
}

.calculator-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 90px;
}

.calculator-title {
    font-size: 32px;
    font-weight: initial;
    color: #012955;
}
#disclaimer{
    font-size: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-style: italic;
}

.calculator-form { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.calculator-form .form-group,
.calculator-form .calc-results { width: 100%; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: 0.03em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--navy);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus { border-color: var(--teal); }

/* Input group */
.input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.input-group:focus-within { border-color: var(--teal); }

.input-group-addon {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--gray-bg);
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
    user-select: none;
}

.input-group input[type="number"] {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--navy);
    background: #fff;
    outline: none;
    font-family: inherit;
    -moz-appearance: textfield;
}

.input-group input[type="number"]::-webkit-inner-spin-button,
.input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Werkweek radios */
.werkweek-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--navy);
    opacity: 1 !important;
}

.radio-label input[type="radio"] {
    accent-color: var(--teal);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Verification panel */
#verificationStep {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 8px;
}

.verify-title {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 12px;
}

.verify-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.verify-digits {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.verify-digit {
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1.4rem;
    font-family: inherit;
    color: #012955;
    text-align: center;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
    caret-color: transparent;
}

.verify-digit:focus { border-color: var(--teal); }

.verify-sep {
    font-size: 1.4rem;
    color: var(--gray-light);
    margin: 0 4px;
    user-select: none;
}

.verify-message {
    font-size: 0.875rem;
    min-height: 1.2em;
}

.verify-message--success { color: #20BD80; }
.verify-message--error   { color: #e53e3e; }

.btn-verify {
    background: var(--gray-bg);
    color: #012955;
    font-weight: 500;
    padding: 14px 40px;
}

.btn-verify:hover { background: var(--gray-light); transform: translateY(-1px); }
.btn-verify:disabled { opacity: 0.5; cursor: default; transform: none; }

/* Results */
.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calc-result-value {
    flex: 1;
    min-width: 0;
    border: none !important;
    outline: none;
    border-radius: 0;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--navy);
    background: #fff;
}

/* ============================================================
   Content Sections
   ============================================================ */
#all-sections{padding-top:33px}
.content-section {
    padding: 63px 0;
}



.content-row {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 120px;
    align-items: center;
}

.content-row--reverse { direction: rtl; }
.content-row--reverse > * { direction: ltr; }
.content-row--full { grid-template-columns: 1fr; max-width: 720px; }

.content-text h2 {
    font-size: 56px;
    font-weight: lighter;
    line-height: 1.25;
    margin-bottom: 20px;
}



.content-text p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
}

.content-image {
    border-radius: var(--radius);
    overflow: hidden;
    /*aspect-ratio: 4/3;*/
    background: var(--gray-light);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ============================================================
   Result Panel
   ============================================================ */
.result-panel-section {
    padding-bottom: 85px;
    background: var(--gray-bg);
}
.gray-bkg{
    background: var(--gray-bg);
}

.rp-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 60px;
}

.rp-header {
    padding: 20px 0 40px;
}

.rp-naam {
    font-family: 'Miller Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #012955;
    margin-bottom: 4px;
}

.rp-meta {
    display: flex;
    justify-content: space-between;
    gap: 0 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rp-meta span + span::before { content: '   '; white-space: pre; }

.rp-accordion { border-bottom: 1px solid var(--gray-light); }

.rp-acc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 25px;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    font-weight: 700;
    color: #012955;
    width: 100%;
    text-align: left;
}


.rp-acc-head--green .rp-amount { color: #fff; }

.rp-toggle { font-size: 1rem; min-width: 14px; font-weight: 400; }
.rp-amount { margin-left: auto; white-space: nowrap; font-weight: normal}
.rp-small  { font-weight: 400; font-size: 0.85em; opacity: 0.85; padding: 0 !important;}

.rp-acc-body { padding: 0 32px 16px; background:#FFF; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;border: 1px solid #F2F4F6;}
.rp-accordion, .rp-simple {border-radius: 12px; background: #F2F4F6; margin-bottom: 25px;}
.rp-accordion:not(.open) .rp-acc-body { display: none; }
/*.rp-accordion.open{*/
/*    border: 1px solid #20BD80;*/
/*}*/


.rp-cols-header {
    display: grid;
    grid-template-columns: 1fr 20px 90px;
    font-size: 14px;
    font-weight: bold;
    color: #012955;
    padding: 30px 0 16px;
    border-bottom: 1px solid var(--gray-light);
}

.rp-cols-header span:last-child { text-align: right; }

.rp-cols-header.rp-cols-header--lb { grid-template-columns: 1fr 120px 120px; }
.rp-cols-header.rp-cols-header--lb span:nth-child(2) { text-align: right; }
.rp-row.rp-row--lb { grid-template-columns: 1fr 120px 120px; }
.rp-row.rp-row--lb span:nth-child(2) { text-align: right; white-space: nowrap; }
.rp-row--total { font-weight: 700; color: #012955; border-top: 2px solid var(--gray-light); border-bottom: none; }

.rp-row {
    display: grid;
    grid-template-columns: 1fr 10px 80px;
    align-items: center;
    padding: 16px 0;
    font-size: 0.88rem;
    color: #4D6988;
    border-bottom: 1px solid var(--gray-light);
}

.rp-row:last-child { border-bottom: none; }
.rp-row--indent span:first-child { padding-left: 20px; }
.rp-eur { color: var(--text-muted); font-size: 0.88rem; }
.rp-row span:last-child { white-space: nowrap; text-align: right; }

.rp-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    font-size: 18px;
    color: #012955;
}

.rp-simple--strong { font-weight: 700; }

.rp-footer {
    padding: 15px 0;
}

.green-block { background: #20BD80; border: 1px solid #20BD80; color: #fff; border-radius: 12px;}
/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--gray-light);
    padding: 28px 0;
    margin-top: 85px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copy, #footer-contact {
    font-size: 16px;
    color: var(--text-muted);
}
.footer-copy{
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
}

.footer-nav {
    text-align: right;
}

.footer-nav a {
    font-size: 16px;
    display: block;
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: underline;
}

.footer-nav a:hover { color: var(--teal); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #rpMeta, #rpMeta span{
        display: block;
    }
    .rp-meta span + span::before {
        content: '';
    }

    .content-row--reverse { direction: ltr; }

    .content-section { padding: 60px 0; }

    .calculator-card { padding: 28px 20px; }

    .hero { padding: 48px 0 60px; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 17px; }
    .content-text h2 { font-size: 30px; }

    .footer-inner {  }
    .footer-copy  { order: 1; width: 100%}
    .footer-nav   { flex-direction: column; gap: 10px; text-align: left }

    .tarief-row { flex-wrap: wrap; }

    .calc-results { grid-template-columns: 1fr; }

    /* Result Panel */
    .rp-card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .calculator-title { font-size: 22px; }

    .rp-acc-head {
        padding: 14px 16px;
        font-size: 14px;
        gap: 8px;
    }

    .rp-acc-body { padding: 0 12px 12px; }

    .rp-cols-header {
        grid-template-columns: 1fr 14px 70px;
        font-size: 11px;
        padding: 14px 0 10px;
    }

    .rp-row {
        grid-template-columns: 1fr 14px 70px;
        font-size: 0.78rem;
        padding: 10px 0;
    }

    .rp-cols-header.rp-cols-header--lb { grid-template-columns: 1fr 80px 80px; font-size: 11px; }
    .rp-row.rp-row--lb               { grid-template-columns: 1fr 80px 80px; }
    .rp-row.rp-row--lb span:nth-child(2) { font-size: 0.78rem; }

    .rp-simple {
        padding: 12px 16px;
        font-size: 14px;
    }

    .rp-amount { font-size: 14px; }

    /* Stacked card effect — narrow the offset on small screens */
    .calculator-stack::after  { width: calc(100% - 24px); }
    .calculator-stack::before { width: calc(100% - 48px); }
}