/* =========================================================
   AGENT STEFAN - 911 / EMERGENCY CALLCENTER STYLE
========================================================= */

:root {
  --bg-0: #020711;
  --bg-1: #06101f;
  --bg-2: #0b1f3a;
  --panel: rgba(8, 22, 42, 0.82);
  --panel-strong: rgba(7, 18, 34, 0.95);

  --blue: #1f6feb;
  --blue-soft: #4ea1ff;
  --cyan: #27d3ff;
  --red: #ff3b3b;
  --red-dark: #a51622;
  --yellow: #f0ec07;

  --text: #eaf4ff;
  --muted: #9fb7d4;
  --dark: #06101f;
  --white: #ffffff;

  --border: rgba(255, 255, 255, .16);
  --border-strong: rgba(255, 255, 255, .28);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(59, 193, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(31, 111, 235, .22), transparent 32%),
    linear-gradient(rgba(2, 7, 17, .75), rgba(2, 7, 17, .75)),
    url("/assets/images/Images/Background_Home.jpeg") !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .17;

  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    linear-gradient(90deg, rgba(255, 59, 59, .06), transparent 25%, transparent 75%, rgba(31, 111, 235, .08));
}

/* GENERAL */

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

main {
  width: min(1450px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

/* =========================================================
   HEADER / TOP COMMAND STRIP
========================================================= */

body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

header {
  grid-row: 1;
  grid-column: 1;

  width: min(820px, calc(100% - 560px));
  height: 200px;
  min-height: 200px;

  margin: 1.1rem auto 0;
  padding: 1.65rem 2rem 2.2rem;

  position: relative;
  z-index: 300;
  isolation: isolate;

  overflow: visible;
  text-align: center;

  border: 1px solid rgba(255, 221, 0, .8);
  border-top-color: rgba(255, 221, 0, .45);

  /* Remove the rounded fallback you briefly see */
  border-radius: 0;

  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    88% 100%,
    12% 100%
  );

  clip-path: polygon(
    0 0,
    100% 0,
    88% 100%,
    12% 100%
  );

  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.05),
      rgba(255,255,255,.015)
    ),
    linear-gradient(
      135deg,
      rgba(31,111,235,.14),
      transparent 44%
    ),
    rgba(4,15,34,.96);

  box-shadow:
    0 22px 55px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 24px rgba(240,236,7,.08);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, .018) 0,
      rgba(255, 255, 255, .018) 2px,
      transparent 2px,
      transparent 14px);

  pointer-events: none;
}

header::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      transparent,
      var(--yellow) 20%,
      var(--yellow) 80%,
      transparent);
  box-shadow: 0 0 14px rgba(240, 236, 7, .4);
}

.title {
  position: relative;
  z-index: 1;

  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  font-family: Verdana, Arial, sans-serif;
  font-weight: 1000;
  letter-spacing: -0.045em;

  color: var(--white);

  text-shadow:
    0 0 22px rgba(31, 111, 235, .45),
    0 4px 0 rgba(0, 0, 0, .65);
}

#AgentStefanTitel {
  color: var(--yellow);
  text-shadow:
    0 0 18px rgba(240, 236, 7, .38),
    0 4px 0 rgba(0, 0, 0, .72);
}

/* =========================================================
   LOGO + HOME / CONTACT TOP STRIP
========================================================= */

/* Shared stripe behind home, title and contact */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .17;

  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    linear-gradient(90deg,
      rgba(255, 59, 59, .06),
      transparent 25%,
      transparent 75%,
      rgba(31, 111, 235, .08));
}

/* Horizontal top stripe */
.MainLogo::before {
  content: "";
  position: absolute;

  top: -8.8rem;
  left: 50%;

  width: min(1500px, calc(100vw - 2rem));
  height: 74px;

  transform: translateX(-50%);

  z-index: -999;

  border-top: 1px solid rgba(78, 161, 255, .45);
  border-bottom: 1px solid rgba(78, 161, 255, .25);

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .035),
      rgba(255, 255, 255, .008)),
    linear-gradient(90deg,
      rgba(5, 17, 38, .92),
      rgba(10, 31, 66, .82) 22%,
      rgba(4, 14, 31, .9) 50%,
      rgba(10, 31, 66, .82) 78%,
      rgba(5, 17, 38, .92));

  box-shadow:
    0 16px 35px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  clip-path: polygon(3% 0,
      97% 0,
      100% 50%,
      97% 100%,
      3% 100%,
      0 50%) !important;
}

