/* Cascom Admin — styles. Tokens first; mobile-first; breakpoints 640 / 960 / 1200. */
:root {
  --paper: #faf7f2;
  --paper-2: #f3eee5;
  --white: #ffffff;
  --ink: #24323f;
  --slate: #3e5264;
  --slate-soft: #5a6b7a;
  --blue: #0063cf;
  --blue-dark: #004fa8;
  --blue-tint: #eaf2fc;
  --blue-line: #97cbff;
  --red: #9b0000;
  --line: #ddd6c8;
  --line-strong: #c9c0ad;

  --f-head: "Lora", Georgia, serif;
  --f-body: "Source Sans 3", "Segoe UI", Helvetica, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 80px;
  --t-sm: 0.9375rem; --t-base: 1.0625rem; --t-lg: 1.25rem; --t-xl: 1.5rem; --t-2xl: 1.875rem; --t-3xl: 2.375rem; --t-4xl: 3rem;
  --radius: 5px;
  --shadow-1: 0 1px 2px rgba(36, 50, 63, 0.08);
  --shadow-2: 0 6px 20px rgba(36, 50, 63, 0.1);
  --wrap: 1120px;
  --header-h: 72px;
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--bar-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--slate);
  font-family: var(--f-body); font-size: var(--t-base); line-height: 1.65;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); line-height: 1.2; margin: 0 0 var(--s4); font-weight: 600; }
h1 { font-size: 2rem; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--t-2xl); text-wrap: balance; }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); }
.skip { position: absolute; left: var(--s4); top: -60px; background: var(--ink); color: var(--white); padding: var(--s3) var(--s4); z-index: 100; border-radius: var(--radius); }
.skip:focus { top: var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* eyebrow with small red rule (logo shadow colour, sparing) */
.eyebrow { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s4); white-space: nowrap; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); flex: none; }
.eb-long { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border-radius: var(--radius); border: 1.5px solid var(--blue); background: var(--blue); color: var(--white); font: 600 var(--t-base)/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue-tint); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--light { background: var(--white); color: var(--blue-dark); border-color: var(--white); }
.btn--light:hover { background: var(--blue-tint); color: var(--blue-dark); border-color: var(--blue-tint); }
.btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn svg, .ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s4); }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.logo img { height: 32px; width: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s1); align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-base); border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav .btn { color: var(--white); margin-left: var(--s3); border-bottom: 1.5px solid var(--blue); }
.nav .btn:hover { color: var(--white); }
.menu-btn { width: 48px; height: 48px; border: 1.5px solid var(--line-strong); background: var(--white); border-radius: var(--radius); display: grid; place-items: center; cursor: pointer; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s, background-color .2s; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { padding: var(--s2) var(--s4) var(--s4); }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; color: var(--ink); font-weight: 600; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--blue); }

/* mobile bottom bar */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line-strong); }
.bottom-bar .btn { min-height: 48px; }
.nav-open .bottom-bar { display: none; }

/* sections */
.section { padding: var(--s7) 0; }
.section--tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: var(--s5); }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--slate); }

/* hero */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s5); }
.hero h1 { font-size: 2.125rem; margin-bottom: var(--s4); }
.hero h1 .line { display: inline; }
.hero .actions { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s4); }
.hero .micro { font-size: var(--t-sm); color: var(--slate-soft); margin: 0; }

