/* ==========================================================================
   Elektro Verstraete Gebouwtechniek — stylesheet
   ========================================================================== */

:root {
  --red: #d3070f;
  --red-dark: #a90810;
  --red-light: #ffecec;
  --black: #1a1a1a;
  --gray: #626261;
  --gray-light: #8c8c8c;
  --bg: #f7f7f7;
  --white: #ffffff;
  --border: #e7e3e3;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Archivo Black', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.12);

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--black);
}

p { margin: 0 0 1em; color: var(--gray); }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon-inline {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(211, 7, 15, .3);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--black);
}
.btn--ghost:hover { color: var(--red); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar__brand { display: flex; align-items: center; gap: 14px; }
.navbar__logo { height: 42px; width: auto; align-self: center; }
.navbar__brandtext {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.navbar__brandtext-main {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
  white-space: nowrap;
}
.navbar__brandtext-sub {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 1;
}
.navbar__nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.navbar__nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
  position: relative;
  padding: 6px 0;
}
.navbar__nav a:hover { color: var(--red); }
.navbar__cta { display: flex; align-items: center; gap: 8px; }
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__burger span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.navbar.is-open .navbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.is-open .navbar__burger span:nth-child(2) { opacity: 0; }
.navbar.is-open .navbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(211,7,15,.06), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--center { display: block; text-align: center; }
.hero__text h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.hero__lead {
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}
.hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__audience li {
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--red-light);
  color: var(--red-dark);
}

/* Hero visual: icon showcase instead of a photo */
.hero__visual {
  position: relative;
  min-height: 380px;
}
.hero__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(211,7,15,.16), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}
.skill-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.skill-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.skill-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.skill-card--lg {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border: none;
}
.skill-card--lg .skill-card__icon {
  background: rgba(255,255,255,.18);
  color: var(--white);
}
.skill-card--lg .skill-card__label { font-size: 1.15rem; }
.skill-card--lg .skill-card__sub { color: rgba(255,255,255,.85); font-size: .82rem; }
.skill-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.skill-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.skill-card:hover .skill-card__icon { transform: scale(1.1); }
.skill-card:not(.skill-card--lg):hover .skill-card__icon {
  background: var(--red);
  color: var(--white);
}
.skill-card--lg:hover .skill-card__icon {
  background: rgba(255,255,255,.32);
}
.skill-card__label { font-weight: 700; font-family: var(--font-heading); }
.skill-card__sub { font-size: .78rem; color: var(--gray-light); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg); }
.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}
.section__lead {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---------- Diensten ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card { grid-column: span 2; }
.services-grid .service-card:nth-child(4) { grid-column: 2 / span 2; }
.services-grid .service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service-card:hover .service-card__icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
}
.service-card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .92rem; }
.service-card__list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: .85rem;
  color: var(--gray);
  padding-left: 18px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Waarom ons (subsectie binnen Diensten) ---------- */
.diensten-sub {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.diensten-sub__title {
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.usp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
}
.usp-card__number {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red-light);
  -webkit-text-stroke: 1.5px var(--red);
  margin-bottom: 12px;
}
.usp-card h3 { font-size: 1.05rem; }
.usp-card p { font-size: .9rem; margin-bottom: 0; }

/* ---------- Over ons ---------- */
.over-ons {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.over-ons__media { display: flex; justify-content: center; }
.over-ons__badge {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.over-ons__role {
  font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
}
.over-ons__text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact__lead { font-size: 1.02rem; }
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__row { display: flex; align-items: center; gap: 14px; color: inherit; }
.contact__row--static { cursor: default; }
.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact__icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact__row:hover .contact__icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.08);
}
.contact__text { display: flex; flex-direction: column; }
.contact__text strong { font-size: .8rem; color: var(--gray-light); font-weight: 600; }
.contact__value { font-weight: 600; color: var(--black); }
a.contact__row:hover .contact__value { color: var(--red); }

.contact__visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.contact__visual-img { max-width: 260px; width: 100%; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li,
.footer__col ul a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.footer__col ul a:hover { color: var(--white); }
.footer__tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin: 16px 0 0;
  max-width: 34ch;
}
.footer__bottom {
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer__bottom p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__bottom a { color: rgba(255,255,255,.6); text-decoration: underline; }
.footer__bottom a:hover { color: var(--white); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__logo {
  height: 48px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.footer__brandtext { display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left; }
.footer__brandtext-main {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
  white-space: nowrap;
}
.footer__brandtext-sub {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 9999;
  border-top: 3px solid var(--red);
  flex-wrap: wrap;
}
.cookie-banner p {
  color: rgba(255,255,255,.8);
  margin: 0;
  font-size: .85rem;
  flex: 1;
  min-width: 200px;
}
.cookie-banner a { color: #ff9c9c; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
}
.cookie-banner .btn--outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: var(--white);
}
.cookie-banner.is-hidden { display: none; }

/* ---------- Legal pagina's (privacy & cookies) ---------- */
.legal-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.legal-hero p { max-width: 60ch; margin: 0 auto; }
.legal-section { padding: 64px 0 96px; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 .75rem;
}
.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.6rem 0 .5rem;
  color: var(--red);
}
.legal-body p { margin-bottom: 1rem; color: var(--gray); line-height: 1.75; }
.legal-body a { color: var(--red); text-decoration: underline; }
.legal-body ul { margin: .5rem 0 1rem 1.25rem; list-style: disc; }
.legal-body ul li { color: var(--gray); font-size: .95rem; margin-bottom: .4rem; line-height: 1.65; }
.legal-meta { font-size: .82rem; color: var(--gray-light); margin-bottom: 2.5rem; }
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: auto; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .over-ons { grid-template-columns: 1fr; text-align: center; }
  .over-ons__text .btn { margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
  .navbar.is-open .navbar__nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .navbar.is-open .navbar__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 148px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 24px 20px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .skill-card--lg { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col--brand { grid-column: auto; }
  .footer__brand { justify-content: center; }
  .footer__brandtext { text-align: left; }
  .footer__tagline { margin-left: auto; margin-right: auto; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
}