.MainLogo {
  grid-row: 2;
  grid-column: 1;

  width: min(760px, calc(100% - 2rem));
  margin: -.2rem auto .5rem;

  position: relative;
  z-index: 22;

  text-align: center;
}

#MainLogo {
  width: clamp(115px, 10vw, 150px);
  height: auto;

  filter:
    drop-shadow(0 16px 20px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(31, 111, 235, .3));
}

#Homebtn,
#ContactOpnemen {
  grid-row: 1;
  grid-column: 1;

  width: min(290px, 21vw);
  min-width: 220px;
  height: 54px;
  min-height: 54px;
  padding: 0 1.35rem;
  margin-top: 5.25rem;

  position: relative;
  z-index: 21;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .7rem;

  align-self: start;

  border: 1px solid rgba(78, 161, 255, .55);
  border-radius: 7px;

  clip-path: polygon(7% 0,
      93% 0,
      100% 50%,
      93% 100%,
      7% 100%,
      0 50%) !important;

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .11),
      rgba(255, 255, 255, .015)),
    linear-gradient(90deg,
      rgba(14, 43, 91, .98),
      rgba(26, 79, 164, .98),
      rgba(13, 43, 91, .98));

  color: var(--text);
  font-size: .8rem;
  font-weight: 1000;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .055em;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 0 1px rgba(31, 111, 235, .12);

  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

#Homebtn {
  justify-self: start;
  margin-left: max(2rem, calc((100vw - 1450px) / 2));
}

#ContactOpnemen {
  justify-self: end;
  margin-right: max(2rem, calc((100vw - 1450px) / 2));
}

#Homebtn::before,
#ContactOpnemen::before {
  display: inline-grid;
  place-items: center;

  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .14);

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .08),
      rgba(31, 111, 235, .18));

  color: #dcecff;
  font-size: 1rem;
  line-height: 1;

  text-shadow:
    0 0 12px rgba(78, 161, 255, .45);
}

#Homebtn::before {
  content: "🏢";
}

#ContactOpnemen::before {
  content: "📩";
}

#Homebtn:hover,
#ContactOpnemen:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);

  border-color: rgba(115, 190, 255, .95);

  box-shadow:
    0 15px 30px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 0 24px rgba(31, 111, 235, .22);
}

header,
#Homebtn,
#ContactOpnemen,
.Navigatie {
  position: relative;
  z-index: 300;
}

.MainLogo {
  position: relative;
  z-index: 22;
}

.MainLogo::before {
  z-index: -1;
}


/* =========================================================
   NAVIGATION - COMMAND BAR
========================================================= */

.Navigatie {
  grid-row: 3;
  grid-column: 1;

  width: min(1180px, calc(100% - 2rem));
  margin: .65rem auto 2.6rem;
  padding: .95rem 1rem;

  position: relative;
  z-index: 50;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .72rem;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .26);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018)),
    rgba(4, 14, 29, .9);

  box-shadow:
    0 22px 55px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .13),
    inset 0 -1px 0 rgba(0, 0, 0, .65);

  backdrop-filter: blur(16px);
}

.Navigatie::before {
  content: "COMMAND MENU";
  position: absolute;
  top: -11px;
  left: 28px;

  padding: .22rem .7rem;
  border-radius: 999px;

  background: #08182e;
  border: 1px solid rgba(255, 255, 255, .18);

  color: #c4d5ea;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.nav-btn {
  min-width: 142px;
  min-height: 52px;
  padding: .75rem 1rem;

  position: relative;
  overflow: hidden;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  border-radius: 11px;
  border: 1px solid rgba(96, 172, 255, .72);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .015)),
    linear-gradient(180deg, #285fbe 0%, #17479a 100%);

  color: #f5f9ff;
  font-size: .77rem;
  font-weight: 1000;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .035em;

  box-shadow:
    0 5px 0 rgba(4, 12, 28, .8),
    0 12px 24px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 0 16px rgba(31, 111, 235, .12);

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease,
    border-color .16s ease;
}

.nav-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);

  background:
    linear-gradient(115deg,
      transparent,
      rgba(255, 255, 255, .45),
      transparent);

  transition: transform .5s ease;
}

.nav-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  border-color: rgba(151, 205, 255, .95);

  box-shadow:
    0 8px 0 rgba(4, 12, 28, .8),
    0 18px 30px rgba(0, 0, 0, .38),
    0 0 24px rgba(31, 111, 235, .22);
}

.nav-btn:hover::after {
  transform: translateX(120%);
}

.nav-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(4, 12, 28, .8),
    0 8px 18px rgba(0, 0, 0, .3);
}


/* SUBMENU - FIXED HOVER GAP */

