@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

@font-face {
  font-family: "Lemon Tuesday Local";
  src: url("../assets/fonts/lemon-tuesday.otf") format("opentype"),
    local("Lemon Tuesday"), local("LemonTuesday"), local("lemon-tuesday");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #dce8ca;
  --green: #123f35;
  --green-2: #22483d;
  --green-soft: rgba(18, 63, 53, .54);
  --card: rgba(174, 195, 162, .78);
  --card-strong: rgba(174, 195, 162, .92);
  --stroke: rgba(18, 63, 53, .21);
  --shadow: rgba(18, 63, 53, .18);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Lemon Tuesday Local", "Lemon Tuesday", "Segoe Print", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #111;
  color: var(--green);
  font-family: var(--sans);
}

body {
  display: grid;
  place-items: center;
}

.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  container-type: size;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.012);
  pointer-events: none;
  background: var(--bg);
  transition: opacity 640ms ease, transform 880ms ease;
}

.scene.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Szene 1 */
.scene-intro {
  display: grid;
  place-items: center;
}

.deco {
  position: absolute;
  z-index: 1;
  display: block;
  object-fit: contain;
  opacity: .97;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(18, 63, 53, .06));
}

.deco-left {
  left: -4.7%;
  bottom: 2.8%;
  width: 25.5%;
  transform: rotate(-8deg);
}

.deco-right {
  right: -3.4%;
  top: 3.6%;
  width: 16.8%;
  transform: rotate(13deg);
}

