/* =====================================================
   Peter Bosman — Waarde-innovatie
   Professionele stijl, geinspireerd op rust, helderheid
   en vertrouwen.
   ===================================================== */

:root {
    --color-bg: #f6f8fb;
    --color-surface: #ffffff;
    --color-surface-alt: #eef3fa;
    --color-ink: #0f1e34;
    --color-ink-soft: #41526b;
    --color-muted: #6b7c93;
    --color-primary: #0a3d62;
    --color-primary-dark: #062a45;
    --color-accent: #f2b134;
    --color-accent-soft: #fff4d6;
    --color-line: #dde6f0;
    --shadow-sm: 0 1px 2px rgba(10, 61, 98, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 61, 98, 0.08);
    --shadow-lg: 0 20px 50px rgba(10, 61, 98, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --max-width: 1080px;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-serif: 'Source Serif 4', 'Georgia', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    background: linear-gradient(135deg, #0a3d62 0%, #134a73 55%, #1b5e8e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 85% 15%, rgba(242, 177, 52, 0.18), transparent 45%),
      radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
}
.header-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.4em 1.5em;
    display: flex;
    flex-direction: column;
    gap: 1.4em;
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}
.brand:hover { text-decoration: none; }
.brand-logo {
    display: block;
    height: 80px;
    width: auto;
    max-width: min(100%, 320px);
    padding: 0.35rem 0.8rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    flex-shrink: 0;
}
.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25em;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-size: 1.25em;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.brand-tagline {
    font-size: 0.88em;
    opacity: 0.82;
    font-style: italic;
    margin-top: 0.15em;
}

/* ---------- Navigation ---------- */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    margin-left: auto;
}
.site-nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5em 1em;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.site-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}
.site-nav a.active {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5em;
    flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 3.5em 1.5em 3em;
    color: #fff;
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3em;
    align-items: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1em;
}
.hero h1 {
    font-size: clamp(2em, 4vw, 3em);
    line-height: 1.15;
    margin: 0 0 0.6em 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: normal;
    color: var(--color-accent);
}
.hero-lead {
    font-size: 1.12em;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 38em;
    margin: 0 0 1.8em 0;
}
.hero-actions { display: flex; gap: 0.8em; flex-wrap: wrap; }

