/* Strike ICEBAR – frontend, volgens de huisstijl (ijsblauw + navy, pills, geen verlopen).
   Kleuren komen uit de beheeromgeving via CSS-variabelen in de <head>. */

@font-face {
    font-family: "Hammersmith One";
    src: url("fonts/hammersmith-one.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Josefin Sans";
    src: url("fonts/josefin-sans.woff2") format("woff2");
    font-weight: 100 700; font-style: normal; font-display: swap;
}

:root {
    --bg: #D3F2FB;
    --text: #013278;
    --pill: #002F6E;
    --accent: #FF66C4;
    --white: #FFFFFF;
    --glacier: #4477A1;
    --glacier-light: #B1DEEC;
    --font-head: "Hammersmith One", "Century Gothic", "Avant Garde", Futura, "Trebuchet MS", sans-serif;
    --font-body: "Josefin Sans", "Century Gothic", "Avant Garde", Futura, "Trebuchet MS", sans-serif;
    --radius: 20px;
    --edge: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .09em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; letter-spacing: .06em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
mark { background: var(--white); color: var(--text); padding: 0 .3em; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--pill); color: var(--white); padding: .7em 1em; z-index: 100; }
.skip:focus { left: 0; }
.plain { list-style: none; margin: 0; padding: 0; }
.empty { font-family: var(--font-head); letter-spacing: .06em; font-size: 1.2rem; }

/* ---------- Pills en knoppen ---------- */
.pill {
    display: inline-block;
    background: var(--pill);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    padding: .5em 1.1em .42em;
    border-radius: 999px;
    margin: 0;
}
a.pill:hover { background: var(--text); transform: rotate(-2deg) scale(1.04); }
a.pill { transition: transform .15s, background-color .15s; }
.pill-accent, a.pill-accent:hover { background: var(--accent); }
a.pill-accent:hover { outline: 2px solid var(--text); }
.pill-white { background: var(--white); color: var(--pill); }

.btn {
    display: inline-block;
    background: var(--pill);
    color: var(--white);
    font-family: var(--font-head);
    letter-spacing: .1em;
    font-size: 1rem;
    text-decoration: none;
    padding: .8em 1.6em .7em;
    border-radius: 999px;
    border: var(--edge) solid var(--pill);
    box-shadow: 0 4px 0 rgba(1, 50, 120, .25);
    transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--text); border-color: var(--text); transform: translateY(-2px) rotate(-1deg); box-shadow: 0 6px 0 rgba(1, 50, 120, .25); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(1, 50, 120, .25); }
.btn-outline { background: transparent; color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-white { background: var(--white); color: var(--pill); border-color: var(--white); }
.btn-white:hover { background: var(--bg); border-color: var(--bg); color: var(--pill); }
.more { font-family: var(--font-head); letter-spacing: .08em; }

/* ---------- Sneeuw ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.site-header, .hero-inner, .section, .page-head, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 2px solid var(--glacier-light); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .1em; }
.is-home .brand img { visibility: hidden; } /* op de startpagina staat het logo groot in beeld */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .4rem 1.5rem; }
.main-nav a { font-family: var(--font-head); letter-spacing: .1em; font-size: 1rem; text-decoration: none; padding: .4em 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .14em; }
.main-nav a.nav-ext { background: var(--pill); color: var(--white); padding: .55em 1.1em .45em; border-radius: 999px; }
.main-nav a.nav-ext:hover { background: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: var(--pill); border: 0; border-radius: 999px; width: 48px; height: 48px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--white); margin: 0 auto; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 2px solid var(--glacier-light); padding: .5rem 1.25rem 1.25rem; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; }
    .main-nav a { display: inline-block; font-size: 1.15rem; padding: .5em 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: clamp(2rem, 6vw, 4rem) 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(2rem, 5vw, 3rem); }
