/* =========================================================
   WEST-ICE — Design tokens
   ========================================================= */
:root {
    --navy-950:  #060F26;
    --navy-900:  #0F2D6B;
    --navy-800:  #163C7A;
    --steel-500: #5B93D6;
    --steel-300: #9DC1EB;
    --ice-100:   #EAF1FB;
    --ice-50:    #F6FAFF;
    --white:     #FFFFFF;
    --ink:       #16233D;
    --ink-soft:  #4A5A78;
    --line:      #DCE6F5;

    --font-display: "Avenir Next", "Century Gothic", "Futura", "Helvetica Neue", Arial, sans-serif;
    --font-body:    "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 28px;

    --shadow-card:  0 18px 40px -22px rgba(15,45,107,0.35);
    --shadow-float: 0 32px 64px -24px rgba(15,45,107,0.22);
    --container-w:  1180px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); }
p   { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 3px solid var(--steel-500);
    outline-offset: 3px;
    border-radius: 3px;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
    color: var(--steel-500);
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 36px;
    line-height: 1.15;
}

/* =========================================================
   Animaties
   ========================================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes frost-in {
    from { opacity: 0; transform: scale(0.92); filter: blur(4px); }
    to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

.animate-fade-up          { animation: fadeUp 0.7s ease both; }
.animate-fade-up.delay-1  { animation-delay: 0.1s; }
.animate-fade-up.delay-2  { animation-delay: 0.22s; }
.animate-fade-up.delay-3  { animation-delay: 0.34s; }
.animate-fade-up.delay-4  { animation-delay: 0.46s; }

.animate-float { animation: float 5s ease-in-out infinite; }

/* Scroll-triggered animaties via JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(15,45,107,0.3); }
.btn:active { transform: translateY(0); }

.btn--primary         { background: var(--navy-900); color: var(--white); }
.btn--primary:hover   { background: var(--navy-800); }

.btn--primary-inverse       { background: var(--white); color: var(--navy-900); }
.btn--primary-inverse:hover { background: var(--ice-100); }

.btn--ghost       { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: var(--white); }

.btn--small { padding: 13px 24px; font-size: 14.5px; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}
/* Achtergrond/blur op een pseudo-element i.p.v. op .topbar zelf: een
   backdrop-filter op .topbar zou een nieuw containing block vormen voor
   position:fixed kinderen (zoals het mobiele menu), waardoor dat menu
   t.o.v. de 72px topbar i.p.v. het volledige scherm zou positioneren. */
.topbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255,255,255,0.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.topbar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand__logo {
    height: 38px;
    width: auto;
    display: block;
}
.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.06em;
    color: var(--navy-900);
}
.brand__ice { color: var(--steel-500); }

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 12px;
    margin-right: auto;
}
.nav__link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.nav__link:hover   { color: var(--navy-900); }
.nav__link.is-active { color: var(--navy-900); border-bottom-color: var(--steel-500); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: linear-gradient(160deg, var(--ice-50) 0%, #f0f7ff 50%, var(--white) 100%);
    padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 108px);
    position: relative;
    overflow: hidden;
}
/* Subtiele frost-textuur achtergrond */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(91,147,214,0.07) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(15,45,107,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    position: relative;
}
.hero__title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero__lead {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 28px;
}

/* Prijs-kaartje */
.price-card {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
/* Shimmer animatie op price-card */
.price-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    background-size: 400px 100%;
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}
.price-card__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 44px;
    color: var(--navy-900);
    line-height: 1;
}
.price-card__currency { font-size: 22px; vertical-align: top; margin-right: 1px; line-height: 1.4; }
.price-card__detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid var(--line);
    padding-left: 18px;
}
.price-card__kg  { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 15px; }
.price-card__sub { color: var(--ink-soft); font-size: 13px; max-width: 22ch; }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Automaat SVG */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero__visual::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: linear-gradient(160deg, var(--ice-100), var(--steel-300) 130%);
    opacity: 0.55;
    border-radius: 43% 57% 61% 39% / 47% 41% 59% 53%;
    z-index: -1;
}
.vending-machine {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(15,45,107,0.18));
}

/* =========================================================
   How it works
   ========================================================= */
