@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/gloock-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pinyon-script-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2');
}

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

::selection {
  background: var(--gold);
  color: var(--glass);
}

html {
  font-family: 'Figtree', sans-serif;
  background-color: var(--glass);
  color: var(--fg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--glass);
  background-image:
    linear-gradient(125deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.0) 32%, rgba(229,193,104,0.045) 48%, rgba(255,255,255,0.0) 64%),
    radial-gradient(ellipse at 50% 10%, rgba(229,193,104,0.11), transparent 65%);
  overflow-x: hidden;
  padding-bottom: 68px;
}

.draft-banner {
  background: #090C0A;
  color: var(--fg);
  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(229, 193, 104, 0.45);
}
.draft-count {
  border-bottom: 1px dotted rgba(229, 193, 104, 0.7);
  cursor: help;
}
.draft-banner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.window-frame {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 10px 40px;
}
.has-photos .window-frame {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 900px) {
  .window-frame {
    padding: 32px 40px 56px;
  }
  .has-photos .window-frame {
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
}

.glass-pane {
  border: 1px solid rgba(229, 193, 104, 0.55);
  outline: 1px solid rgba(229, 193, 104, 0.22);
  outline-offset: -6px;
  padding: 18px 14px 32px;
  background: rgba(10, 14, 12, 0.32);
  position: relative;
}
.has-photos .glass-pane {
  padding-top: 0;
  border-top: none;
}
@media (min-width: 900px) {
  .glass-pane {
    padding: 36px 48px 48px;
  }
  .has-photos .glass-pane {
    padding-top: 0;
  }
}

.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;
}

/* Hero Window mit klar erkennbarem Kopf-Foto & Ken-Burns */
.hero-window {
  text-align: center;
  padding: 4px 0 18px;
  position: relative;
}
.hero-window--photo {
  margin: 0 -14px 18px;
  min-height: 76svh;
  padding: 36px 14px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 193, 104, 0.45);
}
@media (min-width: 900px) {
  .hero-window--photo {
    margin: 0 -48px 26px;
    min-height: 85vh;
    padding: 56px 48px 42px;
  }
}

.hero-reflection {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #08090B;
}
.hero-reflection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  opacity: 0.84;
  filter: contrast(1.06) saturate(1.02);
  transform: scale(1);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .is-loaded .hero-reflection-img {
    animation: kenBurnsGlass 8s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
  }
}
@keyframes kenBurnsGlass {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(8, 10, 12, 0.0) 0%, rgba(8, 10, 12, 0.08) 54%, rgba(8, 10, 12, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.14) 0%, rgba(8, 10, 12, 0.02) 42%, rgba(8, 10, 12, 0.48) 76%, var(--glass) 100%);
}

.hero-window-content {
  position: relative;
  z-index: 2;
}

.arch-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: -10px auto 0;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.92)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95));
}

.script-subline {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(1.75rem, 6.2vw, 3.0rem);
  line-height: 1.18;
  color: #FFF6E5;
  margin-top: -6px;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.window-intro-below {
  text-align: center;
  padding: 4px 8px 14px;
}

.ornament-divider {
  width: 100%;
  max-width: 300px;
  height: 18px;
  margin: 6px auto 14px;
  display: block;
}

.window-lead {
  max-width: 62ch;
  margin: 0 auto 10px;
  font-size: 1.02rem;
  color: var(--fg);
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-photo-note--edel {
  display: inline-block;
  font-size: 0.72rem;
  color: #F5EFE0;
  background: rgba(8, 10, 12, 0.72);
  padding: 3px 10px;
  border: 1px solid rgba(229, 193, 104, 0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Vertrauensleiste */
.trust-strip--edel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 10px 14px;
  margin: 0 auto 18px;
  max-width: 780px;
  border-top: 1px solid rgba(229, 193, 104, 0.32);
  border-bottom: 1px solid rgba(229, 193, 104, 0.32);
  background: rgba(229, 193, 104, 0.05);
  font-size: 0.88rem;
  color: var(--fg);
  letter-spacing: 0.03em;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-item .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* Türschild-Plakette mit Heute-Geöffnet & Puls-Punkt */
.door-plaque {
  max-width: 720px;
  margin: 0 auto 26px;
  border-top: 1px solid rgba(229, 193, 104, 0.45);
  border-bottom: 1px solid rgba(229, 193, 104, 0.45);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.door-status {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .door-plaque[data-state="open"] .status-dot {
    animation: goldPulse 1.9s ease-in-out infinite;
  }
}
@keyframes goldPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.45; }
}

.cta-row--edel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 360px;
}
@media (min-width: 600px) {
  .cta-row--edel {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
  }
}

.btn-gilt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--gold);
  color: #14110B;
  background: var(--gold-grad);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.btn-gilt.btn-gilt-outline {
  background: rgba(229, 193, 104, 0.1);
  color: var(--fg);
}
.btn-gilt .ph {
  color: inherit;
  border-bottom-color: currentColor;
}
.btn-gilt:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.window-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 10px;
}
@media (min-width: 860px) {
  .window-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 38px;
    align-items: start;
  }
}

