/* BRIQO — hero layouts (home + subpagina's) */

/* ── Homepage: sfeervideo-portal (asymmetrisch) ─────────────────── */
.hero--atmosphere {
  overflow: hidden;
}

.hero.hero--atmosphere .hero-bg-grad {
  background:
    radial-gradient(ellipse 55% 70% at 88% 42%, rgba(217, 127, 99, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 12% 88%, rgba(15, 23, 42, 0.5) 0%, transparent 55%),
    linear-gradient(165deg, var(--lw-forest, #1E3B2E) 0%, #0c1222 48%, #0a0f1a 100%);
}

.hero-inner--atmosphere {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  align-items: center !important;
  gap: clamp(24px, 4vw, 48px) !important;
  padding: clamp(72px, 10vh, 112px) 0 clamp(56px, 8vh, 88px) !important;
  min-height: clamp(520px, 72vh, 680px);
}

.hero--home .hero-inner {
  align-items: center !important;
  gap: clamp(24px, 4vw, 48px) !important;
  padding: clamp(72px, 10vh, 112px) 0 clamp(56px, 8vh, 88px) !important;
  min-height: clamp(520px, 72vh, 680px);
}

.hero--home .hero-content {
  padding-bottom: 0 !important;
  max-width: 560px;
}

.hero--home .hero-sub {
  max-width: 520px !important;
}

.hero-atmosphere {
  position: relative;
  min-height: clamp(380px, 52vw, 560px);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-portal-wrap {
  position: absolute;
  right: clamp(-12%, -4vw, -2%);
  top: 50%;
  transform: translateY(-50%);
  width: min(118%, 720px);
  height: min(105%, 580px);
  pointer-events: none;
}

.hero-portal {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: ellipse(78% 68% at 62% 50%);
  overflow: hidden;
  background: #0a0f1a;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-portal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  transition: transform 0.4s ease-out;
}

.hero-portal-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 38%, transparent 62%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
}

.hero-portal-ring {
  position: absolute;
  inset: -2px;
  clip-path: ellipse(78% 68% at 62% 50%);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow:
    0 0 40px rgba(217, 127, 99, 0.15),
    inset 0 0 60px rgba(217, 127, 99, 0.04);
  pointer-events: none;
  animation: portalRingPulse 6s ease-in-out infinite;
}

@keyframes portalRingPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.hero-portal-slash {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 8vw, 72px);
  height: 72%;
  opacity: 0.7;
  filter: drop-shadow(0 0 12px rgba(217, 127, 99, 0.35));
}

.hero-floats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-left: clamp(-8%, -2vw, 0);
  max-width: min(100%, 320px);
}

.hero-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: heroFloatDrift 8s ease-in-out infinite;
}

.hero-float:nth-child(2) {
  animation-delay: -2.5s;
  margin-left: 18px;
}

.hero-float:nth-child(3) {
  animation-delay: -5s;
  margin-left: 6px;
}

.hero-float--tag i {
  font-size: 16px;
  color: var(--lw-on-dark, #E8DFD0);
}

.hero-float--case {
  text-decoration: none;
  color: inherit;
  padding: 10px 14px 10px 12px;
  transition: border-color 0.2s, background 0.2s;
}

.hero-float--case:hover {
  border-color: rgba(217, 127, 99, 0.45);
  background: rgba(15, 23, 42, 0.88);
}

.hero-float--case img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

.hero-float--case span {
  line-height: 1.35;
}

@keyframes heroFloatDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-founders {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.hero-founder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--lw-forest, #1E3B2E);
  overflow: hidden;
  margin-left: -7px;
  background: #1E293B;
}

.hero-founder:first-child {
  margin-left: 0;
}

.hero-founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pavatar--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.pavatar--brand {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.28);
  padding: 6px;
}

