/* Floating Action Buttons (rechtsonder) */
.fab {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  z-index: 50;
  pointer-events: auto;
}

/* buttons: touch-friendly, maar compact op desktop */
.fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(10, 12, 18, .75);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}

.fab-btn:active {
  transform: translateY(1px);
}

.fab-btn:hover {
  background: rgba(10, 12, 18, .9);
  border-color: rgba(255, 255, 255, .20);
}

.fab .ico {
  font-size: 18px;
  line-height: 1;
}

/* Submenu sheet */
.fab-sheet {
  position: absolute;
  right: 12px;
  bottom: 66px;
  width: 220px;
  z-index: 49;
  display: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(10, 12, 18, .78);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  overflow: hidden;
}

.fab-sheet.is-open {
  display: block;
}

.sheet-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
}

.sheet-item:hover {
  background: rgba(255, 255, 255, .06);
}

.sheet-item .ico {
  width: 22px;
  text-align: center;
}

/* overlay boven canvas */
.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(3px);
}

/* grote pagina overlay */
.panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(1000px, calc(100% - 40px));
  height: min(80vh, 720px);
  /* vaste hoogte, niet springend */
  max-height: calc(100vh - 80px);
  /* safety */

  z-index: 90;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .10);

  /* background: rgba(10, 12, 18, .94); */
  background: rgba(21, 25, 35, .94);
  backdrop-filter: blur(14px);

  color: #fff;

  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* header */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 24px;

  /* border-bottom: 1px solid rgba(255, 255, 255, .10); */
}

.panel-title {
  font-weight: 700;
  font-size: 18px;
}

/* close knop */
.panel-close {
  width: 36px;
  height: 36px;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);

  background: rgba(255, 255, 255, .06);

  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

/* body */
.panel-body {
  padding: 24px;

  overflow-y: auto;
  flex: 1;

  font-size: 15px;
  line-height: 1.6;

  color: rgba(255, 255, 255, .92);

}

.panel-body h1 {
  font-size: 26px;
  margin: 0 0 14px 0;
}

.panel-body h2 {
  font-size: 18px;
  margin-top: 24px;
}

.panel-body p {
  margin-bottom: 14px;
}

.panel-body a {
  color: #9bdcff;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.panel-logo {
  width: 275px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.panel-title {
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* @media (max-width: 700px) {
  .panel {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .panel-body {
    padding: 18px;
  }

  .panel-head {
    padding: 14px 16px;
  }
} */

@media (max-width: 700px) {
  .panel {
    height: calc(100vh - 20px);
    /* bijna fullscreen met 10px margin rondom */
  }
}


.form {
  display: grid;
  gap: 10px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
}

.form input {
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 0 10px;
}

.btn {
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, .14);
}

/* SEO container: wel in DOM voor indexering, maar niet zichtbaar */
.seo-pages {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mobiel: grotere targets en panel fullscreen-ish */
@media (max-width: 640px) {
  .fab {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .fab .ico {
    font-size: 19px;
  }

  /* .panel {
    right: 10px;
    left: 10px;
    bottom: 68px;
    width: auto;
    max-height: 78vh;
    border-radius: 18px;
  } */

  .fab-sheet {
    right: 10px;
    bottom: 72px;
    width: min(260px, calc(100% - 20px));
  }
}

/* Zorg dat hidden ALTIJD echt weg is */
.panel[hidden] {
  display: none !important;
}

.panel-overlay[hidden] {
  display: none !important;
}

.subnav {
  position: sticky;
  top: 0;

  z-index: 2;

  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin: 12px 0 18px;
  padding: 10px 0;

  background: rgba(10, 12, 18, .94);
  backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.subnav-link {
  display: inline-flex;
  align-items: center;

  height: 34px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);

  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-size: 13px;
}

.subnav-link:hover {
  background: rgba(255, 255, 255, .06);
}