/* ============================================================
   yc-it. — Hoofdstylesheet
   PageSpeed + Mobile-first + Toegankelijkheid optimized
   ============================================================ */

/* === CSS Custom Properties (variabelen) === */
:root {
    --bg: #f7f3ec;
    --bg-alt: #efe9dd;
    --surface: #ffffff;
    --surface-soft: #fdfbf6;
    --border: #e3ddcf;
    --border-strong: #c8c0ad;
    --text: #1a2d24;
    --text-soft: #5d6b62;
    --text-faded: #8a948c;
    --accent: #1d6e44;
    --accent-hover: #155c37;
    --accent-soft: #d8ebe1;
    --accent-glow: rgba(29, 110, 68, 0.12);
    --warm: #c2410c;
    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    --radius: 12px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Voorkom layout shift bij scroll-bar verschijnen */
    scrollbar-gutter: stable;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--text);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    /* Tap-highlight transparant op mobiel */
    -webkit-tap-highlight-color: rgba(29, 110, 68, 0.15);
}
main { flex: 1; }

/* Subtiele dot-achtergrond — gebruikt 'background-attachment' voor performance */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(26, 45, 36, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
    will-change: auto;
}

/* === Toegankelijkheid: skip link === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* === Focus styles (toegankelijkheid voor toetsenbord-gebruikers) === */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ============ HEADER ============ */
header#siteHeader {
    padding: 20px 0;
    background: rgba(247, 243, 236, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
    /* Reserveer hoogte vooraf om CLS (cumulative layout shift) te voorkomen */
    contain: layout style;
}
header#siteHeader.scrolled { border-bottom-color: var(--border); }
header#siteHeader .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.logo {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    /* Touch target */
    min-height: 44px;
    line-height: 44px;
}
.logo .it { font-style: italic; font-weight: 400; }
.logo .dot { color: var(--accent); }

nav { display: flex; gap: 12px; align-items: center; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding: 8px 4px;
    /* Touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 10px;
    border-radius: 8px;
    /* Touch target — minimum 44x44 */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.btn-login {
    color: var(--text);
    border: 1px solid var(--border-strong);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.btn-login:hover { background: var(--surface); border-color: var(--text-soft); }

.btn-cta {
    background: var(--text);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.btn-cta:hover { background: var(--accent); }

/* ============ HERO ============ */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    max-width: 100%;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow), transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.1s forwards;
}
.eyebrow .pulse {
    width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

h1 {
    font-family: var(--display);
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
    /* CLS voorkomen */
    text-wrap: balance;
}
h1 em { font-style: italic; color: var(--accent); font-weight: 400; }

.lede {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-soft);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    border: none;
    font-family: var(--body);
    /* Touch target */
    min-height: 48px;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-secondary {
    background: var(--surface);
    color: var(--text);
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}
.btn-secondary:hover { border-color: var(--text); background: white; }

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-faded);
    letter-spacing: 0.04em;
    opacity: 0;
    animation: fadeInUp 0.8s 0.5s forwards;
}
.hero-stats span strong {
    color: var(--text);
    font-size: 22px;
    font-weight: 600;
    font-family: var(--display);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

/* ============ SECTION HEADERS ============ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}
.section-title {
    font-family: var(--display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 720px;
    margin: 0 auto 16px;
    text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 auto;
    text-wrap: pretty;
}

/* ============ SERVICES GRID ============ */
.services { padding: 80px 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 26px;
    transition: all var(--transition), transform 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(29, 110, 68, 0.08);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 48px; height: 48px;
    background: var(--accent-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.service-card h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text);
    position: relative;
    z-index: 1;
}
.service-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-faded);
    position: relative;
    z-index: 1;
}
.service-price strong { color: var(--accent); font-size: 14px; }
.service-arrow {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    transition: all var(--transition);
}
.service-card:hover .service-arrow {
    background: var(--accent);
    color: white;
    transform: translate(2px, -2px);
}

/* ============ DOMAIN SEARCH ============ */
.domain-section {
    padding: 80px 0;
    background: var(--bg-alt);
    position: relative;
}
.domain-wrap { max-width: 880px; margin: 0 auto; text-align: center; }
.domain-headline {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
    text-wrap: balance;
}
.domain-headline em { font-style: italic; color: var(--accent); }
.domain-sub { color: var(--text-soft); margin-bottom: 32px; font-size: 16px; }