.subnav {
  position: relative;
}

.subnav::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 24px;
}

.subnav-content {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  position: absolute;
  z-index: 999;
  top: calc(100% + 14px);
  left: 50%;

  width: 280px;
  padding: .9rem;

  flex-direction: column;
  gap: .75rem;

  transform: translateX(-50%) translateY(-8px);

  border-radius: 18px;
  border: 1px solid var(--border-strong);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025)),
    rgba(5, 15, 32, .98);

  box-shadow:
    0 28px 70px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .16);

  backdrop-filter: blur(14px);

  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;
}

.subnav-content::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;

  width: 16px;
  height: 16px;

  transform: translateX(-50%) rotate(45deg);

  background: rgba(5, 15, 32, .98);
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
}

.subnav:hover .subnav-content,
.subnav:focus-within .subnav-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.subnav-content .nav-btn {
  width: 100%;
  justify-content: flex-start;
}

/* =========================================================
   CHAT / DISPATCH PANEL
========================================================= */

.Intro.chat-scene {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  margin-bottom: -100px;
  padding: 5.6rem clamp(1.1rem, 3vw, 2.5rem) 2.5rem;

  position: relative;
  overflow: hidden;

  display: grid;
  gap: 1.15rem;

  border-radius: 24px;
  border: 1px solid var(--border-strong);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    radial-gradient(circle at top left, rgba(255, 59, 59, .12), transparent 36%),
    radial-gradient(circle at top right, rgba(31, 111, 235, .16), transparent 36%),
    rgba(6, 16, 31, .86);

  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 0 45px rgba(31, 111, 235, .06);
}

.Intro.chat-scene::before {
  content: "LIVE HELP DESK  •  AGENT STEFAN";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 58px;
  padding-left: 6.1rem;

  display: flex;
  align-items: center;

  background:
    linear-gradient(90deg, #b8202b 0%, #263f70 48%, #1f6feb 100%);

  color: var(--white);
  font-size: .85rem;
  font-weight: 1000;
  letter-spacing: .08em;

  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, .18),
    0 8px 25px rgba(0, 0, 0, .28);
}

.Intro.chat-scene::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 26px;

  width: 13px;
  height: 13px;
  border-radius: 50%;

  background: var(--white);
  box-shadow:
    24px 0 0 var(--white),
    48px 0 0 var(--white);
}

/* CHAT MESSAGE LAYOUT */

.chat-message {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.stefan-message {
  justify-content: flex-end;
}

.klant-message {
  justify-content: flex-start;
}

.chat-icon {
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  flex: 0 0 clamp(52px, 5vw, 72px);

  object-fit: cover;
  border-radius: 50%;

  background: var(--white);
  border: 3px solid rgba(255, 255, 255, .88);

  box-shadow:
    0 0 0 4px rgba(31, 111, 235, .2),
    0 12px 25px rgba(0, 0, 0, .34);
}

.chat-bubble {
  max-width: min(760px, 76%);
  padding: 1rem 1.15rem;

  position: relative;

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .22);

  font-weight: 800;
  line-height: 1.55;

  box-shadow:
    0 14px 26px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble p+p {
  margin-top: .45rem;
}

.stefan-message .chat-bubble {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035)),
    linear-gradient(135deg, #0f77d8, #00a9d6);
  border-bottom-right-radius: 4px;
}

.klant-message .chat-bubble {
  color: #06101f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08)),
    linear-gradient(135deg, #fff4a8, #ffd84d);
  border-bottom-left-radius: 4px;
}

.typing-message .chat-bubble {
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  border: 1px dashed rgba(255, 255, 255, .28);
}

.typing-message em::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}


/* =========================================================
   ONS DOEL
========================================================= */

.goal-main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 4rem;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.goal-hero {
  padding: 2rem;

  text-align: center;

  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .08),
      rgba(255, 255, 255, .025)),
    linear-gradient(135deg,
      rgba(59, 209, 255, 0.16),
      transparent 35%),
    linear-gradient(225deg,
      rgba(31, 111, 235, .2),
      transparent 35%),
    var(--panel-strong);

  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.goal-hero h1 {

  margin: 0 0 1rem;

  color: var(--yellow);

  font-size: clamp(2rem, 5vw, 3.5rem);

  text-shadow:
    0 0 18px rgba(240, 236, 7, .25);
}

.goal-hero p {
  max-width: 850px;
  margin: 0 auto;

  color: var(--text);
  line-height: 1.8;
  font-size: 1.05rem;
}

