/* Bouw Service Nederland, bouwservice.eu */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --antraciet: #20272D;
  --marine: #18354A;
  --blauw: #1087C7;
  --beige: #F0ECE4;

  --bg: #FFFFFF;
  --bg-alt: var(--beige);
  --surface: #FFFFFF;
  --text: var(--antraciet);
  --text-muted: #4F5A63;
  --line: #DDD7CC;
  --link: #0B6FA6;
  --hero-bg: var(--marine);
  --hero-text: #FFFFFF;
  --footer-bg: var(--antraciet);
  --footer-text: #D8DDE1;
  --concept-bg: #FFF4D6;
  --concept-line: #E0B54A;
  --concept-text: #5C4300;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --head-weight: 700;
  --head-tracking: 0.005em;

  --max: 1120px;
  --radius: 10px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14191E;
    --bg-alt: #1A2128;
    --surface: #1F272F;
    --text: #E9ECEE;
    --text-muted: #A9B3BB;
    --line: #2F3A44;
    --link: #5DB8EC;
    --hero-bg: #102838;
    --footer-bg: #0E1216;
    --footer-text: #B9C2C9;
    --concept-bg: #3A2F12;
    --concept-line: #9C7A1F;
    --concept-text: #F5DE9C;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.logo .logo-donker { display: none; }
@media (prefers-color-scheme: dark) {
  .logo .logo-licht { display: none; }
  .logo .logo-donker { display: block; }
}
.nav ul { list-style: none; display: flex; gap: 4px 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blauw); }
.nav a[aria-current="page"] { border-bottom-color: var(--blauw); }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent; line-height: 1.3; }
.btn-primary { background: var(--blauw); color: #FFFFFF; }
.btn-primary:hover { background: #0C74AD; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #FFFFFF; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); padding: 72px 0 80px; }
.hero .eyebrow { color: #8FD0F2; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
.hero h1 { max-width: 17ch; }
.hero p.lead { font-size: 1.2rem; max-width: 46ch; color: #DCE5EC; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { max-width: 62ch; color: var(--text-muted); margin-bottom: 32px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--text-muted); margin-bottom: 0; }

.shop-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-top: 4px solid var(--blauw); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.shop-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(24, 53, 74, 0.12); }
.shop-card .domain { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.45rem; color: var(--text); margin-bottom: 6px; }
.shop-card .go { margin-top: 16px; color: var(--link); font-weight: 600; }

.steps { counter-reset: stap; list-style: none; padding: 0; margin: 0; }
.steps.grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.steps li { counter-increment: stap; position: relative; padding-left: 76px; }
.steps li::before { content: counter(stap); position: absolute; left: 24px; top: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--marine); color: #FFFFFF; display: grid; place-items: center; font-weight: 600; }
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--blauw); } }

.cta-band { background: var(--antraciet); color: #FFFFFF; padding: 48px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; color: #C9D1D7; }

/* Prijzen */
.price-block { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--blauw); border-radius: var(--radius); padding: 28px 32px; }
.price-block-spaced { margin-top: 32px; }
.price-block h2 { margin-bottom: 0.4em; }
.price-block p { color: var(--text-muted); margin-bottom: 0; }
.price-block .price-label { color: var(--text); font-weight: 600; margin-bottom: 8px; }
.price-links { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.price-links a { font-weight: 600; }
@media (max-width: 760px) { .price-block { grid-template-columns: 1fr; padding: 24px 20px; } }

/* Content pages */
.page-head { background: var(--bg-alt); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--text-muted); max-width: 62ch; margin: 0; }
.prose { padding-top: 48px; padding-bottom: 64px; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

.concept-banner { background: var(--concept-bg); border: 2px dashed var(--concept-line); color: var(--concept-text); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.concept-banner strong { display: block; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 48px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #FFFFFF; }
.site-footer h2 { font-size: 1.2rem; color: #FFFFFF; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .section { padding: 48px 0; }
  .logo img { height: 28px; }
  .site-header .container { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card { transition: none; }
  .shop-card:hover { transform: none; }
}
