/* In Control Techniek — gedeelde opmaak voor de voorbeeldsites.
   Elk thema zet alleen de variabelen en een paar knop- en kaartregels. */

:root {
  /* Merk (vast voor alle voorbeelden) */
  --navy: #0d2a47;
  --navy-dark: #081b30;
  --grey: #5b6670;
  --grey-light: #eef1f4;
  --cta: #ff6a13;
  --cta-hover: #e85a05;

  /* Thema-variabelen (overschreven per thema) */
  --canvas: #ffffff;
  --surface: #f4f6f8;
  --ink: #0d2a47;
  --ink-body: #2b3a48;
  --muted: #5b6670;
  --line: #e1e5ea;
  --hero-bg: #081b30;
  --hero-ink: #ffffff;
  --hero-muted: #c9d4df;
  --heading-weight: 600;
  --heading-track: -0.02em;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-img: 12px;
  --card-shadow: none;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-body);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

section { padding: 96px 0; }
.section-alt { background: var(--surface); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-track);
  line-height: 1.12;
  margin: 0 0 16px;
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.lead { font-size: 18px; color: var(--muted); margin: 0; max-width: 640px; }

.section-head { max-width: 680px; margin-bottom: 52px; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--canvas); }
.btn-hero-ghost { background: transparent; color: var(--hero-ink); border-color: var(--hero-muted); }
.btn-hero-ghost:hover { border-color: var(--hero-ink); }

/* ---------- Navigatie ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hero-bg);
  color: var(--hero-ink);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--hero-ink); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--hero-muted); }
.nav-links a:hover { color: var(--hero-ink); }
.nav-links .btn { padding: 10px 18px; font-size: 15px; color: #fff; }
.nav-links .btn:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 120px 0 104px; }
.hero h1 { color: var(--hero-ink); max-width: 880px; }
.hero .lead { color: var(--hero-muted); font-size: 20px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { margin-top: 64px; border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 16 / 7; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .eyebrow { color: var(--hero-muted); }

/* ---------- Kaarten ---------- */

.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; }
.card-link { margin-top: auto; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; }
.card-link:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.split .card img { aspect-ratio: 16 / 10; }
.split .card-body { padding: 32px; }
.split ul { margin: 0 0 28px; padding-left: 20px; color: var(--muted); }
.split li { margin-bottom: 6px; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }

/* ---------- Contactformulier ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--canvas);
  color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form .btn { justify-self: start; }

/* ---------- CTA-band ---------- */

.cta-band { background: var(--hero-bg); color: var(--hero-ink); text-align: center; }
.cta-band h2 { color: var(--hero-ink); }
.cta-band .lead { color: var(--hero-muted); margin: 0 auto 32px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--hero-bg); color: var(--hero-muted); padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: var(--hero-ink); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: var(--hero-muted); }
.site-footer a:hover { color: var(--hero-ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ---------- Terugknop naar overzicht ---------- */

.back-link {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--canvas);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ---------- Responsief ---------- */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .nav-links { display: none; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; }
}
