/*
  Gold50 Version 1.4
  Linearer Premium-Onepager ohne Navigation, mit praesentem Hero-Foto und ruhiger Erzaehlstruktur.
*/

:root {
  --color-bg: #07111f;
  --color-bg-deep: #03070d;
  --color-panel: rgba(7, 17, 31, 0.34);
  --color-panel-soft: rgba(255, 255, 255, 0.045);
  --color-text: #fbf7ee;
  --color-muted: rgba(251, 247, 238, 0.66);
  --color-soft: rgba(251, 247, 238, 0.1);
  --color-gold: #c9a85d;
  --color-gold-light: #ead18d;
  --color-gold-dark: #7b6232;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --hero-parallax: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 168, 93, 0.08), transparent 24rem),
    linear-gradient(180deg, #07111f 0%, #040914 100%);
  color: var(--color-text);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body.is-authenticated {
  overflow: auto;
}

body:not(.is-authenticated) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.glass-panel {
  border: 1px solid rgba(251, 247, 238, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    var(--color-panel);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
}

.eyebrow {
  margin: 0 0 28px;
  color: rgba(234, 209, 141, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--color-bg-deep);
  transition: opacity 1000ms ease, visibility 1000ms ease;
}

.login-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.92), rgba(7, 17, 31, 0.28) 56%, transparent),
    url("images/hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.login-card {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(44px, 8vw, 78px);
  border-radius: 8px;
  text-align: center;
}

.login-card h1 {
  margin: 0;
  color: rgba(234, 209, 141, 0.94);
  font-family: var(--font-display);
  font-size: clamp(7rem, 24vw, 13rem);
  line-height: 0.78;
  text-shadow: 0 16px 64px rgba(201, 168, 93, 0.18);
}

.login-subtitle {
  margin: 32px 0 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.1;
}

.login-copy {
  max-width: 34ch;
  margin: 28px auto 42px;
  color: var(--color-muted);
  line-height: 1.8;
}

.login-form {
  text-align: left;
}

.login-form label {
  display: block;
  margin-bottom: 12px;
  color: rgba(251, 247, 238, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.password-row input,
.password-row button {
  min-height: 58px;
  border-radius: 6px;
}

.password-row input {
  width: 100%;
  border: 1px solid rgba(251, 247, 238, 0.15);
  background: rgba(3, 7, 13, 0.46);
  color: var(--color-text);
  padding: 0 18px;
  outline: none;
  transition: border-color 420ms ease, box-shadow 420ms ease, background 420ms ease;
}

.password-row input:focus {
  border-color: rgba(234, 209, 141, 0.58);
  background: rgba(3, 7, 13, 0.62);
  box-shadow: 0 0 0 4px rgba(201, 168, 93, 0.1);
}

.password-row button {
  border: 0;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: #11100b;
  cursor: pointer;
  font-weight: 800;
  padding: 0 26px;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease, box-shadow 520ms ease;
}

.password-row button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(201, 168, 93, 0.16);
}

.login-error {
  min-height: 20px;
  margin: 16px 0 0;
  color: #f0c6a5;
  font-size: 0.9rem;
  text-align: center;
}

.site-shell {
  min-height: 100vh;
  opacity: 1;
  transition: opacity 1000ms ease;
}

.site-shell.is-locked {
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 112svh;
  padding: clamp(76px, 10vh, 132px) clamp(26px, 7vw, 104px);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("images/hero.jpg") 70% center / cover no-repeat;
  filter: none;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.08);
  will-change: transform;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(3, 7, 13, 0.94) 0%, rgba(7, 17, 31, 0.72) 28%, rgba(7, 17, 31, 0.18) 56%, transparent 78%);
}

.hero-content {
  position: relative;
  width: min(100%, 1080px);
}

.hero-number,
.hero-content .eyebrow,
.hero h2 {
  opacity: 0;
  transform: translateY(34px);
}

