/* Statsday website — één stijl voor alle pagina's.
   Layout: donkere merk-kop met slogan, daaronder rustige lichte secties; per sport een eigen accentkleur. */
:root {
  --ink: #12203a;          /* merk: sportblauw */
  --flare: #ff6a3d;        /* merk: oranje meetpunt */
  --football: #1f8f4e;
  --padel: #1f6fd1;
  --tennis: #c8553d;
  --alpine: #1a8fb8;       /* ijsblauw, sportkleur Statsday Alpine */
  --sport: var(--flare);   /* per pagina overschreven */
  --bg: #f4f5f2;
  --surface: #ffffff;
  --fg: #141a24;
  --muted: #5b6472;
  --line: #e1e4de;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d1219; --surface: #151c27; --fg: #eef1f5; --muted: #9aa4b2; --line: #243041; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0d1219; --surface: #151c27; --fg: #eef1f5; --muted: #9aa4b2; --line: #243041; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Navigatie */
.nav { background: var(--ink); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Woordmerk met de S-lijn als eerste letter */
.word { display: inline-flex; align-items: baseline; white-space: nowrap; }
.s-glyph { height: .84em; width: auto; margin-right: .02em; transform: translateY(.1em); flex: none; }
.brand .wordmark { display: grid; line-height: 1; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 26px; letter-spacing: -0.01em; }
.brand b { color: var(--flare); }
.brand small { font-family: var(--body); font-stretch: 100%; font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.nav nav a { text-decoration: none; opacity: .85; }
.nav nav a:hover, .nav nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding-block: 48px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sport); margin: 0 0 10px; }
.hero h1 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(38px, 6.5vw, 68px); line-height: .98; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--flare); }
.hero p.lead { font-size: 19px; opacity: .88; max-width: 34ch; margin: 0 0 26px; }
.hero .art { display: flex; justify-content: center; }
.hero .art svg { width: min(320px, 70vw); height: auto; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--flare); color: #fff; }
.btn.ghost { border: 2px solid rgba(255,255,255,.35); color: #fff; }
/* App-knoppen in de kleur van het app-icoon; 18px vet voor voldoende contrast met witte tekst. */
.btn.football { background: var(--football); color: #fff; font-size: 18px; }
.btn.padel { background: var(--padel); color: #fff; font-size: 18px; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(255,106,61,.15); color: var(--flare); }

/* Secties */
section.block { padding-block: 56px; }
section.block h2 { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
section.block p.intro { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

/* App-kaarten */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 12px; align-content: start; text-decoration: none; }
a.app:hover { border-color: var(--sport); }
.app .top { display: flex; align-items: center; gap: 14px; }
.app .top svg { width: 64px; height: 64px; flex: none; }
.app h3 { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 21px; margin: 0; }
.app p { margin: 0; color: var(--muted); font-size: 16px; }
.app .more { font-weight: 700; font-size: 15px; }
.app.later { opacity: .7; }


/* Kenmerken */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sport); margin-bottom: 12px; }

/* Schermafbeeldingen */
.shots { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; width: clamp(250px, 30vw, 330px); scroll-snap-align: start; margin: 0; }
.shot a.zoom { display: block; cursor: zoom-in; border-radius: 34px; }
.shot img { width: 100%; height: auto; border-radius: 34px; border: 5px solid #0b0f15; box-shadow: 0 14px 30px rgba(18,32,58,.18); }
.shot a.zoom:focus-visible { outline: 3px solid var(--sport); outline-offset: 4px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8,12,20,.82); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 36px; border: 5px solid #0b0f15; }
.lightbox button { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #12203a; font-size: 26px; line-height: 1; cursor: pointer; }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

/* Belofte-strook */
.promise { background: var(--surface); border-block: 1px solid var(--line); }
.promise .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; padding-block: 34px; }
.promise strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: 18px; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 15.5px; }

/* Tekstpagina's (support, privacy) */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-stretch: 112%; font-size: 22px; margin: 34px 0 8px; }
.prose h3 { font-size: 18px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--fg); }
.prose ul { padding-left: 20px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
details summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }
.mail { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface); border: 1px solid var(--line); padding: 3px 8px; border-radius: 8px; user-select: all; }