.pavatar--brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ── Subpagina: intro met sfeer-banner ─────────────────────────── */
.page-intro--media {
  background: linear-gradient(180deg, var(--lw-border, #D9D3C4) 0%, var(--lw-cream, #F6F2E8) 28%, #ffffff 100%);
  border-bottom: 1px solid var(--lw-border, #D9D3C4);
  padding: 0;
}

.page-intro-banner {
  position: relative;
  height: clamp(220px, 32vw, 320px);
  overflow: hidden;
  background: var(--lw-forest, #1E3B2E);
}

.page-intro-video,
.page-intro-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro-video {
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.04);
}

.page-intro-image {
  opacity: 0.88;
}

.page-intro-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

.page-intro-panel {
  padding: 0 0 48px;
  background: transparent;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.page-intro--media .page-intro-body {
  background: #fff;
  border: 1px solid var(--lw-border, #D9D3C4);
  border-radius: 20px;
  padding: 28px 32px 32px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07);
}

.page-intro {
  background: linear-gradient(180deg, var(--lw-cream, #F6F2E8) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--lw-border, #D9D3C4);
  padding: 28px 0 52px;
}

.page-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--lw-muted, #5a5f56);
  margin-bottom: 22px;
}

.page-crumbs a {
  color: var(--lw-muted, #5a5f56);
  transition: color 0.15s;
}

.page-crumbs a:hover {
  color: var(--lw-forest, #1E3B2E);
}

.page-crumb-sep {
  color: #CBD5E1;
}

.page-intro-body {
  max-width: 720px;
}

.page-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0D9488;
  margin-bottom: 14px;
}

.page-intro-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lw-terra, #D97F63);
}

.page-intro h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--lw-forest, #1E3B2E);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.page-intro-sub {
  font-size: 17px;
  color: var(--lw-muted, #5a5f56);
  line-height: 1.75;
  max-width: 620px;
}

.page-intro-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.page-intro .page-hero-chips {
  margin-top: 0;
}

.page-intro .hero-chip {
  color: #475569;
  background: #ffffff;
  border-color: var(--lw-border, #D9D3C4);
}

.page-intro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.page-intro-stat {
  font-size: 13px;
  color: var(--lw-muted, #5a5f56);
}

.page-intro-stat strong {
  color: var(--lw-forest, #1E3B2E);
  font-weight: 700;
}

.page-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: #0D9488;
  transition: gap 0.2s ease, color 0.15s;
}

.page-intro-link:hover {
  color: #0F766E;
  gap: 10px;
}

.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-intro-actions .btn-outline {
  background: #fff;
  border: 1.5px solid var(--lw-border, #D9D3C4);
  color: var(--lw-forest, #1E3B2E);
}

@media (max-width: 768px) {
  .page-intro {
    padding: 20px 0 40px;
  }

  .page-intro--media .page-intro-panel {
    margin-top: -32px;
  }

  .page-intro--media .page-intro-body {
    padding: 22px 20px 24px;
    border-radius: 16px;
  }

  .page-intro h1 {
    font-size: 30px;
  }

  .page-intro-sub {
    font-size: 15px;
  }

  .hero--atmosphere .hero-inner--atmosphere,
  .hero--home .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 56px 0 40px !important;
    min-height: auto;
  }

  .hero-atmosphere {
    order: -1;
    min-height: clamp(280px, 72vw, 380px);
    margin: 0 -20px;
    width: calc(100% + 40px);
  }

  .hero-portal-wrap {
    right: -18%;
    width: 130%;
    height: 100%;
    top: 0;
    transform: none;
  }

  .hero-portal,
  .hero-portal-ring {
    clip-path: ellipse(88% 72% at 58% 48%);
  }

  .hero-portal-slash {
    display: none;
  }

  .hero-floats {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    margin-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
  }

  .hero-float {
    font-size: 12px;
    padding: 8px 12px;
    animation: none;
    margin-left: 0 !important;
  }

  .hero-float--case img {
    width: 28px;
    height: 28px;
  }

  .page-hero .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-hero-aside {
    flex-direction: column;
  }
}

/* Legacy page-hero (niet meer standaard op subpagina's) */
.page-hero {
  padding: 0 !important;
  min-height: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 88px;
}

.page-hero-inner {
  max-width: none !important;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.page-hero-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-58%);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  margin-bottom: 18px !important;
}

.page-hero h1 {
  margin-bottom: 16px !important;
}

.page-hero p {
  max-width: 540px !important;
  font-size: 17px !important;
}

.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-chip i,
.hero-chip-dot {
  color: var(--lw-on-dark, #E8DFD0);
  font-size: 14px;
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lw-terra, #D97F63);
  display: inline-block;
}

.page-hero-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.3s ease, border-color 0.25s ease;
}

.page-hero-stat:hover {
  transform: translateX(6px);
  border-color: rgba(217, 127, 99, 0.4);
}

.page-hero-stat-val {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.page-hero-stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 6px;
  line-height: 1.45;
}

.page-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  z-index: 3;
  pointer-events: none;
}

.page-hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-hero-actions {
  margin-top: 28px !important;
}

@media (max-width: 900px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-hero-stat {
    flex: 1 1 140px;
  }

  .page-hero-watermark {
    font-size: 64px;
    right: 0;
    top: 12%;
    transform: none;
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portal-ring,
  .hero-float {
    animation: none !important;
  }
}