.search-box {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 6px 6px 6px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.search-icon { color: var(--text-faded); flex-shrink: 0; }
#searchInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    font-weight: 500;
    padding: 16px 0;
    min-width: 0; /* voorkom flex-overflow */
}
#searchInput::placeholder { color: var(--text-faded); font-weight: 400; }
.search-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
    flex-shrink: 0;
    min-height: 48px;
}
.search-btn:hover { background: var(--accent-hover); }
.search-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.search-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-faded);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
}
.search-meta span { display: flex; align-items: center; gap: 6px; }
.search-meta .check { color: var(--accent); font-weight: 700; }

.results { max-width: 880px; margin: 24px auto 0; display: none; }
.results.visible { display: block; animation: fadeInUp 0.4s forwards; }
.result-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}
.result-row.taken { opacity: 0.55; }
.result-info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.result-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.result-row.free .result-status-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.result-row.taken .result-status-dot { background: var(--warm); }
.result-domain {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    word-break: break-word;
}
.result-extension { color: var(--text-soft); font-style: italic; }
.result-price { font-family: var(--mono); color: var(--text-soft); font-size: 13px; margin-right: 14px; }
.result-price strong { color: var(--text); font-size: 14px; font-weight: 600; }
.result-action {
    background: var(--accent);
    border: none;
    color: white;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-block;
    min-height: 40px;
    line-height: 22px;
}
.result-action:hover { background: var(--accent-hover); }
.result-taken-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faded);
}
.results-loading {
    text-align: center; color: var(--text-soft); padding: 24px;
    font-family: var(--mono); font-size: 13px;
}
.results-loading::after { content: '...'; animation: dots 1.4s infinite; }

