@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #F8F7F4;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --green: #74ab8d;
  --green-light: #f0f7f3;
  --blue: #6395ee;
  --blue-light: #eff4ff;
  --purple: #bdb1ff;
  --purple-light: #f3f1ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(99, 149, 238, 0.15); }

body {
  background: var(--bg);
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F8F7F4;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(26,26,26,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav-brand span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,149,238,0.19);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-light);
  filter: blur(80px);
  opacity: 0.8;
}
.hero-blob-1 {
  top: 10%; left: 5%;
  width: 350px; height: 350px;
  animation: float1 8s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: 10%; right: 5%;
  width: 380px; height: 380px;
  animation: float2 10s ease-in-out infinite;
}
.hero-blob-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,171,141,0.03), rgba(99,149,238,0.02), transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -2px;
  max-width: 900px;
  margin: 0;
  position: relative;
  z-index: 2;
}
.hero-line-1 {
  position: relative;
  display: inline-block;
}
.hero-line-1 svg {
  position: absolute;
  bottom: -16px;
  left: -8px;
  width: calc(100% + 16px);
  height: 20px;
  overflow: visible;
}
.hero-line-2 {
  color: var(--purple);
}
.hero-nowrap {
  white-space: nowrap;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  line-height: 1.7;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  position: relative;
  z-index: 2;
}
.btn-blue {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  padding: 14px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  display: inline-block;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,149,238,0.25);
}
.btn-outline {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 2px solid rgba(26,26,26,0.12);
  padding: 12px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--text);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── SERVICES ── */
.services-section {
  padding: 100px 40px;
  background: var(--bg);
}
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #E4A9FF;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 0;
  letter-spacing: -1px;
}

.services-grid {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1;
  min-width: 320px;
  background: var(--purple);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(189,177,255,0.25);
}
.service-card-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5));
  border-radius: 20px 20px 0 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-bar {
  transform: scaleX(1);
}

.service-card-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.service-card-num-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}
.service-card-num span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.service-card > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 32px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  align-items: flex-start;
}
.service-item-dot {
  min-width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.service-item-dot span {
  width: 8px; height: 8px;
  border-radius: 3px;
  background: #fff;
  display: block;
}
.service-item-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.service-item-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.service-card .btn-blue {
  margin-top: 32px;
  width: 100%;
  text-align: center;
}

/* ── ABOUT ── */
.about-section {
  padding: 100px 40px;
  background: #fff;
}
.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}
.about-photo {
  min-width: 280px;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text-wrap .section-label {
  display: block;
  margin-bottom: 0;
}
.about-text-wrap h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 20px;
  letter-spacing: -1px;
}
.about-text-wrap p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 16px;
}
.about-text-wrap p:last-child { margin-bottom: 0; }

/* ── PROJECTS ── */
.projects-section {
  padding: 100px 40px;
  background: var(--bg);
}
.projects-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  background: var(--purple);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
}
.project-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(189,177,255,0.25);
}
.project-num {
  min-width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.project-info { flex: 1; }
.project-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.project-title-row h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.project-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-tag-dot {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: #fff;
  display: inline-block;
}
.project-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
.project-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 200px;
}
.project-metric {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #fff;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-arrow {
  font-size: 20px;
  color: #fff;
  transition: transform 0.3s ease;
}
.project-row:hover .project-arrow {
  transform: translateX(4px);
}

