/* Nostos Atelier — Editorial patisserie magazine layout (stage-lock preserved) */

:root {
  /* Palette from nostos.de — primary lime #a1bf38, olive #4c5e46 */
  --paper: #ffffff;
  --paper-deep: #f4f4f4;
  --ink: #282828;
  --ink-soft: #555555;
  --muted: #777777;
  --stone: #e0e0e0;
  --caramel: #a1bf38;
  --caramel-deep: #4c5e46;
  --pistachio: #4c5e46;
  --white: #ffffff;
  /* legacy aliases so any residual references keep working */
  --berry: var(--caramel);
  --berry-deep: var(--caramel-deep);
  --butter: var(--caramel);
  --butter-soft: #c5d98a;
  --glass: transparent;
  --glass-strong: var(--white);
  --glass-panel: var(--white);
  --line: var(--stone);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body.stage-lock {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; height: auto }
button { font: inherit; color: inherit }
button, a { -webkit-tap-highlight-color: transparent }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 10000;
}
.skip:focus { left: 12px; top: 12px }

/* —— Atmospheric media —— */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #fff;
}
.stage-video,
.stage-fallback {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 42%;
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 0.55s var(--ease);
}
.stage-fallback {
  background-size: cover;
  background-position: center;
  opacity: 0;
}
.stage-bg.is-fallback .stage-fallback { opacity: 1 }
.stage-bg.is-fallback .stage-video { opacity: 0 }

/* Soft white + faded pastry still (non-home sections) */
.stage-interior {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}
.stage-interior::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 40%, rgba(255, 255, 255, 0.9) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.85) 100%);
  pointer-events: none;
}

.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 40%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.35) 72%, rgba(255, 255, 255, 0.55) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.7) 100%);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), background 0.55s var(--ease);
}
.stage-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity 0.55s var(--ease);
}

/* Home: video · Interior sections (incl. contact): soft white fade */
body.is-home-view .stage-video,
body.is-home-view .stage-bg.is-fallback .stage-fallback {
  opacity: 1;
  visibility: visible;
}
body.is-home-view .stage-interior { opacity: 0 }
body.is-home-view .stage-veil { opacity: 1 }
body.is-home-view .stage-grain { opacity: 0.04 }

