
:root{
  --stap-geel:#FFD700;
  --stap-blauw:#004C99;
  --stap-zwart:#000;
}

html, body{
  height:auto;
  min-height:100%;
}

body{
  margin:0;
  background:none;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-user-select:none;
  user-select:none;
  -webkit-user-drag:none;
}

/* FIX: start content at top, not vertically centered */
body.stap-centered{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-height:100vh;
  padding:20px 20px 40px;
  box-sizing:border-box;
}

#content{
  width:100%;
  max-width:980px;
  text-align:center;
}

/* Semi-transparent panel */
.stap-panel{
  background: rgba(0,0,0,0.68);
  border:3px solid var(--stap-geel);
  border-radius:12px;
  box-shadow:0 0 22px rgba(255,215,0,0.35);
  padding:22px 20px 26px;
  box-sizing:border-box;
  color:#fff;
}

.stap-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0);
  z-index:1000;
  pointer-events:none;
}

.stap-watermark{
  position:fixed;
  bottom:10px;
  right:12px;
  font-size:13px;
  color:rgba(255,215,0,0.85);
  background:rgba(0,0,0,0.55);
  padding:4px 8px;
  border-radius:4px;
  pointer-events:none;
  z-index:1001;
  white-space:nowrap;
}

/* =========================
   RESPONSIVE (CENTRAAL)
   ========================= */

/* Media en formulieren mogen nooit "overlopen" */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Inputs: beter op mobiel + voorkomen overflow */
input, select, textarea, button {
  max-width: 100%;
  box-sizing: border-box;
}

/* Als een pagina nog cols="" gebruikt (zoals contact.html), dan dwingt dit alsnog 100% breedte af */
textarea {
  width: 100%;
}

/* Index-pagina (iframe-site): nav boven, content eronder op tablet/telefoon.
   Let op: index.html gebruikt vaak body.stap-page. */
@media (max-width: 900px) {

  html, body{
    height:auto;
    min-height:100%;
  }

  body.stap-page{
    display:flex;
    flex-direction:column;
    height:auto;
    min-height:100vh;
  }

  /* nav uit index.html */
  body.stap-page > nav{
    width:100% !important;
    padding:14px !important;
    box-sizing:border-box;
  }

  body.stap-page > nav a{
    display:inline-block;
    margin:6px 10px 6px 0;
  }

  /* Logo's en badge-afbeeldingen in menu */
  body.stap-page > nav img{
    max-width:180px;
    width:48vw;
    height:auto;
  }

  /* iframe wrapper onder nav */
  body.stap-page .iframe-wrapper{
    flex:1;
    min-height:70vh;
  }
}

/* Panel-pagina's: ruimte + leesbaarheid op mobiel */
@media (max-width: 600px){

  body.stap-centered{
    padding:14px 12px 24px;
  }

  #content{
    max-width:100%;
  }

  .stap-panel{
    padding:16px 14px 18px;
    border-width:2px;
    border-radius:12px;
  }

  /* Watermark subtieler */
  .stap-watermark{
    font-size:12px;
    bottom:8px;
    right:8px;
    padding:3px 6px;
  }

  /* Buttons beter tappable */
  button, .button, .nav-btn{
    min-height:44px;
  }
}

/* Snel winst: schaal typografie mee */
h1 { font-size: clamp(18px, 4.5vw, 28px); }
p, label, input, textarea { font-size: clamp(14px, 3.7vw, 18px); }
