:root {
  --ink: #090a16;
  --ink-2: #111321;
  --panel: rgba(15, 17, 31, .82);
  --gold: #c7a51b;
  --gold-2: #f5d763;
  --line: rgba(245, 215, 99, .28);
  --white: #ffffff;
  --soft: rgba(255,255,255,.72);
  --muted: rgba(255,255,255,.52);
  --danger: #ff7b7b;
  --ok: #75e0a7;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --sidebar-w: 320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9,10,22,.98) 0%, rgba(9,10,22,.86) 44%, rgba(9,10,22,.55) 100%),
    url("assets/majo-hero.webp") center right / cover fixed,
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.3) 70%, transparent 100%);
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   APP SHELL
   ========================================================================== */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(9, 10, 22, .88);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 30;
  overflow-y: auto;
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-full {
  padding: 0;
  border-radius: var(--radius);
  text-align: center;
  width: 100%;
}

.brand-full img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.brand-compact {
  display: none;
  align-items: baseline;
  gap: 8px;
}

.brand-compact strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: .01em;
}

.brand-compact span {
  color: var(--gold-2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--gold-2);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.client-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 800;
  padding-top: 2px;
}
.client-tag strong {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 700;
}

.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
}

.nav {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.tab {
  min-height: 66px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tab:hover { transform: translateX(4px); border-color: rgba(245,215,99,.45); }
.tab.active {
  background: linear-gradient(135deg, rgba(199,165,27,.98), rgba(245,215,99,.76));
  color: #11110d;
  border-color: var(--gold-2);
  box-shadow: 0 12px 30px rgba(199,165,27,.2);
}

.tab .icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
}

.tab strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
}

.tab span:last-child {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  opacity: .72;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

main {
  min-width: 0;
  padding: clamp(22px, 4vw, 58px);
}

/* ==========================================================================
   HERO / START
   ========================================================================== */

.hero {
  min-height: 72vh;
  display: grid;
  align-content: end;
  gap: 28px;
  padding-bottom: 34px;
}

.eyebrow {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 970px;
  margin-bottom: 0;
  font-size: clamp(42px, 8vw, 118px);
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 820px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 12px 16px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255,255,255,.1);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .02em;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, opacity .16s ease;
}

.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn.primary {
  color: #11110d;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 36px rgba(199,165,27,.22);
}
.btn.outline { border-color: var(--line); }
.btn.small { min-height: 38px; padding: 9px 12px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
}

.proof {
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.proof strong { display: block; font-size: 20px; }
.proof span { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   SECTIONS / SCROLL-REVEAL
   ========================================================================== */

.section { display: none; }
.section.active { display: block; animation: show .32s ease both; }
@keyframes show {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: .96;
  text-transform: uppercase;
}

.section-header p {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 0;
  line-height: 1.55;
}

.panel {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-pad { padding: clamp(18px, 2.5vw, 30px); }

/* ==========================================================================
   PROJEKTDATEN
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field.full { grid-column: 1 / -1; }
.field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

select, input, textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 12px 13px;
  outline: none;
}

textarea { resize: vertical; min-height: 118px; }
input:focus, textarea:focus, select:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(245, 215, 99, .16);
}

.field input:disabled, .field textarea:disabled {
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
}

.field.changed input, .field.changed textarea {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 2px rgba(245,215,99,.18);
}

.edit-link {
  border: 0;
  color: var(--gold-2);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0;
}

.panel-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.form-status {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--danger); }
.form-status.pending { color: var(--gold-2); }

/* ==========================================================================
   PREVIEW
   ========================================================================== */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.preview {
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-rows: 200px 1fr;
  transition: transform .22s ease, border-color .22s ease;
}
.preview:hover { transform: translateY(-4px); border-color: rgba(245,215,99,.35); }

.preview-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #171a2c, #0b0c18);
}

.preview-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35));
  pointer-events: none;
}