body.is-interior-view .stage-video,
body.is-interior-view .stage-fallback {
  opacity: 0 !important;
  visibility: hidden;
}
body.is-interior-view .stage-interior { opacity: 1 }
body.is-interior-view .stage-veil {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.65) 100%);
}
body.is-interior-view .stage-grain { opacity: 0.025 }
body.is-interior-view .stage-bg { background: #fff }
body.is-interior-view .stage-credit { display: none }

/* —— Stage shell —— */
.stage {
  position: relative;
  z-index: 1;
  height: 100dvh;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 clamp(20px, 4vw, 56px);
  overflow: hidden;
}

/* —— Magazine top bar —— */
.top-chrome {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  z-index: 5;
  border-bottom: 1px solid var(--stone);
}
.chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  padding: 0;
  background: none;
  border: 0;
  max-width: min(220px, 42vw);
}
.chrome-logo {
  display: block;
  width: auto;
  height: clamp(34px, 4.2vw, 48px);
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.chrome-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chrome-meta a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.chrome-meta a:hover {
  color: var(--ink);
  border-bottom-color: var(--caramel);
}
.legal-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--stone, #e0e0e0);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-footer a {
  color: var(--ink-soft, #555);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.legal-footer a:hover {
  color: var(--ink, #282828);
  border-bottom-color: var(--caramel, #a1bf38);
}
.chrome-cta {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 10px 4px;
  margin-left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
}
.chrome-cta::before,
.chrome-cta::after { display: none }
.chrome-cta:hover {
  color: var(--caramel);
  border-bottom-color: var(--caramel);
  background: transparent;
}

/* —— TEMP (test only): video overlay toggle — remove before production —— */
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  padding: 8px 10px;
  cursor: pointer;
  user-select: none;
  color: var(--ink-soft);
}
.video-toggle-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.video-toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.video-toggle-track {
  position: relative;
  display: block;
  width: 34px;
  height: 18px;
  border: 1px solid var(--stone);
  background: var(--paper-deep, #f3f1ec);
  transition: background 0.2s, border-color 0.2s;
}
.video-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 14px;
  height: 14px;
  background: var(--ink-soft);
  transition: transform 0.2s var(--ease, ease), background 0.2s;
}
.video-toggle-input:checked + .video-toggle-track {
  border-color: var(--caramel);
  background: rgba(161, 191, 56, 0.18);
}
.video-toggle-input:checked + .video-toggle-track .video-toggle-thumb {
  transform: translateX(16px);
  background: var(--caramel-deep, #7a9430);
}
.video-toggle-input:focus-visible + .video-toggle-track {
  outline: 2px solid var(--caramel);
  outline-offset: 2px;
}
body.is-video-off .stage-video,
body.is-video-off .stage-bg.is-fallback .stage-fallback {
  opacity: 0 !important;
  visibility: hidden;
}

/* —— Language —— */
.lang-switch { position: relative; z-index: 6 }
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn {
  border-bottom-color: var(--caramel);
  color: var(--caramel-deep);
  background: transparent;
}
.lang-switch-icon { width: 15px; height: 15px; display: block; flex-shrink: 0 }
.lang-switch-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  min-width: 148px;
  background: var(--white);
  border: 1px solid var(--stone);
  box-shadow: none;
}
.lang-switch-menu[hidden] { display: none }
.lang-switch-menu li {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-switch-menu li:hover,
.lang-switch-menu li:focus-visible {
  background: var(--paper-deep);
  color: var(--ink);
  outline: none;
}
.lang-switch-menu li.is-active {
  color: var(--caramel-deep);
  background: transparent;
  font-weight: 600;
}

/* —— Views + fly transitions (behavior preserved) —— */
.view {
  position: absolute;
  inset: 72px clamp(16px, 3vw, 48px) 48px;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
}
.view.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.view.is-animating {
  pointer-events: none;
  z-index: 4;
}
.view[hidden] { display: none }
.view:not([hidden]) { display: grid }

[data-fly],
[data-fly-child] {
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease),
    filter 0.65s var(--ease);
  will-change: transform, opacity;
}
.view.is-active [data-fly],
.view.is-active [data-fly-child] {
  opacity: 1;
  transform: none;
  filter: none;
}

.view.is-exit-next [data-fly="left"] {
  opacity: 0;
  transform: translate3d(-8vw, 0, 0);
  filter: none;
}
.view.is-exit-next [data-fly="right"] {
  opacity: 0;
  transform: translate3d(8vw, 0, 0);
  filter: none;
  transition-delay: 0.05s;
}
.view.is-exit-next [data-fly="up"],
.view.is-exit-next [data-fly-child] {
  opacity: 0;
  transform: translate3d(0, -6vh, 0);
  filter: none;
}
.view.is-exit-next [data-fly-child]:nth-child(1) { transition-delay: 0.02s }
.view.is-exit-next [data-fly-child]:nth-child(2) { transition-delay: 0.06s }
.view.is-exit-next [data-fly-child]:nth-child(3) { transition-delay: 0.1s }
.view.is-exit-next [data-fly-child]:nth-child(4) { transition-delay: 0.14s }
.view.is-exit-next [data-fly-child]:nth-child(5) { transition-delay: 0.18s }
.view.is-exit-next {
  opacity: 0;
  transition: opacity 0.45s 0.12s var(--ease);
}

.view.is-exit-prev [data-fly="left"] {
  opacity: 0;
  transform: translate3d(-6vw, 4vh, 0);
  filter: none;
}
.view.is-exit-prev [data-fly="right"] {
  opacity: 0;
  transform: translate3d(6vw, 4vh, 0);
  filter: none;
  transition-delay: 0.04s;
}
.view.is-exit-prev [data-fly="up"],
.view.is-exit-prev [data-fly-child] {
  opacity: 0;
  transform: translate3d(0, 8vh, 0);
  filter: none;
}
.view.is-exit-prev {
  opacity: 0;
  transition: opacity 0.45s 0.12s var(--ease);
}

.view.is-enter-next [data-fly="left"] {
  opacity: 0;
  transform: translate3d(-6vw, 4vh, 0);
  filter: none;
}
.view.is-enter-next [data-fly="right"] {
  opacity: 0;
  transform: translate3d(6vw, 3vh, 0);
  filter: none;
}
.view.is-enter-next [data-fly="up"],
.view.is-enter-next [data-fly-child] {
  opacity: 0;
  transform: translate3d(0, 8vh, 0);
  filter: none;
}
.view.is-enter-next { opacity: 1 }

.view.is-enter-prev [data-fly="left"] {
  opacity: 0;
  transform: translate3d(-6vw, -4vh, 0);
  filter: none;
}
.view.is-enter-prev [data-fly="right"] {
  opacity: 0;
  transform: translate3d(6vw, -3vh, 0);
  filter: none;
}
.view.is-enter-prev [data-fly="up"],
.view.is-enter-prev [data-fly-child] {
  opacity: 0;
  transform: translate3d(0, -6vh, 0);
  filter: none;
}
.view.is-enter-prev { opacity: 1 }

.view.is-active [data-fly-child]:nth-child(1) { transition-delay: 0.04s }
.view.is-active [data-fly-child]:nth-child(2) { transition-delay: 0.1s }
.view.is-active [data-fly-child]:nth-child(3) { transition-delay: 0.16s }
.view.is-active [data-fly-child]:nth-child(4) { transition-delay: 0.22s }
.view.is-active [data-fly-child]:nth-child(5) { transition-delay: 0.28s }
.view.is-active [data-fly="left"] { transition-delay: 0.03s }
.view.is-active [data-fly="right"] { transition-delay: 0.1s }
.view.is-active [data-fly="up"] { transition-delay: 0.05s }

/* ========== HOME: editorial masthead ========== */
.view-home {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: end;
  align-content: end;
  padding-bottom: clamp(8px, 2vh, 28px);
  overflow: hidden;
}

.glass-intro {
  max-width: min(720px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.glass-intro-handle,
.intro-ico {
  display: none;
}
.intro-kicker {
  margin: 0 0 18px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--caramel);
}
.glass-intro h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 12ch;
}
.intro-lead {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 36ch;
  line-height: 1.55;
  font-weight: 500;
}
.intro-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 320px;
}
.intro-actions .btn-primary {
  width: 100%;
  margin-bottom: 8px;
}
.intro-actions .btn-ghost {
  width: 100%;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--stone);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.intro-actions .btn-ghost::before,
.intro-actions .btn-ghost::after { display: none }
.intro-actions .btn-ghost:hover {
  background: transparent;
  color: var(--caramel);
  border-bottom-color: var(--caramel);
  transform: none;
}

/* Orbit → vertical editorial index */
.orbit-menu {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 8px;
}
.orbit-ring,
.orbit-ring--slow {
  display: none;
}
.orbit-core {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 88px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  text-align: left;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
  transition: background 0.25s, border-color 0.25s;
}
.orbit-core-label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
}
.orbit-core-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
}
.orbit-core:hover {
  transform: none;
  background: var(--caramel);
  border-color: var(--caramel);
  box-shadow: none;
}

