/* =========================================================
   RESET
========================================================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15,23,42,.12);

  --brand: #3558a8;
  --brand-dark: #243a73;

  --radius: 18px;
  --max: 1140px;
}

/* =========================================================
   BASE
========================================================= */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */
.header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-weight: 800;
  letter-spacing: .4px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.hero-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.85;
}
.hero-contact a[href*="wa.me"] {
  font-weight: 600;
}
/* =========================================================
   BUTTONS
========================================================= */
.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(53,88,168,.90),
      rgba(36,58,115,.85)
    ),
    url("hero.jpg") center / cover no-repeat;
  z-index: -1;
}

.hero-inner {
  padding: 100px 0 80px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.hero h1 span {
  opacity: .85;
}

.hero p {
  max-width: 520px;
  opacity: .9;
  margin-bottom: 24px;
}

/* Contact info in hero */
.hero-contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-contact span {
  opacity: 0.6;
}

.hero-contact a {
  color: inherit;
  text-decoration: none;
}

.hero-contact a:hover {
  text-decoration: underline;
}

/* =========================================================
   INTRO CARD (boven services)
========================================================= */

.intro {
  margin-top: 3rem;
}

.intro-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;

  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.intro-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(53, 88, 168, 0.08);
  display: grid;
  place-items: center;
}

.intro-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-content h2 {
  margin: 0 0 0.75rem;
  font-size: 22px;
}

.intro-content p {
  margin: 0;
  color: var(--muted);
  max-width: 1100px;
}

@media (max-width: 900px) {
  .intro-card {
    padding: 2rem;
    grid-template-columns: 1fr;
  }

  .intro-icon {
    width: 48px;
    height: 48px;
  }
}

/* =========================================================
   SERVICES
========================================================= */
.services {
  margin-top: 1rem;
  padding: 1rem 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per rij */
  gap: 3rem;                             /* meer adem */
}

.service {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);

  display: flex;
  flex-direction: column;
}

.service svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.service h2 {
  margin: 0 0 0.25rem;
  font-size: 18px;
}

.service p {
  margin: 0;
  color: var(--muted);
}

/* Dit duwt alles wat volgt (de foto) naar beneden */
.service p {
  margin-bottom: auto;
}

/* Service image altijd onderaan */
.service img {
  margin-top: 1.25rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  margin-top: 1rem;
  padding: 2.5rem 0 3rem;
  font-size: 0.8rem;
  color: #777;
  text-align: center;
}

.footer .container {
  max-width: 1100px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .hero-inner {
    padding: 80px 0 60px;
    
  }
.intro-card {
    padding: 2rem;
  }

  .services {
    grid-template-columns: 1fr;
    padding: 4rem 0;
    gap: 2rem;
  }

  .service img {
    height: 170px;
  }
}