/* hero photo */
.hero-photo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); background: var(--paper-2); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* summaries */
.cards { display: grid; gap: var(--s4); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.card h3 { margin-bottom: var(--s2); }
.card p { margin-bottom: var(--s3); flex: 1; }
.card .more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.card .more:hover { text-decoration: underline; }

/* two arrangements */
.two { display: grid; gap: var(--s5); }
.two > div { border-left: 3px solid var(--blue); padding: var(--s1) 0 var(--s1) var(--s5); }
.two h3 { margin-bottom: var(--s2); }
.two p { margin: 0; }
.note { margin: var(--s5) 0 0; padding: var(--s4) var(--s5); background: var(--blue-tint); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }

/* pricing (home): slate high point */
.pricing { background: var(--slate); color: var(--white); padding: var(--s7) 0; }
.pricing h2 { color: var(--white); margin-bottom: var(--s5); }
.pricing-grid { display: grid; gap: var(--s6); }
.big-num { font: 600 5rem/1 var(--f-head); color: var(--white); display: block; }
.big-cap { display: block; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: var(--t-sm); color: #d4dde5; margin: var(--s2) 0 var(--s4); }
.pricing p { color: #e6ecf1; max-width: 460px; }
.price-rows { counter-reset: row; }
.price-rows li { counter-increment: row; display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); align-items: baseline; padding: var(--s4) 0; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: var(--t-lg); color: var(--white); }
.price-rows li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.price-rows li::before { content: counter(row); font: 600 var(--t-xl)/1 var(--f-head); color: #cfe3fb; }

/* steps (diensten) */
.steps { display: grid; gap: var(--s4); counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: var(--s3); border: 1.5px solid var(--blue); color: var(--blue); border-radius: 50%; font: 600 1.0625rem/1 var(--f-head); }
.step h3 { margin-bottom: var(--s1); }
.step p { margin: 0; }

/* intro split / facts */
.split { display: grid; gap: var(--s5); }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.facts h2 { font-size: var(--t-lg); }
.facts dl { margin: 0; }
.facts dt { font-size: var(--t-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-soft); margin-top: var(--s4); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; color: var(--ink); }
.facts ul li { padding: var(--s2) 0; border-top: 1px solid var(--line); color: var(--ink); }
.facts ul li:first-child { border-top: 0; }
.pull { margin: 0 0 var(--s5); padding: var(--s2) 0 var(--s2) var(--s5); border-left: 3px solid var(--red); font: 500 var(--t-xl)/1.4 var(--f-head); color: var(--ink); }

/* closing band */
.band { background: var(--slate); color: var(--white); padding: var(--s7) 0; }
.band h2 { color: var(--white); margin-bottom: var(--s3); }
.band p { color: #e6ecf1; max-width: 560px; }
.band .actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.band .phone { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.band .phone:hover { text-decoration: underline; color: var(--white); }
.band--light { background: var(--paper-2); color: var(--slate); border-top: 1px solid var(--line); }
.band--light h2 { color: var(--ink); }
.band--light p { color: var(--slate); }
.band--light .phone, .band--light .phone:hover { color: var(--blue); }

/* inner page intro */
.page-intro { padding: var(--s6) 0 var(--s5); border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: 2rem; max-width: 720px; }
.page-intro .lead { max-width: 680px; margin: 0; }
.prose { max-width: 680px; }

/* diensten: editorial rows */
.service-row { display: grid; gap: var(--s2); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row h2 { font-size: var(--t-xl); margin: 0; }
.service-row p { margin: 0; max-width: 620px; }

/* contact */
.contact-grid { display: grid; gap: var(--s6); }
.c-details h2, .c-expect h2 { font-size: var(--t-xl); }
.contact-list { display: grid; gap: var(--s4); }
.contact-item { display: flex; gap: var(--s3); align-items: flex-start; }
.contact-item .ico { margin-top: 3px; color: var(--blue); }
.contact-item strong { display: block; color: var(--ink); font-size: var(--t-sm); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; }
.contact-item a { color: var(--ink); font-weight: 600; display: inline-block; padding: 12px 0; margin: -12px 0; line-height: 1.35; }
.contact-item a.route { color: var(--blue); }
.contact-item address { font-style: normal; color: var(--ink); line-height: 1.5; }
.contact-item .small { font-size: var(--t-sm); color: var(--slate-soft); margin: var(--s1) 0 0; padding-bottom: var(--s2); }
.map-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: var(--s4); }
.map-box iframe { width: 100%; height: 300px; border: 0; margin-top: var(--s3); }
.map-box p { font-size: var(--t-sm); margin: var(--s2) 0 0; }
.form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-1); scroll-margin-top: calc(var(--header-h) + 16px); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: var(--s1); }
.field .opt { font-weight: 400; color: var(--slate-soft); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: var(--s3); font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-line); border-color: var(--blue); }
.field .error { color: #a30000; font-size: var(--t-sm); margin: var(--s1) 0 0; }
.field .error:empty { display: none; }
.field [aria-invalid="true"] { border-color: #a30000; }
.form .req-note { font-size: var(--t-sm); color: var(--slate-soft); }
.c-expect p { margin: 0; }

/* footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line-strong); padding: var(--s7) 0 var(--s5); font-size: var(--t-sm); }
.footer-grid { display: grid; gap: var(--s5); }
.site-footer .logo img { height: 28px; }
.footer-about { margin: var(--s4) 0 0; max-width: 320px; }
.site-footer h2 { font-family: var(--f-body); font-size: var(--t-sm); text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-soft); margin-bottom: var(--s2); }
.site-footer a { color: var(--ink); text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink); line-height: 1.55; padding: var(--s2) 0; }
.footer-bottom { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); color: var(--slate-soft); }

/* subtle fade only */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade .5s ease-out both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

@media (min-width: 640px) {
  h1 { font-size: 2.375rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero h1 .line { display: block; }
  .hero .actions { display: flex; flex-wrap: wrap; }
  .eb-short { display: none; }
  .eb-long { display: inline; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  html { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
  .bottom-bar, .menu-btn, .mobile-nav { display: none; }
  .site-header { position: sticky; top: 0; }
  .nav { display: block; }
  .logo img { height: 34px; }
  .section { padding: var(--s9) 0; }
  .pricing { padding: var(--s9) 0; }
  .band { padding: var(--s8) 0; }
  .hero { padding: var(--s8) 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: stretch; }
  .hero-photo { display: flex; min-height: 400px; }
  .hero-photo img { aspect-ratio: auto; height: 100%; object-position: 50% 60%; }
  .hero h1 { font-size: 2.625rem; }
  .two { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .split { grid-template-columns: 2fr 1fr; gap: var(--s8); align-items: start; }
  .pricing-grid { grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: center; }
  .big-num { font-size: 7.5rem; }
  .service-row { grid-template-columns: 1fr 2fr; gap: var(--s6); padding: var(--s6) 0; }
  .service-row:first-child { padding-top: 0; }
  .contact-grid { grid-template-columns: 5fr 6fr; column-gap: var(--s8); row-gap: var(--s6);
    grid-template-areas: "details form" "expect form" "map form"; grid-template-rows: auto auto 1fr; align-items: start; }
  .c-details { grid-area: details; }
  .c-expect { grid-area: expect; }
  .c-map { grid-area: map; }
  .form { grid-area: form; }
  .page-intro { padding: var(--s7) 0 var(--s6); }
  .page-intro h1 { font-size: var(--t-4xl); }
}
@media (min-width: 1200px) {
  .wrap { padding: 0 var(--s5); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