.orbit-item {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100%;
  min-height: 0;
  padding: 16px 4px;
  border: 0;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  place-items: center start;
  text-align: left;
  box-shadow: none;
  backdrop-filter: none;
  transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}
.orbit-item-idx {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--caramel);
  font-weight: 600;
}
.orbit-item-txt {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.orbit-item:hover,
.orbit-item--n:hover,
.orbit-item--s:hover,
.orbit-item--e:hover,
.orbit-item--w:hover {
  background: transparent;
  border-color: var(--caramel);
  color: var(--caramel-deep);
  transform: none !important;
  box-shadow: none;
  padding-left: 8px;
}

/* —— Buttons —— */
.btn-primary,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary {
  background: var(--caramel);
  color: var(--paper);
  border-color: var(--caramel);
  box-shadow: none;
}
.btn-primary::before,
.btn-primary::after { display: none }
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost::before,
.btn-ghost::after { display: none }
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: none;
}
.btn-ghost--dark {
  color: var(--ink);
  border-color: var(--stone);
  background: var(--white);
}
.btn-ghost--dark:hover {
  background: var(--paper-deep);
  color: var(--ink);
  border-color: var(--caramel);
}

/* —— Shared —— */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Sidebars: keep titles/leads inside the column in DE + EL */
.torten-head,
.kids-head,
.flavors-head,
.sweets-head,
.stores-head {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.torten-head-copy,
.kids-head-copy,
.flavors-head-copy,
.sweets-head-copy,
.stores-head-copy {
  max-width: 100%;
  min-width: 0;
  padding-right: 40px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.torten-head h2,
.kids-head h2,
.flavors-head h2,
.sweets-head h2,
.stores-head h2 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.05;
}
.torten-head .panel-copy,
.kids-head .panel-copy,
.flavors-head .panel-copy,
.sweets-head .panel-copy,
.stores-head .panel-copy {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.panel-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.panel-close:hover {
  background: var(--paper-deep);
  border-color: var(--ink);
  color: var(--ink);
}
.panel-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

/* —— Scroll dots: bottom horizontal rule —— */
.scroll-dots {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.scroll-dot {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  background: var(--stone);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s, height 0.25s;
}
.scroll-dot.is-on {
  background: var(--caramel);
  border-color: transparent;
  height: 2px;
  width: 48px;
  border-radius: 0;
}
.scroll-dot:hover { transform: none; background: var(--ink-soft) }

.scroll-hint {
  position: fixed;
  left: clamp(20px, 4vw, 56px);
  bottom: 16px;
  transform: none;
  z-index: 20;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.4s;
}
.scroll-hint span {
  display: inline-block;
  padding-bottom: 0;
  padding-left: 14px;
  background: none;
  border-left: 1px solid var(--caramel);
  animation: none;
}
.scroll-hint-mobile { display: none }
.scroll-hint.is-hidden { opacity: 0 }

body.is-transitioning { cursor: wait }

/* ========== TORTEN: editorial catalog rows ========== */
.view-torten {
  place-items: stretch;
  align-items: stretch;
}
.lay-torten {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 24px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}
.torten-head {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 8px 12px 0 0;
  border-right: 1px solid var(--stone);
  flex-shrink: 0;
}
.torten-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  color: var(--ink);
}
.torten-head .panel-copy {
  font-size: 0.9rem;
}
.torten-head .panel-close {
  position: absolute;
  top: 0;
  right: 0;
}
.torten-empty {
  margin: auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  grid-column: 2;
}
/* Gallery panels/cards must stay visible — fly opacity on 100+ children blanked the catalog */
.view.is-active .torten-gallery,
.view.is-active .kids-gallery,
.view.is-active .flavors-gallery,
.view.is-active .sweets-stage,
.view.is-active .sweets-categories,
.view.is-active .sweets-products-panel,
.view.is-active .stores-body,
.torten-gallery [data-fly-child],
.kids-gallery [data-fly-child],
.flavors-gallery [data-fly-child],
.sweets-categories [data-fly-child],
.stores-grid [data-fly-child],
.stores-contact[data-fly-child],
.stores-hero[data-fly-child] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.torten-gallery [data-fly-child],
.kids-gallery [data-fly-child],
.flavors-gallery [data-fly-child],
.sweets-categories [data-fly-child],
.stores-grid [data-fly-child],
.stores-hero[data-fly-child] {
  transition: none !important;
  will-change: auto;
}

.torten-gallery {
  grid-column: 2;
  grid-row: 1;
  flex: 1;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  border-top: 1px solid var(--stone);
  align-content: start;
  -webkit-overflow-scrolling: touch;
}
.torten-gallery::-webkit-scrollbar { width: 5px }
.torten-gallery::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 0;
}
.torten-card {
  margin: 0;
  border-bottom: 1px solid var(--stone);
  border-right: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  min-width: 0;
}
.torten-card:nth-child(4n) { border-right: 0 }
.torten-card-visual {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: var(--paper-deep);
  overflow: hidden;
  transition: background 0.25s;
}
.torten-card:hover .torten-card-visual,
.torten-card:focus-within .torten-card-visual {
  background: var(--white);
}
.torten-card-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--paper-deep);
}
.torten-card-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.torten-card:hover .torten-card-actions,
.torten-card:focus-within .torten-card-actions {
  opacity: 1;
  pointer-events: auto;
}
.torten-action {
  flex: 1;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: none;
  transition: background 0.2s, color 0.2s;
}
.torten-action:last-child { border-right: 1px solid var(--ink) }
.torten-action:hover,
.torten-action:focus-visible {
  outline: none;
  transform: none;
}
.torten-action--view:hover,
.torten-action--view:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.torten-action--want {
  border-color: var(--caramel);
  background: var(--caramel);
  color: var(--paper);
}
.torten-action--want:last-child { border-right-color: var(--caramel) }
.torten-action--want:hover,
.torten-action--want:focus-visible {
  border-color: var(--caramel-deep);
  background: var(--caramel-deep);
}
.torten-card-cap {
  position: relative;
  inset: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 14px 16px 16px;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  pointer-events: none;
  color: var(--ink);
}
.torten-card-idx {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
}
.torten-card-cap strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.1;
}
.torten-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  flex-shrink: 0;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
  margin-top: 0;
}
.torten-foot .btn-primary { align-self: flex-start }

