@font-face {
  font-family: 'Archivo Condensed';
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 72%;
  font-display: swap;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

html {
  font-family: 'Archivo', sans-serif;
  background-color: #2B2622;
  color: #FFFFFF;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: #26221E;
  background-image: radial-gradient(circle at 50% 0%, #3A342E, #1F1B18 80%);
  overflow-x: hidden;
  padding-bottom: 68px;
}

.draft-banner {
  background: #141210;
  color: #FBF7EE;
  font-size: 0.71rem;
  padding: 6px 8px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.draft-count {
  border-bottom: 1px dotted rgba(251, 247, 238, 0.7);
  cursor: help;
}
.draft-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wall-stage {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 10px 42px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 960px) {
  .wall-stage {
    padding: 28px 32px 56px;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 28px;
    align-items: start;
  }
}

.oak-board {
  padding: 11px;
  border-radius: 6px;
  background-color: var(--oak-base);
  background-image:
    repeating-linear-gradient(90deg, rgba(65,38,14,0.12) 0px, rgba(65,38,14,0.12) 2px, transparent 2px, transparent 9px),
    linear-gradient(180deg, #AE8152 0%, #8C6238 100%);
  border: 2px solid var(--oak-dark);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  will-change: transform;
}
@media (min-width: 600px) {
  .oak-board {
    padding: 18px;
  }
}

.felt-surface {
  background-color: var(--felt);
  background-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0px,
    rgba(0, 0, 0, 0.48) 3px,
    rgba(255, 255, 255, 0.04) 3px,
    transparent 5px,
    transparent 12px
  );
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.65);
  padding: 14px 10px 22px;
  border: 2px solid #111111;
}
@media (min-width: 600px) {
  .felt-surface {
    padding: 24px 22px 28px;
  }
}

.board-groove-label {
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  opacity: 0.92;
  text-align: center;
  margin-bottom: 10px;
}

.tile-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3px;
  margin: 6px 0;
}
@media (min-width: 520px) {
  .tile-row {
    gap: 6px;
    margin: 8px 0;
  }
}

.tile-space {
  width: clamp(0.6rem, 2.8vw, 1.15rem);
  display: inline-block;
}

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.78rem, 8.0vw, 3.25rem);
  height: clamp(2.3rem, 10.0vw, 4.1rem);
  background: #FFFFFF;
  color: #141414;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: clamp(1.4rem, 6.0vw, 2.65rem);
  line-height: 1;
  border-radius: 2px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  will-change: transform, opacity;
}
.tile.tile-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.tile:nth-child(4n+1) { transform: rotate(-0.9deg); }
.tile:nth-child(4n+2) { transform: rotate(0.7deg) translateY(1px); }
.tile:nth-child(4n+3) { transform: rotate(-0.5deg); }
.tile:nth-child(4n)   { transform: rotate(0.95deg) translateY(-1px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gepinntes Polaroid im Kopf (ragt über die Rillen/Tafel) */
.hero-polaroid-stage {
  margin: 14px -6px 14px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}
@media (min-width: 600px) {
  .hero-polaroid-stage {
    margin: 16px -14px 16px;
  }
}

.polaroid {
  background: #FBF7EE;
  color: #1F1C18;
  padding: 10px 10px 14px;
  border-radius: 2px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65);
  position: relative;
  width: 100%;
  max-width: 520px;
  transform: rotate(-1.6deg);
  transform-origin: 50% 6px;
  will-change: transform;
}
.polaroid-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #222;
}
.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid-caption {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  font-size: 0.9rem;
  color: #1F1C18;
}
.polaroid-note {
  font-size: 0.74rem;
  color: #544B3D;
}

.brass-pin {
  width: 22px;
  height: 22px;
  position: absolute;
  top: -9px;
  left: calc(50% - 11px);
  z-index: 4;
}

/* Vertrauensleiste */
.trust-strip--tafel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  padding: 8px 10px;
  margin: 10px 0 12px;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 2px;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-item .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* Heute geöffnet mit Puls-Punkt */
.today-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 2px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.5);
  margin: 12px 0;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-ink);
  display: inline-block;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .today-banner[data-state="open"] .status-dot {
    animation: pegPulse 1.8s ease-in-out infinite;
  }
}
@keyframes pegPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.45; }
}

