/* =====================================================================
   Lemberger Speisen – Kennwortseite „Coming soon“ (Vorschau-Schutz)
   Baut auf assets/css/base.css auf.
   ===================================================================== */

.gate {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(255, 255, 255, .10), transparent 70%),
    linear-gradient(170deg, var(--green) 0%, var(--green-800) 58%, var(--green-900) 100%);
}

/* Große Bildmarke als dezentes Wasserzeichen (die Ebene schneidet sie sauber ab) */
.gate__mark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.gate__mark::before {
  content: "";
  position: absolute;
  right: -14vmin;
  bottom: -16vmin;
  width: clamp(320px, 62vmin, 760px);
  aspect-ratio: 1;
  background: url("/assets/img/bildmarke-weiss.svg") center / contain no-repeat;
  opacity: .055;
}

.gate__main {
  position: relative;
  flex: 1;
  width: min(100% - 2 * var(--gutter), 560px);
  margin-inline: auto;
  padding-block: clamp(40px, 9vh, 104px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gate__logo {
  width: clamp(210px, 46vw, 300px);
  height: auto;
  margin-bottom: clamp(36px, 7vh, 64px);
}

/* „Coming soon“ mit Strich auf beiden Seiten */
.gate__eyebrow { color: var(--green-200); }
.gate__eyebrow::before,
.gate__eyebrow::after { align-self: center; margin-top: 0; }
.gate__eyebrow::after {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.gate__title {
  margin-top: 16px;
  font-size: clamp(2rem, 6vw, 3.1rem);
  color: #fff;
}

.gate__lead {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--green-100);
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: balance;
}

/* Kennwort-Karte */
.gate__card {
  width: 100%;
  margin-top: clamp(32px, 6vh, 48px);
  padding: clamp(20px, 4vw, 28px);
  display: grid;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 70px -30px rgba(1, 20, 16, .65), 0 2px 8px rgba(1, 20, 16, .12);
}

.gate__row { display: flex; gap: 10px; }
.gate__pw { position: relative; flex: 1; min-width: 0; }
.gate__pw .input { padding-right: 54px; }
.gate__row .btn { flex: none; min-height: 50px; }

.gate__toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-3);
}
.gate__toggle:hover { background: var(--sand); color: var(--ink); }
.gate__toggle .icon { width: 20px; height: 20px; }
.gate__toggle .icon--verbergen,
.gate__toggle[aria-pressed="true"] .icon--zeigen { display: none; }
.gate__toggle[aria-pressed="true"] .icon--verbergen { display: block; }

.gate__error { margin-top: 2px; }

.gate__hint {
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--ink-3);
}

.gate__contact {
  margin-top: 28px;
  font-size: .9375rem;
  color: var(--green-100);
}
.gate__contact a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1.5px solid rgba(255, 255, 255, .35);
  transition: border-color .2s var(--ease);
}
.gate__contact a:hover { border-color: #fff; }

.gate__footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  padding: 20px var(--gutter) 28px;
  font-size: .8125rem;
  color: var(--green-200);
}
.gate__footer a { color: inherit; text-underline-offset: 3px; }
.gate__footer a:hover { color: #fff; }

.gate :focus-visible { outline-color: #fff; }
.gate__card :focus-visible { outline-color: var(--green-600); }

@media (max-width: 540px) {
  .gate__row { flex-direction: column; }
  .gate__row .btn { width: 100%; }
  .gate__mark::before { right: -30vw; bottom: -10vh; }
  .gate__footer span { flex-basis: 100%; text-align: center; }
}
