/* ======================================================
   BASE & DESIGN SYSTEM
====================================================== */

:root {
  --blue: #2b7dbd;
  --blue-dark: #0a3557;
  --blue-light: #cfe9ff;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;

  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #111;
}

/* ======================================================
   LAYOUT
====================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ======================================================
   TOP BAR
====================================================== */

.top-bar {
  background: #000;
  position: relative;
  z-index: 20;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 32px;

  display: flex;
  align-items: center;

  /* ⬅️ HIER zit de uitlijning */
  padding-left: 212px;   /* logo + spacing → start onder “Koeltechniek” */
  padding-right: 32px;
}

.top-right {
  display: flex;
  align-items: center;
  margin-left: auto; /* duwt inhoud naar rechts BINNEN offset */
}

.top-right a {
  color: #fff;
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.75rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.top-right a:hover {
  opacity: 1;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ======================================================
   HEADER & NAV
====================================================== */

/* Gedeelde rechterkolom */
.header-cta,
.header-cta-align {
  display: flex;
  justify-content: flex-end;
  min-width: 220px; /* afgestemd op CTA-knop */
}

/* Header layout */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav blijft links, CTA rechts */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header {
  position: absolute;
  top: 32px;
  width: 100%;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.logo img {
  height: 110px;
}

.main-nav a {
  color: var(--blue-dark);     /* donkerblauw */
  margin-left: 22px;
  font-size: 0.85rem;
  font-weight: 600;            /* dikgedrukt */
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); /* subtiele schaduw */
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-cta {
  background: var(--blue);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  margin-right: 0;
}

/* ======================================================
   HERO
====================================================== */

/* ======================================================
   HERO
====================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;

  /* DEFAULT = PARTICULIER */
  background: url("images/hero-airco.jpeg") center / cover no-repeat;
}

/* ===== ACHTERGROND WISSEL BIJ ZAKELIJK ===== */
.hero.zakelijk-bg {
  background: url("images/hero-particulier.jpg") center / cover no-repeat;
}

/* DONKERE GRADIENT */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(10,53,87,0.9) 0%,
    rgba(10,53,87,0.75) 45%,
    rgba(43,125,189,0.6) 75%,
    rgba(255,255,255,0.15) 90%,
    rgba(255,255,255,0) 100%
  );
}

/* WITTE FADE BOVEN */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.85),
    rgba(255,255,255,0)
  );
  pointer-events: none;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
}

/* VISUAL LAYOUT */
.hero-visuals {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-visuals {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }
}

/* ZIJKANT AFBEELDINGEN (optioneel, later) */
.hero-image {
  width: 100%;
  max-width: 420px;
  height: 260px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image.active {
  opacity: 1;
}
/* ======================================================
   SWITCH CARD
====================================================== */

.switch-card {
  width: 100%;
  max-width: 420px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background var(--transition);
}

/* =====================
   TABS
===================== */

.switch-tabs {
  display: flex;
}

.switch-tab {
  flex: 1;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  opacity: 0.65;
  color: #fff;

  background: var(--blue-dark);
  transition: background 0.35s ease, opacity 0.25s ease;
}

/* Hover + Active → fade naar midden */
.switch-tab:hover,
.switch-tab.active {
  opacity: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(255,255,255,0.04) 70%,
      rgba(0,0,0,0) 100%
    ),
    linear-gradient(
      to right,
      #1f5f93,
      #2b7dbd,
      #1f5f93
    );
}

.switch-tab .icon {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

/* =====================
   CONTENT
===================== */

.switch-content {
  padding: 1px 20px 25px;
}

.switch-content h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.switch-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.switch-content li {
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
}

.switch-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* =====================
   BOTTOM / CTA
===================== */

.switch-bottom-buttons {
  margin-top: 28px;
}

/* CTA knop met fade naar midden */
.cta-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  color: #fff;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.25) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(255,255,255,0) 75%
    ),
    linear-gradient(
      to right,
      #1f6fae,
      #2b8fd6,
      #1f6fae
    );

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.35s ease;
}