/* ========== KIDS: dense magazine strip ========== */
.view-collection {
  place-items: stretch;
  align-items: stretch;
}
.lay-kids {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 24px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}
.kids-head {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 12px 0 0;
  border-right: 1px solid var(--stone);
  flex-shrink: 0;
}
.kids-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  color: var(--ink);
}
.kids-head .panel-copy {
  font-size: 0.9rem;
}
.kids-head .panel-close {
  position: absolute;
  top: 0;
  right: 0;
}
.kids-empty {
  margin: auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  grid-column: 2;
}
.kids-gallery {
  grid-column: 2;
  grid-row: 1;
  flex: 1;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 4px 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  border-top: 1px solid var(--stone);
  align-content: start;
  -webkit-overflow-scrolling: touch;
}
.kids-gallery::-webkit-scrollbar { width: 5px }
.kids-gallery::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 0;
}
.kids-card {
  margin: 0;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  min-width: 0;
}
.kids-card-visual {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: var(--paper-deep);
  overflow: hidden;
  transition: background 0.25s;
}
.kids-card:hover .kids-card-visual,
.kids-card:focus-within .kids-card-visual {
  background: var(--white);
}
.kids-card-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--paper-deep);
}
.kids-card-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.kids-card:hover .kids-card-actions,
.kids-card:focus-within .kids-card-actions {
  opacity: 1;
  pointer-events: auto;
}
.kids-action {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: none;
  transition: background 0.2s, color 0.2s;
}
.kids-action:last-child { border-right: 1px solid var(--ink) }
.kids-action:hover,
.kids-action:focus-visible {
  outline: none;
  transform: none;
}
.kids-action--view:hover,
.kids-action--view:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.kids-action--want {
  border-color: var(--caramel);
  background: var(--caramel);
  color: var(--paper);
}
.kids-action--want:last-child { border-right-color: var(--caramel) }
.kids-action--want:hover,
.kids-action--want:focus-visible {
  border-color: var(--caramel-deep);
  background: var(--caramel-deep);
}
.kids-card-cap {
  position: relative;
  inset: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 12px 14px;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  pointer-events: none;
  color: var(--ink);
}
.kids-card-idx {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
}
.kids-card-cap strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.1;
}
.kids-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  flex-shrink: 0;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}
.kids-foot .btn-primary { align-self: flex-start }

