/* Tomo — guest pages (café, scan, win, card). Every color comes from the café design (theme.js). */

html {
  background: var(--page, #1b1a17);
  color-scheme: light;
}

html[data-tone="dark"] {
  color-scheme: dark;
}

html[data-tone="light"] {
  --bg-lift: 0.45;
}

html[data-tone="light"] .pass {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 18px 40px -18px var(--shadow-color),
    0 40px 80px -36px var(--shadow-color);
}

body.guest {
  position: relative;
  font-family: var(--font-cafe, system-ui, sans-serif);
  color: var(--text, #faf7f1);
  background: var(--page, #1b1a17);
  --btn-bg: var(--stamp);
  --btn-fg: var(--on-stamp-text, var(--on-stamp));
  --btn-shadow: var(--shadow-color);
}

.guest-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(130% 70% at 50% -8%, var(--surface, transparent) 0%, transparent 72%),
    radial-gradient(90% 50% at 50% 0%, rgba(255, 255, 255, var(--bg-lift, 0)) 0%, transparent 70%),
    linear-gradient(180deg, transparent 40%, var(--page-deep, transparent) 100%);
}

.guest-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(80% 55% at 50% 22%, var(--win-glow, transparent) 0%, transparent 70%);
  transition: opacity 900ms ease;
}

.is-celebrating .guest-bg::after {
  opacity: 1;
}

.guest-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 472px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
}

.view-slot {
  flex: 1;
}

/* ------------------------------------------------------------------ header */

.guest-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-bottom: 6px;
}

.guest-head__logo {
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 8px;
}

.cafe-logo {
  max-height: 38px;
  max-width: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cafe-logo.is-loading {
  visibility: hidden;
  width: 120px;
  height: 38px;
}

.cafe-logo--text {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-page);
  text-decoration: none;
}

[data-font="georgia"] .cafe-logo {
  max-height: 44px;
}

.cafe-logo--square {
  max-height: 76px;
}

.guest-head:has(.cafe-logo--square) {
  height: 92px;
}

/* DE | EN switch, quiet in the top right corner (Noah 13.11.2026: English everywhere, switchable). */
.lang-switch {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch__a {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
}

.lang-switch__a[aria-current="true"] {
  color: var(--text);
  box-shadow: inset 0 0 0 1px currentColor;
}

.lang-switch__a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.guest-head__back {
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-soft);
}

/* ------------------------------------------------------------------ views */

.view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 10px 0 28px;
  text-align: center;
}

.view.is-entering > * {
  animation: rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.view.is-entering > :nth-child(2) {
  animation-delay: 50ms;
}
.view.is-entering > :nth-child(3) {
  animation-delay: 100ms;
}
.view.is-entering > :nth-child(4) {
  animation-delay: 150ms;
}
.view.is-entering > :nth-child(5) {
  animation-delay: 200ms;
}
.view.is-entering > :nth-child(n + 6) {
  animation-delay: 250ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading-page);
  opacity: 0.86;
}

.title {
  max-width: 22ch;
  font-size: clamp(29px, 8.4vw, 36px);
  line-height: 1.06;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--heading-page);
  text-wrap: balance;
}

.lead {
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-soft);
  text-wrap: pretty;
}

.lead strong {
  color: var(--text);
  font-weight: 650;
}

/* Font personalities: same structure, each café sounds like itself. */
[data-font="bricolage"] .title {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(32px, 9.4vw, 40px);
  line-height: 1;
}

[data-font="bricolage"] .eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
}

[data-font="georgia"] .title {
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

[data-font="georgia"] .eyebrow {
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 1;
  color: var(--stamp);
}

[data-font="georgia"] .lead strong {
  font-weight: 700;
}

[data-font="avenir"] .title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

[data-font="avenir"] .eyebrow {
  padding: 6px 12px 5px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  letter-spacing: 0.08em;
  font-size: 12px;
  transform: rotate(-2deg);
  opacity: 1;
}

/* ------------------------------------------------------------------ pass stage */

.pass-stage {
  position: relative;
  width: 100%;
  margin: 6px 0;
  perspective: 1200px;
}

.pass-stage > .pass {
  animation: pass-in 820ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.pass-stage--compact {
  width: 92%;
}

@keyframes pass-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotateX(14deg) scale(0.96);
  }
}