.cta-btn:hover {
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0) 80%
    ),
    linear-gradient(
      to right,
      #2b8fd6,
      #4da3df,
      #2b8fd6
    );

  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* ======================================================
   SCROLL INDICATOR
====================================================== */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  font-size: 2rem;
  color: #fff;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ======================================================
   FOOTER – KLIMACONTROL
====================================================== */

.site-footer {
  background: #1a1e21; /* iets donkerder dan blue-dark */
  color: #e5e7eb;
  padding: 60px 0 30px;
  font-size: 0.85rem;
}

/* GRID */
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

/* TITELS */
.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 600;
}

/* TEKST */
.footer-column p,
.footer-column a {
  color: #cbd5e1;
  line-height: 1.6;
  text-decoration: none;
  font-size: 0.85rem;
}

/* LINKS */
.footer-column a:hover {
  color: var(--blue);
}

/* CONTACT DETAILS */
.footer-column strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


/* ======================================================
   FOOTER CONTACTSECTIE
====================================================== */

.footer-contact {
  background: #232729;
  padding: 20px 0;
  color: #fff;
}

.footer-contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
}

/* LINKS */
.footer-contact-left h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.footer-contact-left p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 28px;
}

/* MAP */
.footer-map iframe {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  border: none;
}

/* RECHTS FORM */
.footer-contact-form {
  background: #1a1e21;
  padding: 36px;
  border-radius: 22px;
}

.footer-contact-form label {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
  margin-bottom: 6px;
}

.footer-contact-form input,
.footer-contact-form textarea,
.footer-contact-form select {
  width: 100%;
  background: #0f1316;
  border: 1px solid #2a2f33;
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.footer-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus,
.footer-contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(43,125,189,0.25);
}

/* ROWS */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phone-row {
  grid-template-columns: 140px 1fr;
}

/* BUTTON */
.footer-contact-form button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-contact-form button:hover {
  background: #2b8fd6;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .logo img {
    height: 90px;
  }

  .switch-card {
    max-width: 100%;
  }
}

/* -----------------------------
    section
-----------------------------*/

.section {
  padding: 10px 0;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 60px;
  color: var(--blue-dark);
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.why-card {
  background: #f7f9fc;
  padding: 36px;
  border-radius: var(--radius-md);
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.step span {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* REVIEWS */
/* ===== GOOGLE REVIEWS SECTIE ===== */
.reviews {
  position: relative;
  padding: 90px 0;
  background: #f7f9fc;
}

/* BOVENSTE LIJN */
.reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--blue-dark);
}

/* ONDERSTE LIJN */
.reviews::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--blue-dark);
}

.reviews {
  background: #f7f9fc;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.review {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
}

/* DUURZAAMHEID */
.sustainability {
  text-align: center;
}

.center-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* CTA */
.final-cta {
  text-align: center;
  background: var(--blue-dark);
  color: white;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  margin-bottom: 32px;
}

/* ONDERSTE AFBEELDING */
.bottom-image {
  height: 380px;
  background: url("images/footer-image.jpg") center / cover no-repeat;
}

.reviews {
  background: #f7f9fc;
}

.reviews iframe {
  border-radius: var(--radius-md);
}
/* ===============================
   WHY KLIMACONTROL
================================ */

.why-klimacontrol {
  padding: 25px 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--blue-dark);
  margin-bottom: 60px;
}

/* GENERIEKE 1x1 RIJ */
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 28px;
}

/* AFBEELDING */
.why-image img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

/* TEKST */
.why-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 18px;
}

/* USP BLOKKEN */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.usp-box {
  padding: 22px;
  border-radius: 16px;
  color: #fff;
  text-align: center;
}

.usp-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.usp-box span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* USP BLOKKEN – ÉÉN KLEUR */
.usp-box {
  background: var(--blue-dark);
}