/* Lightbox */
.cake-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.cake-lightbox[hidden] { display: none !important }
.cake-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(31, 23, 20, 0.5);
  backdrop-filter: none;
}
.cake-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(88vh, 900px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--stone);
  box-shadow: none;
}
.cake-lightbox-dialog img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: var(--paper-deep);
  display: block;
}
.cake-lightbox-caption {
  margin: 0;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  border-top: 1px solid var(--stone);
}
.cake-lightbox-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.cake-lightbox-x:hover { background: var(--white); border-color: var(--ink) }

body.lightbox-open { overflow: hidden }

/* ========== FLAVORS: horizontal menu rows ========== */
.view-flavors {
  place-items: stretch;
  align-items: stretch;
}
.lay-flavors {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 24px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}
.flavors-head {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px 0 0;
  border-right: 1px solid var(--stone);
  flex-shrink: 0;
}
.flavors-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  color: var(--ink);
}
.flavors-head .panel-copy {
  font-size: 0.9rem;
}
.flavors-head .panel-close {
  position: absolute;
  top: 0;
  right: 0;
}
.flavors-empty {
  margin: auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  grid-column: 2;
}
.flavors-gallery {
  grid-column: 2;
  grid-row: 1;
  flex: 1;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  border-top: 1px solid var(--stone);
  align-content: start;
  -webkit-overflow-scrolling: touch;
}
.flavors-gallery::-webkit-scrollbar { width: 5px }
.flavors-gallery::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 0;
}
.flavor-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--stone);
  border-right: 1px solid var(--stone);
  background: var(--paper);
  overflow: visible;
  box-shadow: none;
  transition: background 0.2s;
  min-width: 0;
}
.flavor-card:nth-child(4n) { border-right: 0 }
.flavor-card:hover {
  background: var(--white);
}
.flavor-media {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: var(--paper-deep);
  border: 0;
}
.flavor-media::after { display: none }
.flavor-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--paper-deep);
}
.flavor-body {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 16px 18px;
  background: var(--paper);
  border-top: 1px solid var(--stone);
  min-width: 0;
  flex: 1;
}
.flavor-idx {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
}
.flavor-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.flavor-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
  overflow: visible;
  max-height: none;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-width: none;
}
.flavors-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  flex-shrink: 0;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}

/* ========== SWEETS: other patisserie ========== */
.view-sweets {
  place-items: stretch;
  align-items: stretch;
}
.lay-sweets {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0 24px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.sweets-head {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px 0 0;
  border-right: 1px solid var(--stone);
}
.sweets-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  color: var(--ink);
}
.sweets-head .panel-copy {
  font-size: 0.9rem;
}
.sweets-head .panel-close {
  position: absolute;
  top: 0;
  right: 0;
}
.sweets-stage {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--stone);
  overflow: hidden;
}
.sweets-categories,
.sweets-products-panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 4px 12px 0;
  align-content: start;
  -webkit-overflow-scrolling: touch;
}
.sweets-products {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Keep [hidden] winning over display:grid/flex above */
.sweets-categories[hidden],
.sweets-products[hidden],
.sweets-products-panel[hidden] {
  display: none !important;
}
.sweets-products-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 4px 12px 0;
  border-bottom: 1px solid var(--stone);
  flex-shrink: 0;
}
.sweets-back {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.sweets-products-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.sweets-empty {
  grid-column: 1 / -1;
  margin: 24px 0;
  color: var(--muted);
  font-size: 1rem;
}
.sweet-cat-card {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  min-width: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sweet-cat-card:hover,
.sweet-cat-card:focus-visible {
  background: var(--white);
  border-color: var(--caramel);
  outline: none;
}
.sweet-cat-card.is-active {
  border-color: var(--caramel-deep);
  box-shadow: inset 0 0 0 1px var(--caramel);
}
.sweet-card {
  margin: 0;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  min-width: 0;
  transition: background 0.2s, border-color 0.2s;
}
.sweet-card:hover {
  background: var(--white);
  border-color: var(--caramel);
}
.sweet-media-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
}
.kids-card:hover {
  border-color: var(--caramel);
}
.sweet-media {
  margin: 0;
  background: var(--paper-deep);
  overflow: hidden;
}
.sweet-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.sweet-body {
  display: grid;
  gap: 6px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--stone);
  min-width: 0;
}
.sweet-idx {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
}
.sweet-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.sweet-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 500;
}
.sweets-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}

