.hero,
.pageHero,
.contentCard,
.routeCard,
.projectCard,
.timelineItem,
.legalText,
.contact-hero {
  background: rgba(13, 27, 47, 0.88);
  border: 1px solid var(--kleurLijn);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.splitHero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 30px;
  align-items: stretch;
  padding: 34px;
  min-height: 560px;
}

.heroText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 10px 36px 24px;
}

.eyebrow {
  color: var(--kleurAccentDonker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1,
.pageHero h1 {
  font-size: clamp(2.6rem, 7vw, 4.65rem);
  max-width: 900px;
}

.hero p,
.pageHero p,
.contentCard p,
.projectCard p,
.timelineItem p,
.legalText p {
  color: var(--kleurZacht);
}

.heroText > p:not(.eyebrow),
.pageHero > p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.buttonRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button,
.buttonGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--kleurAccent), var(--kleurGroen));
  color: #06111f;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(14, 165, 233, 0.22);
}

.buttonGhost {
  color: var(--kleurAccentDonker);
  border: 1px solid var(--kleurLijn);
  background: rgba(255, 255, 255, 0.04);
}

.buttonGhost:hover {
  border-color: var(--kleurAccentDonker);
}

.codeCard {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 15%, rgba(34, 197, 94, 0.24), transparent 15rem),
    linear-gradient(145deg, #08111f, #10213a 62%, #07111f);
  border: 1px solid var(--kleurLijn);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.codeCard::before {
  content: "";
  position: absolute;
  inset: 70px 34px 34px;
  border-radius: 22px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.codeWindowBar {
  position: absolute;
  top: 30px;
  left: 34px;
  right: 34px;
  height: 44px;
  border-radius: 18px 18px 0 0;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.18);
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 18px;
}

.codeWindowBar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--kleurAccent);
}

.codeWindowBar span:nth-child(2) { background: var(--kleurGroen); }
.codeWindowBar span:nth-child(3) { background: var(--kleurOranje); }

.codeLines {
  position: absolute;
  left: 60px;
  right: 60px;
  top: 120px;
  display: grid;
  gap: 22px;
}

.line {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kleurAccent), rgba(34, 197, 94, 0.25));
  opacity: 0.84;
}

.line.wide { width: 88%; }
.line.medium { width: 67%; }
.line.short { width: 44%; }
.line.glow { box-shadow: 0 0 30px rgba(34, 197, 94, 0.32); }

.statusChip {
  position: absolute;
  left: 60px;
  bottom: 52px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  color: var(--kleurGroen);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.introGrid,
.threeCards,
.portfolioGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.threeCards,
.portfolioGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contentCard,
.routeCard,
.projectCard,
.timelineItem,
.legalText {
  padding: 28px;
}

.contentCard h2,
.routeCard h3,
.projectCard h2,
.timelineItem h2,
.legalText h2 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  margin-bottom: 12px;
}

.accentCard {
  background: rgba(14, 165, 233, 0.1);
}

.routeCard {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s ease;
}

.routeCard:hover,
.projectCard:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.65);
}

.routeCard span,
.timelineItem span {
  color: var(--kleurGroen);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.pageHero {
  padding: clamp(34px, 7vw, 72px);
  margin-bottom: 24px;
}

.portfolioGrid {
  margin-top: 0;
}

.projectVisual {
  height: 220px;
  border-radius: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  position: relative;
  overflow: hidden;
}

.projectVisual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
}

.projectVisual.web {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(135deg, #0ea5e9, #0d1b2f 60%, #22c55e);
  background-size: 34px 34px, 34px 34px, auto;
}

.projectVisual.node {
  background:
    radial-gradient(circle at 50% 50%, rgba(34,197,94,0.45), transparent 8rem),
    linear-gradient(135deg, #07111f, #14532d);
}

.projectVisual.automation {
  background:
    conic-gradient(from 180deg, #0ea5e9, #8b5cf6, #22c55e, #0ea5e9);
}

.wideCard {
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timelineItem {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.timelineItem span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.terminalCard {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(34, 197, 94, 0.08)),
    rgba(13, 27, 47, 0.9);
}

.legalText {
  display: grid;
  gap: 14px;
}

.legalText h2:not(:first-child) {
  margin-top: 18px;
}

.projectImage {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(56, 189, 248, 0.24);
}

.profileHeroCard {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 28px;
  background: rgba(8, 17, 31, 0.9);
  border: 1px solid var(--kleurLijn);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.profileHeroCard img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
}

.profileHeroCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 6, 23, 0.76));
}

.profileHeroCard figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  color: var(--kleurGroen);
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(34, 197, 94, 0.22);
}