/* --- Browser-chrome mock (Website) --- */
.mock-browser {
  position: absolute;
  inset: 16px 14px 0;
  border-radius: 8px 8px 0 0;
  background: #0d0f1d;
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
}
.mock-browser .bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mock-browser .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-browser .url {
  margin-left: 6px;
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  font-size: 9px;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
  white-space: nowrap;
}
.mock-browser .screen {
  position: relative;
  height: calc(100% - 26px);
  background:
    linear-gradient(90deg, rgba(9,10,22,.88), rgba(9,10,22,.25)),
    url("assets/majo-hero.webp") center / cover;
  padding: 16px 14px;
  display: grid;
  align-content: end;
  gap: 6px;
}
.mock-browser .screen .tag { width: 60%; height: 7px; border-radius: 3px; background: var(--gold-2); }
.mock-browser .screen .ln { height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); }
.mock-browser .screen .ln.w1 { width: 85%; }
.mock-browser .screen .ln.w2 { width: 55%; background: rgba(255,255,255,.3); }

/* --- Phone grid mock (Social) --- */
.mock-phone {
  position: absolute;
  width: 130px;
  right: 22px;
  bottom: 0;
  top: 14px;
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 20px 20px 0 0;
  background: #111321;
  padding: 10px 8px 0;
  overflow: hidden;
}
.mock-phone .notch {
  width: 38px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.6);
  margin: 0 auto 8px;
}
.mock-phone .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.mock-phone .grid3 div {
  aspect-ratio: 1;
  border-radius: 2px;
}
.mock-left-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 130px;
}
.mock-left-caption .tag { width: 70px; height: 7px; border-radius: 3px; background: var(--gold-2); margin-bottom: 8px; }
.mock-left-caption .ln { width: 100px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); margin-bottom: 5px; }

/* --- Dashboard mock (Portal) --- */
.mock-dash {
  position: absolute;
  inset: 16px 14px 0;
  border-radius: 8px 8px 0 0;
  background: #0d0f1d;
  border: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: 46px 1fr;
  overflow: hidden;
}
.mock-dash .rail {
  background: rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
}
.mock-dash .rail div { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.18); }
.mock-dash .rail div:first-child { background: var(--gold-2); }
.mock-dash .main { padding: 12px; display: grid; gap: 8px; align-content: start; }
.mock-dash .stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mock-dash .stats div { height: 30px; border-radius: 5px; background: rgba(255,255,255,.1); }
.mock-dash .row { height: 9px; border-radius: 3px; background: rgba(255,255,255,.14); }
.mock-dash .row.w1 { width: 90%; }
.mock-dash .row.w2 { width: 65%; }

/* custom image / iframe preview */
.preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-frame-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preview-eyebrow {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(9,10,22,.7);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.preview-body { padding: 18px; }
.preview-body h3 {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 18px;
}
.preview-body p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.preview-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   ANGEBOT
   ========================================================================== */

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 16px;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
tfoot td {
  color: var(--gold-2);
  font-size: 24px;
  font-weight: 950;
  border-bottom: 0;
}

.timeline { display: grid; gap: 12px; }
.step {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}
.step strong { display: block; margin-bottom: 5px; }
.step span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ==========================================================================
   RÜCKMELDUNG / AUFTRAG
   ========================================================================== */

.feedback-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.signature-box {
  height: 190px;
  border: 1px dashed rgba(245,215,99,.52);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}

canvas { display: block; width: 100%; height: 100%; touch-action: none; }

.signature-hint {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: rgba(255,255,255,.32);
  pointer-events: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}

.notice {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.order-locked {
  display: none;
  text-align: center;
  padding: 36px 18px;
}
.order-locked.active { display: block; }
.order-locked .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #11110d;
}
.order-locked h3 { margin-bottom: 6px; }
.order-locked p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ==========================================================================
   MODAL (PREVIEW)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  z-index: 50;
}
.modal.active { display: grid; }
.modal-card {
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090a16;
  box-shadow: var(--shadow);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  background: #090a16;
}
.modal-top strong {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.modal-frame {
  min-height: 520px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(199,165,27,.18), transparent 42%),
    #0f1120;
  user-select: none;
}