.stage-credit {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  left: auto;
  bottom: 16px;
  z-index: 15;
  margin: 0;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: right;
  max-width: 36vw;
}
.stage-credit a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.stage-credit a:hover {
  color: var(--caramel);
  border-bottom-color: var(--caramel);
}

/* ========== STORES & CONTACT ========== */
.view-stores {
  place-items: stretch;
  align-items: stretch;
  overflow: hidden;
}
.lay-stores {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0 24px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.stores-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px 0 0;
  border-right: 1px solid var(--stone);
  background: rgba(255, 255, 255, 0.92);
}
.stores-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  color: var(--ink);
}
.stores-head .panel-copy {
  font-size: 0.9rem;
}
.stores-head .panel-close {
  position: absolute;
  top: 0;
  right: 0;
}
.stores-body {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone);
  align-content: start;
  background: rgba(255, 255, 255, 0.82);
  -webkit-overflow-scrolling: touch;
}
.stores-hero {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--stone);
  min-height: 0;
}
.stores-hero img {
  display: block;
  width: 100%;
  height: clamp(160px, 28vh, 280px);
  object-fit: cover;
  object-position: center;
}
.stores-grid {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-right: 1px solid var(--stone);
  min-width: 0;
}
.store-card {
  margin: 0;
  padding: 20px 16px;
  border-bottom: 1px solid var(--stone);
  border-right: 1px solid var(--stone);
  background: transparent;
  transition: background 0.2s;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.store-card:nth-child(2n) { border-right: 0 }
.store-card:hover { background: var(--white) }
.store-name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  overflow-wrap: break-word;
}
.store-address {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 500;
  overflow-wrap: break-word;
}
.store-address a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: inline;
  overflow-wrap: anywhere;
}
.store-address a:hover {
  color: var(--caramel-deep);
  border-bottom-color: var(--caramel);
}
.store-hours {
  margin: 0 0 10px;
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0.01em;
  min-width: 0;
  overflow-wrap: break-word;
}
.store-hours-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
  overflow-wrap: break-word;
}
.store-hours-value {
  display: block;
  color: var(--ink-soft);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.store-phone {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 0;
}
.store-phone a {
  color: var(--caramel-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--caramel);
  overflow-wrap: anywhere;
}
.store-phone a:hover { color: var(--ink) }
.stores-contact {
  grid-column: 2;
  grid-row: 2;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  min-width: 0;
  overflow: hidden;
}
.stores-contact .eyebrow {
  max-width: 100%;
  overflow-wrap: break-word;
}
.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--stone);
  min-width: 0;
}
.contact-channels li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stone);
  min-width: 0;
  overflow: hidden;
}
.contact-channels span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  font-weight: 600;
  overflow-wrap: break-word;
}
.contact-channels a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
  max-width: 100%;
  width: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.2s, border-color 0.2s;
}
.contact-channels a:hover {
  color: var(--caramel-deep);
  border-bottom-color: var(--caramel);
}
.contact-channels small {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: break-word;
}
.stores-contact .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  height: auto;
  min-height: 44px;
  padding: 10px 18px;
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  .torten-gallery,
  .kids-gallery,
  .flavors-gallery,
  .sweets-categories,
  .sweets-products-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .torten-card:nth-child(4n),
  .flavor-card:nth-child(4n) { border-right: 1px solid var(--stone) }
  .torten-card:nth-child(3n),
  .flavor-card:nth-child(3n) { border-right: 0 }
}