.hero-logo { margin: 0 auto 1.2rem; width: min(640px, 82%); }
.hero-logo img { width: 100%; }
.hero-title { font-size: clamp(2.6rem, 9vw, 5.6rem); letter-spacing: .08em; margin-bottom: .3em; }
.hero-title span { display: block; font-size: .5em; }
.hero-location { font-family: var(--font-head); letter-spacing: .08em; font-size: clamp(1.25rem, 3.2vw, 1.8rem); line-height: 1.3; margin-bottom: .8em; }
.hero-location small { display: block; font-size: .62em; }
.hero-tagline { font-size: 1.3rem; font-weight: 700; margin-bottom: .3em; }
.hero-intro { max-width: 36em; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.hero-decor { position: relative; z-index: 1; width: 100%; max-height: 420px; object-fit: contain; object-position: bottom center; }

/* Voetdecor: ijsbergen met pinguïns links en rechts */
.hero-foot { position: relative; z-index: 1; }
.decor { position: absolute; bottom: -2px; z-index: 3; width: clamp(110px, 17vw, 250px); filter: drop-shadow(0 6px 10px rgba(1, 50, 120, .18)); }
.decor-left { left: clamp(.25rem, 3vw, 4.5rem); transform: rotate(-3deg); transform-origin: bottom center; }
.decor-right { right: clamp(.25rem, 3vw, 4.5rem); width: clamp(90px, 13vw, 190px); transform: rotate(3deg); transform-origin: bottom center; }
@media (max-width: 620px) {
    .decor-left { width: 104px; left: .9rem; transform: none; }
    .decor-right { width: 80px; right: .9rem; transform: none; }
}

/* Pinguïn op de rand van de footer (alle pagina's behalve de startpagina) */
.foot-decor { max-width: 1120px; margin: 0 auto -2px; padding-right: clamp(1rem, 5vw, 4rem); display: flex; justify-content: flex-end; position: relative; z-index: 2; }
.foot-decor img { width: clamp(76px, 10vw, 128px); filter: drop-shadow(0 4px 8px rgba(1, 50, 120, .15)); }
@media print { .foot-decor { display: none; } }

/* Eenvoudig voetdecor zolang er geen illustratie is opgeladen (plaatshouder) */
.icebergs { position: relative; height: clamp(90px, 16vw, 190px); }
.icebergs::before, .icebergs::after { content: ""; position: absolute; inset: 0; }
.icebergs::before { background: var(--glacier); clip-path: polygon(0 100%, 0 45%, 7% 12%, 13% 40%, 19% 22%, 27% 78%, 36% 92%, 64% 92%, 72% 70%, 80% 18%, 86% 46%, 93% 8%, 100% 38%, 100% 100%); }
.icebergs::after { background: var(--white); clip-path: polygon(0 100%, 0 70%, 6% 38%, 12% 62%, 18% 48%, 26% 90%, 40% 100%, 60% 100%, 73% 86%, 81% 44%, 87% 66%, 94% 34%, 100% 60%, 100% 100%); }

/* ---------- Aftelklok ---------- */
.countdown { margin-top: 2rem; }
.countdown-title { font-family: var(--font-head); letter-spacing: .1em; font-size: 1.15rem; margin-bottom: .8em; }
.countdown-clock { display: inline-grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, 1.6vw, 1rem); }
.unit { background: var(--pill); color: var(--white); border-radius: var(--radius); box-shadow: 0 5px 0 rgba(1, 50, 120, .22); padding: clamp(.7rem, 2.4vw, 1.3rem) clamp(.5rem, 2.4vw, 1.5rem) clamp(.5rem, 2vw, 1rem); min-width: clamp(4.2rem, 17vw, 8rem); }
.unit .num { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 7.5vw, 4rem); line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.unit .lbl { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(.6rem, 1.9vw, .8rem); margin-top: .5em; }
.countdown-done { font-family: var(--font-head); letter-spacing: .08em; font-size: clamp(1.4rem, 4vw, 2.2rem); }

/* ---------- Secties ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-white { border-top: 2px solid var(--glacier-light); border-bottom: 2px solid var(--glacier-light); }
.section-white + .section-white, .hero + .section-white { border-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.section-title { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split:has(.panel) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.lead { font-size: 1.25rem; font-weight: 700; }
.after { margin-top: 2rem; }
.page-head { padding: clamp(2.2rem, 6vw, 4rem) 0 0; }
.page-head .pill { margin-bottom: 1rem; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { max-width: 40em; }
@media (max-width: 820px) { .split, .split:has(.panel) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Datumkolom ---------- */
.days { list-style: none; margin: 0; padding: 0; }
.day { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding: .85rem 0; border-bottom: 2px solid var(--glacier-light); }
.day:first-child { border-top: 2px solid var(--glacier-light); }
.day-line { font-family: var(--font-head); font-size: clamp(1.5rem, 4.6vw, 2.1rem); letter-spacing: .06em; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.day-sub { margin: .2em 0 0; font-size: 1rem; }
.day-sub::first-letter { text-transform: uppercase; }
.day.is-past { opacity: .5; }

/* ---------- Kaarten ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; align-items: stretch; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.card { position: relative; background: var(--white); border: var(--edge) solid var(--glacier-light); border-radius: var(--radius); transition: transform .18s, border-color .18s; }
.card.has-icon { margin-top: 30px; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: calc(var(--radius) - 3px); overflow: hidden; }
.card-link:hover { background: var(--white); }
.card:has(.card-link:hover) { border-color: var(--text); transform: translateY(-4px) rotate(-.6deg); }
.card-icon { position: absolute; z-index: 2; top: -26px; right: 16px; width: 64px; height: 64px; object-fit: contain; background: var(--bg); border: var(--edge) solid var(--glacier-light); border-radius: 50%; padding: 7px; transform: rotate(6deg); }
.title-icon { display: inline-block; vertical-align: -.16em; height: 1.1em; width: auto; margin-right: .35em; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-img-empty { background: var(--glacier-light); clip-path: polygon(0 100%, 0 62%, 16% 30%, 28% 56%, 42% 16%, 58% 60%, 72% 34%, 86% 58%, 100% 26%, 100% 100%); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-family: var(--font-head); letter-spacing: .08em; margin-bottom: .4em; }
.card-body h3 { margin-bottom: .4em; }
.card-more { margin-top: auto; font-family: var(--font-head); letter-spacing: .08em; text-decoration: underline; }

/* ---------- Panelen ---------- */
.panel { background: var(--white); border: 2px solid var(--glacier-light); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; }
.panel .pill { margin-bottom: 1rem; }
.panel .btn { margin-top: auto; }
.panel-navy { background: var(--pill); border-color: var(--pill); color: var(--white); }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--glacier); font-weight: 700; }
.prose a { font-weight: 700; overflow-wrap: anywhere; }
.prose a.btn { font-weight: 400; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.article-img { border-radius: var(--radius); border: 2px solid var(--glacier-light); margin-bottom: 1.5rem; width: 100%; }
.facts { background: var(--white); border: 2px solid var(--glacier-light); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.facts h2 { font-size: 1.3rem; }
.facts dl { margin: 0; }
.facts dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-top: 1em; }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 820px) { .article { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: var(--pill); color: var(--white); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; margin-top: clamp(1rem, 4vw, 3rem); }
.is-home .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .1em; margin-bottom: .4em; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .8em; }
.site-footer li { margin-bottom: .3em; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 2px solid var(--glacier); font-size: .95rem; }
.footer-legal p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
    .snow { display: none; }
    .btn:hover, .card:has(.card-link:hover), a.pill:hover { transform: none; }
}
@media print { .site-header, .hero-actions, .site-footer .footer-grid { display: none; } }
