/* Musik in Paris 2027 — Version 3.1 „Gold“
   Feinschliff über dem bestehenden Design: goldenes Studio-Logo mit Glanz,
   goldene Haarlinien, edlere Buttons, ruhige Bewegung. Layout und Inhalte unverändert. */

:root {
  --gold-1: #6f4f1c;
  --gold-2: #a8823f;
  --gold-3: #d8bc87;
  --gold-4: #f3e3bd;
  --gold-grad: linear-gradient(120deg, #7a5822 0%, #b8914b 28%, #ecd6a2 48%, #b8914b 66%, #7a5822 100%);
}

/* ---------- Papier: kaum sichtbares Korn für eine haptische Fläche ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Goldenes Logo mit Glanz ---------- */
.brand { position: relative; isolation: isolate; }
.brand img { content: url("studio-logo-gold.webp"); filter: drop-shadow(0 2px 3px rgba(111, 79, 28, .25)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s; }
.brand::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 249, 228, .15) 40%, rgba(255, 253, 244, 1) 50%, rgba(255, 249, 228, .15) 60%, transparent 66%);
  background-size: 260% 100%; background-position: 135% 0; background-repeat: no-repeat;
  -webkit-mask: url("studio-logo-gold.webp") center / contain no-repeat; mask: url("studio-logo-gold.webp") center / contain no-repeat;
  animation: gold-shine 1.6s cubic-bezier(.4, 0, .2, 1) .9s 1 both;
}
.footer-brand::after { width: 40px; height: 40px; margin-top: -20px; animation: none; }
.brand:hover img, .brand:focus-visible img { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 3px 8px rgba(168, 130, 63, .45)); }
.brand:hover::after, .brand:focus-visible::after { animation: gold-shine-hover 1.1s cubic-bezier(.4, 0, .2, 1) 1 both; }
@keyframes gold-shine { from { background-position: 135% 0; } to { background-position: -35% 0; } }
@keyframes gold-shine-hover { from { background-position: 135% 0; } to { background-position: -35% 0; } }

/* „AI“ im Schriftzug in Gold */
.brand-ai {
  background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  transition: background-position .9s ease;
}
.brand:hover .brand-ai { background-position: 100% 0; }

/* ---------- Goldene Haarlinien und Ornamente ---------- */
.site-header { border-bottom: 0 !important; box-shadow: 0 1px 0 rgba(168, 130, 63, .28); backdrop-filter: saturate(140%) blur(10px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(100deg, #6f4f1c 0%, #9a7535 45%, #b08840 55%, #7a5822 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { content: ""; width: 26px; height: 1px; flex: 0 0 auto; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.film-section .eyebrow { background: linear-gradient(120deg, #c9a868, #f3e3bd, #c9a868); -webkit-background-clip: text; background-clip: text; }
.film-section { box-shadow: inset 0 1px 0 rgba(216, 188, 135, .35), inset 0 -1px 0 rgba(216, 188, 135, .25); }
h1 em, h2 em { text-shadow: 0 0 0 transparent; }

/* ---------- Buttons: Pflaume mit Goldkante und Glanz ---------- */
.button { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.button-primary {
  background: linear-gradient(180deg, #6e3550 0%, #5b293d 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(216, 188, 135, .55), 0 8px 22px rgba(99, 47, 68, .22) !important;
}
.button-primary::after, .button-outline::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(243, 227, 189, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s cubic-bezier(.4, 0, .2, 1);
}
.button-primary:hover, .button-primary:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(236, 214, 162, .85), 0 14px 30px rgba(99, 47, 68, .3) !important; }
.button-primary:hover::after, .button-outline:hover::after, .button-primary:focus-visible::after { transform: translateX(120%); }
.button-outline { border-color: var(--gold-3) !important; }
.button-outline:hover { border-color: var(--gold-2) !important; background: #fffaf0 !important; }

/* ---------- Bilder: Goldrahmen, sanftes Anheben ---------- */
.hero-photo, .closing-book, .author-portrait, .art-piece {
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s;
}
.hero-photo { box-shadow: 0 0 0 1px rgba(216, 188, 135, .7), 0 0 0 7px #fffdf8, 0 0 0 8px rgba(168, 130, 63, .35), 0 30px 60px -20px rgba(50, 44, 42, .35) !important; }
.hero-figure:hover .hero-photo { transform: translateY(-4px) rotate(-.4deg); }
.art-piece:hover { transform: translateY(-6px) rotate(-1deg) !important; box-shadow: 0 26px 50px -18px rgba(50, 44, 42, .45); }
.author-portrait { box-shadow: 0 0 0 1px rgba(216, 188, 135, .8), 0 18px 40px -16px rgba(50, 44, 42, .35); }
.closing-book { animation: book-float 7s ease-in-out infinite; }
@keyframes book-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }

/* ---------- Abschluss: warmes Licht hinter dem Buch ---------- */
.closing-section { position: relative; overflow: hidden; }
.closing-section::before {
  content: ""; position: absolute; width: 620px; height: 620px; left: 6%; top: 50%; margin-top: -310px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(243, 227, 189, .75) 0%, rgba(243, 227, 189, 0) 65%);
}
.closing-inner { position: relative; }

/* ---------- FAQ und Tabs: goldene Akzente ---------- */
.faq-section details[open] summary { color: var(--plum); }
.gallery-tabs [aria-selected="true"], .gallery-tabs [data-state="active"] { box-shadow: inset 0 -2px 0 var(--gold-2); }

/* ---------- Bestellleiste mobil ---------- */
.mobile-buy { box-shadow: 0 -1px 0 rgba(216, 188, 135, .5), 0 -12px 30px rgba(50, 44, 42, .12); }

@media (max-width: 760px) {
  .closing-section::before { width: 380px; height: 380px; margin-top: -190px; left: -20%; }
  .eyebrow::before { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand::after, .closing-book { animation: none !important; }
  .button-primary::after, .button-outline::after { display: none; }
  .hero-figure:hover .hero-photo, .art-piece:hover, .button-primary:hover { transform: none !important; }
}
@media print { body::before { display: none; } }
