/* ==========================================================================
   Obendorfers EISVOGEL — Entrée / Launch-Gate (Countdown bis 19.08.2026)
   --------------------------------------------------------------------------
   Bewusst eigenständiges Stylesheet: Der Screen verrät nichts vom neuen
   Auftritt, nutzt aber dieselben CI-Werte (Farben, SangBleu Sunrise).
   ========================================================================== */

@font-face {
  font-family: "SangBleu Sunrise";
  src: url("../fonts/SangBleuSunrise-Livre.woff2") format("woff2"),
       url("../fonts/SangBleuSunrise-Livre.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SangBleu Sunrise";
  src: url("../fonts/SangBleuSunrise-Bold.woff2") format("woff2"),
       url("../fonts/SangBleuSunrise-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ozeanblau:  #1B2632;
  --eisblau:    #5A8088;
  --hellbraun:  #C9C1B1;
  --beige:      #EEE9DF;
  --sonnengelb: #FFB162;
  --line:       rgba(238, 233, 223, 0.16);
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.entree {
  margin: 0;
  background: var(--ozeanblau);
  color: var(--beige);
  font-family: "SangBleu Sunrise", Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
::selection { background: var(--sonnengelb); color: var(--ozeanblau); }
a { color: var(--sonnengelb); text-decoration: none; transition: color 0.4s ease; }
a:hover { color: var(--beige); }

/* --------------------------------------------------------------------------
   Himmel-Video als Bühne — fix hinter allem, stark abgedunkelt + Vignette
   -------------------------------------------------------------------------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
}
.sky-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(16, 23, 32, 0.66) 0%,
      rgba(16, 23, 32, 0.82) 60%,
      rgba(12, 18, 25, 0.94) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .sky-video { display: none; }
  .sky { background: var(--ozeanblau) url("../video/entree-himmel-poster.jpg") center / cover no-repeat; }
}

/* --------------------------------------------------------------------------
   Typografie-Grundtöne
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hellbraun);
}

h1 {
  margin: 0 0 1rem;
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 28px rgba(10, 16, 22, 0.45);
}

h2 {
  margin: 0 0 0.6rem;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.15;
}

.lead {
  margin: 0 auto;
  max-width: 34em;
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  color: var(--hellbraun);
}
.lead strong { color: var(--beige); font-weight: 400; }

/* --------------------------------------------------------------------------
   Buttons (CI-Geste: Versalien, Letterspacing atmet beim Hover)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  border: 1px solid var(--sonnengelb);
  color: var(--beige);
  font-family: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out),
              letter-spacing 0.5s var(--ease-out);
}
.btn:hover { background: var(--sonnengelb); color: var(--ozeanblau); letter-spacing: 0.3em; }
.btn-solid { background: var(--sonnengelb); color: var(--ozeanblau); }
.btn-solid:hover { background: transparent; color: var(--beige); }

/* --------------------------------------------------------------------------
   Akt I — Bühne mit Vogel + Countdown
   -------------------------------------------------------------------------- */

.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vh, 96px) 24px;
}

.bird {
  width: clamp(64px, 9vw, 88px);
  margin-bottom: 2rem;
  animation: wingbeat 1.6s var(--ease-out) both;
}
@keyframes wingbeat {
  0%   { opacity: 0; transform: translateY(18px) scale(0.88); }
  35%  { opacity: 1; transform: none; }
  52%  { transform: scale(1.07, 0.86); }
  68%  { transform: none; }
  80%  { transform: scale(1.03, 0.94); }
  100% { opacity: 1; transform: none; }
}

/* Gestaffeltes Aufsteigen der Bühne */
.stage > *:not(.bird):not(.scroll-hint) {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1.1s var(--ease-out) forwards;
}
.stage .eyebrow     { animation-delay: 0.9s; }
.stage h1           { animation-delay: 1.1s; }
.stage .lead        { animation-delay: 1.3s; }
.stage .countdown   { animation-delay: 1.55s; }
.stage .btn         { animation-delay: 1.8s; }
.stage .stage-note  { animation-delay: 2s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Countdown — große Serifenziffern, Haarlinien dazwischen */
.countdown {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 4vw, 44px);
  margin: clamp(2.2rem, 6vh, 3.6rem) 0;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(56px, 12vw, 96px);
}
.cd-num {
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--beige);
  text-shadow: 0 2px 24px rgba(10, 16, 22, 0.5);
  transition: opacity 0.3s ease;
}
.cd-num.tick { animation: cd-tick 0.6s var(--ease-out); }
@keyframes cd-tick {
  0%   { opacity: 0.25; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}
.cd-label {
  margin-top: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hellbraun);
}
.cd-sep {
  width: 1px;
  background: linear-gradient(transparent, var(--line) 30%, var(--line) 70%, transparent);
}

/* Rebranding noch nicht offiziell freigegeben: neue Bildmarke (Vogel)
   vorerst überall ausblenden. Zum Wiedereinblenden diesen Block löschen. */
.entree .bird,
.entree .ornament { display: none !important; }

/* Schmale Displays: Countdown darf nicht über den Rand laufen —
   die gesperrten Labels (SEKUNDEN) bestimmen sonst die Spaltenbreite */
@media (max-width: 520px) {
  .countdown { gap: 10px; }
  .cd-unit  { min-width: 0; }
  .cd-num   { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .cd-label { font-size: 0.55rem; letter-spacing: 0.16em; margin-top: 0.7rem; }
}

/* Countdown abgelaufen */
.countdown.done { gap: 0; }
.cd-over {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--beige);
}

.stage-note {
  margin: 2.2rem 0 0;
  font-size: 0.85rem;
  color: var(--hellbraun);
  letter-spacing: 0.04em;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--sonnengelb);
  animation: scroll-hint 2.2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%   { top: -50%; }
  100% { top: 110%; }
}