/* ── CONTACT ── */
.contact-section {
  padding: 60px 40px 100px;
  background: #fff;
}
.contact-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #1A1A1A;
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.contact-deco-1 {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.contact-deco-2 {
  position: absolute;
  bottom: -60px; right: 120px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.contact-left {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.contact-photo {
  width: 140px; height: 140px;
  min-width: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-left-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-left-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.1;
}
.contact-left-text .btn-blue {
  align-self: flex-start;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-right {
  flex: 1;
  position: relative;
  z-index: 2;
  margin-left: auto;
}
.contact-right p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 24px;
}
.contact-email {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.contact-email:hover { color: rgba(255,255,255,0.9); }

/* ── SUBPAGE HERO ── */
.subpage-hero {
  padding: 160px 40px 80px;
  background: #fff;
  text-align: center;
}
.subpage-hero .section-label {
  display: block;
  margin-bottom: 16px;
}
.subpage-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.5px;
  margin: 0;
}
.subpage-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* ── DIENSTEN PAGE ── */
.diensten-detail {
  padding: 80px 40px;
  background: var(--bg);
}
.diensten-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.dienst-block {
  margin-bottom: 60px;
}
.dienst-block:last-child { margin-bottom: 0; }
.dienst-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.dienst-block-num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.dienst-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.5px;
}
.dienst-block > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 28px;
}
.dienst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dienst-item {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.dienst-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.dienst-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.dienst-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.dienst-cta {
  text-align: center;
  padding: 60px 40px 0;
}

/* ── OVER PAGE ── */
.over-content {
  padding: 80px 40px;
  background: var(--bg);
}
.over-timeline-section {
  padding: 80px 40px;
  background: #fff;
}
.over-timeline-section .over-content-inner {
  max-width: 900px;
  margin: 0 auto;
}
.over-content-inner {
  max-width: 900px;
  margin: 0 auto;
}
.over-intro {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.over-intro-photo {
  min-width: 260px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.over-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.over-intro-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 16px;
}
.over-intro-text p:last-child { margin-bottom: 0; }

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.08);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
}
.timeline-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.timeline-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── PROJECTEN PAGE ── */
.projecten-content {
  padding: 80px 40px;
  background: var(--bg);
}
.projecten-content-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.project-detail {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.project-detail:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.project-detail:last-child { margin-bottom: 0; }
.project-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.project-detail-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.project-detail p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 20px;
}
.project-detail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.project-detail-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.project-detail-metric {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--purple-light);
  padding: 8px 16px;
  border-radius: 10px;
}

/* ── CASE PAGE ── */
.case-content {
  padding: 60px 40px 80px;
  background: var(--bg);
}
.case-inner {
  max-width: 900px;
  margin: 0 auto;
}
.case-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  margin-bottom: 48px;
}
.case-mockup img {
  width: 100%;
  display: block;
}
.case-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(26,26,26,0.08);
}
.case-overview-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-overview-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case-overview-value {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.case-body {
  max-width: none;
}
.case-section {
  margin-bottom: 48px;
}
.case-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}
.case-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.case-approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.case-approach-item {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(26,26,26,0.08);
}
.case-approach-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.case-approach-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-result-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(26,26,26,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-result-value {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.case-result-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.case-back {
  margin-top: 48px;
}

/* Clickable project cards */
.project-detail-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 40px;
  transition: transform 0.2s ease;
}
.project-detail-link:last-child { margin-bottom: 0; }
.project-detail-link:hover { transform: translateY(-2px); }
.project-detail-link .project-detail {
  cursor: pointer;
}

.project-detail-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-row-link {
  text-decoration: none;
  color: inherit;
}

/* ── CONTACT PAGE ── */
.contact-page {
  padding: 160px 40px 100px;
  background: #fff;
}
.contact-page-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.contact-page-left {
  flex: 1;
  min-width: 280px;
}
.contact-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 20px;
  letter-spacing: -1.5px;
}
.contact-page-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 32px;
}
.contact-page-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-page-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.contact-page-link:hover { color: var(--text); }

.contact-form {
  flex: 1;
  min-width: 320px;
  background: var(--bg);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(26,26,26,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26,26,26,0.35);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}
.form-submit {
  margin-top: 8px;
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 16px 32px;
}

/* ── FOOTER ── */
footer {
  padding: 24px 40px;
  background: var(--text);
}
.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ── ANIMATIONS ── */
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpOnce 0.8s ease-out 0.1s forwards;
}
.hero-fade-2 { animation-delay: 0.2s; }
.hero-fade-3 { animation-delay: 0.3s; }
.hero-fade-4 { animation-delay: 0.5s; }

@keyframes fadeUpOnce {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 30px); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248,247,244,0.98);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-overlay a:hover { color: var(--blue); }

