:root {
  --night: #061528;
  --night-soft: #0a2138;
  --wine: #6f1d2d;
  --wine-light: #9c3547;
  --gold: #dcb96b;
  --gold-light: #f4dda2;
  --snow: #f8f5ef;
  --ink: #172234;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  min-height: 940px;
  height: 100svh;
  max-height: 1100px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
}
.hero-image, .hero-shade, .snow { position: absolute; inset: 0; }
.hero-image {
  z-index: -4;
  background: url("gleiritsch-winter.jpg") center 58% / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(.82) brightness(.72) contrast(1.06);
}
.hero-shade {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(2,11,25,.72) 0%, rgba(4,15,30,.24) 45%, rgba(4,13,24,.8) 100%),
    radial-gradient(circle at 50% 38%, rgba(9,35,64,.1), rgba(2,10,24,.38));
}
.snow {
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.76) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px);
  background-position: 10px 12px, 50px 62px;
  background-size: 82px 88px, 126px 132px;
  opacity: .24;
  animation: snowfall 24s linear infinite;
}
.snow-two {
  background-size: 170px 180px, 220px 230px;
  opacity: .15;
  animation-duration: 35s;
  animation-direction: reverse;
}
@keyframes snowfall { to { background-position: 90px 276px, -70px 326px; } }

.topbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.2);
  position: relative;
  z-index: 10;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: .08em;
}
.wordmark-star {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(220,185,107,.7);
  border-radius: 50%;
}
.wordmark svg, .footer-mark svg { width: 15px; fill: var(--gold); }
.top-links {
  display: flex;
  gap: 30px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.top-links a, .legal-links a { transition: color .2s ease; }
.top-links a:hover, .top-links a:focus-visible,
.legal-links a:hover, .legal-links a:focus-visible { color: var(--gold-light); }

.hero-copy {
  width: min(830px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 58px 0 0;
  position: relative;
  z-index: 4;
}
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
.hero h1 {
  margin: 22px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .83;
  text-shadow: 0 4px 35px rgba(0,0,0,.45);
}
.hero h1 em {
  display: block;
  margin-top: .22em;
  color: var(--gold-light);
  font-size: .58em;
  font-weight: 400;
  letter-spacing: .03em;
}
.intro {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.75;
}
.calendar-hint {
  margin: 22px 0 0;
  padding: 9px 15px;
  border: 1px solid rgba(244,221,162,.42);
  border-radius: 999px;
  background: rgba(3,14,28,.36);
  color: rgba(255,255,255,.76);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.calendar-section {
  position: relative;
  padding: 100px 24px 118px;
  background:
    radial-gradient(circle at 15% 10%, rgba(220,185,107,.13), transparent 24rem),
    linear-gradient(180deg, #faf8f2, #f3eee5);
}
.section-heading {
  max-width: 650px;
  margin: 0 auto 54px;
  text-align: center;
}
.heading-star { width: 28px; fill: var(--gold); margin-bottom: 15px; }
.section-heading .eyebrow { color: var(--wine-light); }
.section-heading h2, .info-band h2 {
  margin: 14px 0 16px;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.035em;
}
.section-heading > p:last-child { margin: 0; color: #6e6b67; line-height: 1.7; }

.calendar-grid {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.door {
  --door-delay: 0ms;
  min-height: 235px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(220,185,107,.38);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(17,45,72,.88), rgba(4,19,36,.97)),
    url("gleiritsch-winter.jpg") center 70% / 900px auto;
  box-shadow: 0 14px 32px rgba(18,27,40,.1);
  color: white;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: door-in .55s both;
  animation-delay: var(--door-delay);
}
@keyframes door-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.door::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(244,221,162,.32);
  z-index: -1;
  transition: inset .28s ease, border-color .28s ease;
}
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 52%, rgba(220,185,107,.18), transparent 50%);
  opacity: 0;
  transition: opacity .28s ease;
}
.door:hover, .door:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 45px rgba(7,22,40,.23);
  outline: none;
}
.door:hover::before, .door:focus-visible::before {
  inset: 6px;
  border-color: rgba(244,221,162,.68);
}
.door:hover::after, .door:focus-visible::after { opacity: 1; }
.door-finale {
  background:
    linear-gradient(145deg, rgba(112,29,45,.89), rgba(56,12,27,.97)),
    url("gleiritsch-winter.jpg") center 70% / 900px auto;
  border-color: rgba(244,221,162,.7);
}
.door-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: var(--gold);
  opacity: .72;
}
.corner-top {
  top: 15px;
  left: 15px;
  border-top: 1px solid;
  border-left: 1px solid;
}
.corner-bottom {
  right: 15px;
  bottom: 15px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}
.door-glow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 15px 4px rgba(244,221,162,.35);
}
.door-number {
  align-self: center;
  margin: auto 0;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
  text-shadow: 0 5px 24px rgba(0,0,0,.35);
}
.door-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.72);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.door-label svg {
  width: 17px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.5;
  transition: transform .2s ease;
}
.door:hover .door-label svg, .door:focus-visible .door-label svg {
  transform: translateX(3px);
}

