/* ==========================================================================
   365 Tage, 365 Zeichnungen – Charity-Kunstprojekt
   Visual Language & Brand Extension for https://jen-design.de/
   Jennifer Lennermann – Artdirection & Illustration
   ========================================================================== */

:root {
  /* Brand Palette derived from jen-design.de & logo */
  --brand-rose: #c86d98;
  --brand-rose-dark: #ab4f7b;
  --brand-rose-soft: #fbf1f6;
  --brand-rose-border: #e7bfd2;

  --brand-olive: #7a7b38;
  --brand-olive-dark: #5e5f29;
  --brand-olive-soft: #f6f6ec;
  --brand-olive-border: #d8d9b8;

  /* Core Neutral Palette from jen-design.de (Astral / custom.css) */
  --ink-heading: #363636;
  --ink-body: #666666;
  --ink-muted: #8c8c8c;
  --ink-button: #222222;
  --ink-button-hover: #363636;

  --paper-white: #ffffff;
  --paper-cream: #faf8f5;
  --paper-card: #ffffff;
  --kraft-fallback: #ccb090;
  --border-hairline: #dddddd;
  --border-subtle: #e9e4dc;

  --shadow-panel: 0px 1px 0px 0px rgba(0, 0, 0, 0.25), 0 18px 48px rgba(42, 31, 21, 0.12);
  --shadow-card:
    0 1px 2px rgba(34, 28, 22, 0.08),
    0 6px 16px -4px rgba(34, 28, 22, 0.12),
    0 0 0 1px rgba(34, 28, 22, 0.04);
  --shadow-card-hover:
    0 14px 32px -6px rgba(34, 28, 22, 0.2),
    0 4px 10px rgba(34, 28, 22, 0.09);
  --shadow-bar: 0 -4px 28px rgba(24, 20, 16, 0.16);

  /* Zero-Download Native System Font Stack (100% DSGVO-konform, 0 ms Ladezeit) */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
}

[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

/* Hides content visually but keeps it in the accessibility tree */
.visually-hidden:where(:not(:focus-within, :active)),
.sr-only {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-body);
  /* Authentic kraft paper texture from jen-design.de with warm tactile fallback */
  background-color: var(--kraft-fallback);
  background-image:
    radial-gradient(ellipse at center, rgba(255, 248, 238, 0.12) 0%, rgba(78, 56, 34, 0.28) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    ),
    url("https://jen-design.de/assets/css/images/bg.jpg");
  background-attachment: fixed;
  background-size: cover, auto, cover;
  background-position: center;
  padding-bottom: 130px;
}

b, strong, h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  color: var(--ink-heading);
}

a {
  color: var(--ink-heading);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-rose-dark);
}

/* ==========================================================================
   Minimalist Top Header Bar
   ========================================================================== */

.top-nav-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.top-nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Main Sheet Panel (jen-design.de White Paper Panel Aesthetic)
   ========================================================================== */

.page-wrapper {
  max-width: 1380px;
  margin: 1.75rem auto 0;
  padding: 0 1.25rem;
}

.main-panel {
  background: var(--paper-white);
  box-shadow: var(--shadow-panel);
  padding: 2.25rem 2.5rem 3.5rem;
  border-radius: 2px;
}

/* ==========================================================================
   Mood Banner (<picture> 5:1 Desktop titel-lang.webp / 3:1 Mobile titel-kurz.webp)
   ========================================================================== */

.mood-banner {
  margin: -2.25rem -2.5rem 2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--paper-cream);
}

.mood-banner picture {
  display: block;
  width: 100%;
}

.mood-banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: cover;
}

@media screen and (max-width: 736px) {
  .mood-banner-img {
    aspect-ratio: 3 / 1;
  }
}

/* ==========================================================================
   Intro / Editorial Header
   ========================================================================== */

.intro-section {
  margin-bottom: 1.85rem;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.project-badge {
  display: inline-block;
  background: var(--brand-rose-soft);
  color: var(--brand-rose-dark);
  border: 1px solid var(--brand-rose-border);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.intro-section h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--ink-heading);
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--border-hairline);
  margin: 1.25rem 0 1.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: start;
}