.how { padding: clamp(56px, 8vw, 96px) 0; }
.how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.how__step {
    border-top: 3px solid var(--steel-500);
    padding-top: 22px;
}
.how__step:nth-child(1) { transition-delay: 0s; }
.how__step:nth-child(2) { transition-delay: 0.12s; }
.how__step:nth-child(3) { transition-delay: 0.24s; }
.how__mark {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 10px;
}
.how__step p { color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   Locatie
   ========================================================= */
.locatie { background: var(--ice-100); padding: clamp(56px, 8vw, 96px) 0; }
.locatie__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.locatie__text { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; max-width: 50ch; }
.locatie__list { margin-bottom: 28px; }
.locatie__list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15px;
}
.locatie__list li strong {
    font-family: var(--font-display);
    color: var(--navy-900);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.locatie__map iframe {
    width: 100%;
    height: 340px;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    display: block;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
    background: var(--navy-900);
    color: var(--white);
    padding: clamp(40px, 6vw, 64px) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 360px;
    border: 60px solid rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
}
.cta-band__title { color: var(--white); font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; margin-bottom: 6px; }
.cta-band p { color: var(--steel-300); }

/* =========================================================
   Page hero (subpagina's)
   ========================================================= */
.page-hero {
    background: linear-gradient(160deg, var(--ice-50) 0%, var(--white) 100%);
    padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
}
.page-hero__title {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    letter-spacing: -0.015em;
    max-width: 20ch;
    line-height: 1.1;
}
.page-hero__lead {
    margin-top: 18px;
    color: var(--ink-soft);
    font-size: clamp(15px, 1.5vw, 17px);
    max-width: 60ch;
}

/* =========================================================
   Over ons — story
   ========================================================= */
.story { padding: clamp(56px, 8vw, 96px) 0; }
/* Volgt de story-sectie direct op een page-hero, dan is de opgetelde
   padding van beide te veel - hier wat inkorten. */
.page-hero + .story { padding-top: clamp(16px, 3vw, 32px); }
.story__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.story__lead {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--navy-900);
    line-height: 1.45;
    margin-bottom: 18px;
}
.story__text p { color: var(--ink-soft); font-size: 16px; }
.story__visual { display: flex; justify-content: center; }
.story-photo {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    object-fit: cover;
}

/* =========================================================
   Team
   ========================================================= */
.team { background: var(--ice-100); padding: clamp(56px, 8vw, 96px) 0; }
.team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 36px);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}
.team-card:nth-child(1) { transition-delay: 0s; }
.team-card:nth-child(2) { transition-delay: 0.1s; }
.team-card__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    color: var(--white);
}
.team-card__name { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.team-card__role {
    font-family: var(--font-display);
    color: var(--steel-500);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
    display: block;
}
.team-card__bio { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.team-card__email {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-900);
}
.team-card__email:hover { color: var(--steel-500); text-decoration: underline; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 9vw, 104px); }
.contact__grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(32px, 5vw, 64px);
}
.contact__heading { font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.contact__info p { margin-bottom: 14px; color: var(--ink-soft); font-size: 15px; }
.contact__info strong {
    display: block;
    font-family: var(--font-display);
    color: var(--navy-900);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 2px;
}
.contact__info a:hover { color: var(--navy-900); text-decoration: underline; }
.contact__phone-line { display: block; }

/* Form */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.form__row input,
.form__row textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--ice-50);
    color: var(--ink);
    resize: vertical;
    transition: border-color 0.15s, background 0.15s;
    -webkit-appearance: none;
    width: 100%;
}
.form__row input:focus,
.form__row textarea:focus {
    border-color: var(--steel-500);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(91,147,214,0.15);
}
.form__error { color: #C0392B; font-size: 13px; font-weight: 600; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; margin-top: 6px; }

.alert { border-radius: var(--radius-md); padding: 20px 24px; font-size: 15px; }
.alert--success {
    background: var(--ice-100);
    border: 1.5px solid var(--steel-300);
    color: var(--navy-900);
    font-weight: 600;
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-950); color: var(--steel-300); padding-top: clamp(48px, 6vw, 72px); }
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 12px;
}
.footer__wordmark-accent { color: var(--steel-300); }
.footer__tagline { color: var(--steel-300); font-size: 14px; line-height: 1.5; }
.footer__heading {
    color: var(--white);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}
.footer__col p { margin-bottom: 6px; font-size: 14px; line-height: 1.5; }
.footer__col a { transition: color 0.15s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* =========================================================
   Responsive — Tablet (≤ 980px)
   ========================================================= */
@media (max-width: 980px) {
    .hero__grid,
    .locatie__grid,
    .story__grid,
    .contact__grid { grid-template-columns: 1fr; }

    .hero__visual { order: -1; }
    .vending-machine { max-width: 220px; }

    .how__grid { grid-template-columns: 1fr; gap: 24px; }
    .team__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }

    .locatie__map iframe { height: 280px; }
}

/* =========================================================
   Responsive — Mobiel (≤ 720px)
   ========================================================= */
@media (max-width: 720px) {
    /* Nav drawer */
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        border-top: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 24px 32px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
        z-index: 99;
    }
    .nav.is-open { transform: translateX(0); }
    .nav__link {
        font-size: 18px;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        border-right: none;
    }
    .nav-toggle { display: flex; }
    .nav__cta    { display: none; }

    .topbar__inner { gap: 12px; }

    /* Hero — automaat-illustratie weglaten, neemt te veel ruimte in op mobiel */
    .hero__visual { display: none; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; text-align: center; justify-content: center; }

    /* Price card */
    .price-card { flex-direction: column; align-items: flex-start; gap: 12px; }
    .price-card__detail {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 12px;
        width: 100%;
    }

    /* CTA band */
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .cta-band__inner .btn { width: 100%; justify-content: center; }

    /* Footer */
    .footer__inner { grid-template-columns: 1fr; gap: 24px; }

    /* Form */
    .form .btn { width: 100%; justify-content: center; }

    /* Map */
    .locatie__map iframe { height: 240px; border-radius: var(--radius-md); }
}

/* =========================================================
   Responsive — Klein mobiel (≤ 420px)
   ========================================================= */
@media (max-width: 420px) {
    .brand__name { font-size: 15px; }
    .vending-machine { max-width: 180px; }
    .team__grid { grid-template-columns: 1fr; }
}
