/* ==========================================================================
   STIJLGIDS — 24Telecom
   Bron-van-waarheid voor design-tokens + design-keuzes van deze site.
   Bij elke kleur-/font-/spacing-wijziging: pas zowel de :root-variabele
   hieronder als deze comments aan, zodat de stijlgids in sync blijft.

   LET OP: de klant vroeg om "dezelfde kleuren als de huidige site", maar de
   scrape bevatte geen CSS/hex-waarden. Onderstaand palet is een branche-
   conventioneel telecom-blauw met oranje accent als WERKVOORSTEL.
   [TODO: exacte huidige hex-codes verifieren tijdens intake-call.]
   ========================================================================== */

/* PRIMAIRE KLEUR
   #0B3D91 — diepblauw. Telecom/ICT-conventie (vertrouwen, techniek).
   Gebruikt voor: headings, nav-brand, stap-nummers, stat-nummers,
   dienst-iconen, slogan-banner, footer-achtergrond. */

/* ACCENT / ACTIEKLEUR
   #F5820B — oranje. Hoge contrast voor CTA's. Gebruikt voor: btn-accent,
   focus-outline, mobile-sticky-bar, badge-accenten, checklist-vinkjes. */

/* SECUNDAIR
   #1565C0 — helderder blauw voor links/hover-accenten.
   Tint-achtergrond secties: #EEF3FA (zacht blauwgrijs). */

/* TEKST
   Body: #26303B op wit. Headings: #0B3D91. Gedempt: #5a6672.
   Lijn-hoogte body 1.65, headings 1.2. */

/* TYPOGRAFIE
   System-font-stack (AVG: geen Google Fonts). Schaal: 1rem body,
   1.15rem h3, 1.6rem h2, clamp 2-2.9rem h1. */

/* SPACING-SCHAAL
   Basis 1rem (16px). Section-padding: clamp(3rem, 8vw, 5.5rem) verticaal. */

/* RADIUS + SHADOWS
   --radius: 10px, --radius-lg: 16px. Schaduwen subtiel op mobiel kleiner. */

/* KNOPPEN
   .btn-accent: oranje vlak, witte tekst, radius 100px, hover 10% donkerder
   (#d86f05). Mobile sticky full-width. .btn-ghost: transparant met rand. */

:root {
  --color-primary: #0B3D91;
  --color-primary-2: #1565C0;
  --color-accent: #F5820B;
  --color-accent-dark: #d86f05;
  --color-ink: #26303B;
  --color-muted: #5a6672;
  --color-tint: #EEF3FA;
  --color-border: #dde4ee;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 28px rgba(11,61,145,.10);
  --container: 1120px;
}

/* ---- Mobile-fundament (niet weglaten) ---- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; max-width: 100%; min-width: 320px; margin: 0; }
img, video, iframe, svg { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
p, li, dd, dt, td, h1, h2, h3, h4 { overflow-wrap: anywhere; word-break: normal; }

/* Dialog verbergen tenzij open */
dialog:not([open]) { display: none; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-ink);
  line-height: 1.65;
  background: #fff;
}

h1, h2, h3, h4 { color: var(--color-primary); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary-2); }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 8px 12px;
  background: var(--color-accent); color: #fff; z-index: 9999; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---- Layout ---- */
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container-narrow { max-width: 760px; }
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-tint { background: var(--color-tint); }
.section-intro { max-width: 640px; color: var(--color-muted); margin-bottom: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 100px; text-align: center;
  cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s;
  white-space: normal;
}
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---- Header / Nav ---- */
.nav-toggle { display: none; }
header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--color-border); }
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding: 12px 20px; gap: 14px;
  width: min(var(--container), 100% - 0px); margin-inline: auto;
}
.site-nav .brand { display: inline-flex; align-items: center; }
.site-nav .brand img { display: block; }
.hamburger { display: none; cursor: pointer; width: 32px; height: 26px;
             flex-direction: column; justify-content: space-between; padding: 3px 0; }
.hamburger span { display: block; height: 3px; background: var(--color-primary);
                  border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 22px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--color-ink); font-weight: 500; }