.infotext {
  margin: 0 0 1rem 0;
  line-height: 1.62;
  color: var(--ink-body);
}

.infotext:last-child {
  margin-bottom: 0;
}

.infotext-subheading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-heading);
  margin: 1.15rem 0 0.45rem 0;
  line-height: 1.35;
}

/* Uniform signature without italic or serif overrides (Item 13) */
.infotext-signature {
  margin-top: 1rem;
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--ink-body);
}

.inline-text-link {
  color: var(--brand-rose-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-text-link:hover {
  color: var(--ink-heading);
}

/* Collapsible "Mehr lesen" / "Weniger anzeigen" Toggle (Item 14 & search-hidden-content) */
.intro-more-inner {
  padding-top: 0.1rem;
}

.readmore-toggle-btn {
  margin-top: 0.5rem;
  appearance: none;
  border: 1px solid var(--brand-rose-border);
  background: var(--brand-rose-soft);
  color: var(--brand-rose-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.readmore-toggle-btn:hover {
  background: var(--brand-rose);
  border-color: var(--brand-rose);
  color: #ffffff;
}

.readmore-toggle-btn[aria-expanded="true"] .readmore-label-more,
.readmore-toggle-btn[aria-expanded="false"] .readmore-label-less {
  display: none;
}

/* ==========================================================================
   Collapsible "So machst du mit:" Card (Item 15 & accordion guide)
   ========================================================================== */

.steps-card {
  background: var(--paper-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.steps-summary {
  list-style: none;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.steps-summary::-webkit-details-marker {
  display: none;
}

.steps-summary::before {
  content: "";
  inline-size: 0.85em;
  block-size: 0.85em;
  flex-shrink: 0;
  border-right: 2px solid var(--brand-olive-dark);
  border-bottom: 2px solid var(--brand-olive-dark);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

details.steps-card[open] > .steps-summary::before {
  transform: rotate(45deg);
}

.steps-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink-heading);
  margin-right: auto;
}

.steps-mobile-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-olive-dark);
  background: var(--brand-olive-soft);
  border: 1px solid var(--brand-olive-border);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

details.steps-card[open] > .steps-summary .steps-mobile-hint {
  display: none;
}

.steps-body {
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* Smooth slide animation for <details> (Modern Web Guidance: accordion) */
details.steps-card::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

details.steps-card:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  details.steps-card::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.48;
}

.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-olive);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.step-content {
  flex: 1;
}

.steps-list li strong {
  display: block;
  font-weight: 600;
  color: var(--ink-heading);
  margin-bottom: 0.2rem;
}

.step-text {
  margin: 0;
  color: var(--ink-body);
}

.step-subnote {
  margin-top: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: var(--brand-rose-soft);
  border-left: 3px solid var(--brand-rose);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.step-subnote strong {
  display: inline !important;
  margin-bottom: 0 !important;
  color: var(--brand-rose-dark) !important;
}

/* ==========================================================================
   Aktion Lichtblicke e.V. Donation Barometer (Item 8, No Official Logo)
   ========================================================================== */

.donation-barometer {
  margin-top: 1.65rem;
  background: linear-gradient(135deg, #fbf8f3 0%, #f6f6ec 100%);
  border: 1px solid var(--brand-olive-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.barometer-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.barometer-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.barometer-badge {
  background: var(--brand-olive);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.barometer-heading {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-heading);
}

.barometer-figures {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.barometer-amount {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brand-olive-dark);
}

.barometer-subtext {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.barometer-track {
  width: 100%;
  height: 10px;
  background: rgba(122, 123, 56, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.barometer-fill {
  height: 100%;
  min-width: 2%;
  background: linear-gradient(90deg, var(--brand-olive) 0%, var(--brand-rose) 100%);
  border-radius: 999px;
  transition: width 0.45s ease;
}

/* ==========================================================================
   Sticky Gallery Filter Toolbar (Proposal 1 & Proposal 3)
   ========================================================================== */

.gallery-toolbar {
  position: sticky;
  top: 66px;
  z-index: 30;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.65rem;
  box-shadow: 0 4px 16px rgba(34, 28, 22, 0.06);
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--border-hairline);
  background: var(--paper-white);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.52rem 0.98rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.18s ease;
}

.filter-label-mobile {
  display: none;
}

.filter-btn:hover {
  border-color: var(--ink-heading);
  color: var(--ink-heading);
}

/* Proposal 1: Rose highlight on "Deine Auswahl" filter pill when > 0 selected */
.filter-btn-selected.has-selection:not(.is-active) {
  background: var(--brand-rose-soft);
  border-color: var(--brand-rose);
  color: var(--brand-rose-dark);
  font-weight: 600;
}

.filter-btn-selected.has-selection:not(.is-active) .badge-count {
  background: var(--brand-rose);
  color: #ffffff;
}

.filter-btn.is-active {
  background: var(--ink-button);
  border-color: var(--ink-button);
  color: #ffffff;
}

.badge-count {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.filter-btn.is-active .badge-count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Range Chips with Month Labels (Proposal 3) */
.toolbar-ranges {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.range-label {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-right: 0.25rem;
}

.range-chip {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-mobile-text {
  display: none;
}

.range-chip:hover {
  background: rgba(0, 0, 0, 0.09);
  color: var(--ink-heading);
}

.range-chip.is-active {
  background: var(--brand-olive);
  color: #ffffff;
  font-weight: 600;
}

.toolbar-status-line {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.results-summary {
  margin: 0;
  font-weight: 500;
  color: var(--ink-body);
}

.toolbar-hint {
  margin: 0;
}

.toolbar-hint strong {
  font-weight: 600;
  color: var(--ink-heading);
}

/* ==========================================================================
   Polaroid Gallery Responsive Grid & Tactile Polaroid Depth/Tilt (Proposal 4 & Item 7)
   - 2 columns on mobile (>= 330px)
   - 3 columns on tablets (900px–1139px)
   - 4–5 columns on desktop (>= 1140px)
   ========================================================================== */

.postcard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

@media screen and (max-width: 329px) {
  .postcard-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 900px) {
  .postcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1140px) {
  .postcard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1440px) {
  .postcard-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Defer rendering for below-the-fold cards (Modern Web Guidance: defer-rendering-heavy-content) */
.postcard-item.is-below-fold {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 420px;
}

/* Individual Polaroid Card Item with Realistic Paper Shadow & Subtle Tilt on Hover (Item 7) */
.postcard-item {
  position: relative;
  background: var(--paper-card);
  border: 1px solid #e6e1d8;
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.22s ease;
}

.postcard-item[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .postcard-item:nth-child(odd):not(.is-sold):hover {
    transform: translateY(-5px) rotate(-0.85deg);
    box-shadow: var(--shadow-card-hover);
    border-color: #d5cfc4;
  }

  .postcard-item:nth-child(even):not(.is-sold):hover {
    transform: translateY(-5px) rotate(0.85deg);
    box-shadow: var(--shadow-card-hover);
    border-color: #d5cfc4;
  }
}

/* Selected State Styling */
.postcard-item.is-selected {
  border: 2px solid var(--brand-rose);
  background: var(--brand-rose-soft);
  box-shadow: 0 10px 26px rgba(200, 109, 152, 0.22);
}

/* Sold ("Bin wech") State Styling */
.postcard-item.is-sold {
  background: #f3f2f0;
  border-color: #e2e0dc;
  opacity: 0.65;
  filter: grayscale(100%);
  user-select: none;
}

/* Artwork Trigger Button (opens Lightbox for available cards) */
.card-media-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.65rem 0.65rem 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
}

.postcard-item.is-sold .card-media-trigger {
  cursor: not-allowed;
  pointer-events: none;
}

/* Native 880 x 1050 Frame for Preview Cards (aligns 1:1 with the 880x1050 JPEG files) */
.card-artwork-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 880 / 1050;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.postcard-item:not(.is-sold):hover .card-img {
  transform: scale(1.02);
}

/* Day / Card Number Badge (#001) */
.card-number-tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--ink-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Selected Checkmark Badge on Image */
.card-check-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-rose);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(171, 79, 123, 0.4);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.postcard-item.is-selected .card-check-badge {
  opacity: 1;
  transform: scale(1);
}

/* Magnifier hint on hover */
.card-zoom-hint {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: rgba(18, 21, 29, 0.72);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.postcard-item:not(.is-sold):hover .card-zoom-hint {
  opacity: 1;
}

/* Unmistakable "Bin wech" Overlay Badge across the card */
.sold-overlay-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  z-index: 3;
  background: rgba(34, 34, 34, 0.9);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  padding: 0.4rem 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.sold-overlay-badge.is-large {
  font-size: 1.15rem;
  padding: 0.55rem 1.45rem;
}

/* Card Body & Action Footer */
.card-body {
  padding: 0.75rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 0.65rem;
}

.card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-heading);
  min-height: 1.35em;
}

.card-select-btn {
  appearance: none;
  width: 100%;
  border: 1px solid var(--border-hairline);
  background: var(--paper-white);
  color: var(--ink-heading);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.card-select-btn:hover:not(:disabled) {
  border-color: var(--brand-rose);
  color: var(--brand-rose-dark);
  background: var(--brand-rose-soft);
}

.postcard-item.is-selected .card-select-btn {
  background: var(--brand-rose);
  border-color: var(--brand-rose);
  color: #ffffff;
  font-weight: 600;
}

.postcard-item.is-selected .card-select-btn:hover {
  background: var(--brand-rose-dark);
  border-color: var(--brand-rose-dark);
}

.card-select-btn:disabled {
  background: #e9e7e4;
  border-color: #dcd9d4;
  color: #777777;
  cursor: not-allowed;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--paper-cream);
  border: 1px dashed var(--border-hairline);
  border-radius: var(--radius-md);
}

.empty-title {
  font-size: 1.2rem;
  color: var(--ink-heading);
  margin: 0 0 0.35rem 0;
}

.empty-sub {
  margin: 0 0 1.25rem 0;
  color: var(--ink-muted);
}

.button {
  appearance: none;
  background: var(--ink-button);
  color: #ffffff;
  border: 0;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.button:hover {
  background: var(--ink-button-hover);
}

/* GDPR / Data Privacy Disclaimer & Press Note at Bottom of White Main Panel */
.gdpr-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
}

.gdpr-disclaimer-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.gdpr-disclaimer-text strong {
  font-weight: 600;
  color: var(--ink-body);
}

.press-contact-note {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.press-contact-note strong {
  font-weight: 600;
  color: var(--ink-body);
}

/* Proposal 6: Advent Wunschmotiv (#335–#357) Price Badge on Card */
.card-advent-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: rgba(171, 79, 123, 0.92);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.14rem 0.48rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* ==========================================================================
   Floating Back-to-Top Button (Item 9)
   ========================================================================== */

.back-to-top-btn {
  position: fixed;
  right: 1.35rem;
  bottom: 96px;
  z-index: 45;
  appearance: none;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ink-heading);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.back-to-top-btn:hover {
  background: var(--ink-button);
  border-color: var(--ink-button);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Sticky Floating Action Bar (Items 3, 4, 19)
   ========================================================================== */

.selection-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--brand-rose);
  box-shadow: var(--shadow-bar);
  padding: 0.75rem 1.25rem;
  animation: slideUpBar 0.24s ease-out;
}

@keyframes slideUpBar {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selection-bar-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.selection-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.selection-count-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-rose);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.selection-text-wrap {
  min-width: 0;
  flex: 1;
}

.selection-headline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.selection-status-text {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-heading);
}

/* Live Minimum Donation Estimate Pill (Item 3) */
.selection-donation-pill {
  display: inline-flex;
  align-items: center;
  background: var(--brand-olive-soft);
  border: 1px solid var(--brand-olive-border);
  color: var(--brand-olive-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* Clickable Selected Polaroid Chips (Item 4) */
.selected-chips-list {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-height: 60px;
  overflow-y: auto;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  background: var(--brand-rose-soft);
  border: 1px solid var(--brand-rose-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-rose-dark);
  overflow: hidden;
}

.selected-chip-view {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.14rem 0.35rem 0.14rem 0.55rem;
  cursor: pointer;
}

.selected-chip-view:hover {
  text-decoration: underline;
}

.selected-chip-remove {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--brand-rose-border);
  background: transparent;
  color: var(--brand-rose-dark);
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.14rem 0.45rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.selected-chip-remove:hover {
  background: var(--brand-rose);
  color: #ffffff;
}

.selection-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-secondary {
  appearance: none;
  border: 1px solid var(--border-hairline);
  background: transparent;
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  border-color: var(--ink-heading);
  color: var(--ink-heading);
  background: rgba(0, 0, 0, 0.04);
}

.btn-outline {
  appearance: none;
  border: 1px solid var(--brand-olive);
  background: var(--brand-olive-soft);
  color: var(--brand-olive-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
}

.btn-outline:hover {
  background: var(--brand-olive);
  color: #ffffff;
}

.btn-primary {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ink-button);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--brand-rose-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Lightbox Modal & Reservation Modal (<dialog>)
   Follows Modern Web Guidance:
   - dialog
   - light-dismiss-a-dialog
   - prevent-page-scroll-under-modal-dialog
   - animate-to-from-top-layer
   ========================================================================== */

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox-dialog,
.reservation-dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper-white);
  color: var(--ink-body);
  max-width: min(740px, 94vw);
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);

  /* Closed/exit state & top-layer transitions */
  opacity: 0;
  transform: scale(0.95);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.25s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

.reservation-dialog {
  max-width: min(660px, 94vw);
}

.lightbox-dialog::backdrop,
.reservation-dialog::backdrop {
  background-color: rgba(18, 21, 29, 0);
  backdrop-filter: blur(3px);
  transition-property: background-color, display, overlay;
  transition-duration: 0.25s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

/* Open state with @starting-style and data-closing fallback */
:is(.lightbox-dialog[open], .reservation-dialog[open]):where(:not([data-closing])) {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }

  &::backdrop {
    background-color: rgba(18, 21, 29, 0.82);

    @starting-style {
      background-color: rgba(18, 21, 29, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-dialog,
  .reservation-dialog {
    transform: none;
    transition-duration: 0.1s;
  }

  @starting-style {
    .lightbox-dialog[open],
    .reservation-dialog[open] {
      transform: none;
    }
  }
}

.lightbox-container,
.reservation-dialog-container {
  display: flex;
  flex-direction: column;
}

.lightbox-header,
.reservation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.lightbox-number {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-heading);
}

.lightbox-status-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-olive-soft);
  color: var(--brand-olive-dark);
}

.lightbox-status-pill.is-selected {
  background: var(--brand-rose-soft);
  color: var(--brand-rose-dark);
}

.lightbox-status-pill.is-sold {
  background: #eeeeee;
  color: #666666;
}

/* Proposal 6: Lightbox Price Pill */
.lightbox-price-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-cream);
  border: 1px solid var(--border-subtle);
  color: var(--ink-body);
}

.lightbox-price-pill.is-advent {
  background: var(--brand-rose-soft);
  border-color: var(--brand-rose-border);
  color: var(--brand-rose-dark);
}

.lightbox-close-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-body);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lightbox-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink-heading);
}

.lightbox-stage {
  position: relative;
  background: var(--paper-cream);
  padding: 1.35rem 3.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  max-width: 440px;
}

/* Native 880 x 1050 Frame for Lightbox Preview */
.lightbox-artwork-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 880 / 1050;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.lightbox-swipe-hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.lightbox-nav-btn:hover {
  background: var(--ink-button);
  border-color: var(--ink-button);
  color: #ffffff;
}

.lightbox-prev {
  left: 0.85rem;
}

.lightbox-next {
  right: 0.85rem;
}

.lightbox-footer {
  padding: 1.1rem 1.35rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-heading);
}

.lightbox-details {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.btn-select-toggle {
  appearance: none;
  border: 1px solid var(--ink-button);
  background: var(--ink-button);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.62rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-select-toggle:hover:not(:disabled) {
  background: var(--brand-rose-dark);
  border-color: var(--brand-rose-dark);
}

.btn-select-toggle.is-selected {
  background: var(--brand-rose);
  border-color: var(--brand-rose);
}

.btn-select-toggle:disabled {
  background: #e0deda;
  border-color: #d2cfc9;
  color: #777777;
  cursor: not-allowed;
}

/* Proposal 5: Direct "Jetzt anfragen" Shortcut inside the Lightbox */
.btn-direct-reserve {
  appearance: none;
  border: 1px solid var(--brand-olive);
  background: var(--brand-olive);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.62rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-direct-reserve:hover {
  background: var(--brand-olive-dark);
  border-color: var(--brand-olive-dark);
}

/* ==========================================================================
   In-Page Reservation Modal Form (Item 1, autofill-address-form & validate-input-after-interaction)
   ========================================================================== */

.reservation-title {
  margin: 0.25rem 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink-heading);
}

.reservation-form {
  padding: 1.15rem 1.35rem 1.35rem;
}

.reservation-summary-box {
  background: var(--paper-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
}

.reservation-summary-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.modal-donation-badge {
  background: var(--brand-olive-soft);
  border: 1px solid var(--brand-olive-border);
  color: var(--brand-olive-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
}

.modal-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--ink-body);
}

.reservation-intro-note {
  margin: 0 0 0.95rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-body);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-heading);
  margin-bottom: 0.22rem;
}

.field-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-heading);
  background: var(--paper-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  width: 100%;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--brand-rose);
  outline-offset: 1px;
  border-color: var(--brand-rose);
}

.res-preview-textarea {
  background: var(--paper-cream) !important;
  font-size: 0.83rem !important;
  line-height: 1.45;
  color: var(--ink-body) !important;
  resize: vertical;
}

.error-msg {
  display: none;
  color: #b3261e;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Validate Input After Interaction (Modern Web Guidance: validate-input-after-interaction) */
:is(:user-invalid, .user-invalid-fallback) {
  border-color: #b3261e !important;
  background-color: #fce8e6 !important;
}

:is(:user-invalid, .user-invalid-fallback) + .error-msg {
  display: block;
}

.reservation-footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

/* Proposal 2: Stacked Button Text + Subnote & Foolproof Post-Submit Guidance */
.btn-stack-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}

.btn-subnote {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.post-submit-guidance {
  margin-top: 0.9rem;
  padding: 0.95rem 1.1rem;
  background: var(--brand-olive-soft);
  border: 1.5px solid var(--brand-olive);
  border-radius: var(--radius-md);
  color: var(--ink-heading);
  font-size: 0.88rem;
  line-height: 1.55;
}

.post-submit-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--brand-olive-dark);
}

.post-submit-text {
  margin: 0 0 0.45rem;
  color: var(--ink-body);
}

.post-submit-fallback {
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--brand-olive-border);
  color: var(--ink-body);
}

/* ==========================================================================
   Footer (Matching jen-design.de #footer .copyright)
   ========================================================================== */

.site-footer {
  text-align: center;
  padding: 2rem 0 1.5rem;
  font-size: 0.82rem;
  color: #1f1f1f;
}

.site-footer .copyright {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .copyright li {
  display: inline-block;
}

.site-footer .copyright li::before {
  content: '\2022';
  opacity: 0.55;
  padding: 0 0.65rem;
}

.site-footer .copyright li:first-child::before {
  display: none;
}

.site-footer a {
  color: #111111;
}

.site-footer a:hover {
  color: var(--brand-rose-dark);
  text-decoration: underline;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 102px;
  right: 1.5rem;
  z-index: 70;
  background: var(--ink-button);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile & Tablet Adjustments)
   ========================================================================== */

@media screen and (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .main-panel {
    padding: 1.75rem 1.5rem 2.5rem;
  }

  .mood-banner {
    margin: -1.75rem -1.5rem 1.5rem;
  }
}

@media screen and (max-width: 736px) {
  body {
    font-size: 15.5px;
    padding-bottom: 135px;
  }

  .page-wrapper {
    margin-top: 0.65rem;
    padding: 0 0.5rem;
  }

  .main-panel {
    padding: 1.25rem 0.85rem 2rem;
  }

  .mood-banner {
    margin: -1.25rem -0.85rem 1.25rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  /* Compact Sticky Toolbar on Mobile (Proposal 1 & Proposal 3) */
  .gallery-toolbar {
    top: 56px;
    padding: 0.5rem 0.6rem;
    margin-top: 1.1rem;
    margin-bottom: 0.9rem;
  }

  .filter-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .filter-btn {
    justify-content: center;
    padding: 0.36rem 0.4rem;
    font-size: 0.81rem;
    gap: 0.3rem;
  }

  .filter-label-desktop {
    display: none !important;
  }

  .filter-label-mobile {
    display: inline !important;
  }

  /* Hide "Bin wech" status filter button on mobile */
  .filter-btn-sold {
    display: none !important;
  }

  .toolbar-ranges {
    margin-top: 0.42rem;
    padding-top: 0.42rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.22rem;
  }

  /* Hide "Zeitraum:" label, "Tag 1–365" chip, and desktop chip text on mobile */
  .range-label,
  .range-chip-all,
  .chip-desktop-text {
    display: none !important;
  }

  .chip-mobile-text {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
  }

  .chip-mobile-text small {
    font-size: 0.64rem;
    opacity: 0.82;
    font-weight: 400;
  }

  .range-chip {
    padding: 0.2rem 0.15rem;
    font-size: 0.72rem;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
  }

  /* Hide "Zeige X von 365 Polaroids" & Tipp text on mobile */
  .toolbar-status-line {
    display: none !important;
  }

  /* Proposal 4: 2-Column Polaroid Grid on Mobile */
  .postcard-grid {
    gap: 0.65rem;
  }

  .card-media-trigger {
    padding: 0.4rem 0.4rem 0;
  }

  .card-number-tag {
    top: 0.35rem;
    left: 0.35rem;
    font-size: 0.68rem;
    padding: 0.1rem 0.36rem;
  }

  .card-check-badge {
    top: 0.35rem;
    right: 0.35rem;
    width: 24px;
    height: 24px;
  }

  .card-advent-badge {
    bottom: 0.35rem;
    left: 0.35rem;
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
  }

  .sold-overlay-badge {
    font-size: 0.74rem;
    padding: 0.28rem 0.65rem;
  }

  .card-body {
    padding: 0.45rem 0.45rem 0.55rem;
    gap: 0.42rem;
  }

  .card-title {
    font-size: 0.79rem;
    line-height: 1.28;
    min-height: 2.56em;
  }

  .card-select-btn {
    font-size: 0.76rem;
    padding: 0.36rem 0.35rem;
  }

  /* Compact Bottom Selection Bar on Mobile: Hide red chips, show count + minimum donation */
  .selection-bar {
    padding: 0.55rem 0.85rem;
  }

  .selection-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .selection-summary {
    align-items: center;
    gap: 0.65rem;
  }

  .selection-count-badge {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
    margin-top: 0;
  }

  .selection-headline-row {
    gap: 0.45rem;
  }

  .selection-status-text {
    font-size: 0.92rem;
  }

  .selection-donation-pill {
    font-size: 0.76rem;
    padding: 0.1rem 0.5rem;
  }

  .selected-chips-list {
    display: none !important;
  }

  .selection-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem;
  }

  .selection-actions .btn-secondary {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .selection-actions .btn-primary {
    padding: 0.52rem 0.9rem;
    font-size: 0.88rem;
    justify-content: center;
  }

  .lightbox-stage {
    padding: 0.9rem 2.35rem 0.8rem;
  }

  .lightbox-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox-actions .btn-select-toggle,
  .lightbox-actions .btn-direct-reserve {
    width: 100%;
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .reservation-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .reservation-footer .btn-primary,
  .reservation-footer .btn-outline {
    width: 100%;
  }

  .btn-stack-text {
    align-items: center;
    text-align: center;
  }

  .back-to-top-btn {
    right: 0.85rem;
    bottom: 125px;
  }

  .site-footer .copyright li {
    display: block;
    line-height: 1.65;
  }

  .site-footer .copyright li::before {
    display: none;
  }
}