.cta-row--tafel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 16px;
}
@media (min-width: 560px) {
  .cta-row--tafel {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-peg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  background: #FFFFFF;
  color: #141414;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.0rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid #FFFFFF;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.btn-peg.btn-peg-alt {
  background: rgba(0, 0, 0, 0.48);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-peg .ph {
  color: inherit;
  border-bottom-color: currentColor;
}
.btn-peg:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.board-section-title {
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.48);
  margin: 16px 0 10px;
  padding: 6px 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Preisliste blättert sich auf (rotateX -90deg -> 0 mit transform-origin: top) */
.peg-price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  perspective: 700px;
}
.peg-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 2px;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  transform-origin: top center;
  backface-visibility: hidden;
}
.peg-item {
  color: #FFFFFF;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.65);
}
.peg-hint {
  font-size: 0.85rem;
  color: #E2DED8;
}
.peg-val {
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.65);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .peg-price-row {
      animation: flipDownRow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
  }
}
@keyframes flipDownRow {
  0% {
    transform: rotateX(-75deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

.pinned-paper {
  background: var(--paper-strip);
  color: var(--paper-ink);
  padding: 16px 16px 14px;
  margin-top: 18px;
  border-radius: 2px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  position: relative;
}
.pinned-paper .ph {
  color: var(--paper-ink);
  border-bottom-color: #8C4A15;
}
.paper-note-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.peg-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}
.peg-hours-table th,
.peg-hours-table td {
  padding: 6px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}
.peg-hours-table td {
  text-align: right;
}
.peg-hours-table tr.is-today {
  background: var(--accent);
  color: var(--accent-ink);
}
.peg-hours-table tr.is-today th,
.peg-hours-table tr.is-today td,
.peg-hours-table tr.is-today .ph {
  color: var(--accent-ink);
  border-bottom-color: var(--accent-ink);
}
.peg-hours-note {
  font-size: 0.8rem;
  color: #E8E6E1;
  margin-top: 8px;
}

/* PayPal Block */
.paypal-section--tafel {
  margin-top: 18px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 2px;
}
.paypal-section--tafel .board-section-title {
  margin-top: 0;
}
.paypal-desc {
  font-size: 0.9rem;
  color: #F4F1EA;
  margin-bottom: 12px;
}
.paypal-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.paypal-amounts {
  display: inline-flex;
  gap: 6px;
}
.paypal-amt-btn {
  padding: 8px 12px;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  border-radius: 2px;
  cursor: pointer;
}
.paypal-amt-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.pay-provider {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.9;
  margin-left: 3px;
}
.paypal-privacy-note {
  font-size: 0.76rem;
  color: #E2DED8;
  margin-top: 8px;
}

/* Galerie: Gepinnte Polaroids, schräg an den Rahmen gepinnt */
.gallery-section--tafel {
  margin-top: 20px;
}
.gallery-stage--tafel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 14px -4px 8px;
}
@media (min-width: 540px) {
  .gallery-stage--tafel {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
.gallery-stage--tafel .gallery-item {
  background: #FBF7EE;
  color: #1F1C18;
  padding: 9px 9px 12px;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
  position: relative;
  transform-origin: 50% 6px;
  will-change: transform;
}
.gallery-stage--tafel .gallery-item:nth-child(odd) {
  transform: rotate(-1.8deg);
}
.gallery-stage--tafel .gallery-item:nth-child(even) {
  transform: rotate(1.6deg);
}
.gallery-stage--tafel .gallery-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #222;
}
.gallery-stage--tafel .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-stage--tafel .gallery-caption {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-stage--tafel .gallery-caption .ph {
  color: #1F1C18;
  border-bottom-color: #8C4A15;
}
.gallery-stage--tafel .gallery-occasion {
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1F1C18;
}
.gallery-stage--tafel .gallery-sub {
  font-size: 0.84rem;
  color: #3D372E;
}
.sample-photo-note {
  font-size: 0.76rem;
  color: #E2DED8;
  margin-top: 8px;
  text-align: center;
}

.paper-heading {
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-ink);
  border-bottom: 2px solid #D5C8B2;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.pin-facts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pin-fact {
  padding-bottom: 7px;
  border-bottom: 1px dashed #CEC1AA;
}
.pin-fact dt {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pin-fact dd {
  font-size: 0.92rem;
  margin-top: 2px;
}

.kiez-map {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}
.paper-map-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}
.paper-link {
  color: #1F1C18;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ph {
  border-bottom: 2px dotted var(--accent);
  cursor: help;
}

.tafel-footer {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: #E2DED8;
}
.tafel-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tafel-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feste Handy-Aktionsleiste unten */
.mobile-dock--tafel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #1A1714;
  border-top: 3px solid var(--oak-base);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.6);
}
@media (min-width: 760px) {
  .mobile-dock--tafel {
    display: none;
  }
}
.mobile-dock--tafel .dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 4px;
  color: #FFFFFF;
  background: transparent;
  text-decoration: none;
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.mobile-dock--tafel .dock-btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.mobile-dock--tafel .dock-btn .icon {
  width: 16px;
  height: 16px;
}