/* ── CHAT WIDGET ── */
.chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #7ecbf5;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.chat-btn:hover { transform: scale(1.06); }
.chat-btn svg { width: 26px; height: 26px; }
.chat-btn .chat-icon-close { display: none; }
.chat-btn.active .chat-icon-open { display: none; }
.chat-btn.active .chat-icon-close { display: block; }

/* Tooltip */
.chat-tooltip {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  z-index: 999;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: chatFadeUp 0.4s ease;
}
.chat-tooltip-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.chat-tooltip-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: -36px;
}
.chat-tooltip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-tooltip p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}
.chat-tooltip.hidden { display: none; }

/* Chat Panel */
.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatFadeUp 0.3s ease;
}
.chat-panel.active { display: flex; }

.chat-header {
  background: #7ecbf5;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-photo {
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}
.chat-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.chat-header-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2.5px solid #fff;
  z-index: 2;
}
.chat-header-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.chat-header-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  padding: 4px;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  background: #f1f1f1;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  max-width: 85%;
}
.chat-bubble-user {
  background: var(--blue);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-option-btn {
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.chat-option-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

/* Chat form fields (shown after option click) */
.chat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.chat-form input,
.chat-form textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--text);
}
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--blue);
}
.chat-form textarea {
  resize: none;
  min-height: 60px;
}
.chat-form-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.chat-form-submit:hover { opacity: 0.9; }

/* Chat input bar */
.chat-input-bar {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-bar input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-bar input:focus { border-color: var(--blue); }
.chat-input-bar button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.chat-input-bar button:hover { color: var(--blue); }

.chat-success {
  text-align: center;
  padding: 20px 0;
}
.chat-success p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  margin: 4px 0 0;
}
.chat-success .check {
  font-size: 32px;
  margin-bottom: 8px;
}

@keyframes chatFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .chat-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }
  .chat-btn { bottom: 20px; right: 20px; }
  .chat-tooltip { bottom: 88px; right: 20px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-inner { justify-content: space-between; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .hero { padding: 120px 24px 60px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-line-1 svg { display: none; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .services-section { padding: 60px 20px; }
  .services-grid { flex-direction: column; }
  .service-card { min-width: unset; padding: 36px 28px; }

  .about-section { padding: 60px 20px; }
  .about-inner { flex-direction: column-reverse; gap: 32px; }
  .about-photo { min-width: unset; width: 100%; height: auto; }
  .about-photo img { height: auto; }

  .projects-section { padding: 60px 20px; }
  .project-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
  }
  .project-metrics { justify-content: flex-start; min-width: unset; }
  .project-arrow { display: none; }

  .contact-section { padding: 40px 20px 60px; }
  .contact-card {
    flex-direction: column;
    padding: 36px 28px;
    gap: 32px;
  }
  .contact-left { flex-direction: column; text-align: center; }
  .contact-left-text { align-items: center; }
  .contact-left-text h2 { font-size: 32px; text-align: center; }

  .subpage-hero { padding: 120px 24px 48px; }
  .diensten-detail { padding: 48px 20px; }
  .dienst-grid { grid-template-columns: 1fr; }
  .over-content { padding: 48px 20px; }
  .over-intro { flex-direction: column; gap: 28px; }
  .over-intro-photo { min-width: unset; width: 100%; height: auto; }
  .over-intro-photo img { height: auto; }
  .projecten-content { padding: 48px 20px; }
  .project-detail { padding: 28px 24px; }

  .case-content { padding: 40px 20px 60px; }
  .case-overview { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .case-approach-grid { grid-template-columns: 1fr; }
  .case-results { grid-template-columns: 1fr 1fr; }
  .case-section h2 { font-size: 24px; }

  .contact-page { padding: 120px 20px 60px; }
  .contact-page-inner { flex-direction: column; gap: 40px; }
  .contact-page-left { min-width: unset; }
  .contact-form { min-width: unset; padding: 28px 24px; }

  footer { padding: 20px 16px; }
  .footer-bar { flex-direction: column; gap: 6px; }
}
