:root {
  --page-bg: #0d0e10;
  --surface: #17181b;
  --surface-soft: #212328;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --accent-orange: #ff6f3d;
  --accent-cyan: #88f3ff;
  --accent-lime: #bbf25a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --hero-title-size: clamp(1.8rem, 2.7vw, 3.2rem);
  --hero-title-max-width: 16.5ch;
  --hero-title-line-height: 0.94;
  --section-title-size: clamp(1.95rem, 3vw, 3.6rem);
  --section-title-max-width: 13.5ch;
  --section-title-line-height: 0.92;
  --hero-height: 700px;
  --phones-cluster-offset: -92px;
  --phones-cluster-gap: -148px;
  --phone-card-width: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(136, 243, 255, 0.15), transparent 32%),
    linear-gradient(180deg, #1a1b1d 0%, #0c0d0f 100%);
  color: var(--text);
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-page {
  overflow: clip;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 255, 255, 0.055) 0 2px, transparent 3px),
    linear-gradient(180deg, transparent 0, transparent 760px, #111214 760px, #111214 100%);
  background-size: 18px 18px, auto;
}

.hero {
  position: relative;
  height: var(--hero-height);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.4) 0%, rgba(20, 22, 25, 0.16) 44%, rgba(39, 28, 15, 0.14) 100%),
    url("./assets/YOUH-BG-jongreren.webp") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(90deg, rgba(8, 18, 24, 0.6) 0%, rgba(8, 18, 24, 0.16) 50%, rgba(56, 33, 14, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 80px));
  min-height: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(620px, 720px);
  gap: clamp(32px, 4vw, 76px);
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  animation: hero-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.brand-logo,
.phone-asset {
  position: relative;
  z-index: 2;
}

.brand-logo {
  width: min(100%, 300px);
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-placeholder {
  display: none;
  width: min(100%, 340px);
  aspect-ratio: 1.8 / 1;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  align-items: center;
  justify-content: center;
}

.brand-placeholder span {
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: #111111;
  text-transform: lowercase;
}

.hero-copy {
  max-width: 720px;
  width: 100%;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.municipal-section h2 {
  margin: 0;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 900;
  white-space: nowrap;
}

.hero h1 {
  max-width: var(--hero-title-max-width);
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line-height);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hero h1 br,
.municipal-section h2 br {
  display: block;
}

.hero-text,
.section-text {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.municipal-section {
  position: relative;
  margin-top: 0;
  padding: 0 24px 72px;
  min-height: calc(100vh - var(--hero-height));
}

.municipal-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #f196bf 0%, #e95c0c 100%);
}

.municipal-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 255, 255, 0.055) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%);
  background-size: 18px 18px, auto;
  opacity: 0.55;
  pointer-events: none;
}

.municipal-inner,
.municipal-copy,
.phones-cluster {
  position: relative;
  z-index: 1;
}

.municipal-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: minmax(540px, 640px) minmax(720px, 1fr);
  gap: clamp(8px, 1vw, 18px);
  align-items: center;
}

.municipal-copy {
  padding-top: 28px;
  max-width: 620px;
}

.municipal-title-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.municipal-section h2 {
  max-width: var(--section-title-max-width);
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
}

.municipal-hand {
  width: 64px;
  height: auto;
  flex: 0 0 auto;
}

.municipal-hand-desktop {
  margin-top: 8px;
  transform: none;
  transform-origin: center;
  animation: hand-float-side 3.2s ease-in-out infinite;
}

.municipal-hand-mobile {
  display: none;
  margin-top: 22px;
  margin-left: 8px;
  transform: rotate(90deg);
  transform-origin: center;
  animation: hand-float-down 3.2s ease-in-out infinite;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hand-float-side {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(6px, 0, 0) rotate(-2deg);
  }
}