.hero-portrait {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-portrait .portrait-frame {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9em;
}
.hero-portrait .portrait-frame img {
    width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.85em 1.5em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: 0 6px 18px rgba(242, 177, 52, 0.35);
}
.btn-primary:hover {
    background: #ffc04f;
    color: var(--color-primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* ---------- Page header (sub-pages) ---------- */
.page-header {
    background: linear-gradient(135deg, #0a3d62 0%, #134a73 100%);
    color: #fff;
    padding: 2.8em 1.5em 3.2em;
    position: relative;
}
.page-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(1.8em, 3vw, 2.4em);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.page-header .page-subtitle {
    margin: 0.6em 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05em;
}

/* ---------- Main ---------- */
main { flex: 1; }
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4em 1.5em;
}
.section--tight { padding: 2.5em 1.5em; }
.section--card {
    margin: -3em auto 4em;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3em 2.5em;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 1.7em;
    margin: 0 0 0.4em;
    color: var(--color-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.section-subtitle {
    color: var(--color-muted);
    margin: 0 0 2em;
    font-size: 1.05em;
}

/* ---------- Pillars (home) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5em;
}
.pillar {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 1.8em 1.6em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
    font-size: 1.4em;
    font-weight: 700;
}
.pillar h3 {
    font-size: 1.12em;
    margin: 0 0 0.4em;
    color: var(--color-ink);
}
.pillar p {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.97em;
}

/* ---------- Over mij ---------- */
.about-block {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 1.6em 1.8em;
    margin-bottom: 1.2em;
    box-shadow: var(--shadow-sm);
}
.about-block h3 {
    font-size: 1.45em;
    margin: 0 0 0.7em;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-block;
    position: relative;
    padding-bottom: 0.3em;
}
.about-block h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.2em;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}
.about-block p {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 1em;
}
.values-heading {
    font-size: 1.45em;
    margin: 2.4em 0 1.2em;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-block;
    position: relative;
    padding-bottom: 0.3em;
}
.values-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.2em;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2em;
}
.value {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.4em 1.5em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.value:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.value h4 {
    font-size: 1.05em;
    margin: 0 0 0.45em;
    color: var(--color-ink);
    font-weight: 700;
    letter-spacing: -0.005em;
}
.value p {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.95em;
}

/* ---------- Stappenplan ---------- */
.steps {
    list-style: none;
    counter-reset: stepcounter;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1em;
}
.steps li {
    counter-increment: stepcounter;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 1.4em 1.6em 1.4em 4.5em;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.steps li:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}
.steps li::before {
    content: counter(stepcounter);
    position: absolute;
    left: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05em;
}
.steps li strong {
    display: block;
    font-size: 1.08em;
    color: var(--color-ink);
    margin-bottom: 0.15em;
}
.steps li .step-desc {
    color: var(--color-ink-soft);
    font-size: 0.97em;
}

/* ---------- Projecten ---------- */
.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4em;
}
.project-list li {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.project-list li::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    z-index: 2;
}
.project-image {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-line);
}
.project-image img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.project-image--112 { background: #d6eef7; }
.project-image--novanorm { background: #ffffff; }
.project-image--gbbc { background: linear-gradient(135deg, #0a3d62, #134a73); }
.project-image--screenshot {
    background: #1a1018;
}
.project-image--screenshot img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.project-list li:hover .project-image img {
    transform: scale(1.04);
}
.project-text {
    padding: 1.5em 1.6em 1.6em;
    flex: 1;
}
.project-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.project-list li strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.08em;
    margin-bottom: 0.4em;
}
.project-list li a {
    color: var(--color-ink-soft);
    text-decoration: none;
    display: block;
}
.project-list li a:hover { text-decoration: none; }
.project-list li a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
}
.project-list li .external-arrow {
    color: var(--color-accent);
    margin-left: 0.3em;
    display: inline-block;
    transition: transform 0.2s ease;
}
.project-list li:hover .external-arrow {
    transform: translate(2px, -2px);
}

/* ---------- Contact ---------- */
.contact-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 2.4em 2em;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-line);
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.4em 0 0;
    display: grid;
    gap: 1em;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em 1.2em;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    font-size: 1.05em;
}
.contact-list .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}
.contact-list .contact-icon--linkedin {
    background: #0a66c2;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    font-weight: 800;
}
.contact-list .contact-label {
    display: block;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}
.contact-list .contact-value {
    font-weight: 600;
    color: var(--color-ink);
}

/* ---------- Afspraak ---------- */
.calendar-wrap {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1em;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-line);
    overflow: hidden;
}
.calendar-wrap iframe,
.calendar-wrap .calendly-inline-widget {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: var(--radius-sm);
    display: block;
}
.calendar-note {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.88em;
    margin-top: 1em;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.5em 1.5em 2em;
    margin-top: auto;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 0.93em;
}
.footer-inner a { color: var(--color-accent); }
.footer-brand { font-weight: 600; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .header-row { flex-direction: column; align-items: flex-start; }
    .site-nav { width: 100%; justify-content: flex-start; margin-left: 0; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-portrait { order: -1; }
    .hero-portrait .portrait-frame { width: 180px; height: 180px; }
    .section { padding: 3em 1.2em; }
    .section--card { padding: 2em 1.4em; margin: -2em 1em 3em; }
}

@media (max-width: 480px) {
    .site-nav a { padding: 0.45em 0.8em; font-size: 0.9em; }
    .hero { padding: 2.5em 1em 2em; }
    .steps li { padding: 1.2em 1.2em 1.2em 4em; }
    .steps li::before { left: 0.8em; width: 2em; height: 2em; font-size: 0.95em; }
}
