:root {
  --primary-color: #FF0000;
  --primary-dark: #CC0000;
  --primary-mid: #E60000;
  --accent-color: #F7CE34;
  --text-color: #111111;
  --text-muted: #555555;
  --bg-color: #F8F8F8;
  --bg-white: #FFFFFF;
  --border-color: #E5E5E5;
  --link-color: #CC0000;
  --link-hover: #990000;
  --btn-bg: #CC0000;
  --btn-text: #FFFFFF;
  --btn-hover: #990000;
  --ink: #241414;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8f8f8; color: var(--text-color); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-color); text-underline-offset: .2em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; }

.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px max(24px, calc((100vw - 1320px) / 2)); background: #241010; color: #fff; position: relative; z-index: 5; }
.site-header > a { flex: 0 0 auto; }
.site-header img { width: 226px; height: auto; border-radius: 4px; }
.site-header nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: clamp(14px, 2vw, 32px); align-items: center; }
.site-header nav a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.site-header nav a:hover { color: var(--accent-color); }
.site-header p { margin: 0; white-space: nowrap; }
.site-header p a { display: inline-flex; align-items: center; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; text-decoration: none; padding: 9px 18px; font-weight: 700; font-size: 13px; }
.site-header p a:hover { background: #fff; color: var(--primary-dark); }
.menu-toggle { display: none; }

article { overflow: hidden; }
.hero { min-height: 660px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 54px max(24px, calc((100vw - 1320px) / 2)); color: white; }
.hero figure { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; background: #422324; }
.hero figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,10,11,.35), rgba(20,10,10,.1)), rgba(0,0,0,.15); }
.hero figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero figcaption { position: absolute; left: -9999px; }
.hero::before { content: 'SLOTENMAKER SERVICE 24'; display: block; position: absolute; top: 80px; left: max(48px, calc((100vw - 1320px) / 2 + 28px)); z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .09em; color: #fff; }
.hero h1, .hero > p { position: relative; z-index: 1; width: 690px; max-width: calc(100vw - 48px); margin-left: 0; margin-right: 0; background: rgba(30, 12, 13, .93); }
.hero h1 { margin-top: 0; margin-bottom: 0; padding: 74px 28px 18px; border-radius: 15px 15px 0 0; font-weight: 500; font-size: clamp(40px, 4.15vw, 64px); line-height: 1.06; text-transform: uppercase; letter-spacing: -.045em; }
.hero > p { margin-top: 0; margin-bottom: 0; padding: 0 28px 22px; color: #f3eeee; font-size: 16px; }
.hero > p:nth-of-type(2) { padding-bottom: 30px; border-radius: 0 0 15px 15px; }
.hero > p a { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; color: #fff; background: var(--btn-bg); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.hero > p a:hover { background: var(--btn-hover); }
.service-strip { min-height: 46px; display: flex; align-items: center; padding: 6px 22px; background: #f1e3e3; white-space: nowrap; overflow: hidden; }
.service-strip-track { width: 100%; }
.service-strip-group { display: flex; align-items: center; justify-content: space-around; gap: 18px; }
.service-strip-group[aria-hidden] { display: none; }
.service-strip a, .service-strip span { color: #5c3333; text-transform: uppercase; font-weight: 700; font-size: 13px; text-decoration: none; }
.service-strip a:hover { color: var(--primary-dark); }

section { scroll-margin-top: 26px; padding: 112px max(24px, calc((100vw - 1200px) / 2)); }
section > h2 { max-width: 1040px; margin: 0 0 15px; font-size: clamp(34px, 3.7vw, 55px); font-weight: 500; line-height: 1.14; letter-spacing: -.04em; color: #3c1a1a; }
section > p { max-width: 850px; margin: 0 0 28px; color: var(--text-muted); font-size: 17px; }
section h3 { margin: 0 0 10px; font-size: clamp(24px, 2.1vw, 31px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; color: #351919; }
section h4 { margin: 26px 0 8px; font-size: 19px; line-height: 1.3; color: #351919; }
section p { overflow-wrap: break-word; }
section ul { padding-left: 22px; }
section li { margin: 7px 0; }
.content-card { border: 1px solid #eee5e5; border-radius: 9px; background: #fff; padding: 26px; box-shadow: 0 8px 25px rgba(44,15,15,.035); }
.content-card > p { margin: 0; color: #555; }
.content-card > p + p { margin-top: 16px; }
.content-card figure { margin: 24px 0 0; }
.content-card figure img { width: 100%; height: 235px; object-fit: cover; border-radius: 5px; }
.content-card figcaption { color: #666; font-size: 12px; margin-top: 8px; }

#spoed, #diensten, #betrouwbaarheid, #werkgebied, #veelgestelde-vragen { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
#spoed > h2, #spoed > p, #diensten > h2, #diensten > p, #diensten > ul, #betrouwbaarheid > h2, #betrouwbaarheid > p, #werkgebied > h2, #werkgebied > p, #veelgestelde-vragen > h2 { grid-column: 1 / -1; }
#spoed { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
#spoed .content-card:first-of-type { grid-column: 1 / -1; }
#spoed .content-card:first-of-type ul { margin-bottom: 0; columns: 2; column-gap: 42px; }
#spoed .content-card:first-of-type li { break-inside: avoid; }
#spoed { background: #fff; }
#spoed .content-card, #diensten .content-card { background: #f8f8f8; }
#diensten > ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 30px; max-width: 100%; margin: 0 0 25px; padding: 25px 25px 25px 46px; border-left: 4px solid var(--primary-dark); background: #fff; }
#diensten .content-card { min-height: 220px; }
#diensten .content-card::before { content: 'DIENST'; display: block; color: var(--primary-dark); font-size: 11px; font-weight: 700; letter-spacing: .15em; margin-bottom: 22px; }
#diensten .content-card:nth-of-type(5), #diensten .content-card:nth-of-type(6) { grid-row: span 2; }

#prijzen { background: #2b1011; color: #fff; }
#prijzen > h2, #prijzen h3, #prijzen h4 { color: #fff; }
#prijzen > p { color: #f2dddd; }
table { width: 100%; border-collapse: collapse; margin: 26px 0 38px; background: #fff; border-radius: 9px; overflow: hidden; color: #222; }
caption { text-align: left; padding: 0 0 13px; font-weight: 700; color: inherit; background: inherit; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-color); }
th { background: #f4e7e7; color: #351919; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td:last-child { font-weight: 700; }
#prijzen table { max-width: none; }
#prijzen > h3, #prijzen > h4 { max-width: 900px; }
#prijzen > h3 ~ p, #prijzen > h4 ~ p { max-width: 900px; color: #eee; }

#betrouwbaarheid { background: #fff; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
#betrouwbaarheid .content-card { border-top: 5px solid var(--accent-color); }
#werkgebied { grid-template-columns: 1fr; }
#werkgebied .content-card { background: #fff; }
#werkgebied .content-card:first-of-type { display: flex; align-items: center; gap: 36px; }
#werkgebied .content-card:first-of-type h3 { flex: 0 0 31%; margin: 0; }
#werkgebied .content-card:nth-of-type(2) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 28px; }
#werkgebied .content-card:nth-of-type(2) h3 { grid-column: 1; grid-row: 1; }
#werkgebied .content-card:nth-of-type(2) p:nth-of-type(1) { grid-column: 1; grid-row: 2; }
#werkgebied .content-card:nth-of-type(2) h4:nth-of-type(1) { grid-column: 2; grid-row: 1; margin-top: 5px; }
#werkgebied .content-card:nth-of-type(2) p:nth-of-type(2) { grid-column: 2; grid-row: 2; }
#werkgebied .content-card:nth-of-type(2) h4:nth-of-type(2) { grid-column: 3; grid-row: 1; margin-top: 5px; }
#werkgebied .content-card:nth-of-type(2) p:nth-of-type(3) { grid-column: 3; grid-row: 2; }
#inbraakschade { background: #fff; }
#inbraakschade table { border: 1px solid var(--border-color); }
#inbraakschade .content-card { display: inline-block; vertical-align: top; width: calc(50% - 12px); margin-right: 18px; min-height: 190px; }
#inbraakschade .content-card:last-child { margin-right: 0; }
#veelgestelde-vragen { grid-template-columns: repeat(2,minmax(0,1fr)); }
#veelgestelde-vragen .content-card { background: #fff; }
#veelgestelde-vragen h3 { font-size: 22px; }

#contact { background: var(--primary-dark); color: #fff; text-align: center; }
#contact > h2 { color: #fff; margin-left: auto; margin-right: auto; }
#contact > p { color: #fff; margin-left: auto; margin-right: auto; }
#contact a { color: #fff; font-weight: 700; }
#contact h3 { color: #fff; }
#contact address { display: inline-block; margin-top: 25px; padding: 22px 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; font-style: normal; }
footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; background: #241010; color: #fff; padding: 64px max(24px, calc((100vw - 1200px) / 2)); }
footer p, footer address { margin: 0; font-style: normal; }
footer a { color: #fff; }
.floating-call { position: fixed; z-index: 10; bottom: 20px; left: 20px; padding: 10px 18px; border-radius: 100px; background: #3b1717; color: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.3); text-decoration: none; font-size: 17px; font-weight: 700; }
.floating-call:hover { color: #fff; background: var(--btn-hover); }

@media (max-width: 1040px) {
  .site-header { flex-wrap: wrap; gap: 12px 28px; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; }
  .site-header nav ul { min-width: max-content; justify-content: space-between; padding: 5px 0; }
  .hero { min-height: 610px; }
  #spoed, #diensten, #betrouwbaarheid, #werkgebied { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #spoed .content-card:first-of-type { grid-column: span 2; }
}
@media (max-width: 800px) {
  #werkgebied .content-card:first-of-type { display: block; }
  #werkgebied .content-card:first-of-type h3 { margin-bottom: 10px; }
  #werkgebied .content-card:nth-of-type(2) { display: block; }
}
@media (max-width: 680px) {
  .site-header { min-height: 0; padding: 15px 18px; gap: 10px; }
  .site-header img { width: 155px; }
  .site-header p { margin-left: auto; }
  .site-header p a { font-size: 10px; padding: 7px 9px; }
  .js .menu-toggle { display: block; position: relative; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 7px; background: transparent; cursor: pointer; }
  .menu-toggle span { position: absolute; top: 18px; left: 10px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle span:first-child { transform: translateY(-6px); }
  .menu-toggle span:last-child { transform: translateY(6px); }
  .site-header.is-open { z-index: 20; }
  .site-header.is-open .menu-toggle { position: fixed; top: 18px; right: 18px; z-index: 12; }
  .site-header.is-open .menu-toggle span:first-child { transform: rotate(45deg); }
  .site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-toggle span:last-child { transform: rotate(-45deg); }
  .js .site-header nav { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; min-width: 0; max-height: none; overflow-y: auto; visibility: hidden; pointer-events: none; transform: translateX(-100%); transition: transform .32s ease, visibility .32s; background: rgba(36,16,16,.96); backdrop-filter: blur(5px); z-index: 10; }
  .js .site-header.is-open nav { visibility: visible; pointer-events: auto; transform: translateX(0); }
  .site-header nav::before { content: ''; display: block; width: 155px; height: 40px; margin: 20px 18px 62px; background: url('/logo-3.png') center / contain no-repeat; }
  .site-header nav ul { display: grid; grid-template-columns: 1fr; justify-content: stretch; width: 100%; min-width: 0; gap: 0; padding: 0 18px 28px; }
  .site-header nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-header nav li:last-child { border-bottom: 0; }
  .site-header nav a { display: block; padding: 15px 3px; font-size: 14px; }
  .hero { min-height: 560px; padding: 36px 15px; justify-content: flex-end; }
  .hero figure img { object-position: 60% center; }
  .hero::before { display: none; }
  .hero h1, .hero > p { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(32px, 8.2vw, 46px); padding: 50px 19px 15px; overflow-wrap: anywhere; }
  .hero h1::before { content: 'SLOTENMAKER SERVICE 24'; position: absolute; top: 27px; left: 19px; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .09em; }
  .hero > p { padding: 0 19px 17px; font-size: 14px; }
  .hero > p:nth-of-type(2) { padding-bottom: 20px; }
  .hero > p a { font-size: 11px; }
  .service-strip { min-height: 44px; padding: 0; }
  .service-strip-track { display: flex; width: max-content; animation: strip-scroll 24s linear infinite; }
  .service-strip-group, .service-strip-group[aria-hidden] { display: flex; flex: 0 0 auto; width: max-content; justify-content: flex-start; gap: 32px; padding: 0 16px; }
  .service-strip a, .service-strip span { flex: 0 0 auto; }
  .service-strip:hover .service-strip-track, .service-strip:focus-within .service-strip-track { animation-play-state: paused; }
  section { padding: 70px 18px; }
  section > h2 { font-size: 38px; }
  section > p { font-size: 15px; }
  #spoed, #diensten, #betrouwbaarheid, #werkgebied, #veelgestelde-vragen { grid-template-columns: 1fr; }
  #spoed .content-card:first-of-type { grid-column: auto; }
  #spoed .content-card:first-of-type ul { columns: 1; }
  #diensten > ul { grid-template-columns: 1fr; }
  #diensten .content-card:nth-of-type(5), #diensten .content-card:nth-of-type(6) { grid-row: auto; }
  .content-card { padding: 22px; }
  #inbraakschade .content-card { display: block; width: 100%; margin: 0 0 16px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  th, td { padding: 13px 14px; }
  footer { display: block; padding: 60px 18px 90px; }
  footer > * + * { margin-top: 18px; }
  .floating-call { left: 12px; bottom: 12px; font-size: 14px; padding: 9px 14px; }
}
@media (max-width: 380px) {
  .site-header p { display: none; }
  .js .menu-toggle { margin-left: auto; }
}
@keyframes strip-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .menu-toggle span, .js .site-header nav { transition: none; } .service-strip { overflow-x: auto; } .service-strip-track { animation: none; } .service-strip-group[aria-hidden] { display: none; } }