/* ============ KLANT PORTAAL ============ */
.portal-section { padding: 80px 0; }
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}
.portal-text h2 {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-wrap: balance;
}
.portal-text h2 em { font-style: italic; color: var(--accent); }
.portal-text p {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.portal-features { list-style: none; margin-bottom: 32px; }
.portal-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}
.portal-features svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.portal-mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(26, 45, 36, 0.18);
    position: relative;
    /* CLS voorkomen door dimensies te reserveren */
    aspect-ratio: 1.1 / 1;
    /* Lazy paint optimization */
    contain: layout paint;
}
.mockup-bar {
    background: var(--bg-alt);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mockup-url {
    flex: 1; margin-left: 16px;
    background: var(--surface);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mockup-content { padding: 24px; }
.mockup-greeting { font-family: var(--display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.mockup-sub { font-size: 12px; color: var(--text-faded); margin-bottom: 20px; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.mockup-stat {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}
.mockup-stat-label {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faded);
    margin-bottom: 4px;
}
.mockup-stat-val {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}
.mockup-stat-val em { font-style: italic; color: var(--accent); }
.mockup-services-title {
    font-size: 11px;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faded);
    margin-bottom: 10px;
}
.mockup-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    gap: 8px;
}
.mockup-service-name { font-weight: 600; color: var(--text); }
.mockup-service-detail { color: var(--text-soft); font-size: 11px; }
.mockup-badge {
    padding: 3px 8px;
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.badge-active { background: var(--accent-soft); color: var(--accent); }
.badge-renew { background: #fef3c7; color: #92400e; }

/* ============ WHY ============ */
.why { padding: 80px 0; background: var(--bg-alt); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.why-item {
    background: var(--bg-alt);
    padding: 30px 26px;
    transition: background var(--transition);
}
.why-item:hover { background: var(--surface); }
.why-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.why-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.why-desc { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

/* ============ CTA CARD ============ */
.cta { padding: 100px 0; text-align: center; }
.cta-card {
    background: var(--text);
    color: white;
    border-radius: 24px;
    padding: 72px 32px;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    filter: blur(40px);
}
.cta-card h2 {
    font-family: var(--display);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    position: relative;
    text-wrap: balance;
}
.cta-card h2 em { font-style: italic; color: var(--accent); }
.cta-card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
    text-wrap: pretty;
}
.cta-card .btn-primary {
    position: relative;
    background: white;
    color: var(--text);
}
.cta-card .btn-primary:hover {
    background: var(--accent);
    color: white;
}

/* ============ PAGE HERO (subpaginas) ============ */
.page-hero {
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
}
.page-hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    margin-bottom: 18px;
    animation: none;
    opacity: 1;
}
.page-hero .lede { animation: none; opacity: 1; max-width: 720px; }
.page-hero .eyebrow { animation: none; opacity: 1; }

/* ============ FEATURE LIJST ============ */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 60px 0;
}
.feature-list-item {
    display: flex;
    gap: 18px;
}
.feature-list-icon {
    width: 44px; height: 44px;
    background: var(--accent-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.feature-list-item h4 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.feature-list-item p { color: var(--text-soft); font-size: 15px; line-height: 1.6; }

/* ============ PRIJZEN TABEL ============ */
.pricing-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 32px 0;
}
.pricing-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 22px 32px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.header {
    background: var(--bg-alt);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faded);
    font-weight: 500;
}
.pricing-row.header > div { color: var(--text-faded); }
.pricing-row .name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.pricing-row .spec { font-size: 14px; color: var(--text-soft); font-family: var(--mono); }
.pricing-row .price { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.pricing-row .price small { font-family: var(--body); font-size: 12px; color: var(--text-faded); font-weight: 500; }

/* ============ FORMS ============ */
.form-card {
    max-width: 460px;
    margin: 60px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 20px 60px -20px rgba(26, 45, 36, 0.12);
}
.form-card h1 {
    font-size: 32px;
    margin-bottom: 8px;
    text-align: center;
    animation: none;
    opacity: 1;
}
.form-card .form-sub {
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 28px;
    font-size: 15px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    font-size: 16px; /* >=16px voorkomt iOS auto-zoom */
    font-family: var(--body);
    color: var(--text);
    background: var(--surface);
    transition: all var(--transition);
    outline: none;
    /* iOS: voorkom default styling */
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235d6b62' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.form-meta { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-soft); }
.form-meta a { color: var(--accent); font-weight: 600; text-decoration: none; }
.form-meta a:hover { text-decoration: underline; }

/* ============ FOOTER ============ */
footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-soft); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faded);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
    /* Touch target */
    min-height: 32px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-faded);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }
@keyframes dots { 0%,20% { content: '.'; } 40% { content: '..'; } 60%,100% { content: '...'; } }

/* ============ Reduced motion (toegankelijkheid) ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .eyebrow, h1, .lede, .hero-buttons, .hero-stats {
        opacity: 1;
        animation: none !important;
    }
}

/* ============ MOBILE BREAKPOINTS ============ */
@media (max-width: 968px) {
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .portal-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .feature-list { grid-template-columns: 1fr; gap: 24px; }
    .pricing-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 24px; }
    .pricing-row.header { display: none; }
    .pricing-row .price { font-size: 20px; }
    .hero { padding: 60px 0 80px; }
    .services, .why, .portal-section { padding: 64px 0; }
    .cta { padding: 80px 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 16px;
        right: 16px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 12px 32px rgba(0,0,0,0.08);
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 14px 16px;
        border-radius: 8px;
        min-height: 48px;
    }
    .nav-links a:hover { background: var(--bg-alt); }
    .nav-links a.active::after { display: none; }
    .nav-links a.active { background: var(--accent-soft); }

    .mobile-toggle { display: inline-flex; }
    .btn-cta { display: none; }
    .btn-login { padding: 8px 14px; font-size: 13px; }

    .services-grid, .why-grid { grid-template-columns: 1fr; }

    .search-box { flex-direction: column; padding: 10px; }
    #searchInput { padding: 14px; width: 100%; text-align: center; font-size: 16px; }
    .search-btn { width: 100%; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

    .hero { padding: 40px 0 56px; }
    .hero-stats { gap: 24px; }
    .hero-stats span strong { font-size: 18px; }

    .cta-card { padding: 48px 24px; border-radius: 18px; }

    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; margin: 24px 0; }

    .feature-list-item { gap: 14px; }
    .feature-list-icon { width: 40px; height: 40px; }

    .result-row { padding: 12px 16px; }
    .result-domain { font-size: 17px; }

    .why-item { padding: 24px 22px; }
}

@media (max-width: 380px) {
    h1 { font-size: 32px; }
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .eyebrow { font-size: 10px; padding: 6px 12px; }
    .logo { font-size: 24px; }
}

/* ============ Print stylesheet ============ */
@media print {
    header, footer, .cta, .btn-primary, .btn-secondary, .btn-cta, .btn-login { display: none !important; }
    body { background: white; color: black; }
    a { text-decoration: underline; color: black; }
    body::before { display: none; }
}
