/* sv.css — gedeelde componenten voor alle pagina's: menu (met Diensten-uitklapmenu), taalschakelaar,
   knoppen, sociale knoppen, mobiel menu, scrollbar, invliegeffect en teksttypografie (.sv-prose).
   Tailwind-utilities komen uit site.css; dit bestand is met de hand geschreven. */

html { color-scheme: light; scrollbar-color: #C8CBD2 #FFFFFF; -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 12px; height: 12px; background: #FFFFFF; }
::-webkit-scrollbar-track { background: #FFFFFF; }
::-webkit-scrollbar-thumb { background: #D5D8DE; border-radius: 99px; border: 3px solid #FFFFFF; }
::-webkit-scrollbar-thumb:hover { background: #AEB2BA; }

/* Knoppen */
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    background: #E8C870; color: #111316 !important; border: 1px solid #E8C870;
    box-shadow: 0 6px 22px rgba(232,200,112,.30);
    font-family: 'Barlow', system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-gold:hover { background: #F0D68C; border-color: #F0D68C; box-shadow: 0 8px 28px rgba(232,200,112,.42); transform: translateY(-1px); }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: #fff; color: #111316;
    border: 1px solid rgba(17,19,22,.16); font: 700 12px 'Barlow', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; transition: border-color .2s ease;
}
.btn-ghost:hover { border-color: #111316; }

/* Taalschakelaar (links naar de andere taalversie) */
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(17,19,22,.16); border-radius: 999px; background: #fff; }
.lang-switch .lang-btn, .lang-switch button {
    min-width: 38px; height: 30px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Barlow', system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em;
    color: rgba(17,19,22,.55); background: transparent; border: 0; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.lang-switch .is-active { background: #111316; color: #fff !important; }
.lang-switch .lang-btn:not(.is-active):hover { color: #111316; }

/* Diensten-uitklapmenu (desktop) */
.svnav-dd { position: relative; }
.svnav-dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.svnav-dd-menu {
    position: absolute; top: 100%; left: -18px; min-width: 260px; padding: 10px; background: #fff; border: 1px solid rgba(17,19,22,.08);
    border-radius: 14px; box-shadow: 0 18px 50px rgba(17,19,22,.12); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.svnav-dd:hover .svnav-dd-menu, .svnav-dd:focus-within .svnav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.svnav-dd-item { display: block; padding: 10px 12px; border-radius: 9px; color: #374151; font-size: 14px; font-weight: 400; letter-spacing: .01em; text-decoration: none; }
.svnav-dd-item:hover, .svnav-dd-item.is-current { background: #F5F6FA; color: #111316; }
.svnav-dd-sep { height: 1px; background: rgba(17,19,22,.08); margin: 6px 4px; }

/* Mobiel menu */
#mobile-nav-overlay { position: fixed; inset: 0; z-index: 40; background: #fff; flex-direction: column; align-items: center; justify-content: center; text-align: center; display: none; opacity: 0; transition: opacity .32s ease; overflow-y: auto; padding: 96px 24px 32px; }
#mobile-nav-overlay.is-open { display: flex !important; opacity: 1; }
.svnav-m { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 17px; color: rgba(15,17,20,.78); letter-spacing: .04em; font-weight: 300; }
.svnav-m > a, .svnav-m-toggle { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; background: none; border: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.svnav-m-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.svnav-m-sub { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 10px; }
.svnav-m-sub[hidden] { display: none; }
.svnav-m-sub a { font-size: 15px; color: #6B7280; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* Sociale knoppen */
.social-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(17,19,22,.14); border-radius: 999px; background: #fff; color: #111316; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.social-btn:hover { border-color: #E8C870; box-shadow: 0 4px 14px rgba(232,200,112,.22); }
.social-btn svg { width: 18px; height: 18px; flex: none; }
.social-icon { width: 46px; height: 46px; padding: 0; justify-content: center; }

/* Footerlinks naar diensten */
.svfoot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(17,19,22,.07); font-size: 13px; color: #6B7280; }
.svfoot-links a { color: inherit; text-decoration: none; }

/* Invliegeffect */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Teksttypografie voor dienst- en kostenpagina's */
.sv-prose p { color: #4B5563; font-size: 17px; line-height: 1.75; font-weight: 300; margin: 0 0 16px; }
.sv-prose h2 { font-family: 'Barlow', system-ui, sans-serif; font-size: 30px; line-height: 1.15; font-weight: 700; color: #111316; margin: 0 0 16px; }
.sv-prose h3 { font-size: 18px; font-weight: 600; color: #111316; margin: 22px 0 8px; }
.sv-prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.sv-prose li { position: relative; padding-left: 26px; margin-bottom: 10px; color: #4B5563; font-size: 16px; line-height: 1.6; font-weight: 300; }
.sv-prose li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #E8C870; font-weight: 700; }
.sv-prose strong { color: #111316; font-weight: 600; }
.sv-prose a { color: #111316; text-decoration: underline; text-decoration-color: #E8C870; text-underline-offset: 3px; }

.sv-faq details { border-bottom: 1px solid rgba(17,19,22,.1); padding: 18px 0; }
.sv-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16px; color: #111316; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: '+'; color: #E8C870; font-size: 22px; line-height: 1; transition: transform .2s ease; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { margin: 10px 0 0; color: #4B5563; font-size: 16px; line-height: 1.7; font-weight: 300; }

.sv-price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sv-price-table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6B7280; font-weight: 600; padding: 0 12px 12px 0; border-bottom: 1px solid rgba(17,19,22,.12); }
.sv-price-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid rgba(17,19,22,.08); vertical-align: top; color: #374151; font-weight: 300; }
.sv-price-table td strong { color: #111316; font-weight: 600; }
.sv-price-table td.price { white-space: nowrap; font-weight: 700; color: #111316; }

@media (max-width: 768px) {
    nav { padding-left: 20px !important; padding-right: 20px !important; }
    .sv-prose h2 { font-size: 24px; }
    h1.font-display { font-size: clamp(30px, 8.5vw, 40px) !important; line-height: 1.08 !important; }
    .sv-price-table, .sv-price-table tbody, .sv-price-table tr, .sv-price-table td { display: block; width: 100%; }
    .sv-price-table thead { display: none; }
    .sv-price-table tr { padding: 14px 0; border-bottom: 1px solid rgba(17,19,22,.08); }
    .sv-price-table td { border: 0; padding: 2px 0; }
}

/* Mobiel menu: centreren als het past, anders bovenaan beginnen (niets valt weg) */
#mobile-nav-overlay { justify-content: flex-start !important; }
#mobile-nav-overlay > :first-child { margin-top: auto; }
#mobile-nav-overlay > :last-child { margin-bottom: auto; }

/* Inhoudskaarten op dienst- en kostenpagina's */
.sv-cards { display: grid; gap: 20px; }
@media (min-width: 768px) { .sv-cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.sv-card {
    position: relative; background: #fff; border: 1px solid rgba(17,19,22,.08); border-radius: 20px; padding: 34px 36px 32px;
    box-shadow: 0 1px 2px rgba(17,19,22,.04), 0 14px 36px rgba(17,19,22,.05);
}
.sv-card::before { content: ''; position: absolute; left: 36px; top: -1px; width: 44px; height: 3px; background: #E8C870; border-radius: 0 0 3px 3px; }
.sv-card-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #C9A94E; margin-bottom: 10px; }
.sv-card.sv-prose h2 { font-size: 23px; line-height: 1.25; margin-bottom: 14px; }
.sv-card.sv-prose p, .sv-card.sv-prose li { font-size: 16px; line-height: 1.72; color: #4B5563; font-weight: 400; }
.sv-card.sv-prose p:last-child, .sv-card.sv-prose ul:last-child { margin-bottom: 0; }
.sv-card.sv-prose li { margin-bottom: 12px; padding-left: 28px; }
.sv-card.sv-prose li::before { content: ''; width: 16px; height: 16px; top: 5px; border-radius: 99px; background: rgba(232,200,112,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='%23A8862E' stroke-width='1.6'/%3E%3C/svg%3E") center/10px 8px no-repeat; }
.sv-card.sv-prose li strong { display: inline; color: #111316; font-weight: 600; }
.sv-card-wide { grid-column: 1 / -1; }
.sv-price-band {
    grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: rgba(232,200,112,.10); border: 1px solid rgba(232,200,112,.45); border-radius: 20px; padding: 26px 32px;
}
.sv-price-band .label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: #A8862E; margin: 0 0 6px; }
.sv-price-band .txt { font-size: 16.5px; line-height: 1.6; color: #374151; margin: 0; max-width: 720px; }
.sv-price-band .txt a { color: #111316; text-decoration: underline; text-decoration-color: #E8C870; text-underline-offset: 3px; }
.sv-cta-card {
    position: relative; background: #fff; border: 1px solid rgba(17,19,22,.08); border-radius: 24px; padding: 52px 32px;
    box-shadow: 0 1px 2px rgba(17,19,22,.04), 0 14px 36px rgba(17,19,22,.06); text-align: center;
}
.sv-cta-card::before { content: ''; position: absolute; left: 50%; top: -1px; transform: translateX(-50%); width: 56px; height: 3px; background: #E8C870; border-radius: 0 0 3px 3px; }
@media (max-width: 768px) { .sv-card { padding: 28px 22px 24px; border-radius: 18px; } .sv-card::before { left: 22px; } .sv-price-band { padding: 24px 22px; } .sv-cta-card { padding: 40px 22px; } }
