/* Fellgeliebt /atelier/ — die persönliche Galeriewand.
   Dunkler Salon in der Blauen Stunde, Goldrahmen mit Messingschildern,
   Kerzenlicht-Glow. Sammel-Leiste unten für Paket-Auswahl. */

/* ---------- Kopfleiste (wie /portrait/) ---------- */
.kopfleiste {
  background: var(--abend);
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem var(--pad-x);
}
.kopfleiste .wortmarke { color: var(--papier); }
.kopfleiste__links { display: flex; align-items: center; gap: 1.6rem; }
.kopfleiste__links a {
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  color: rgba(242,236,225,0.82); border-bottom: 1px dashed rgba(242,236,225,0.35);
  padding-bottom: 1px;
}
.kopfleiste__links a:hover { color: var(--gold); border-color: var(--gold); }
.kopfleiste__links .kopfleiste__cta {
  color: var(--gold); border: 1.5px solid rgba(223,167,92,0.55); border-radius: 999px;
  padding: 0.4rem 0.95rem;
}
.kopfleiste__links .kopfleiste__cta:hover { background: rgba(223,167,92,0.12); }
@media (max-width: 560px) {
  .kopfleiste__links { gap: 0.9rem; }
  .kopfleiste__links a { font-size: 0.8rem; }
  .kopfleiste__links a:not(.kopfleiste__cta):nth-child(2) { display: none; }
}

/* ---------- Salon ---------- */
.atelier {
  position: relative;
  background:
    radial-gradient(1000px 620px at 22% 8%, rgba(223,167,92,0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 70%, rgba(143,168,200,0.07), transparent 60%),
    linear-gradient(180deg, #202c35 0%, var(--abend) 30%, #1f2a33 100%);
  color: var(--papier);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem);
  min-height: 70vh;
}
.atelier__kopf { max-width: 46rem; }
.atelier__h1 {
  font-family: var(--display); font-weight: 500;
  font-size: var(--fs-h1); line-height: 1.05; margin: 0.7rem 0 1.1rem;
}
.atelier__h1 em { font-style: italic; color: var(--gold); }
.atelier__sub { color: rgba(242,236,225,0.88); max-width: 38rem; }
.atelier__sub strong { color: var(--gold); font-weight: 600; }
.atelier__privat { margin-top: 0.9rem; font-size: 0.84rem; color: rgba(242,236,225,0.55); }

/* ---------- Galeriewand ---------- */
.wand {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(1.6rem, 3.5vw, 2.8rem);
  margin-top: clamp(2.4rem, 5vw, 3.8rem);
}
@media (max-width: 560px) {
  .wand { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.1rem; }
  .werk__rahmen { border-width: 6px; }
  .werk__schild { font-size: 0.7rem; padding: 0.28rem 0.6rem 0.32rem; }
  .werk__link { font-size: 0.76rem; }
}
/* Platz für die fixe Sammel-Leiste, sobald sie sichtbar ist */
body.hat-leiste .atelier { padding-bottom: 11rem; }
.werk { position: relative; display: flex; flex-direction: column; align-items: center; }
.werk::before {
  /* Kerzenlicht hinter dem Rahmen */
  content: ''; position: absolute; inset: -12% -14% auto; height: 82%;
  background: radial-gradient(closest-side, rgba(223,167,92,0.16), transparent 75%);
  pointer-events: none;
}
.werk__rahmen {
  position: relative; display: block; width: 100%;
  padding: 0; cursor: pointer;
  border: 8px solid #B98B52;
  border-image: linear-gradient(160deg, #CFA06A, #96683A 55%, #C39A63) 1;
  background: var(--daemmer);
  box-shadow: 0 18px 44px rgba(0,0,0,0.42), 0 0 60px rgba(223,167,92,0.10);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s;
}
.werk__rahmen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.werk__rahmen:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0,0,0,0.5), 0 0 70px rgba(223,167,92,0.16); }
.werk__rahmen:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.werk__haken {
  position: absolute; top: 0.55rem; right: 0.55rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 700; color: var(--tinte);
  background: var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s cubic-bezier(.22,1,.36,1);
}
.werk__rahmen--gewaehlt { box-shadow: 0 0 0 3px var(--gold), 0 18px 44px rgba(0,0,0,0.42); }
.werk__rahmen--gewaehlt .werk__haken { opacity: 1; transform: scale(1); }