/* ===== CTA BLOK ===== */
.why-cta {
  position: relative;
  background: linear-gradient(
    to right,
    #1f5f93 0%,   /* iets donkerder lichtblauw (links) */
    #2b7dbd 45%,
    #4da3df 100%  /* lichter lichtblauw (rechts) */
  );
  color: #fff;
  padding: 48px 40px;
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
}

/* Titel */
.why-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Tekst */
.why-cta p {
  font-size: 0.95rem;
  margin-bottom: 26px;
  opacity: 0.95;
  line-height: 1.6;
}

/* Knop */
.why-cta-btn {
  display: inline-block;
  background: #fff;
  color: #0a3557;
  padding: 12px 32px;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover knop */
.why-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Subtiele fade naar beneden */
.why-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0.18)
  );
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .why-cta {
    padding: 40px 28px;
  }
}
/* ===============================
   HOW WE WORK – TIMELINE + BG
================================ */

.how-we-work {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

/* ===============================
   ACHTERGROND + BLUR
================================ */

.how-we-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/eren.png") right / cover no-repeat;
  filter: blur(1px);
  transform: scale(1.08); /* voorkomt blur-randen */
  z-index: 0;
}

/* WITTE OVERLAY VOOR LEESBAARHEID */
.how-we-work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  z-index: 1;
}

/* CONTENT BOVEN BLUR */
.how-we-work .container {
  position: relative;
  z-index: 2;
}

/* ===============================
   TIMELINE
================================ */

.timeline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

/* STEP */
.timeline-step {
  display: flex;
  align-items: flex-end;
}

/* ===============================
   CARD
================================ */

.timeline-card {
  background: rgba(247, 249, 252, 0.96);
  padding: 32px 26px;
  border-radius: var(--radius-md);
  max-width: 240px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(2px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-step:hover .timeline-card {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

/* ===============================
   NUMMER BADGE
================================ */

.timeline-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #000;
  background: #fff;
  border: 3px solid #000;
  border-radius: 14px;
  margin-bottom: 14px;
}

/* ===============================
   TITEL & TEKST
================================ */

.timeline-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--blue-dark);
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #333;
}

/* ===============================
   PIJLEN
================================ */

.timeline-arrow {
  font-size: 1.8rem;
  margin-bottom: 108px;
  color: var(--blue);
  opacity: 0.85;
}

/* ===============================
   PROGRESS BAR
================================ */

.timeline-progress {
  margin-top: 50px;
  height: 6px;
  background: #cfe9ff;
  border-radius: 6px;
  overflow: hidden;
}

.timeline-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--blue-dark);
  border-radius: 6px;
  transition: width 0.35s ease, height 0.25s ease;
}

.timeline-progress-bar.active {
  height: 10px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-arrow {
    transform: rotate(90deg);
    margin: 12px 0;
  }

  .timeline-progress {
    display: none;
  }

  .timeline-card {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {

.container {
  padding: 0 18px;
}

}

@media (max-width: 900px) {

.logo img {
  height: 70px;
}

.site-header {
  top: 0;
}

}
@media (max-width: 900px) {

.hero {
  min-height: 80vh;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  text-align: center;
}

}

@media (max-width: 900px) {

.switch-card {
  max-width: 100%;
}

.switch-content h2 {
  font-size: 1.5rem;
}

.switch-tab {
  padding: 14px;
  font-size: 0.9rem;
}

}

@media (max-width: 900px) {

.usp-grid {
  grid-template-columns: 1fr 1fr;
}

}
@media (max-width: 900px) {

.timeline {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.timeline-step {
  justify-content: center;
}

.timeline-card {
  max-width: 100%;
}

}
@media (max-width: 900px) {

.form-row {
  grid-template-columns: 1fr;
}

.phone-row {
  grid-template-columns: 1fr;
}

}
@media (max-width: 900px) {

.site-footer {
  padding: 50px 0 20px;
}

.footer-column p,
.footer-column a {
  font-size: 0.9rem;
}

}

html {
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 600px) {

.section-title {
  font-size: 1.8rem;
}

.switch-content h2 {
  font-size: 1.4rem;
}

}