@keyframes hand-float-down {
  0%,
  100% {
    transform: rotate(90deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(90deg) translate3d(0, 8px, 0);
  }
}

.phones-cluster {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--phones-cluster-gap);
  margin-top: var(--phones-cluster-offset);
  padding-top: 0;
  z-index: 3;
  width: 100%;
  margin-left: 80px;
}

.phone-card {
  position: relative;
  width: min(100%, var(--phone-card-width));
  display: block;
  text-decoration: none;
  isolation: isolate;
  transform-origin: center bottom;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 340ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1);
  filter:
    drop-shadow(0 34px 26px rgba(0, 0, 0, 0.36))
    drop-shadow(0 54px 52px rgba(0, 0, 0, 0.28));
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
  will-change: transform, filter;
}

.phone-card.schagen {
  animation-delay: 120ms;
}

.phone-card.kroon {
  animation-delay: 220ms;
}

.phone-card.helder {
  animation-delay: 320ms;
}

@keyframes phone-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.phone-card::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 96%;
  height: 52%;
  transform: translateX(-50%);
  border-radius: 999px;
  filter: blur(54px);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.phone-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 62%;
  height: 10%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  filter: blur(18px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.phone-card.schagen::before {
  background: radial-gradient(circle, rgba(112, 255, 70, 0.96) 0%, rgba(112, 255, 70, 0.58) 38%, rgba(112, 255, 70, 0) 76%);
}

.phone-card.kroon::before {
  background: radial-gradient(circle, rgba(48, 214, 255, 0.96) 0%, rgba(48, 214, 255, 0.58) 38%, rgba(48, 214, 255, 0) 76%);
}

.phone-card.helder::before {
  background: radial-gradient(circle, rgba(255, 149, 34, 0.96) 0%, rgba(255, 149, 34, 0.58) 38%, rgba(255, 149, 34, 0) 76%);
}

.phone-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 12px;
}

.phone-card.schagen {
  transform: translateY(42px) rotate(-8deg);
}

.phone-card.kroon {
  transform: translateY(6px);
  z-index: 4;
}

.phone-card.helder {
  transform: translateY(46px) rotate(8deg);
}

.phone-asset {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: phone-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  border-radius: 32px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(15, 17, 21, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -20px 40px rgba(0, 0, 0, 0.2);
}

.mock-phone-top {
  width: 36%;
  height: 18px;
  margin: 8px auto 0;
  border-radius: 0 0 16px 16px;
  background: rgba(0, 0, 0, 0.82);
}

.mock-phone-screen {
  position: absolute;
  inset: 42px 14px 14px;
  border-radius: 30px;
  padding: 30px 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.schagen .mock-phone-screen {
  background:
    linear-gradient(180deg, rgba(112, 179, 82, 0.2), rgba(38, 54, 24, 0.6)),
    url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=900&q=80")
      center center / cover;
}

.kroon .mock-phone-screen {
  background:
    linear-gradient(180deg, rgba(95, 210, 245, 0.2), rgba(26, 52, 75, 0.55)),
    url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=900&q=80")
      center center / cover;
}

.helder .mock-phone-screen {
  background:
    linear-gradient(180deg, rgba(255, 177, 75, 0.16), rgba(82, 40, 8, 0.55)),
    url("https://images.unsplash.com/photo-1493558103817-58b2924bce98?auto=format&fit=crop&w=900&q=80")
      center center / cover;
}

.mock-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 24, 0.16), rgba(8, 18, 24, 0.34));
}

.mock-phone-screen > * {
  position: relative;
  z-index: 1;
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #121212;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: lowercase;
}

.mock-phone-screen strong {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(5px);
}

.asset-loaded + .phone-placeholder,
.asset-loaded + .brand-placeholder {
  display: none;
}

.asset-missing {
  display: none;
}

.asset-missing + .brand-placeholder,
.asset-missing + .phone-placeholder {
  display: flex;
}