.fake-website {
  min-height: 460px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111321;
}
.fake-website .browserbar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fake-website .browserbar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.fake-website .browserbar .url {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07);
  border-radius: 5px;
  padding: 4px 10px;
}
.fake-website header {
  min-height: 260px;
  padding: 34px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(9,10,22,.92), rgba(9,10,22,.15)),
    url("assets/majo-hero.webp") center / cover;
}
.fake-website h3 { font-size: 42px; line-height: .96; margin-bottom: 10px; }
.fake-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}
.fake-blocks div {
  min-height: 110px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

/* social modal */
.fake-social {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  min-height: 460px;
}
.fake-social .phone {
  border: 5px solid rgba(255,255,255,.85);
  border-radius: 30px;
  background: #111321;
  padding: 14px 10px;
  height: 460px;
}
.fake-social .phone .notch { width: 50px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.6); margin: 0 auto 12px; }
.fake-social .phone .grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.fake-social .phone .grid3 div { aspect-ratio: 1; border-radius: 3px; }
.fake-social .copy { display: grid; align-content: center; gap: 14px; }
.fake-social .copy h3 { font-size: 32px; line-height: 1.05; }

/* portal modal */
.fake-portal {
  min-height: 460px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111321;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.fake-portal .rail {
  background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.08);
  padding: 22px 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.fake-portal .rail div { height: 11px; border-radius: 4px; background: rgba(255,255,255,.16); }
.fake-portal .rail div:first-child { background: var(--gold-2); width: 70%; }
.fake-portal .content { padding: 26px; display: grid; gap: 16px; align-content: start; }
.fake-portal .content h3 { font-size: 28px; }
.fake-portal .stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.fake-portal .stats div { height: 64px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  color: #11110d;
  background: var(--gold-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 900;
  transition: .22s ease;
  z-index: 60;
  max-width: min(320px, calc(100vw - 36px));
}
.toast.error { background: var(--danger); color: #210505; }
.toast.active { transform: translateY(0); opacity: 1; }

/* ==========================================================================
   ACCESS GATE
   ========================================================================== */

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(9,10,22,.94), rgba(9,10,22,.98)),
    url("assets/majo-hero.webp") center / cover;
}
.access-gate.active { display: grid; }

.access-card {
  width: min(380px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9,10,22,.9);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  text-align: center;
}
.access-card img { width: 140px; margin: 0 auto 18px; display: block; }
.access-card h2 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.access-card p { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.access-card input {
  text-align: center;
  letter-spacing: .3em;
  font-weight: 800;
  margin-bottom: 12px;
}
.access-card .error-msg {
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1050px) {
  .app { grid-template-columns: 1fr; }

  .sidebar {
    position: sticky;
    top: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
    gap: 0;
  }

  .brand-full { display: none; }
  .brand-compact { display: flex; }
  .hamburger { display: flex; }

  .sidebar-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .28s ease, opacity .22s ease;
    gap: 14px;
  }
  .sidebar.nav-open .sidebar-panel {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
    margin-top: 16px;
  }

  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 60vh; }
  .preview-grid, .offer-layout, .feedback-layout { grid-template-columns: 1fr; }
  .fake-social { grid-template-columns: 1fr; }
  .fake-social .phone { height: 320px; margin: 0 auto; max-width: 220px; }
}

@media (max-width: 680px) {
  main { padding: 18px; }
  .nav { grid-template-columns: 1fr; }
  .proof-row, .grid { grid-template-columns: 1fr; }
  .section-header { align-items: start; flex-direction: column; }
  h1 { font-size: 40px; }
  .lead { font-size: 16px; }
  .tab { min-height: 58px; }
  .fake-blocks { grid-template-columns: 1fr; }
  .fake-portal { grid-template-columns: 1fr; }
  .fake-portal .rail { display: none; }
}
