/* ============================================================
   Rosworks header - prefix ros-
   ============================================================ */

.ros-kop {
  --nacht:  #1A1F26;
  --nacht2: #20262F;
  --tekst:  #D5DAE1;
  --gedempt:#9AA4B2;
  --kop:    #F3F5F8;
  --blauw:  #1E90E8;
  --blauwl: #5CB4F5;
  --lijn:   rgba(213,218,225,.13);

  position: relative;
  overflow: hidden;
  background: var(--nacht);
  color: var(--tekst);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.ros-kop *,
.ros-kop *::before,
.ros-kop *::after { box-sizing: border-box; }

/* achtergrond: fijn raster plus een zachte blauwe gloed, geen stockfoto */
.ros-kop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--lijn) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lijn) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 90% at 18% 14%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 18% 14%, #000 0%, transparent 72%);
  opacity: .55;
  pointer-events: none;
}

.ros-kop::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 62vw;
  max-width: 820px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(30,144,232,.26) 0%, rgba(30,144,232,.10) 42%, transparent 70%);
  pointer-events: none;
  animation: ros-adem 11s ease-in-out infinite;
}

@keyframes ros-adem {
  0%, 100% { transform: scale(1);    opacity: .9; }
  50%      { transform: scale(1.09); opacity: 1; }
}

.ros-kop-raster {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

/* ---------- tekst ---------- */

.ros-kicker {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--blauwl);
  opacity: 0;
  animation: ros-in .8s ease .1s forwards;
}
.ros-kicker span { color: var(--gedempt); margin: 0 4px; }

.ros-kop h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.07;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--kop);
  max-width: 14ch;
  opacity: 0;
  animation: ros-in .9s ease .22s forwards;
}

.ros-lead {
  margin: 0 0 30px;
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--gedempt);
  max-width: 46ch;
  opacity: 0;
  animation: ros-in .9s ease .36s forwards;
}

@keyframes ros-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- knoppen ---------- */

.ros-kop-knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
  opacity: 0;
  animation: ros-in .9s ease .5s forwards;
}

.ros-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid var(--blauw);
  border-radius: 4px;
  background: var(--blauw);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ros-knop:hover {
  background: var(--blauwl);
  border-color: var(--blauwl);
  color: #10161d;
  text-decoration: none;
  transform: translateY(-1px);
}

.ros-knop.ros-leeg {
  background: transparent;
  border-color: var(--lijn);
  color: var(--tekst);
}
.ros-knop.ros-leeg:hover {
  background: rgba(213,218,225,.06);
  border-color: var(--tekst);
  color: var(--kop);
}

/* ---------- punten ---------- */

.ros-kop-punten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  opacity: 0;
  animation: ros-in .9s ease .64s forwards;
}
.ros-kop-punten li,
.ros-kop-punten li a { list-style: none; }
.ros-kop-punten li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--gedempt);
}
.ros-kop-punten li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--blauwl);
  border-bottom: 2px solid var(--blauwl);
  transform: rotate(-45deg);
}

/* ---------- foto ---------- */

.ros-kop-foto {
  margin: 0;
  position: relative;
  opacity: 0;
  animation: ros-in 1s ease .3s forwards;
}

.ros-kop-foto::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(30,144,232,.45);
  border-radius: 6px;
  pointer-events: none;
}

.ros-kop-foto img,
.ros-kop-leeg {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  background: var(--nacht2);
}

.ros-kop-leeg {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(213,218,225,.22);
}
.ros-kop-leeg span {
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 700;
  color: rgba(30,144,232,.3);
  line-height: 1;
}

.ros-kop-foto figcaption {
  position: relative;
  margin-top: 16px;
  padding-left: 26px;      /* 14px kaderlijn + 12px lucht */
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ros-kop-foto figcaption strong {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--kop);
}
.ros-kop-foto figcaption span {
  font-size: 14px;
  color: var(--gedempt);
}

/* ============================================================
   TABLET EN TELEFOON
   ============================================================ */

@media (max-width: 900px) {
  .ros-kop-raster { grid-template-columns: 1fr; gap: 38px; }
  .ros-kop h1 { max-width: 18ch; }
  .ros-kop-foto { max-width: 320px; }
}

@media (max-width: 640px) {
  .ros-kop { padding: 46px 20px 54px; }
  .ros-kop h1 { max-width: none; }
  .ros-lead { max-width: none; }
  .ros-knop { flex: 1 1 100%; }
  .ros-kop-punten { flex-direction: column; gap: 9px; }
  .ros-kop-foto { max-width: 230px; }
  .ros-kop-foto::before { inset: 10px -10px -10px 10px; }
  .ros-kop-foto figcaption { padding-left: 20px; }
  .ros-kop::before { background-size: 48px 48px; }
}