body.is-authenticated .hero-number,
body.is-authenticated .hero-content .eyebrow,
body.is-authenticated .hero h2 {
  animation: heroReveal 1180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.is-authenticated .hero-number {
  animation-delay: 180ms;
}

body.is-authenticated .hero-content .eyebrow {
  animation-delay: 420ms;
}

body.is-authenticated .hero h2 {
  animation-delay: 620ms;
}

.hero-number {
  margin: 0 0 44px;
  color: rgba(234, 209, 141, 0.88);
  font-family: var(--font-display);
  font-size: clamp(12rem, 18.5vw, 16.25rem);
  line-height: 0.72;
  text-shadow:
    0 20px 84px rgba(201, 168, 93, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero h2 {
  max-width: 940px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.65rem, 8.2vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
}

.story {
  position: relative;
  z-index: 1;
  padding: clamp(110px, 16vw, 210px) clamp(22px, 6vw, 92px) clamp(80px, 12vw, 150px);
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 14%, rgba(201, 168, 93, 0.08), transparent 25rem),
    linear-gradient(180deg, rgba(7, 17, 31, 0.94), #040914 72%);
}

.story-section,
.site-footer {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.story-section {
  margin-bottom: clamp(110px, 16vw, 210px);
}

.reveal-section {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1), transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-intro {
  max-width: 820px;
  margin-bottom: clamp(44px, 7vw, 86px);
}

.section-intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
}

.lead-text {
  max-width: 760px;
  margin: 0;
  color: rgba(251, 247, 238, 0.74);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.countdown {
  position: relative;
  width: min(100%, 960px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
  overflow: hidden;
}

.countdown::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 0%, rgba(234, 209, 141, 0.1) 44%, transparent 60%);
  transform: translateX(-120%);
  animation: goldSweep 10.5s ease-in-out infinite;
  pointer-events: none;
}

.countdown-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-head time {
  color: rgba(234, 209, 141, 0.88);
  white-space: nowrap;
}

.countdown-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 1px;
  background: rgba(251, 247, 238, 0.075);
}

.time-unit {
  min-height: 158px;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 34px 16px;
  background: rgba(3, 7, 13, 0.28);
}

.time-unit strong {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.8vw, 5.4rem);
  line-height: 1;
  color: var(--color-text);
}

.time-unit span,
.timeline-item time {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-card span {
  color: rgba(234, 209, 141, 0.94);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

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

.info-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 8px;
}

.info-card h4,
.timeline-item h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
  line-height: 1.08;
}

.info-card p,
.timeline-item p,
.directions-panel p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.info-card p + p {
  margin-top: -12px;
}

.timeline {
  display: grid;
  gap: 1px;
  width: min(100%, 840px);
  background: rgba(251, 247, 238, 0.08);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(30px, 5vw, 54px) 0;
  background: var(--color-bg);
}

.timeline-item div {
  display: grid;
  gap: 16px;
}

.directions-panel {
  width: min(100%, 760px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
}

.directions-panel iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 470px);
  margin-top: 34px;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.82) contrast(1.04);
}

.site-footer {
  padding: clamp(40px, 8vw, 84px) clamp(22px, 6vw, 92px);
  color: rgba(251, 247, 238, 0.54);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldSweep {
  0%, 48% {
    transform: translateX(-120%);
  }

  72%, 100% {
    transform: translateX(120%);
  }
}

@media (max-width: 980px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 112svh;
    align-items: end;
    padding: 84px 20px 70px;
  }

  .hero-image {
    background-position: 68% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 7, 13, 0.94) 0%, rgba(7, 17, 31, 0.7) 48%, rgba(7, 17, 31, 0.22) 82%);
  }

  .hero-number {
    margin-bottom: 34px;
    font-size: clamp(9.4rem, 43vw, 12.2rem);
  }

  .hero h2 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .story {
    padding-top: 92px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-unit {
    min-height: 136px;
  }
}

@media (max-width: 620px) {
  .password-row,
  .info-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 38px 24px;
  }

  .countdown {
    padding: 26px 22px;
  }

  .countdown-head {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
  }

  .countdown-head time {
    white-space: normal;
  }

  .info-card {
    min-height: 240px;
  }

  .timeline-item {
    gap: 18px;
  }
}

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

  .hero-image {
    transform: scale(1.04);
  }
}