.goal-card {
  position: relative;

  padding: 1.5rem;

  border-radius: var(--radius-lg);
  border: 1px solid var(--border);

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .08),
      rgba(255, 255, 255, .02)),
    var(--panel);

  color: var(--text);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.goal-card::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;

  width: 5px;

  border-radius: 5px 0 0 5px;

  background:
    linear-gradient(180deg,
      var(--red),
      var(--blue));
}

.goal-card:hover {
  transform: translateY(-3px);

  border-color: rgba(31, 111, 235, .45);

  box-shadow:
    0 22px 45px rgba(0, 0, 0, .4),
    0 0 20px rgba(31, 111, 235, .12);
}

.goal-card h2 {
  margin: 0 0 .75rem;

  text-align: center;
  color: var(--yellow);

  font-size: 1.35rem;
}

.goal-card p {
  margin: 0;

  text-align: center;
  color: var(--text);

  line-height: 1.8;
}

/* Final Ons Doel override */
body.ons-doel .goal-hero,
body.ons-doel .goal-card {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)),
    rgba(8, 22, 42, 0.94) !important;

  color: #eaf4ff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.ons-doel .goal-card h2 {
  color: #f0ec07 !important;
}

body.ons-doel .goal-card p,
body.ons-doel .goal-hero p {
  color: #eaf4ff !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .goal-main {
    width: calc(100% - 1rem);
  }

  .goal-hero {
    padding: 1.5rem;
  }

  .goal-card {
    padding: 1.2rem;
  }

  .goal-card h2 {
    font-size: 1.15rem;
  }
}


/* =========================================================
   FAQ PAGE
========================================================= */

body.faq-page {
  min-height: 100vh;

  background:
    radial-gradient(circle at 12% 18%, rgba(255, 59, 59, .18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(31, 111, 235, .25), transparent 34%),
    linear-gradient(rgba(2, 7, 17, .82), rgba(2, 7, 17, .9)),
    url("/assets/images/Images/Background_Home.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: var(--text);
}

.faq-main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.faq-title {
  margin: 0 0 1.4rem;
  padding: 1rem 1.25rem;

  position: relative;
  overflow: hidden;

  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025)),
    linear-gradient(90deg, rgba(22, 113, 165, 0.75), rgba(7, 18, 34, .96) 48%, rgba(31, 111, 235, .72));

  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;

  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.faq-title::before {
  content: "SAFETY INFORMATION";
  display: block;
  margin-bottom: .35rem;

  color: var(--text);
  font-size: .62rem;
  letter-spacing: .2em;
}

.faq-intro {
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.5rem;

  border: 1px solid rgba(78, 161, 255, .35);
  border-left: 5px solid var(--blue-soft);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(7, 18, 34, .9);

  color: var(--text);
  line-height: 1.7;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

.faq-intro p {
  margin: .4rem 0 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-card {
  position: relative;
  overflow: hidden;

  padding: 1.35rem 1.4rem;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(7, 18, 34, .92);

  color: var(--text);

  box-shadow:
    0 16px 34px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .1);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;

  background: linear-gradient(var(--red), var(--blue));
}

.faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 161, 255, .48);

  box-shadow:
    0 22px 44px rgba(0, 0, 0, .4),
    0 0 28px rgba(31, 111, 235, .1);
}

.faq-card h2 {
  margin: 0 0 .8rem;

  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.35;
}

.faq-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.faq-card p+p {
  margin-top: .8rem;
}

/* Parent information gets full width */
.faq-card:last-child {
  grid-column: 1 / -1;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    linear-gradient(135deg, rgba(31, 111, 235, .14), transparent 38%),
    rgba(7, 18, 34, .95);
}

.faq-warning {
  margin-top: 1.4rem;
  padding: 1.25rem 1.4rem;

  border: 1px solid rgba(255, 59, 59, .45);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(90deg, rgba(22, 113, 165, 0.82), rgba(35, 21, 35, .9), rgba(31, 111, 235, .42));

  color: var(--white);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, .38),
    0 0 28px rgba(255, 59, 59, .12),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

