/* Rostiqo website – huisstijl Rostiqo. Geen externe bestanden: lettertypen komen uit app/fonts. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(app/fonts/AtkinsonHyperlegibleNext-Variable.woff) format("woff"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(app/fonts/SchibstedGrotesk-Variable.woff) format("woff"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(app/fonts/IBMPlexMono-Medium.woff) format("woff"); font-weight: 500; font-display: swap; }

:root {
  --surface: #F4F6F3; --surface-raised: #FFFFFF; --surface-sunken: #E7ECE8; --line: #CDD6D0; --line-strong: #7A8A83;
  --ink: #14201C; --ink-muted: #53625C; --brand: #17614F; --brand-strong: #0E4538; --brand-tint: #DBEEE6; --on-brand: #FFFFFF;
  --accent: #B23C14; --accent-tint: #FCE5DA; --shift-night: #2C3B6B; --focus: #1F57B8;
  --font-display: "Schibsted Grotesk", "Arial Narrow", Arial, sans-serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --kop: 68px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kop) + 16px);
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 24px; -webkit-text-size-adjust: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }

/* ---------- kop: blijft bovenaan staan ---------- */
.kop { position: sticky; top: 0; z-index: 50; background: var(--surface-raised); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.kop.gescrold { box-shadow: 0 1px 2px rgba(20,32,28,.08), 0 4px 12px rgba(20,32,28,.08); }
.kop .wrap { display: flex; align-items: center; gap: 16px 32px; min-height: var(--kop); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 32px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 4px 8px; flex-grow: 1; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 8px; position: relative; }
.menu a:hover { background: var(--surface); color: var(--ink); }
.menu a[aria-current="true"] { color: var(--brand); }
.menu a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/24px var(--font-text); padding: 10px 18px; border-radius: 10px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-licht { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.btn-licht:hover { background: var(--surface); color: var(--ink); }
.kop .inloggen { flex: none; }
.hamburger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.hamburger svg { display: block; }
.hamburger .dicht { display: none; }
.hamburger[aria-expanded="true"] .open { display: none; }
.hamburger[aria-expanded="true"] .dicht { display: block; }

@media (max-width: 1040px) {
  :root { --kop: 60px; }
  .logo img { height: 28px; }
  .hamburger { display: inline-flex; }
  .kop .wrap { flex-wrap: nowrap; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface-raised); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20,32,28,.12); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px max(16px, env(safe-area-inset-right, 0px));
    max-height: calc(100vh - var(--kop)); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .menu.open { transform: none; opacity: 1; visibility: visible; transition: opacity .18s, transform .18s, visibility 0s; }
  .menu a { padding: 14px 12px; font-size: 18px; border-bottom: 1px solid var(--surface-sunken); border-radius: 0; }
  .menu a[aria-current="true"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .menu .menu-inloggen { margin-top: 12px; border: 0; border-radius: 10px; background: var(--brand); color: var(--on-brand); text-align: center; }
  .menu .menu-inloggen:hover { background: var(--brand-strong); color: var(--on-brand); }
  .kop .inloggen { display: none; }
}
@media (min-width: 1041px) { .menu .menu-inloggen { display: none; } }

/* ---------- secties ---------- */
section { padding: 72px 0; }
.sectie-kop { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.sectie-kop h2, h2.groot { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -.8px; }
.sectie-kop p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.kaart { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-tekst { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -1.5px; }
.hero-tekst > p { margin: 0; font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 60ch; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.inlogvak { flex: 1 1 360px; min-width: 0; max-width: 440px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(20,32,28,.08), 0 2px 8px rgba(20,32,28,.06); }
.inlogvak h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 30px; }
.veld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; line-height: 20px; }
.veld .opt { font-weight: 400; color: var(--ink-muted); }
.veld input, .veld textarea { font: 400 16px/24px var(--font-text); color: var(--ink); background: var(--surface-raised); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 6px; width: 100%; }
.veld textarea { resize: vertical; min-height: 132px; }
.fout { margin: 0; color: var(--accent); font-size: 14px; line-height: 20px; }
.gelukt { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-tint); color: var(--brand-strong); border-radius: 10px; padding: 14px 16px; }
.gelukt svg { flex: none; margin-top: 1px; }
.gelukt p { margin: 0; }

/* rooster */
.rooster-sectie { padding: 0 0 72px; }
.rooster { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rooster-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.rooster-kop .week { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 32px; }
.rooster-scroll { overflow-x: auto; }
.rooster-grid { min-width: 760px; display: grid; grid-template-columns: 150px repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 13px; line-height: 18px; }
.rooster-grid .dag { font-weight: 700; color: var(--ink-muted); padding: 4px 8px; }
.rooster-grid .rij { font-weight: 700; padding: 8px; align-self: center; }
.pil { border-radius: 999px; padding: 8px 14px; display: flex; justify-content: space-between; gap: 8px; }
.pil.bezet { background: var(--brand-tint); color: var(--brand-strong); }
.pil.open { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
.pil.nacht { background: var(--shift-night); color: #FFFFFF; }
.pil.leeg { background: var(--surface-sunken); }
.rooster-voet { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.rooster-voet .actie { display: inline-flex; background: var(--accent); color: #FFFFFF; font-weight: 700; padding: 8px 16px; border-radius: 10px; }

/* wat het doet: 2 rijen van 3 */
.wat { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
@media (max-width: 960px) { .drie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; } }
@media (max-width: 600px) { .drie { grid-template-columns: minmax(0, 1fr); } }
.punt { display: flex; flex-direction: column; gap: 8px; }
.punt h3 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.punt p { margin: 0; color: var(--ink-muted); }

/* werkwijze */
.stappen { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .stappen { grid-template-columns: minmax(0, 1fr); } }
.stappen li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.stappen .nr { font-family: var(--font-data); font-weight: 500; color: var(--brand); }
.stappen .titel { margin: 0; font-weight: 700; font-size: 18px; line-height: 24px; }
.stappen p { margin: 0; }

/* branches */
.branches { background: var(--surface-sunken); }
.twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.branche { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.branche .naam { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 30px; }
.branche .naam b { color: var(--brand); font-weight: 800; }
.branche-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-tint); padding: 4px 8px; border-radius: 6px; }
.branche.stippel { background: transparent; border: 1px dashed var(--line-strong); }
.branche a { font-weight: 700; padding: 10px 0; }

/* contact */
.contact .wrap > .kaart { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; }
@media (max-width: 860px) { .contact .wrap > .kaart { grid-template-columns: minmax(0, 1fr); } }
.contact-info { background: var(--brand); color: var(--on-brand); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-info h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.6px; }
.contact-info p { margin: 0; font-size: 18px; line-height: 28px; }
.contact-info dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 16px; }
.contact-info dt { opacity: .8; }
.contact-info dd { margin: 0; font-weight: 700; }
.contact-info a { color: #FFFFFF; }
.contact-form { padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-content: start; }
.contact-form .breed { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-form { grid-template-columns: minmax(0, 1fr); padding: 24px; } .contact-info { padding: 28px 24px; } }
.potje { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* voet */
.voet { background: var(--ink); color: #C9D4CF; }
.voet .wrap { padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.voet img { height: 28px; width: auto; display: block; }
.voet nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.voet nav a { color: #FFFFFF; padding: 10px 0; }
.voet p { margin: 0; font-size: 14px; line-height: 20px; }
.voet .voet-contact a { color: #FFFFFF; }

/* tekstpagina's (privacy, verwerkersovereenkomst) */
.tekst { padding: 56px 0 72px; }
.tekst article { max-width: 760px; }
.tekst h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 8px; }
.tekst h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 28px; margin: 36px 0 8px; }
.tekst p, .tekst li { max-width: 68ch; }
.tekst table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tekst th, .tekst td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tekst th { background: var(--surface-sunken); }
.tabel { overflow-x: auto; }
.let-op { background: var(--accent-tint); color: #5A1E08; border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
.concept { border-left: 4px solid var(--accent, #B23C14); background: var(--accent-tint); padding: 12px 16px; border-radius: 8px; margin: 16px 0 8px; }
.tekst ol.art { padding-left: 1.4em; } .tekst ol.art li { margin: 6px 0; }
.tekst code { font-family: var(--font-data); font-size: .92em; }
.code-invoer { font-family: var(--font-data) !important; font-size: 24px !important; letter-spacing: .25em; text-align: center; }

/* ---------- schermen ---------- */
.schermen { background: var(--surface); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs [role="tab"] { font: 700 16px/24px var(--font-text); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.tabs [role="tab"]:hover { background: var(--surface-sunken); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.paneel[hidden] { display: none; }
.paneel { display: flex; flex-direction: column; gap: 16px; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-raised); box-shadow: 0 2px 4px rgba(20,32,28,.06), 0 24px 48px rgba(20,32,28,.12); }
.browser-balk { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-sunken); border-bottom: 1px solid var(--line); }
.browser-balk i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-balk span { margin-left: 10px; font-family: var(--font-data); font-size: 13px; color: var(--ink-muted); background: var(--surface-raised); border-radius: 6px; padding: 2px 12px; }
.browser img, .browser video { display: block; width: 100%; height: auto; }
.browser.film { background: #14201C; }
.bijschrift { margin: 0; max-width: 72ch; color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.bijschrift b, .telefoon figcaption b { color: var(--ink); }
.telefoons { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px; }
.telefoon { margin: 0; width: min(300px, 100%); display: flex; flex-direction: column; gap: 14px; }
.telefoon img { display: block; width: 100%; height: auto; border-radius: 34px; border: 9px solid var(--ink); background: var(--ink); box-shadow: 0 24px 48px rgba(20,32,28,.18); }
.telefoon figcaption { color: var(--ink-muted); font-size: 16px; line-height: 24px; }
@media (max-width: 600px) { .tabs [role="tab"] { padding: 8px 14px; font-size: 15px; } .browser { border-radius: 10px; } .browser-balk span { display: none; } }

/* ---------- veelgestelde vragen ---------- */
.vragen { background: var(--surface-raised); border-top: 1px solid var(--line); }
.vragenlijst { max-width: 820px; border-top: 1px solid var(--line); }
.vraag { border-bottom: 1px solid var(--line); }
.vraag summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 700; font-size: 18px; line-height: 26px; }
.vraag summary::-webkit-details-marker { display: none; }
.vraag summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.vraag[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.vraag summary:hover { color: var(--brand); }
.vraag summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.vraag p { margin: 0 4px 22px; max-width: 68ch; color: var(--ink-muted); font-size: 17px; line-height: 27px; }
@media (prefers-reduced-motion: reduce) { .vraag summary::after { transition: none; } }
