/* Home — responsive switch + menu (Karte) viewer.
   Mobile layout under 760px, desktop layout at/above — mirrors the
   prototype's `isMobile = window.innerWidth < 760` switch. */

.home--mobile  { display: block; }
.home--desktop { display: none; }

@media (min-width: 760px) {
  .home--mobile  { display: none; }
  .home--desktop { display: block; }
}

/* Karte preview thumbnail (page 1 of the PDF, filled in by JS) */
.karte-preview {
  width: 100%;
  aspect-ratio: 0.72;
  border: 2px solid #ffffff;
  background-color: #ffffff;
  background-size: cover;
  background-position: top center;
}

/* Fullscreen scrollable PDF viewer */
.karte-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 4, 10, 0.92);
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.karte-viewer.is-open { display: block; }

.karte-viewer__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  border: 2px solid #ffffff;
}

.karte-viewer__pages {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 12px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.karte-page {
  width: 100%;
  aspect-ratio: 0.707;
  background-color: #ffffff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Editorial polish: framed + tilted photos, inverted cream band --- */
.photo {
  border: 7px solid #ffffff;
  box-shadow: 0 16px 40px rgba(50, 8, 22, 0.30);
}
.photo.t1 { transform: rotate(-3deg); }
.photo.t2 { transform: rotate(2.2deg); }
.photo.t3 { transform: rotate(-1.8deg); }
.photo.t4 { transform: rotate(2.6deg); }

/* A section rendered on warm cream with red ink instead of the mono red. */
.band-cream { background: #f4efe6; color: var(--red); }
.band-cream .photo { border-color: var(--red); box-shadow: 0 16px 40px rgba(90, 20, 40, 0.18); }
.band-cream a { color: var(--red); }
/* Menu card gets a red edge on cream so the white card stays defined. */
.band-cream .karte-preview { border-color: var(--red); }