.pass-stage--sample .pass {
  transform: rotate(-1.4deg);
}

.sample-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

/* ------------------------------------------------------------------ CTA + notes */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 2px;
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 0;
}

.link-quiet:hover {
  color: var(--text);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--line);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.note .icon {
  margin-top: 1px;
  color: var(--heading-page);
}

.note strong {
  color: var(--text);
}

.note a {
  color: var(--heading-page);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.message-slot:empty {
  display: none;
}

.note--message {
  background: var(--win-soft);
  box-shadow: inset 0 0 0 1px var(--win-glow);
}

.note--win {
  background: var(--win-soft);
  box-shadow: inset 0 0 0 1px var(--win-glow);
}

/* ------------------------------------------------------------------ stamped */

.counter {
  display: grid;
  justify-items: center;
  gap: 0;
  color: var(--heading-page);
  line-height: 1;
}

.counter__word {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.counter__num {
  font-size: 128px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 2px 0 2px;
  animation: num-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms both;
}

.counter__of {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-soft);
}

[data-font="georgia"] .counter__word {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 19px;
  font-weight: 400;
  color: var(--stamp);
  opacity: 1;
}

[data-font="georgia"] .counter__num {
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: 132px;
}

[data-font="avenir"] .counter__num {
  font-weight: 700;
}

@keyframes num-in {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(10px);
  }
}

.house-quote {
  display: grid;
  gap: 6px;
  max-width: 30ch;
  padding: 4px 0 0;
}

.house-quote p {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 650;
  color: var(--text);
}

.house-quote p::before {
  content: "„";
}

.house-quote p::after {
  content: "“";
}

.house-quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

[data-font="georgia"] .house-quote p {
  font-style: italic;
  font-weight: 400;
}

/* ------------------------------------------------------------------ celebration */

.title--win {
  max-width: 18ch;
}

.voucher {
  position: relative;
  width: 100%;
  padding: 22px 22px 16px;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.3), transparent 55%),
    var(--win);
  color: var(--on-win);
  text-align: left;
  box-shadow:
    0 22px 50px -22px var(--win-glow),
    0 0 0 1px rgba(0, 0, 0, 0.04) inset;
  -webkit-mask:
    radial-gradient(circle 11px at 0 calc(100% - 58px), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% calc(100% - 58px), transparent 98%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 11px at 0 calc(100% - 58px), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% calc(100% - 58px), transparent 98%, #000) right / 51% 100% no-repeat;
  animation: voucher-in 760ms cubic-bezier(0.34, 1.4, 0.64, 1) 180ms both;
}

.voucher__notch {
  display: none;
}

@keyframes voucher-in {
  from {
    opacity: 0;
    transform: scale(0.88) rotate(-2deg);
  }
}

.voucher__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.voucher__title {
  margin-top: 8px;
  font-size: 27px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-win-large);
  text-wrap: balance;
}

[data-font="georgia"] .voucher__title {
  font-weight: 400;
  font-size: 29px;
}

.voucher__rule {
  height: 0;
  margin: 20px 4px 12px;
  border-top: 2px dashed currentColor;
  opacity: 0.28;
}

.voucher__foot {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  font-size: 13px;
  font-weight: 600;
}

.voucher__hint {
  opacity: 0.72;
  text-align: right;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.live__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.live__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.live__label {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.live__time {
  font-weight: 700;
}

/* Win medallion */
.medallion {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 4px 0 -4px;
}

.medallion__rays {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--win-glow) 0deg 7deg, transparent 7deg 22.5deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: spin 24s linear infinite;
}

.medallion__spin {
  position: relative;
  width: 132px;
  height: 132px;
  animation: medal-in 1000ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.medallion__art {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 14px 22px var(--win-glow));
}

.medallion__ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.4s ease-in-out infinite;
}