.werk__schild {
  margin-top: 0.85rem; padding: 0.32rem 0.9rem 0.38rem;
  text-align: center; font-size: 0.8rem; line-height: 1.35;
  color: #3A2B1A;
  background: linear-gradient(165deg, #E2C084, #B98B52 62%, #D3AB70);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,244,220,0.55), inset 0 -1px 2px rgba(58,43,26,0.35), 0 3px 8px rgba(0,0,0,0.3);
  text-shadow: 0 1px 0 rgba(255,244,220,0.4);
}
.werk__schild strong { font-weight: 700; }
.werk__schild small { display: block; font-size: 0.68rem; opacity: 0.75; }

.werk__link {
  margin-top: 0.6rem; font-size: 0.82rem; font-weight: 600;
  color: rgba(242,236,225,0.78); text-decoration: none;
  border-bottom: 1px dashed rgba(242,236,225,0.35); padding-bottom: 1px;
}
.werk__link:hover { color: var(--gold); border-color: var(--gold); }

.wand__hinweis {
  margin-top: 2rem; font-size: 0.88rem; color: rgba(242,236,225,0.62); max-width: 40rem;
}

/* ---------- Leerzustand ---------- */
.leer { text-align: center; padding: clamp(2rem, 6vw, 4rem) 0 1rem; }
.leer__rahmen {
  position: relative; width: min(240px, 62vw); aspect-ratio: 4 / 5;
  margin: 0 auto 1.8rem; overflow: hidden;
  border: 8px solid #B98B52;
  border-image: linear-gradient(160deg, #CFA06A, #96683A 55%, #C39A63) 1;
  background:
    radial-gradient(closest-side at 50% 42%, rgba(223,167,92,0.14), transparent 80%),
    var(--daemmer);
  box-shadow: 0 18px 44px rgba(0,0,0,0.42);
  display: grid; place-items: center;
}
.leer__platzhalter {
  font-family: var(--display); font-style: italic; font-size: 1.25rem;
  color: rgba(242,236,225,0.42); line-height: 1.3;
}
.leer__schimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(242,236,225,0.07) 48%, transparent 62%);
  background-size: 260% 100%;
  animation: schimmer 4.5s ease-in-out infinite;
}
@keyframes schimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .leer__schimmer { animation: none; } }
.leer__titel {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
}
.leer__text { max-width: 32rem; margin: 0 auto 1.7rem; color: rgba(242,236,225,0.85); }

/* ---------- Themen-Teaser ---------- */
.atelier__themen {
  margin-top: clamp(3.2rem, 7vw, 5rem);
  padding: 1.4rem 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid rgba(223,167,92,0.3); border-radius: 14px;
  background: rgba(223,167,92,0.06);
}
.atelier__themen-text { max-width: 38rem; color: rgba(242,236,225,0.85); font-size: 0.95rem; }
.atelier__themen-text strong { color: var(--gold); }
/* Inline-Links im Gold-Muster der Seite — nie Browser-Blau */
.atelier__themen-text a {
  color: var(--gold); font-weight: 600; text-decoration: none;
  border-bottom: 1px dashed rgba(223,167,92,0.55); padding-bottom: 1px;
}
.atelier__themen-text a:hover { border-bottom-style: solid; }
.atelier__themen-link {
  font-weight: 600; color: var(--gold); text-decoration: none;
  border-bottom: 1px dashed rgba(223,167,92,0.55); padding-bottom: 1px; white-space: nowrap;
}
.atelier__themen-link:hover { border-bottom-style: solid; }

/* ---------- Sammel-Leiste ---------- */
.sammelleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0.9rem var(--pad-x) calc(0.9rem + env(safe-area-inset-bottom));
  background: rgba(32,42,51,0.92); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(223,167,92,0.35);
}
.sammelleiste[hidden] { display: none; }
.sammelleiste__blatt {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.sammelleiste__info { color: var(--papier); font-size: 0.92rem; line-height: 1.4; }
.sammelleiste__info strong { display: block; font-size: 1.02rem; }
.sammelleiste__info span { color: rgba(242,236,225,0.72); }
@media (max-width: 560px) {
  .sammelleiste__blatt { flex-direction: column; align-items: stretch; text-align: center; }
  .sammelleiste .btn { width: 100%; }
}

/* ---------- Footer-Anschluss ---------- */
.seite-atelier .fuss { border-top: 1px solid rgba(242,236,225,0.08); }