/* Tablets */
@media (max-width: 980px) {
  .stage {
    padding: 0 clamp(14px, 3vw, 28px);
  }
  .view {
    inset: 64px clamp(14px, 3vw, 28px) 52px;
  }
  .top-chrome {
    height: 58px;
    gap: 10px;
  }
  .chrome-logo { height: 36px }
  .chrome-cta { margin-left: 6px; padding: 8px 2px }

  .lay-torten,
  .lay-kids,
  .lay-flavors,
  .lay-sweets,
  .lay-stores {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px 0;
    height: 100%;
    min-height: 0;
  }
  .torten-head,
  .kids-head,
  .flavors-head,
  .sweets-head,
  .stores-head {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
    border-bottom: 1px solid var(--stone);
    padding: 0 48px 12px 0;
    max-height: none;
  }
  .torten-head h2,
  .kids-head h2,
  .flavors-head h2,
  .sweets-head h2,
  .stores-head h2 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin-bottom: 8px;
  }
  .torten-head .panel-copy,
  .kids-head .panel-copy,
  .flavors-head .panel-copy,
  .sweets-head .panel-copy,
  .stores-head .panel-copy {
    max-width: none;
    font-size: 0.9rem;
  }
  .torten-gallery,
  .kids-gallery,
  .flavors-gallery,
  .sweets-stage,
  .stores-body {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    height: auto;
    max-height: 100%;
  }
  .torten-foot,
  .kids-foot,
  .flavors-foot,
  .sweets-foot {
    grid-column: 1;
    grid-row: 3;
    padding-top: 12px;
  }
  .torten-gallery,
  .kids-gallery,
  .flavors-gallery,
  .sweets-categories,
  .sweets-products-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .torten-card:nth-child(4n),
  .flavor-card:nth-child(4n) { border-right: 1px solid var(--stone) }
  .torten-card:nth-child(3n),
  .flavor-card:nth-child(3n) { border-right: 0 }

  .stores-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    overflow-y: auto;
  }
  .stores-hero {
    grid-column: 1;
    grid-row: 1;
  }
  .stores-hero img {
    height: clamp(140px, 24vh, 220px);
  }
  .stores-grid {
    grid-column: 1;
    grid-row: 2;
    border-right: 0;
  }
  .stores-contact {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Phablet / large phones & small tablets in portrait */
@media (max-width: 900px) {
  /* Full-bleed solid top bar over home video */
  body.is-home-view .top-chrome {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: clamp(14px, 3vw, 28px);
    padding-right: clamp(14px, 3vw, 28px);
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid var(--stone);
    box-shadow: 0 4px 18px rgba(40, 40, 40, 0.08);
  }
  body.is-home-view .chrome-brand {
    max-width: min(200px, 52vw);
  }
  body.is-home-view .chrome-logo {
    height: 34px;
    filter: none;
  }

  .view-home {
    grid-template-columns: 1fr;
    align-content: end;
    align-items: stretch;
    justify-content: end;
    gap: 0;
    overflow: hidden;
    padding-bottom: 52px;
  }
  .glass-intro {
    max-width: none;
    width: 100%;
    padding: 10px 16px 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(224, 224, 224, 0.95);
    border-radius: 22px 22px 18px 18px;
    box-shadow:
      0 12px 36px rgba(40, 40, 40, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-height: min(58vh, 500px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .glass-intro-handle {
    display: block;
    width: 42px;
    height: 4px;
    margin: 2px auto 14px;
    border-radius: 999px;
    background: var(--stone);
  }
  .glass-intro h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.85rem);
    margin-bottom: 10px;
    line-height: 0.95;
  }
  .intro-kicker {
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(161, 191, 56, 0.14);
    color: var(--caramel-deep);
  }
  .intro-lead {
    margin-bottom: 14px;
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .intro-actions {
    max-width: none;
    width: 100%;
    gap: 8px;
  }
  .intro-actions .intro-cta,
  .intro-actions .intro-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 14px;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.86rem;
    font-weight: 600;
  }
  .intro-actions .intro-cta {
    min-height: 48px;
    margin-bottom: 2px;
    padding: 0 14px;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(161, 191, 56, 0.28);
  }
  .intro-actions .intro-nav {
    min-height: 46px;
    padding: 0 10px;
    border: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    background: rgba(244, 244, 244, 0.72);
    color: var(--ink);
  }
  .intro-actions .intro-nav:hover,
  .intro-actions .intro-nav:active {
    background: #fff;
    border-color: var(--caramel);
    color: var(--caramel-deep);
    transform: none;
  }
  .intro-ico {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(161, 191, 56, 0.16);
    color: var(--caramel-deep);
  }
  .intro-cta .intro-ico {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }
  .intro-ico svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  /* Contact hero always visible on mobile */
  .stores-hero {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 160px;
    border-radius: 16px;
    border: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    margin: 0 0 12px;
    overflow: hidden;
  }
  .stores-hero img {
    height: clamp(160px, 28vh, 240px);
    width: 100%;
    object-fit: cover;
  }
  .stores-body {
    padding: 0 0 8px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    border: 1px solid var(--stone);
  }

  .scroll-dots {
    bottom: 12px;
    gap: 8px;
  }
  .scroll-dot { width: 20px }
  .scroll-dot.is-on { width: 36px }
  .stage-video,
  .stage-fallback {
    left: 0;
    right: 0;
    width: 100%;
    object-position: center 28%;
  }
  body.is-home-view .stage-video,
  body.is-home-view .stage-bg.is-fallback .stage-fallback {
    opacity: 1;
  }
  body.is-home-view .stage-veil {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 28%, rgba(255, 255, 255, 0.45) 58%, rgba(255, 255, 255, 0.92) 100%);
  }
  .scroll-hint {
    left: 50%;
    right: auto;
    bottom: 34px;
    transform: translateX(-50%);
    text-align: center;
    letter-spacing: 0.16em;
  }
  .scroll-hint-desktop { display: none }
  .scroll-hint-mobile {
    display: inline-block;
    padding-left: 0;
    border-left: 0;
    animation: swipeHintPulse 2.2s ease-in-out infinite;
  }
  @keyframes swipeHintPulse {
    0%, 100% { opacity: 0.55; transform: translateX(0) }
    50% { opacity: 1; transform: translateX(4px) }
  }
  .stage-credit {
    display: none;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .stage { padding: 0 12px }
  .view {
    inset: 56px 12px 44px;
  }
  .top-chrome {
    height: 52px;
  }
  body.is-home-view .top-chrome {
    padding-left: 12px;
    padding-right: 12px;
  }
  .chrome-brand { max-width: min(160px, 46vw) }
  .chrome-logo { height: 30px }
  .chrome-meta a { display: none }
  .chrome-cta {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  .video-toggle { padding: 6px 6px; gap: 6px }
  .video-toggle-label { font-size: 0.6rem }
  .lang-switch-btn { padding: 8px 8px }

  .glass-intro h1 { font-size: clamp(1.9rem, 9.5vw, 2.45rem) }
  .intro-kicker { margin-bottom: 10px }
  .btn-primary,
  .btn-ghost {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.68rem;
  }
  .intro-actions .intro-nav {
    min-height: 44px;
    font-size: 0.82rem;
  }
  .intro-actions .intro-cta {
    min-height: 48px;
    font-size: 0.84rem;
  }

  .torten-gallery,
  .kids-gallery,
  .flavors-gallery,
  .sweets-categories,
  .sweets-products-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .torten-card:nth-child(3n),
  .flavor-card:nth-child(3n) { border-right: 1px solid var(--stone) }
  .torten-card:nth-child(2n),
  .flavor-card:nth-child(2n) { border-right: 0 }

  .torten-card-cap,
  .kids-card-cap {
    padding: 10px 10px 12px;
    gap: 6px;
  }
  .torten-card-cap strong,
  .kids-card-cap strong {
    font-size: 1rem;
  }
  .torten-action,
  .kids-action {
    padding: 10px 6px;
    font-size: 0.62rem;
  }

  .flavor-body {
    padding: 12px 12px 16px;
  }
  .flavor-body strong {
    font-size: 1.05rem;
  }
  .flavor-body p {
    font-size: 0.84rem;
  }

  .stores-grid {
    grid-template-columns: 1fr;
  }
  .stores-hero {
    min-height: 150px;
    border-radius: 14px;
    margin: 8px 8px 10px;
  }
  .stores-hero img {
    height: clamp(150px, 26vh, 210px);
  }
  .store-card {
    border-right: 0;
    padding: 16px 12px;
  }
  .stores-contact {
    padding: 16px 12px 20px;
  }
  .stores-head h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
  .store-hours-label,
  .contact-channels span {
    letter-spacing: 0.08em;
  }
  .stores-contact .btn-primary {
    width: 100%;
    align-self: stretch;
  }

  .sweets-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .sweets-foot .btn-primary,
  .sweets-foot .btn-ghost {
    width: 100%;
  }

  .view-home {
    padding-bottom: 48px;
  }
  .glass-intro {
    padding: 8px 14px 14px;
    max-height: min(64vh, 540px);
    border-radius: 20px 20px 16px 16px;
  }
  body.is-home-view .chrome-logo {
    height: 28px;
  }
  .scroll-hint {
    bottom: 30px;
    font-size: 0.6rem;
  }
  .panel-close {
    width: 40px;
    height: 40px;
  }
}

/* Touch: keep gallery actions usable */
@media (hover: none) {
  .kids-card-actions,
  .torten-card-actions {
    opacity: 1;
    pointer-events: auto;
    top: auto;
    bottom: 56px;
    transform: none;
    left: 6px;
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .stage-fallback { animation: none }
  .scroll-hint span { animation: none }
  [data-fly],
  [data-fly-child] {
    filter: none !important;
    transform: none !important;
  }
}
