/* toiletrent.nl — één stylesheet, geen externe fonts of frameworks */
:root {
  --ink: #16212e;
  --muted: #566476;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f2f6f9;
  --navy: #123a5e;
  --navy-dark: #0c2943;
  --accent: #19a38f;
  --accent-dark: #127a6b;
  --radius: 10px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--accent-dark); margin-bottom: .5em; }
.eyebrow a { color: inherit; text-decoration: none; }

/* knoppen */
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; padding: .75em 1.4em; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 600; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* kopbalk */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-dark); }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; }
.brand-text small { font-size: .75rem; color: var(--muted); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a { display: block; padding: 8px 10px; text-decoration: none; color: var(--ink); font-size: .95rem; border-radius: 6px; }
.nav a:hover, .nav li.active > a, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 10px 30px rgba(18,58,94,.12); }
.nav li[data-sub]:hover > .sub, .nav li[data-sub]:focus-within > .sub { display: block; }
.topbar-phone { white-space: nowrap; font-weight: 600; text-decoration: none; color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font: inherit; color: var(--navy-dark); cursor: pointer; }

@media (max-width: 1020px) {
  .topbar-phone { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .nav a { padding: 10px 4px; }
}

/* hero */
.hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #7fe0d0; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-img img { border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.3); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hero-img { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
}

/* secties */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0 28px; }
.page-head .lead { max-width: 720px; }
.page-head + .section { padding-top: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .section { padding: 44px 0; } }
.note { color: var(--muted); margin-top: 24px; }

/* kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(18,58,94,.12); color: var(--ink); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--bg-alt); }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { margin-bottom: .3em; }
.card-body p { margin: 0; font-size: .93rem; color: var(--muted); }

/* stappen */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: stap; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: stap; }
.steps li::before { content: counter(stap); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* productpagina */
.product { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: 48px; align-items: start; }
.product-img { margin: 0; position: sticky; top: 92px; background: var(--bg-alt); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; }
.product-img img { border-radius: 6px; max-height: 420px; width: auto; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 24px; } .product-img { position: static; } .product-img img { max-height: 300px; } }
.prose { max-width: 720px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .3em; }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.4em; }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.price { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4em 0; }
.price-amount { font-size: 1.4rem; font-weight: 700; color: var(--navy-dark); }
.price p { margin: .3em 0 0; color: var(--muted); font-size: .93rem; }
.specs { border-collapse: collapse; width: 100%; max-width: 440px; margin-bottom: 1.4em; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs th { font-weight: 500; color: var(--muted); width: 55%; }
.link-list { padding-left: 1.2em; }
.link-list li { margin-bottom: .5em; }

/* schema */
.table-scroll { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: var(--radius); }
.grid { border-collapse: collapse; width: 100%; font-size: .92rem; font-variant-numeric: tabular-nums; }
.grid caption { text-align: left; padding: 10px 12px; color: var(--muted); font-size: .85rem; }
.grid th, .grid td { padding: 6px 10px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.grid thead th { background: var(--bg-alt); text-align: center; color: var(--navy-dark); }
.grid tbody th { text-align: left; font-weight: 600; background: #fafcfd; }
.grid tbody tr:hover { background: #f7fbfa; }
.grid .hit { background: var(--accent); color: #fff; font-weight: 700; }
.calc { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px; margin-bottom: 40px; }
.calc h2 { color: #fff; }
.calc-fields { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.calc label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; }
.calc input[type=number] { width: 150px; padding: 10px 12px; border-radius: 8px; border: 0; font: inherit; color: var(--ink); }
.calc input[type=checkbox] { width: 18px; height: 18px; }
.calc-result { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 22px; font-size: 1.1rem; }
.calc-result span { font-size: 2.2rem; font-weight: 800; color: #7fe0d0; margin-right: 6px; }
.calc-note { margin: 10px 0 0; font-size: .88rem; color: rgba(255,255,255,.8); }

/* voorwaarden */
.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal h3 { font-size: 1rem; margin: 1em 0 .3em; }
.legal p { font-size: .95rem; }

/* contact */
.section-contact { background: var(--bg-alt); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .93rem; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c7d1dc; border-radius: 8px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: var(--accent-dark); font-weight: 600; }
.form-status.err { color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* voet */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); font-size: .92rem; padding: 40px 0; }
.footer a { color: #fff; }
.footer strong { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.table-scroll.narrow { max-width: 560px; }