@media (max-width: 1080px) {
  :root {
    --hero-height: auto;
    --phones-cluster-offset: -54px;
    --phones-cluster-gap: -46px;
    --phone-card-width: 330px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 56px 0 146px;
    min-height: unset;
  }

  .brand-lockup {
    min-height: unset;
  }

  .hero h1 {
    white-space: normal;
    max-width: 11ch;
  }

  .municipal-section {
    margin-top: 0;
  }

  .municipal-inner {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .municipal-copy {
    padding-top: 0;
  }

  .municipal-title-row {
    display: inline-flex;
    gap: 14px;
  }

  .municipal-hand-desktop {
    width: 54px;
    margin-top: 6px;
  }

  .phones-cluster {
    justify-content: center;
    margin-top: 6px;
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --hero-title-size: clamp(2.1rem, 10vw, 3.2rem);
    --section-title-size: clamp(2.15rem, 10vw, 3.5rem);
    --phones-cluster-gap: 12px;
    --phone-card-width: min(100%, 320px);
  }

  .hero {
    height: 78svh;
    min-height: 640px;
  }

  .hero-inner {
    width: min(100% - 28px, 360px);
    min-height: 100%;
    padding: 26px 0;
    gap: 18px;
    justify-items: center;
    text-align: center;
    align-content: center;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 24, 29, 0.36) 0%, rgba(7, 24, 29, 0.48) 100%),
      url("./assets/YOUH-BG-jongreren.webp") center center / cover no-repeat;
  }

  .brand-logo {
    width: min(100%, 250px);
  }

  .brand-lockup {
    min-height: unset;
  }

  .hero-copy {
    max-width: 340px;
  }

  .hero-text {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero h1 {
    max-width: 100%;
    width: 100%;
    font-size: clamp(1.56rem, 7.2vw, 2.45rem);
    line-height: 0.92;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .municipal-section {
    margin-top: 0;
    padding: 18px 16px 56px;
    min-height: calc(100svh - var(--hero-height));
  }

  .municipal-copy {
    padding-top: 22px;
    text-align: center;
  }

  .municipal-title-row {
    display: block;
  }

  .municipal-inner {
    grid-template-columns: 1fr;
  }

  .municipal-section h2,
  .section-text {
    margin-left: auto;
    margin-right: auto;
  }

  .municipal-section h2 {
    white-space: normal;
  }

  .municipal-hand-desktop {
    display: none;
  }

  .municipal-hand-mobile {
    display: block;
    width: 46px;
    margin: 18px auto 0;
  }

  .phones-cluster {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    margin-top: 0;
    margin-left: 0;
  }

  .phone-card,
  .phone-card.kroon,
  .phone-card.schagen,
  .phone-card.helder {
    width: min(100%, 310px);
    transform: none;
  }

  .phone-card picture {
    display: block;
  }

  .phone-card::before {
    width: 88%;
    height: 34%;
    bottom: 16%;
    filter: blur(34px);
  }

  .phone-card::after {
    width: 56%;
    height: 8%;
    bottom: 5%;
    filter: blur(14px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .phone-card:hover,
  .phone-card:focus-visible {
    filter:
      drop-shadow(0 44px 34px rgba(0, 0, 0, 0.42))
      drop-shadow(0 68px 62px rgba(0, 0, 0, 0.3));
  }

  .phone-card.schagen:hover,
  .phone-card.schagen:focus-visible {
    transform: translateY(18px) rotate(-8deg) scale(1.02);
  }

  .phone-card.kroon:hover,
  .phone-card.kroon:focus-visible {
    transform: translateY(-18px) scale(1.02);
  }

  .phone-card.helder:hover,
  .phone-card.helder:focus-visible {
    transform: translateY(22px) rotate(8deg) scale(1.02);
  }

  .phone-card:hover::before,
  .phone-card:focus-visible::before {
    opacity: 1;
    filter: blur(60px);
  }

  .phone-card:hover::after,
  .phone-card:focus-visible::after {
    opacity: 1;
    filter: blur(22px);
  }
}