/* Blattgold-Überschrift (einzige erlaubte Farbverlauf-Schrift laut Spezifikation) */
h2.gilt-heading {
  font-family: 'Gloock', serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 18px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.window-grid > section:first-child h2.gilt-heading:first-child,
.window-grid > div > section:first-child h2.gilt-heading:first-child {
  margin-top: 0;
}

/* Sich ziehende feine Goldlinie beim Scrollen */
.gold-rule-draw {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(229, 193, 104, 0.25) 100%);
  margin-bottom: 12px;
  transform-origin: left center;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gold-rule-draw {
      animation: drawGoldLine linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
    .reveal-block {
      animation: softGlassFade linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
  }
}
@keyframes drawGoldLine {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes softGlassFade {
  0% { transform: translateY(14px); }
  100% { transform: translateY(0); }
}

.gold-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 22px;
}
@media (min-width: 560px) {
  .gold-menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gold-menu-item {
  padding: 9px 0;
  border-bottom: 1px solid rgba(229, 193, 104, 0.25);
}
.gold-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}
.gm-name {
  color: var(--fg);
}
.gm-hint {
  color: var(--companion);
  font-size: 0.84rem;
}
.gm-price {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.door-hours {
  border: 1px solid rgba(229, 193, 104, 0.45);
  background: var(--panel);
  padding: 16px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.hours-table th,
.hours-table td {
  padding: 6px 4px;
  text-align: left;
  border-bottom: 1px solid rgba(229, 193, 104, 0.16);
  color: var(--fg);
}
.hours-table td {
  text-align: right;
}
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--gold);
  font-weight: 600;
  background: rgba(229, 193, 104, 0.12);
  padding-left: 8px;
  padding-right: 8px;
}
.hours-note {
  font-size: 0.8rem;
  color: var(--companion);
  margin-top: 10px;
}

.etch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.etch-item {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(229, 193, 104, 0.22);
}
.etch-item dt {
  color: var(--companion);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.etch-item dd {
  color: var(--fg);
  font-size: 0.94rem;
  margin-top: 2px;
}

/* PayPal Block */
.paypal-section--edel {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(229, 193, 104, 0.5);
  background: var(--panel);
}
.paypal-section--edel h2.gilt-heading {
  margin-top: 0;
}
.paypal-desc {
  font-size: 0.94rem;
  color: var(--fg);
  margin-bottom: 14px;
}
.paypal-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.paypal-amounts {
  display: inline-flex;
  gap: 8px;
}
.paypal-amt-btn {
  padding: 9px 14px;
  font-family: 'Gloock', serif;
  font-size: 1rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.paypal-amt-btn.is-active {
  background: var(--gold-grad);
  color: #14110B;
  font-weight: 600;
}
.pay-provider {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.92;
  margin-left: 3px;
}
.paypal-privacy-note {
  font-size: 0.78rem;
  color: var(--companion);
  margin-top: 10px;
}

/* Galerie: Goldgerahmte Schaukästen (Vitrinen) */
.gallery-section--edel {
  margin-top: 28px;
}
.gallery-stage--edel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
}
@media (min-width: 680px) {
  .gallery-stage--edel {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.gallery-stage--edel .gallery-item {
  border: 1px solid rgba(229, 193, 104, 0.55);
  outline: 1px solid rgba(229, 193, 104, 0.22);
  outline-offset: -5px;
  background: var(--panel);
  padding: 8px;
}
.gallery-stage--edel .gallery-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(229, 193, 104, 0.3);
}
.gallery-stage--edel .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-stage--edel .gallery-caption {
  padding: 10px 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-stage--edel .gallery-occasion {
  font-family: 'Gloock', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--gold);
}
.gallery-stage--edel .gallery-sub {
  font-size: 0.86rem;
  color: var(--fg);
}
.sample-photo-note {
  font-size: 0.78rem;
  color: var(--companion);
  margin-top: 8px;
}

/* Anfahrt */
.map-section {
  margin-top: 28px;
}
.kiez-map {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}
.map-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--fg);
}
.gilt-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

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

.window-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(229, 193, 104, 0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--companion);
}
.window-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.window-footer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feste Handy-Aktionsleiste unten */
.mobile-dock--edel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0D0E0D;
  border-top: 1px solid var(--gold);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.65);
}
@media (min-width: 760px) {
  .mobile-dock--edel {
    display: none;
  }
}
.mobile-dock--edel .dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 4px;
  color: var(--fg);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-right: 1px solid rgba(229, 193, 104, 0.25);
}
.mobile-dock--edel .dock-btn--primary {
  background: var(--gold-grad);
  color: #14110B;
}
.mobile-dock--edel .dock-btn .icon {
  width: 16px;
  height: 16px;
}
