/* ── Entry Gate ── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.gate.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  z-index: 2;
}

.gate-logo img { height: 48px; filter: brightness(0) invert(1); }

.gate-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.gate-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.gate-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-align: left;
  color: #fff;
  transition: flex 0.5s var(--ease);
}

.gate-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}

.gate-panel:hover::before { transform: scale(1.05); }

.gate-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.4s;
}

.gate-panel:hover::after { opacity: 0.85; }

.panel-land::before { background-image: url("/images/flyer.jpg"); }
.panel-land::after { background: linear-gradient(180deg, rgba(45,106,79,0.3) 0%, rgba(45,106,79,0.92) 70%); }

.panel-invest::before { background-image: url("/images/arche-libur.png"); }
.panel-invest::after { background: linear-gradient(180deg, rgba(15,26,36,0.2) 0%, rgba(15,26,36,0.9) 70%); }

.gate-panel-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.gate-panel-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.panel-land .gate-panel-label {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}

.panel-invest .gate-panel-label {
  background: rgba(212,168,83,0.2);
  color: var(--gold);
}

.gate-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gate-panel p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.gate-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.gate-panel-cta span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.gate-panel:hover .gate-panel-cta span {
  transform: translateX(4px);
  background: rgba(255,255,255,0.25);
}

.gate-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gate-bottom span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.gate-kommune {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.gate-kommune:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ── Path shell ── */
.path-shell {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease);
}

.path-shell.active {
  opacity: 1;
  visibility: visible;
}

.path-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248,246,241,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.path-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.path-header img { height: 40px; }

.path-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.path-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-land { background: rgba(45,106,79,0.12); color: var(--green); }
.badge-invest { background: rgba(212,168,83,0.2); color: #8a6d2b; }
.badge-kommune { background: rgba(26,45,61,0.1); color: var(--navy-soft); }

.btn-switch {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
}

.btn-switch:hover { background: rgba(0,0,0,0.05); color: var(--text); }

.btn-contact {
  padding: 0.6rem 1.25rem;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-contact:hover { background: var(--navy-soft); color: #fff; }

@media (max-width: 768px) {
  .gate-main { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate-panel { padding: 2rem 1.5rem; }
  .gate-top { padding: 1rem 1.25rem; }
  .gate-tagline { display: none; }
  .path-nav .path-badge { display: none; }
}