/* --------------------------------------------------------------------------
   Akt II — Anfrage
   -------------------------------------------------------------------------- */

.ask {
  display: flex;
  justify-content: center;
  padding: clamp(64px, 10vh, 120px) 20px;
}

.ask-card {
  width: 100%;
  max-width: 680px;
  padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 56px);
  background: rgba(23, 33, 44, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  text-align: center;
}

.ornament { width: 44px; margin: 0 auto 1.4rem; opacity: 0.85; }

#ask-form { margin-top: 2.4rem; }

/* Felder */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
  text-align: left;
}
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

.field { display: block; }
.field > span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hellbraun);
}
.field em { color: var(--sonnengelb); font-style: normal; margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(238, 233, 223, 0.045);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--beige);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.4s ease, background 0.4s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sonnengelb);
  background: rgba(238, 233, 223, 0.07);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(201, 193, 177, 0.5); }

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 5 5-5' fill='none' stroke='%23C9C1B1' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field select option { background: var(--ozeanblau); color: var(--beige); }

/* --------------------------------------------------------------------------
   Wunschdatum — eigener Kalender im Marken-Look
   -------------------------------------------------------------------------- */

.datefield { position: relative; }

#date-display {
  cursor: pointer;
  caret-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 5 5-5' fill='none' stroke='%23C9C1B1' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.cal {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(324px, calc(100vw - 60px));
  padding: 20px 18px 18px;
  background: #1d2937;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(8, 13, 19, 0.6);
  animation: cal-in 0.35s var(--ease-out);
  text-align: center;
}
@keyframes cal-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-title {
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--beige);
}
.cal-nav {
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--line);
  color: var(--sonnengelb);
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cal-nav:hover { background: var(--sonnengelb); border-color: var(--sonnengelb); color: var(--ozeanblau); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-nav:disabled:hover { background: none; border-color: var(--line); color: var(--sonnengelb); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-wd {
  padding-bottom: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hellbraun);
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--beige);
  font-family: inherit;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.cal-day:hover { border-color: var(--sonnengelb); }
.cal-day.selected { background: var(--sonnengelb); border-color: var(--sonnengelb); color: var(--ozeanblau); }
.cal-day.off {
  color: rgba(201, 193, 177, 0.28);
  cursor: default;
}

.field-wide { margin-top: 1.4rem; text-align: left; }
.field textarea { resize: vertical; min-height: 84px; }

/* Personen-Stepper */
.stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(238, 233, 223, 0.045);
}
.step-btn {
  flex: 0 0 49px;
  background: none;
  border: none;
  color: var(--sonnengelb);
  font-size: 1.35rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.step-btn:hover { background: var(--sonnengelb); color: var(--ozeanblau); }
.step-btn:disabled { opacity: 0.3; cursor: default; }
.step-btn:disabled:hover { background: none; color: var(--sonnengelb); }
.stepper output {
  flex: 1;
  padding: 13px 4px;
  text-align: center;
  font-size: 1rem;
  color: var(--beige);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* Honeypot — für Menschen unsichtbar */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  margin-top: 2.2rem;
  width: 100%;
  padding-top: 17px;
  padding-bottom: 17px;
}
.btn-submit:disabled { opacity: 0.55; cursor: wait; letter-spacing: 0.24em; }

.ask-privacy {
  margin: 1.4rem 0 0;
  font-size: 0.78rem;
  color: rgba(201, 193, 177, 0.75);
}

.ask-error {
  margin: 1.2rem 0 0;
  font-size: 0.88rem;
  color: var(--sonnengelb);
}

/* Erfolgs-Zustand */
.ask-success { padding: 1.6rem 0 0.6rem; }
.ask-success h3 {
  margin: 0 0 0.6rem;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}
.ask-success p { margin: 0; color: var(--hellbraun); }

.ask-alt {
  margin: 2.4rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--hellbraun);
}

