:root {
  --logo-size: 96px;
  --color-primary: #0000ff;
  --font-size-base: 17px;
  --section-space: 88px;
  --hero-split: 0;
  --text: #2b1a14;
  --bg: #fff7ec;
  --card: #ffffff;
  --accent: #f5a623;
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
img, video, iframe { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
p { margin: 0 0 1em; overflow-wrap: anywhere; }
a { color: var(--color-primary); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: .5rem 1.25rem; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, white); }
.logo { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--text); text-decoration: none; min-height: 44px; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo .naam { font-weight: 600; }
.logo em { font-style: normal; color: var(--color-primary); }
.logo-img { height: var(--logo-size); width: var(--logo-size); object-fit: contain; flex: none; }
.site-nav { display: flex; gap: .25rem; align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; color: var(--text); text-decoration: none; font-weight: 700; border-radius: 999px; }
.site-nav a:hover { background: color-mix(in srgb, var(--color-primary) 15%, white); }
.site-nav a.cta { background: var(--color-primary); color: #fff; }
.site-nav a.cta:hover { background: color-mix(in srgb, var(--color-primary) 85%, black); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--text); cursor: pointer; }

/* hero */
.hero { display: grid; grid-template-columns: calc(var(--hero-split) * 50%) 1fr; align-items: center; background: var(--bg); }
.hero-foto { grid-area: 1 / 1 / 2 / 3; width: calc(100% - var(--hero-split) * 50%); height: 100%; min-height: 70vh; object-fit: cover; }
.hero-tekst { grid-area: 1 / 2; z-index: 1; padding: 2rem clamp(1.25rem, 6vw, 5rem); color: color-mix(in srgb, #fff calc((1 - var(--hero-split)) * 100%), var(--text)); background: rgb(0 0 0 / calc((1 - var(--hero-split)) * 0.45)); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-tekst p { font-size: 1.2rem; max-width: 34ch; }
.badge { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; background: var(--accent); color: #2b1a14; font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: #c0261a; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.6rem; border-radius: 999px; background: var(--color-primary); color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; align-self: flex-start; }
.btn:hover { background: color-mix(in srgb, var(--color-primary) 85%, black); }

/* sections */
section { padding-block: var(--section-space); padding-inline: 1.25rem; }
.wrap { max-width: 1000px; margin: 0 auto; }

/* player */
#luister { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--color-primary) 12%, var(--bg))); }
.player { background: var(--card); border-radius: 28px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--color-primary) 55%, transparent); display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; }
.play-btn { width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--color-primary); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 0 color-mix(in srgb, var(--color-primary) 70%, black); transition: transform .1s, box-shadow .1s; }
.play-btn:active { transform: translateY(4px); box-shadow: 0 4px 0 color-mix(in srgb, var(--color-primary) 70%, black); }
.play-btn svg { width: 44px; height: 44px; fill: #fff; }
.play-btn .i-pause { display: none; }
.playing .play-btn .i-play { display: none; }
.playing .play-btn .i-pause { display: block; }
.now .label { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); }
.now h2 { margin: .2rem 0 .3rem; }
.now p { margin: 0; opacity: .8; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin-top: 1rem; }
.eq i { width: 6px; height: 20%; background: var(--accent); border-radius: 3px; transition: height .3s; }
.playing .eq i { animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.8s; } .eq i:nth-child(6) { animation-delay: -.45s; } .eq i:nth-child(7) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { height: 15%; } 50% { height: 100%; } }
.controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 2px dashed color-mix(in srgb, var(--color-primary) 20%, white); }
.controls label { font-weight: 700; display: flex; align-items: center; gap: .6rem; flex: 1; }
.controls input[type=range] { flex: 1; min-height: 44px; accent-color: var(--color-primary); }
.status { grid-column: 1 / -1; margin: 0; font-size: .95rem; min-height: 1.5em; }

/* over */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--card); border-radius: 22px; padding: 1.5rem; border: 2px solid color-mix(in srgb, var(--color-primary) 15%, white); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 35%, white); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; }

/* footer */
.site-footer { background: var(--text); color: #fbe9d2; padding: 2.5rem 1.25rem; text-align: center; }
.site-footer a { color: var(--accent); }
.site-footer .logo { justify-content: center; color: #fff; }

@media (max-width: 768px) {
  .menu-toggle { display: block; min-width: 44px; min-height: 44px; }
  .site-nav { display: none; }
  .menu-open .site-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: .5rem 1.25rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, white); }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-foto { grid-area: 1 / 1; align-self: start; width: 100%; min-height: 0; height: calc(70svh - var(--hero-split) * (70svh - 240px)); }
  .hero-tekst { grid-area: 1 / 1; align-self: end; margin-top: calc(var(--hero-split) * 240px); }
  section { padding-block: calc(var(--section-space) * 0.6); }
  .player { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .now .label { justify-content: center; }
  .eq { justify-content: center; }
}