.intro-copy {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 2;
  width: 56%;
  display: grid;
  gap: clamp(8px, 1.05cqw, 18px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.intro-line {
  margin: 0;
  font-size: clamp(34px, 5cqw, 94px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transform: translateY(22px) scale(.98);
  filter: blur(8px);
  transition: opacity 620ms ease, transform 720ms ease, filter 720ms ease;
}

.intro-line.muted { color: var(--green-soft); }

.intro-line.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.plate-wrap {
  position: relative;
  z-index: 4;
  width: min(30cqw, 35cqh);
  aspect-ratio: 1;
  margin: 0;
  opacity: 0;
  transform: scale(.82);
  filter: drop-shadow(0 24px 34px var(--shadow));
  transition: opacity 700ms ease, transform 820ms cubic-bezier(.16, 1, .3, 1);
}

.scene-intro.is-active .plate-wrap {
  opacity: 1;
  transform: scale(1);
}

.plate {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: spinPlate 5s linear infinite;
}

@keyframes spinPlate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Szene 2 */
.scene-menu {
  padding: 3.0% 4.25% 3.0%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2.2%;
}

.menu-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(480px, 1.1fr) 1fr;
  align-items: start;
  gap: clamp(18px, 2cqw, 34px);
  min-height: clamp(110px, 13cqh, 150px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 650ms ease;
}

.scene-menu.is-active .menu-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.brand-logo-small {
  justify-self: start;
  width: clamp(116px, 14cqw, 208px);
  height: auto;
  display: block;
  margin-top: .15rem;
}

.headline-block {
  justify-self: center;
  min-width: 0;
  display: grid;
  place-items: center;
  gap: clamp(10px, 1.2cqw, 20px);
  text-align: center;
}

.menu-title {
  margin: 0;
  font-size: clamp(40px, 4.4cqw, 74px);
  line-height: .9;
  letter-spacing: -.058em;
  font-weight: 300;
  color: var(--green);
  white-space: nowrap;
}

.menu-title span {
  display: inline-block;
  margin-left: .08em;
  font-family: var(--script);
  font-size: .87em;
  letter-spacing: -.02em;
  transform: rotate(-4deg) translateY(.06em);
  color: var(--green-2);
}

.menu-info-copy {
  margin: 0;
  width: min(100%, 820px);
  font-size: clamp(14px, 1.15cqw, 22px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 400;
  color: var(--green-2);
  text-align: center;
}

.week-badge {
  justify-self: end;
  align-self: end;
  width: clamp(74px, 7.8cqw, 118px);
  height: clamp(74px, 7.8cqw, 118px);
  margin-top: 3.2rem;
  margin-right: .1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--bg);
  font-weight: 800;
  font-size: clamp(18px, 1.7cqw, 34px);
  letter-spacing: -.035em;
  z-index: 3;
}

.menu-board {
  min-height: 0;
  margin: -1.0% 3.0% 0;
  padding: clamp(26px, 3.1cqw, 56px) clamp(28px, 3.2cqw, 60px);
  border: clamp(2px, .18cqw, 3px) dotted var(--stroke);
  border-radius: clamp(14px, 1.4cqw, 24px);
}

.menu-grid {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 5.4%;
  row-gap: 3.4%;
}

.day-card,
.info-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 680ms cubic-bezier(.16, 1, .3, 1);
}

.day-card {
  display: grid;
  grid-template-columns: clamp(56px, 6cqw, 92px) 1fr;
  align-items: center;
  align-self: center;
  gap: 2.8%;
  min-width: 0;
  padding: clamp(12px, 1.2cqw, 22px) clamp(24px, 2.3cqw, 42px);
  border-radius: clamp(18px, 1.7cqw, 30px);
}

.day-card.has-background {
  background: var(--card-strong);
}

.day-card.is-visible,
.info-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.day-card[data-day="MO"] { grid-column: 1; grid-row: 1; }
.day-card[data-day="DI"] { grid-column: 1; grid-row: 2; }
.day-card[data-day="MI"] { grid-column: 1; grid-row: 3; }
.day-card[data-day="DO"] { grid-column: 2; grid-row: 1; }
.day-card[data-day="FR"] { grid-column: 2; grid-row: 2; }

.day-label {
  margin-top: 0;
  font-size: clamp(30px, 2.9cqw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
}

.dish-list {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: clamp(8px, .8cqw, 15px);
  padding-top: 0;
}

.dish-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(10px, .9cqw, 16px);
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 480ms ease, transform 560ms ease, filter 560ms ease;
}

.dish-row.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.dish-row::before {
  content: "";
  width: clamp(18px, 1.3cqw, 26px);
  height: clamp(18px, 1.3cqw, 26px);
  margin-top: .14em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .95;
}

.dish-row:first-child::before { opacity: 0; }

.dish-row:not(:first-child)::before {
  background-image: url("../assets/img/leaf-icon.svg");
}

.dish {
  margin: 0;
  max-width: 42ch;
  display: grid;
  gap: clamp(2px, .18cqw, 4px);
  line-height: 1.16;
  letter-spacing: 0;
  overflow: hidden;
}

.dish-main,
.dish-side {
  display: block;
  min-width: 0;
}

.dish-main {
  color: var(--green);
  font-size: clamp(17px, 1.52cqw, 29px);
  font-weight: 700;
}

.dish-side {
  color: rgba(34, 69, 58, .72);
  font-size: clamp(14px, 1.1cqw, 21px);
  font-weight: 500;
}

.day-card.has-background .dish-main,
.day-card.has-background .dish-side {
  color: var(--green);
}

.day-card.has-background .dish-side {
  opacity: .72;
}

.info-card {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 1.7cqw, 30px);
  padding: clamp(18px, 1.7cqw, 30px) clamp(24px, 2.3cqw, 42px);
  border: clamp(2px, .18cqw, 3px) dotted var(--stroke);
  border-radius: clamp(18px, 1.7cqw, 30px);
}

.info-icon {
  width: clamp(40px, 3.4cqw, 58px);
  height: clamp(40px, 3.4cqw, 58px);
  border: clamp(2px, .24cqw, 4px) solid var(--green);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(22px, 1.9cqw, 34px);
  line-height: 1;
}

.info-text {
  margin: 0;
  font-size: clamp(16px, 1.4cqw, 27px);
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 500;
}

/* Footer – Pipes mittig zwischen den Textblöcken */
.footer-line {
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content;
  align-items: center;
  width: 100%;
  padding: 0 4.4%;
  gap: clamp(12px, 2cqw, 34px);
  color: var(--green-2);
  font-size: clamp(15px, 1.3cqw, 25px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 620ms ease;
}

.scene.is-active .footer-line {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 650ms;
}

.footer-item { white-space: nowrap; }

.footer-pipe {
  justify-self: center;
  text-align: center;
  opacity: .95;
  font-weight: 600;
}

/* Szene 3 */
.scene-logo {
  display: grid;
  place-items: center;
  padding: 4.6% 4.8% 4.0%;
}

.deco-veg-tr {
  right: -2.6%;
  top: 4.4%;
  width: 15.5%;
  transform: rotate(14deg);
}

.deco-pasta-bl {
  left: -3.4%;
  bottom: 2.8%;
  width: 17%;
  transform: rotate(-9deg);
}

.logo-screen {
  display: grid;
  place-items: center;
  gap: clamp(20px, 3.2cqw, 58px);
  text-align: center;
  opacity: 0;
  transform: translateY(22px) scale(.98);
  filter: blur(8px);
  transition: opacity 700ms ease, transform 820ms cubic-bezier(.16, 1, .3, 1), filter 820ms ease;
}

.logo-screen.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.brand-logo-large {
  display: block;
  width: clamp(190px, 24cqw, 450px);
  height: auto;
}

.location,
.url {
  margin: 0;
  font-size: clamp(22px, 2cqw, 38px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 400;
}

.url {
  font-size: clamp(24px, 2.35cqw, 46px);
  font-weight: 500;
}

.footer-line-logo {
  position: absolute;
  left: 4.8%;
  right: 4.8%;
  bottom: 4.0%;
  width: auto;
  padding: 0;
}

@media (max-aspect-ratio: 4 / 3) {
  .menu-header { grid-template-columns: auto 1fr auto; }
  .footer-line {
    font-size: clamp(11px, 1.45cqw, 18px);
    gap: 12px;
  }
}