@keyframes medal-in {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-120deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes ring {
  50% {
    transform: scale(1.06);
    opacity: 0.5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Golden sticker (Gewinnaufkleber): gold-leaf artwork with the QR window, like the printed 40 mm sticker */
.sticker {
  position: relative;
  aspect-ratio: 1;
  container-type: inline-size;
  border-radius: 50%;
  filter: drop-shadow(0 1px 1px rgba(60, 44, 10, 0.18)) drop-shadow(0 16px 22px rgba(110, 80, 14, 0.26));
}

.sticker__art {
  display: block;
  width: 100%;
  height: 100%;
}

.sticker__win {
  position: absolute;
  left: 50%;
  top: 59.5%;
  width: 33%;
  translate: -50% 0;
  padding: 3cqi;
  border-radius: 3.5cqi;
  background: #fbf8f1;
}

.sticker__qr {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

@keyframes shadow {
  50% {
    transform: scaleX(0.84);
    opacity: 0.7;
  }
}


/* ------------------------------------------------------------------ redeemed */

.hanko {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 10px 0 6px;
  padding: 12px 20px 10px;
  border: 3px solid var(--win-page);
  border-radius: 12px;
  color: var(--win-page);
  transform: rotate(-7deg);
  animation: hanko-in 560ms cubic-bezier(0.22, 1.4, 0.36, 1) 120ms both;
}

.hanko__word {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.hanko__time {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

[data-font="georgia"] .hanko {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  align-content: center;
  border-style: double;
  border-width: 5px;
}

[data-font="georgia"] .hanko__word {
  font-size: 18px;
  font-weight: 700;
}

@keyframes hanko-in {
  0% {
    opacity: 0;
    transform: rotate(-7deg) scale(1.8);
  }
  60% {
    opacity: 1;
    transform: rotate(-7deg) scale(0.94);
  }
  100% {
    transform: rotate(-7deg) scale(1);
  }
}

/* ------------------------------------------------------------------ calm states (limited, problems) */

.calm-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--line);
  color: var(--heading-page);
}

.title--calm {
  font-size: clamp(26px, 7.4vw, 31px);
  max-width: 20ch;
}

[data-font="bricolage"] .title--calm {
  font-size: clamp(28px, 8vw, 34px);
}

.countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.countdown:has(.btn) {
  background: none;
  padding: 0;
}

.view--problem {
  padding-top: 32px;
}

/* ------------------------------------------------------------------ loading */

.view--loading {
  min-height: 62vh;
  justify-content: center;
}

.loader {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.loader__stamp {
  width: 92px;
  height: 92px;
  animation: press 1.1s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}

.loader__shadow {
  width: 70px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--shadow-color), transparent);
  animation: press-shadow 1.1s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}

.loader__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-soft);
}

@keyframes press {
  0%,
  100% {
    transform: translateY(-22px) rotate(-8deg);
  }
  45% {
    transform: translateY(0) rotate(0) scale(1.04, 0.94);
  }
  60% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes press-shadow {
  0%,
  100% {
    transform: scaleX(0.7);
    opacity: 0.5;
  }
  45%,
  60% {
    transform: scaleX(1.05);
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ café + card pages */

.title--cafe {
  max-width: 16ch;
}

.cafe-quote {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-soft);
  margin-top: -6px;
}

[data-font="georgia"] .cafe-quote {
  font-style: italic;
}

.scan-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border-radius: 22px;
  background: var(--stamp);
  color: var(--on-stamp);
  text-align: left;
  box-shadow: 0 18px 40px -24px var(--shadow-color);
}

.scan-cta__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  background: var(--on-stamp);
  color: var(--stamp);
}

.scan-cta__title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 750;
}

.scan-cta__text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.82;
}

.panel {
  width: 100%;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--line);
  text-align: left;
}

.panel__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--heading-page);
}

