/* lock background scroll */
html.vrf-lock,
html.vrf-lock body{
  height:100%;
  overflow:hidden;
}

/* Overlay */
.vrf-modal{
  position:fixed;
  inset:0;
  background:#fff;
  z-index:999999;
  display:none;
}
.vrf-modal.is-open{display:block}

/* Sheet */
.vrf-sheet{
  height:100%;
  display:flex;
  flex-direction:column;
  background:#fff;
}

/* Topbar */
.vrf-top{
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  border-bottom:1px solid rgba(0,0,0,.08);
  position:relative;
}

.vrf-back,
.vrf-close,
.vrf-nextlink{
  border:0;
  background:transparent;
  font-size:18px;
  cursor:pointer;
}

.vrf-nextlink{font-weight:700}

/* Close Button wie Loox */
.vrf-close{
  position:absolute;
  left:16px;
  top:12px;
  font-size:22px;
  line-height:1;
  color:#000;
  padding:4px;
}

/* Back Button etwas eingerückt */
.vrf-back{
  margin-left:32px;
}

/* Steps */
.vrf-step{display:none; flex:1}
.vrf-step.is-active{display:block}

/* Content */
.vrf-center{
  max-width:520px;
  margin:0 auto;
  padding:32px 18px 0;
  text-align:center;
}
.vrf-center h2{
  margin:0 0 18px;
  font-size:24px;
  line-height:1.15;
}

/* Stars */
.vrf-stars{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:18px;
}
.vrf-star{
  font-size:44px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#f0c84b;
}

/* Scale under stars */
.vrf-scale{
  display:flex;
  justify-content:space-between;
  max-width:260px;
  margin:8px auto 0;
  font-size:13px;
  color:#777;
}

/* Textarea */
.vrf-text{
  width:100%;
  height:220px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:10px;
  padding:14px;
  font-size:16px;
}

/* Bottom CTA */
.vrf-bottom{
  margin-top:auto;
  padding:18px;
}
.vrf-cta{
  width:100%;
  padding:16px;
  border-radius:10px;
  border:0;
  background:#111;
  color:#fff;
  font-size:18px;
  font-weight:700;
}
.vrf-cta:disabled{
  background:#d6d6d6;
  color:#8a8a8a;
}

/* Inputs */
.vrf-in{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.18);
  font-size:16px;
}

/* Consent */
.vrf-consent{
  margin-top:14px;
  font-size:14px;
  line-height:1.35;
  opacity:.75;
}
/* ---------- STEP 3: schöner, wie Loox ---------- */
.vrf-step-3 .vrf-center{
  padding-top:26px;
}

.vrf-step-3 h2{
  font-size:26px;
  margin-bottom:10px;
}

.vrf-sub{
  margin:0 auto 18px;
  max-width:320px;
  font-size:15px;
  line-height:1.35;
  color:rgba(0,0,0,.65);
}

/* Cards */
.vrf-card{
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  padding:16px;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  margin:14px auto;
  max-width:420px;
  text-align:center;
}

.vrf-card-title{
  font-size:18px;
  font-weight:800;
  line-height:1.15;
  margin:0 0 12px;
}

/* Black big button */
.vrf-blackbtn{
  width:100%;
  height:52px;
  border-radius:12px;
  border:0;
  background:#111;
  color:#fff;
  font-size:16px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}

.vrf-blackbtn:active{ transform:scale(.99); }

/* Icon (optional) */
.vrf-ico{
  display:inline-flex;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

/* File list preview */
.vrf-files{
  margin-top:10px;
  text-align:left;
}
.vrf-fileitem{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  margin-top:8px;
  font-size:14px;
}
.vrf-fileitem span{
  opacity:.6;
  font-size:12px;
  white-space:nowrap;
}

/* Progress dots */
.vrf-progress{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:18px 0 10px;
}
.vrf-progress span{
  height:6px;
  width:74px;
  border-radius:999px;
  background:rgba(0,0,0,.14);
}
.vrf-progress span.on{
  background:#111;
}
/* Topbar: X links, Weiter rechts */
.vrf-top{
  position:relative;
  justify-content:flex-end; /* rechts ausrichten */
}

/* X links immer sichtbar */
.vrf-close{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:26px;
  color:#000;
  opacity:.9;
}

/* Back ausblenden (Loox-like) */
.vrf-back{
  display:none !important;
}

/* Weiter rechts */
.vrf-nextlink{
  font-weight:800;
  font-size:18px;
}