/* Footer */
footer.site { background: var(--ink); color: rgba(255,255,255,.75); padding-block: 34px; font-size: 15px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site a { color: #fff; }
footer.site .slogan { font-family: var(--display); font-stretch: 118%; font-weight: 800; color: #fff; }
footer.site .slogan b { color: var(--flare); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .art { order: -1; }
  .hero .art svg { width: 170px; }
  .hero { padding-block: 32px 52px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Taalkeuze (NL · EN · ES) rechts in het menu */
.nav nav .lang { display: inline-flex; gap: 2px; margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.nav nav .lang a { padding: 0 4px; font-size: 14px; letter-spacing: .04em; }
.nav nav .lang a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
/* Schermafbeeldingen van de Apple Watch: kleiner en ronder dan die van de iPhone */
.shot.watch { width: clamp(170px, 20vw, 220px); align-self: center; }
.shot.watch img, .shot.watch a.zoom { border-radius: 44px; }
/* drie horloges onder elkaar, samen ongeveer zo hoog als één iPhone-scherm */
.shot-stack { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; scroll-snap-align: start; }
.shot-stack .shot.watch { width: auto; align-self: stretch; }
.shot-stack .shot.watch a.zoom { width: clamp(118px, 15vw, 165px); margin: 0 auto; }
.shot-stack .shot.watch img, .shot-stack .shot.watch a.zoom { border-radius: 34px; }
.shot-stack .shot figcaption { margin-top: 6px; white-space: nowrap; }
.note { font-size: 15px; color: var(--muted); max-width: 60ch; }
@media (max-width: 760px) {
  .nav nav .lang { margin-left: 0; padding-left: 0; border-left: 0; }
}
/* Vlaggetjes in de taalkeuze: de actieve taal vol, de andere iets lichter */
.nav nav .lang { gap: 6px; }
.nav nav .lang a { text-decoration: none !important; opacity: .55; padding: 2px 4px; border-radius: 6px; line-height: 1; }
.nav nav .lang a:hover { opacity: .9; }
.nav nav .lang a[aria-current="true"] { opacity: 1; background: rgba(255,255,255,.14); }
.nav nav .lang .flag { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); object-fit: cover; }
/* Scherp logo: schaduw via box-shadow i.p.v. filter: drop-shadow (een filter laat sommige browsers
   de SVG eerst op lage resolutie omzetten naar pixels, waardoor hij wazig wordt). Afronding = rx 27/120. */
.hero .art svg, .app .top svg { border-radius: 22.5%; }
.hero .art svg { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.app .top svg { box-shadow: 0 6px 14px rgba(18,32,58,.18); }
/* Logo in de kop op elke pagina op dezelfde hoogte (niet meer verticaal gecentreerd naast tekst van
   wisselende lengte), zodat het niet verspringt als je tussen Voetbal en Padel wisselt. */
.hero .wrap { align-items: start; }
.hero .art { align-self: start; padding-top: 8px; }
@media (max-width: 760px) { .hero .art { padding-top: 0; } }
/* Extra alinea en e-mailadres in de donkere kop goed leesbaar */
.hero .note { color: rgba(255,255,255,.72); margin: -10px 0 24px; }
a.mail { color: inherit; text-decoration: none; }
a.mail:hover { border-color: currentColor; }
.hero .mail { background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }

/* Homepage: slogan onder het merklogo, rustige tekstkolom links. */
.hero.home .wrap { align-items: center; }
.hero.home .art { flex-direction: column; align-items: center; padding-top: 0; }
.hero.home .art svg { width: min(260px, 60vw); }
.hero.home h1.slogan { font-size: clamp(28px, 3.6vw, 40px); text-align: center; margin: 28px 0 0; }
.hero.home p.lead { font-size: clamp(20px, 2.2vw, 24px); max-width: 30ch; line-height: 1.45; }
@media (max-width: 760px) {
  .hero.home .art svg { width: 150px; }
  .hero.home h1.slogan { margin: 18px 0 8px; }
}
/* Mailadres in de donkere voettekst: licht vakje, witte tekst (ook in lichte modus leesbaar). */
footer.site .mail { background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
/* App-kaarten: naam op één regel (ook "Statsday Football"). */
.app .top { gap: 12px; }
.app .top svg { width: 56px; height: 56px; }
.app h3 { font-size: 19px; font-stretch: 106%; white-space: nowrap; }
/* Telefoon: vlaggetjes rechtsboven naast het logo (scheelt een regel), kleiner merklogo op de homepage. */
@media (max-width: 760px) {
  .nav .wrap { position: relative; row-gap: 10px; }
  .nav nav .lang { position: absolute; top: 18px; right: max(20px, env(safe-area-inset-right, 0px)); }
  .hero.home { padding-top: 28px; }
  .hero.home .art svg { width: 120px; }
  .hero.home h1.slogan { margin: 14px 0 4px; }
}
/* Zachtere overgang van de donkere kop naar de lichte inhoud: afgeronde onderrand. */
.hero { border-radius: 0 0 36px 36px; position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(18,32,58,.12); }
@media (max-width: 760px) { .hero { border-radius: 0 0 26px 26px; } }
/* Voetbalpagina: kop netjes op twee regels ("Jouw team, / elke wedstrijddag."). */
.hero h1.twolines { font-size: clamp(34px, 4.6vw, 54px); }
@media (min-width: 761px) { .hero h1.twolines { text-wrap: nowrap; white-space: nowrap; } }
@media (max-width: 760px) { .hero h1.twolines { font-size: min(30px, 7.6vw); white-space: nowrap; } }
/* Voetbalpagina: langere kop ("Alle statistieken voor jouw team ...") iets kleiner zodat hij in 2-3 regels past. */
.hero h1.long { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.04; }
/* Instagram-icoontje in de voet: op één lijn met de tekst. */
footer.site a.insta { display: inline-flex; color: #fff; padding: 4px; margin: -4px; }
footer.site a.insta:hover { color: var(--flare); }
/* Instagram-icoontje in het menu bovenin. */
.nav nav a.insta { display: inline-flex; align-items: center; text-decoration: none !important; }
.nav nav a.insta svg { width: 20px; height: 20px; }