.nav-menu a:hover { color: var(--color-primary); }
.nav-cta { background: var(--color-accent); color: #fff !important; padding: 9px 18px; border-radius: 100px; }
.nav-cta:hover { background: var(--color-accent-dark); }

/* ---- Hero ---- */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
           font-weight: 700; color: var(--color-accent); margin-bottom: .6rem; }
.hero-lead { font-size: 1.1rem; color: var(--color-muted); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 1.5rem 0 0; }
.hero-badges li { font-size: .95rem; color: var(--color-muted); }
.hero-badges strong { display: block; color: var(--color-primary); font-size: 1.3rem; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---- Cards / grids ---- */
.cards { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card-dienst .dienst-icon { display: inline-flex; margin-bottom: 10px; color: var(--color-primary); }
.dienst-icon-svg { width: 64px; height: 64px; align-items: center; justify-content: center; }
.dienst-icon img { width: 56px; height: 56px; object-fit: contain; }

/* ---- Uitkomst ---- */
.uitkomst-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.uitkomst-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* ---- Steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px;
         grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
            padding: 28px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 700; margin-bottom: 12px;
}

/* ---- Stats / bewijs ---- */
.stats { text-align: center; }
.stat { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px 20px; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--color-accent); }
.stat-label { color: var(--color-muted); }
.bewijs-note { max-width: 680px; margin-top: 2rem; color: var(--color-muted); }

/* ---- Tarieven ---- */
.tarieven-cta { margin-top: 2rem; }

/* ---- Slogan banner (schuin accent) ---- */
.slogan-banner { background: var(--color-primary); color: #fff; padding: 2.5rem 0; }
.slogan-banner p {
  margin: 0; font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; font-style: italic;
  text-align: center; letter-spacing: .01em;
}

/* ---- FAQ ---- */
.faq details {
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; color: var(--color-primary); }
.faq details[open] summary { border-bottom: 1px solid var(--color-border); margin-bottom: 10px; }
.faq p { color: var(--color-muted); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.contact-list li { margin-bottom: 8px; }
.hours h3 { margin-bottom: .5rem; }
.hours ul { list-style: none; padding: 0; margin: 0; max-width: 300px; }
.hours li { display: flex; justify-content: space-between; gap: 12px;
            padding: 6px 0; border-bottom: 1px solid var(--color-border); }
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.optional { font-weight: 400; color: var(--color-muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-accent); border-color: var(--color-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 10px 0 16px; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status--ok { color: #1a7f37; }
.form-status--err { color: #c0392b; }
.form-privacy { font-size: .82rem; color: var(--color-muted); margin-top: 12px; }

/* ---- Footer ---- */
.site-footer { background: var(--color-primary); color: #cdd9ee; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.site-footer p { color: #cdd9ee; }
.footer-head { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cdd9ee; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem;
}
.eo-credit a { color: #cdd9ee; }

/* ---- Mobile sticky CTA ---- */
.mobile-sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px; background: #fff; border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}

/* ---- Modals ---- */
dialog.modal {
  position: fixed; inset: 0; margin: auto;
  width: min(640px, 92vw); max-height: 86vh; overflow-y: auto;
  border: none; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
dialog.modal::backdrop { background: rgba(11,30,60,.55); }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--color-muted);
}
.modal-body { color: var(--color-ink); }
.modal-body p { margin-bottom: .9rem; }

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  .nav-toggle:focus-visible ~ header .hamburger {
    outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
  .nav-menu { display: none; flex-direction: column; width: 100%; gap: 0; align-items: stretch; padding: 8px 0; }
  .nav-menu li { border-top: 1px solid var(--color-border); }
  .nav-menu a { display: block; padding: 14px 8px; }
  .nav-cta { border-radius: 0; }
  .nav-toggle:checked ~ header .nav-menu { display: flex; }
  .nav-toggle:checked ~ header .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-toggle:checked ~ header .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ header .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  .hero-grid, .uitkomst-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .card, .steps li { padding: 22px 18px; box-shadow: 0 4px 16px rgba(11,61,145,.08); }
  .contact-form { padding: 22px 16px; }

  .mobile-sticky-cta { display: block; }
  main { padding-bottom: 72px; }

  dialog.modal { margin: auto auto 0; width: 100%; max-height: 90vh;
                 border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 24px 18px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 16px; }
  .hero-actions .btn { width: 100%; }
}