/* --------------------------------------------------------------------------
   RESERViSiON-Widget — Zwei-Klick-Consent in der Reservierungs-Karte
   -------------------------------------------------------------------------- */

.consent-gate p {
  margin: 0 auto;
  max-width: 34em;
  color: var(--hellbraun);
  font-size: 0.95rem;
}
.consent-action { margin-top: 1.8rem; }

.widget-frame { margin-top: 2rem; }

/* Ab 481px zeigt das Widget sein Buchungs-iframe inline — dann weiße Bühne.
   Auf dem Handy erscheint nur der "Tisch reservieren"-Button des Widgets,
   der direkt auf der dunklen Karte steht. */
@media (min-width: 481px) {
  .widget-frame {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 8px;
    min-height: 480px;
  }
}

/* --------------------------------------------------------------------------
   Rechtsseiten (Impressum / Datenschutz) — ohne Navigation, ohne Ausweg
   in die Website; ruhiger dunkler Grund mit Marken-Textur statt Video
   -------------------------------------------------------------------------- */

body.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(27, 38, 50, 0.9), rgba(27, 38, 50, 0.9)),
    var(--ozeanblau) url("../brand/bg-textur-dunkel.webp") center / cover no-repeat;
}

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) 24px 56px;
}
.legal .ornament { margin: 0 0 1.6rem; }
.legal h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: 2rem;
  text-shadow: none;
}
.legal h3 {
  margin: 2.8rem 0 0.8rem;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sonnengelb);
}
.legal p {
  margin: 0 0 1em;
  color: var(--hellbraun);
  font-size: 0.97rem;
}
.legal p strong { color: var(--beige); font-weight: 400; }

.back-link {
  display: inline-block;
  margin-bottom: 2.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hellbraun);
}
.back-link:hover { color: var(--sonnengelb); }

/* --------------------------------------------------------------------------
   Footer — bewusst leise
   -------------------------------------------------------------------------- */

.gate-footer {
  padding: 32px 24px 40px;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(201, 193, 177, 0.65);
}
.gate-footer p { margin: 0 0 0.6rem; }
.gate-footer nav { display: flex; justify-content: center; gap: 22px; }
.gate-footer a { color: rgba(201, 193, 177, 0.65); }
.gate-footer a:hover { color: var(--sonnengelb); }

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .stage > * { opacity: 1 !important; transform: none !important; }
}