.image-calendar {
  position: absolute;
  z-index: 5;
  inset: 415px 5% 58px;
  display: grid;
  grid-template-columns: repeat(6, minmax(78px, 1fr));
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 6px 18px;
}
.image-door {
  --door-delay: 0ms;
  width: 68px;
  height: 78px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(244,221,162,.82);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(8,31,54,.72), rgba(3,14,27,.9));
  box-shadow: 0 7px 22px rgba(0,0,0,.32), inset 0 0 18px rgba(220,185,107,.07);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  text-shadow: 0 2px 11px rgba(0,0,0,.75);
  backdrop-filter: blur(2px);
  transform: rotate(-1deg);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
  animation: image-door-in .55s both;
  animation-delay: var(--door-delay);
}
.image-door::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(244,221,162,.3);
}
.image-door::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 9px rgba(244,221,162,.8);
}
.image-door:nth-child(5n + 1) { transform: translate(-10%, 8%) rotate(-3deg); }
.image-door:nth-child(5n + 2) { transform: translate(8%, -8%) rotate(2deg); }
.image-door:nth-child(5n + 3) { transform: translate(-4%, 4%) rotate(1deg); }
.image-door:nth-child(5n + 4) { transform: translate(12%, 10%) rotate(-2deg); }
.image-door:nth-child(5n) { transform: translate(-7%, -5%) rotate(3deg); }
.image-door:hover,
.image-door:focus-visible {
  z-index: 3;
  transform: scale(1.16) rotate(0);
  background: linear-gradient(145deg, rgba(132,40,57,.92), rgba(65,16,31,.97));
  box-shadow: 0 12px 30px rgba(0,0,0,.48), 0 0 22px rgba(244,221,162,.24);
  outline: 2px solid rgba(255,255,255,.76);
  outline-offset: 3px;
}
.image-door-finale {
  width: 78px;
  height: 88px;
  border-color: var(--gold-light);
  background: linear-gradient(145deg, rgba(139,39,58,.9), rgba(65,13,30,.97));
  font-size: 2.65rem;
  box-shadow: 0 9px 26px rgba(0,0,0,.4), 0 0 18px rgba(244,221,162,.2);
}
@keyframes image-door-in {
  from { opacity: 0; scale: .82; }
  to { opacity: 1; scale: 1; }
}

.info-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
  padding: 80px max(24px, calc((100% - 1100px) / 2));
  background: var(--wine);
  color: white;
}
.info-star {
  width: 24px;
  fill: var(--gold-light);
  float: left;
  margin: 4px 13px 0 0;
}
.info-band p {
  margin: 0;
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.info-band h2 {
  margin: 12px 0 0;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.info-actions { display: grid; gap: 12px; }
.info-actions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 22px;
  border: 1px solid rgba(244,221,162,.42);
  background: rgba(255,255,255,.05);
  font-family: Georgia, "Times New Roman", serif;
  transition: background .2s ease, border-color .2s ease;
}
.info-actions a:hover, .info-actions a:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: var(--gold-light);
  outline: none;
}
.info-actions span { color: var(--gold-light); }

footer {
  padding: 66px 24px 40px;
  text-align: center;
  background: #04111f;
  color: rgba(255,255,255,.68);
}
.footer-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}
footer > p {
  margin: 14px 0 30px;
  color: rgba(255,255,255,.48);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
.legal-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
footer small {
  display: block;
  margin-top: 32px;
  color: rgba(255,255,255,.3);
  font-size: .68rem;
}

@media (max-width: 900px) {
  .calendar-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 1260px; height: 1260px; max-height: none; }
  .hero-copy { padding-top: 46px; }
  .image-calendar {
    inset: 390px 4% 48px;
    grid-template-columns: repeat(4, minmax(62px, 1fr));
    grid-template-rows: repeat(6, 1fr);
  }
  .info-band { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 640px) {
  .hero { min-height: 1320px; height: 1320px; max-height: none; }
  .hero-image { background-position: 48% 58%; }
  .topbar { width: calc(100% - 32px); padding: 20px 0; }
  .top-links { gap: 16px; font-size: .62rem; }
  .wordmark > span:last-child { display: none; }
  .hero-copy { padding: 34px 0 0; }
  .hero h1 { margin: 15px 0; font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .intro { max-width: 340px; font-size: .94rem; line-height: 1.55; }
  .calendar-hint { margin-top: 16px; font-size: .54rem; }
  .image-calendar {
    inset: 365px 8px 38px;
    gap: 3px 5px;
  }
  .image-door {
    width: 56px;
    height: 66px;
    font-size: 1.85rem;
  }
  .image-door-finale {
    width: 64px;
    height: 75px;
    font-size: 2.1rem;
  }
  .calendar-section { padding: 76px 14px 86px; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .door { min-height: 190px; padding: 18px; }
  .door-number { font-size: 4rem; }
  .door-label { font-size: .54rem; letter-spacing: .1em; }
  .info-band { padding: 64px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .snow, .door, .image-door { animation: none; }
}