@media (max-width: 760px) {
  body.faq-page {
    background-attachment: scroll;
  }

  .faq-main {
    width: calc(100% - 1rem);
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-card:last-child {
    grid-column: auto;
  }

  .faq-title,
  .faq-intro,
  .faq-card,
  .faq-warning {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .faq-title {
    padding: .9rem;
    font-size: 1.45rem;
  }

  .faq-intro,
  .faq-card,
  .faq-warning {
    padding: 1rem;
  }

  .faq-card h2 {
    font-size: 1rem;
  }
}



/* =========================================================
   FOOTER
========================================================= */

footer {
  width: min(1000px, calc(100% - 2rem));
  margin: 4rem auto 1.5rem;
  padding: 1.15rem;

  text-align: center;
  color: var(--muted);

  border-radius: 18px;
  border: 1px solid var(--border);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(5, 15, 32, .78);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

footer a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

footer a:hover {
  color: var(--cyan);
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes dots {
  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75%,
  100% {
    content: "...";
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  header {
    width: min(720px, calc(100% - 440px));
  }

  #Homebtn,
  #ContactOpnemen {
    width: 210px;
    min-width: 210px;
    font-size: .72rem;
  }

  #Homebtn {
    margin-left: 1rem;
  }

  #ContactOpnemen {
    margin-right: 1rem;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll !important;
    display: block;
  }

  header {
    width: calc(100% - 1rem);
    min-height: auto;
    margin: 1rem auto .75rem;
    padding: 1.25rem 1rem;
    clip-path: none;
    border-radius: 20px;
  }

  header::after {
    left: 20%;
    right: 20%;
  }

  .MainLogo {
    width: calc(100% - 1rem);
    margin: 0 auto .6rem;
  }

  #MainLogo {
    width: 115px;
  }

  #Homebtn,
  #ContactOpnemen {
    width: min(280px, calc(100% - 2rem));
    min-width: 0;
    min-height: 52px;
    margin: .45rem auto;
    clip-path: none;
    border-radius: 12px;
  }

  #Homebtn,
  #ContactOpnemen {
    display: flex;
  }

  .Navigatie {
    width: calc(100% - 1rem);
    margin: 1rem auto 1.5rem;
    padding: .75rem;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .Navigatie::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-btn,
  .subnav {
    width: 100%;
    min-width: 0;
  }

  .nav-btn {
    min-height: 46px;
    padding: .65rem .55rem;
    font-size: .72rem;
  }

  .subnav {
    position: relative;
  }

  .subnav::after {
    display: none;
  }

  .subnav-content {
    position: static;

    width: 100%;
    margin-top: .5rem;
    padding: .6rem;

    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }

  .subnav-content::before {
    display: none;
  }

  .subnav:hover .subnav-content,
  .subnav:focus-within .subnav-content {
    display: flex;
    transform: none;
  }

  .subnav-content .nav-btn {
    justify-content: center;
  }

  main {
    width: calc(100% - 1rem);
    margin-bottom: 2rem;
  }

  footer {
    width: calc(100% - 1rem);
    margin-top: 2rem;
  }
}

@media (max-width: 620px) {
  .Navigatie {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .nav-btn {
    min-height: 42px;
    font-size: .7rem;
  }

  .title {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.1;
  }

  header {
    border-radius: 18px;
  }

  #Homebtn,
  #ContactOpnemen {
    max-width: 300px;
  }

  .Intro.chat-scene {
    padding: 4.5rem .75rem 1rem;
    border-radius: 16px;
  }

  .Intro.chat-scene::before {
    height: 48px;
    padding-left: 4.1rem;
    font-size: .62rem;
    letter-spacing: .05em;
  }

  .Intro.chat-scene::after {
    top: 17px;
    left: 17px;

    width: 9px;
    height: 9px;

    box-shadow:
      18px 0 0 var(--white),
      36px 0 0 var(--white);
  }

  .chat-message,
  .stefan-message,
  .klant-message {
    align-items: flex-start;
  }

  .chat-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .chat-bubble {
    max-width: calc(100% - 52px);
    padding: .75rem .8rem;
    font-size: .84rem;
    line-height: 1.45;
  }

  .stefan-message {
    flex-direction: row-reverse;
  }
}

@media (max-width: 420px) {
  .MainLogo {
    margin-top: .5rem;
  }

  #MainLogo {
    width: 100px;
  }

  .Navigatie {
    padding: .55rem;
    gap: .5rem;
  }

  .nav-btn {
    min-height: 40px;
    padding: .55rem .45rem;
    font-size: .66rem;
    letter-spacing: .02em;
  }

  #Homebtn,
  #ContactOpnemen {
    font-size: .68rem;
  }

  .Intro.chat-scene {
    padding-left: .55rem;
    padding-right: .55rem;
    margin-bottom: 0px;
  }

  .chat-message {
    gap: .45rem;
  }

  .chat-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .chat-bubble {
    max-width: calc(100% - 44px);
    font-size: .8rem;
  }

  footer {
    padding: .85rem;
    font-size: .8rem;
  }
}

.profile-menu-btn.public-profile-back,
#memberback {
    display: block;
    margin-bottom: 20px !important;
    width: fit-content;
}