[data-font="georgia"] .panel__title {
  font-weight: 400;
  font-size: 22px;
}

.panel__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.steps__list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step__n {
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--stamp);
  color: var(--on-stamp);
  font-size: 17px;
  font-weight: 800;
  border-radius: 50%;
}

[data-shape="scallop"] .step__n {
  border-radius: 0;
  -webkit-mask: url("../img/scallop.svg") center / contain no-repeat;
  mask: url("../img/scallop.svg") center / contain no-repeat;
}

.step__t {
  font-size: 17px;
  font-weight: 750;
  color: var(--text);
  line-height: 1.3;
}

.step__d {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}

.teaser {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
}

.teaser__art {
  width: 96px;
  height: 96px;
}




.info__list {
  display: grid;
  gap: 16px;
}

.info__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
}

.info__row .icon {
  grid-row: span 2;
  margin-top: 1px;
  color: var(--heading-page);
}

.info__row dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.info__row dd {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
}

.info__row a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

/* card page */
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title--card {
  margin-top: -8px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--line);
  color: var(--text-faint);
  font: 700 11px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 300ms ease;
}

.live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.live-badge.is-on {
  color: var(--text);
}

.live-badge.is-on .live-badge__dot {
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.22);
}

.reward-slot {
  width: 100%;
}

.reward-slot:empty {
  display: none;
}

.card-status__text {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-soft);
}

.card-status__text strong {
  color: var(--text);
}

/* ------------------------------------------------------------------ footer */

.guest-foot {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 0 8px;
  color: var(--text-soft);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.guest-foot__by {
  display: inline-flex;
  padding: 12px 0;
  color: var(--text-soft);
  border-radius: 8px;
}

.guest-foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  font-size: 12px;
}

.guest-foot__links a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding: 13px 0;
}

.guest-foot__links a:hover {
  color: var(--text);
}

.boot {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.noscript {
  padding: 40px 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ desktop */

@media (min-width: 700px) {
  .guest-main {
    padding-top: 28px;
  }
  .view {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medallion__rays {
    animation: none !important;
  }
}

/* ------------------------------------------------------------------ shop photos */

.shop-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: var(--line);
}

/* hero: wide photo of the shop above the name */
.shop-photo--hero {
  aspect-ratio: 4 / 3;
  margin-bottom: 6px;
  box-shadow: 0 24px 50px -30px var(--shadow-color);
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.shop-photo--pair {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

/* the card lying on the shop's table: blurred shop photo behind the pass */
.pass-stage--table {
  padding: 34px 20px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
}

.pass-stage__table {
  position: absolute;
  inset: -20px;
  z-index: -1;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(14px) saturate(1.1) brightness(0.72);
  transform: scale(1.06);
}

.pass-stage--table > .pass,
.pass-stage--table .sample-wrap {
  position: relative;
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.18),
    0 30px 50px -18px rgba(0, 0, 0, 0.55);
}

.sample-wrap {
  position: relative;
  border-radius: 16px;
}

.pass-stage--table .sample-tag {
  top: -12px;
}

.note--quiet {
  background: none;
  padding: 6px 4px;
  font-size: 13px;
  opacity: 0.75;
}

/* Freiwillige Angaben (first name, birthday) */
.profile__form,
.profile__summary {
  display: grid;
  gap: 10px;
}

.profile__label {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.profile__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--page, #fff);
  color: var(--text);
  font: inherit;
  font-size: 17px; /* 16px+ keeps iOS from zooming into the field */
  box-shadow: inset 0 0 0 1.5px var(--line-strong, rgba(0, 0, 0, 0.2));
}

.profile__input:focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 2px;
}

.profile__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile__row--date {
  grid-template-columns: 0.8fr 1.5fr 1fr;
}

.profile__col {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.profile__input {
  min-width: 0;
}

.profile__form .btn {
  margin-top: 8px;
}

.profile__fine {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

.profile__fine a {
  color: inherit;
}

.profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.profile__actions .btn {
  min-height: 44px;
  font-size: 15px;
}
