/* Studio Sessions Magazin – Farben und Schrift aus dem Plakat der Studio Sessions */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-VF.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; }

:root {
  --bg: #7b739c; --bg-deep: #5f5785; --pink: #e0adc1; --pink-ink: #f3c3d7; --ink: #3f3763;
  --paper: #f6f1ea; --white: #fff; --muted: rgba(255,255,255,.72); --line: rgba(255,255,255,.28);
  --funk: #f4ae86; --disco: #f3aacb; --italo: #a9c7f2; --house: #f3d983;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Archivo", system-ui, sans-serif; color: var(--white); background: var(--bg);
  min-height: 100vh; overflow-x: hidden;
}
.ir { text-transform: none !important; }
button, input { font: inherit; }

.top, .foot { display: flex; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px);
  font-size: 11px; font-weight: 700; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot { flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 64px; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.label { font-size: 11px; font-weight: 800; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
/* Einstieg: links ruhige Papierfläche, rechts die Wand aus allen Covern */
/* gleiche Größe wie das aufgeschlagene Magazin: zwei gleich breite Hälften */
.hero { display: grid; grid-template-columns: 1fr 1fr; width: min(1040px, 92vw, (100vh - 230px) * 1.6); aspect-ratio: 8 / 5; margin: 8px auto 0; }
.hero-text { container-type: inline-size; background: var(--paper); color: var(--ink); padding: 7% 9%; display: flex; flex-direction: column; justify-content: center; }
.hero-text .label { color: var(--bg); }
.hero h1 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 12.5cqw; line-height: .88; margin: 4cqw 0 4.5cqw; letter-spacing: -.01em; }
.hero h1 span { color: var(--pink); }
.lead { font-size: max(13px, 3.2cqw); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 6cqw; flex-wrap: wrap; }
.cta.inline { display: inline-block; width: auto; text-decoration: none; background: var(--ink); color: #fff; }
.cta.inline:hover { background: var(--bg); }
.link { border: 0; background: none; color: var(--ink); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; cursor: pointer; }
.wall { background: #141414; display: grid; grid-auto-flow: dense; align-content: center; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px; padding: 6px; overflow: hidden; }
.wall > div { position: relative; overflow: hidden; aspect-ratio: 1; }
.wall > div.big { grid-column: span 2; grid-row: span 2; }
.wall img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.wall > div:hover img { transform: scale(1.04); }

/* Lesebühne: dunkler Grund wie ein Leseraum */
.reader { margin-top: clamp(48px, 7vw, 88px); background: #2b2545; padding: clamp(36px, 5vw, 56px) 12px clamp(28px, 4vw, 44px); text-align: center; }
.reader-title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); margin-top: 6px; }
.reader-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stack { position: absolute; top: 0; height: 100%; width: 50%; background: #e9e2d7; z-index: 0; pointer-events: none; transition: box-shadow .5s ease, opacity .25s ease; }
.stack.l { left: 0; } .stack.r { left: 50%; }

/* ---------- Buch ---------- */

.stage { width: 100%; display: flex; justify-content: center; perspective: 2600px; padding: 12px 0 8px; }
.book {
  --w: min(1040px, 92vw, (100vh - 230px) * 1.6); position: relative; width: var(--w); aspect-ratio: 8 / 5;
  transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1);
}
.book.closed-front { transform: translateX(-25%); }
.book.closed-back  { transform: translateX(25%); }
.leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-origin: left center; transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.35,.6,.25,1); cursor: pointer;
}
.leaf.turned { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face.back { transform: rotateY(180deg); }
/* Schatten liegen fest auf dem Buch, nicht auf den drehenden Blättern – so bleibt die Mitte beim Blättern ruhig */
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #000; opacity: 0; transition: opacity .45s ease; }
.leaf.moving .face::after { opacity: .08; }
.gutter { position: absolute; top: 0; left: 50%; width: 9%; height: 100%; transform: translateX(-50%) translateZ(1px); pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,.07) 30%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.07) 70%, rgba(0,0,0,0) 100%); transition: opacity .5s ease; }
.book.closed-front .gutter, .book.closed-back .gutter { opacity: 0; }

/* ---------- Magazinseiten (Maße skalieren mit der Seitenbreite) ---------- */
.page { container-type: inline-size; position: absolute; inset: 0; background: var(--paper); color: var(--ink); }
.page .pad { position: absolute; inset: 7cqw 8cqw; display: flex; flex-direction: column; }
.pg-num { position: absolute; bottom: 4.5cqw; font-size: 2.6cqw; font-weight: 700; font-stretch: 125%; letter-spacing: .1em; color: rgba(63,55,99,.55); }
.face.front .pg-num { right: 6cqw; } .face.back .pg-num { left: 6cqw; }
.run { font-size: 2.4cqw; font-weight: 700; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: rgba(63,55,99,.6); }

.p-cover { background: var(--bg); color: var(--white); }
.p-cover .kicker { font-size: 3cqw; font-weight: 700; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
.p-cover .title { font-size: 12.5cqw; font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .9; margin-top: 3cqw; }
.p-cover .vol { font-size: 5cqw; font-weight: 300; text-transform: uppercase; margin-top: 2cqw; }
.p-cover .pad { inset: 7cqw 8cqw auto 8cqw; }
.p-cover .genres { font-size: 2.9cqw; font-weight: 700; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-ink); margin-top: 2.2cqw; }
.p-cover .mosaic { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; background: var(--bg); padding-top: .8cqw; }
.p-cover .mosaic img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; }
.p-cover .band { gap: 4cqw; margin: 5cqw -8cqw 0; padding: 2.4cqw 8cqw; font-size: 3.6cqw; }


.dot { display: inline-block; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; vertical-align: middle; margin-right: 1.2cqw; }


.p-back { background: var(--bg); color: var(--white); }
.p-back .pad { justify-content: center; align-items: center; text-align: center; }
.p-back .big { font-size: 8cqw; font-stretch: 72%; font-weight: 850; line-height: 1.05; }
.p-back .small { font-size: 3cqw; color: var(--muted); margin-top: 4cqw; line-height: 1.6; }

/* ---------- Steuerung ---------- */
.controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer; transition: background .2s; }
.nav:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.nav:disabled { opacity: .35; cursor: default; }
.counter { min-width: 150px; text-align: center; font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; }
.hint { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Kaufen ---------- */
.buy { margin-top: clamp(40px, 6vw, 72px); }
.band { display: flex; justify-content: space-between; background: var(--pink); color: #fff; padding: 10px clamp(16px, 3vw, 28px);
  font-size: 14px; font-weight: 900; font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; }
.buy-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 28px 0 0; }
.buy h2 { font-size: clamp(24px, 3vw, 34px); font-stretch: 72%; font-weight: 850; margin-bottom: 14px; }
.facts { list-style: none; }
.facts li { border-top: 1px solid var(--line); padding: 10px 0; font-size: 15px; display: flex; gap: 12px; }
.facts li b { width: 120px; flex: none; font-size: 11px; font-weight: 800; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-ink); padding-top: 3px; }
.price-box { background: rgba(255,255,255,.08); border-top: 4px solid var(--pink); border-radius: 0 0 10px 10px; padding: 24px; align-self: start; }
.price { font-size: clamp(40px, 5vw, 56px); font-weight: 900; font-stretch: 125%; line-height: 1; }
.price-note { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.cta { width: 100%; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); padding: 15px 22px;
  font-size: 15px; font-weight: 900; font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: transform .15s, background .2s; }
.cta:hover { background: var(--pink-ink); transform: translateY(-1px); }
.cta.small { width: auto; padding: 12px 22px; font-size: 13px; }

/* ---------- Bestelldialog ---------- */
dialog { margin: auto; border: 0; border-radius: 14px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(20,10,50,.5); }
dialog::backdrop { background: rgba(40,32,70,.6); backdrop-filter: blur(3px); }
#order-form { padding: 22px clamp(18px, 4vw, 28px) 20px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; }
.dlg-head h2 { font-size: 22px; font-stretch: 125%; font-weight: 900; text-transform: uppercase; }
.close { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.steps { list-style: none; display: flex; gap: 6px; margin: 16px 0 20px; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: 11px; font-weight: 800; font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(63,55,99,.45); border-top: 3px solid rgba(63,55,99,.15); padding-top: 6px; }
.steps li::before { content: counter(s) " "; }
.steps li.on { color: var(--ink); border-color: var(--bg); }
.step { border: 0; }
.step legend { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.step label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.step input:not([type=radio]):not([type=checkbox]) { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid rgba(63,55,99,.25);
  border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; }
.step input:focus-visible, .choice:focus-within { outline: 2px solid var(--bg); outline-offset: 1px; }
.step input.invalid { border-color: #c0406a; background: #fff3f6; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row { display: flex !important; justify-content: space-between; align-items: center; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(63,55,99,.25); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty input { width: 64px !important; margin: 0 !important; text-align: center; }
.choices { display: grid; gap: 10px; }
.choice { display: flex !important; gap: 12px; align-items: flex-start; border: 1px solid rgba(63,55,99,.2); border-radius: 10px; padding: 12px 14px; cursor: pointer; margin: 0 !important; background: #fff; }
.choice:has(input:checked) { border-color: var(--bg); box-shadow: inset 0 0 0 1px var(--bg); }
.choice input { margin-top: 3px; accent-color: var(--bg); }
.choice b { display: block; font-size: 15px; } .choice small { display: block; font-size: 13px; font-weight: 400; color: rgba(63,55,99,.7); margin-top: 2px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin-bottom: 16px; }
.summary dt { color: rgba(63,55,99,.65); } .summary dd { text-align: right; font-weight: 600; }
.summary { column-gap: 0; } .summary dd { padding-left: 16px; }
.summary .total { border-top: 1px solid rgba(63,55,99,.2); padding-top: 8px; font-size: 17px; font-weight: 900; color: var(--ink); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 3px; accent-color: var(--bg); }
.check a { color: var(--bg-deep); }
.error { min-height: 18px; color: #b0305a; font-size: 13px; margin-top: 4px; }
.dlg-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ghost { border: 0; background: none; color: var(--ink); font-weight: 700; cursor: pointer; padding: 10px 4px; }
.ghost[hidden] { display: inline-block; visibility: hidden; }
.done { text-align: center; padding: 10px 0 6px; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 32px; line-height: 64px; font-weight: 900; }
.done h3 { font-size: 22px; font-stretch: 72%; font-weight: 850; margin-bottom: 8px; }
.done p { font-size: 15px; line-height: 1.55; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; width: auto; aspect-ratio: auto; }
  .hero-text { padding: 28px clamp(16px, 5vw, 32px); }
  .hero h1 { font-size: clamp(36px, 11vw, 64px); }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .wall > div.big { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 720px) {
  .hero { margin: 0; }
  .lead { font-size: 15px; }
  .nav#first { display: none; }
  .buy-grid { grid-template-columns: 1fr; }
  .facts li b { width: 96px; }
  .top .meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .leaf, .book { transition: none; } }

.steps[hidden], .ship-only[hidden], .pickup-only[hidden] { display: none !important; }

/* Weicher Übergang vom Einstieg zum Magazin */
html { scroll-behavior: smooth; }
.reader { position: relative; background: linear-gradient(180deg, rgba(43,37,69,0) 0, #2b2545 140px, #2b2545 calc(100% - 110px), rgba(43,37,69,0) 100%); padding-top: clamp(110px, 12vw, 150px); padding-bottom: clamp(90px, 10vw, 120px); margin-top: 0; }
.reader > * { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reader.pre > * { opacity: 0; transform: translateY(28px); }
.reader.pre .stage { transform: translateY(40px) scale(.97); }
.reader > *:nth-child(2) { transition-delay: .05s; } .reader > *:nth-child(3) { transition-delay: .1s; }
.reader > .stage { transition-delay: .15s; } .reader > .controls, .reader > .hint { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reader > * { transition: none; } .reader.pre > * { opacity: 1; transform: none; } }


/* Foto-Seiten: das Foto füllt die Seite, darunter klein der Name */
.p-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.p-photo .who { position: absolute; right: 6cqw; bottom: 5.5cqw; font-size: 2.6cqw; font-weight: 600; letter-spacing: .01em; color: #2b2545; }

/* Kollaboration unter dem Einstieg */
.collab { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin: 26px 16px 0; }
.collab-label { font-size: 11px; font-weight: 800; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-ink); }
.collab a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: background .2s; }
.collab a:hover { background: rgba(255,255,255,.16); }

/* Erste Seite: füllt den Bildschirm, damit darunter nichts hineinragt */
.first { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 24px; }
.first .collab { margin-top: 26px; }
/* Der Lesebereich ist höher als der Bildschirm, seine Verläufe bleiben beim Lesen außerhalb */
.reader { min-height: calc(100vh + 240px); display: flex; flex-direction: column; justify-content: center; }

/* Kaufen und Reservieren */
.cta.second { margin-top: 10px; background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.cta.second:hover { background: rgba(255,255,255,.14); }
.price-note.after { margin: 12px 0 0; }
.foot-links { display: flex; gap: 14px; } .foot-links a { color: inherit; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.steps li[hidden], .kauf-only[hidden] { display: none; }
.cta.pay { margin-top: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.reader-sub { max-width: 520px; margin-left: auto; margin-right: auto; }

/* Textseiten (Impressum, Datenschutz, Bestätigungen, Verwaltung) */
.doc { max-width: 1000px; margin: 0 auto; padding: 48px 20px 64px; line-height: 1.55; }
.doc h1 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4vw, 40px); margin-bottom: 18px; }
.doc h2 { margin: 28px 0 10px; font-size: 20px; }
.doc p { margin-bottom: 14px; } .doc a { color: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.doc .hinweis { background: rgba(255,255,255,.14); padding: 10px 14px; border-radius: 8px; }
.doc .offen { background: var(--pink); color: var(--ink); padding: 2px 6px; font-weight: 700; }

/* Startseite: drei gleich große Knöpfe */
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 400px; }
.hero-actions .btn.dark { grid-column: 1 / -1; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink);
  font: inherit; font-size: 12.5px; font-weight: 900; font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.pink { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.btn.pink:hover { background: var(--pink-ink); border-color: var(--pink-ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .hero-actions { max-width: none; } }
@media (max-width: 360px) { .hero-actions { grid-template-columns: 1fr; } }

/* Ohne Preis: Kauf-Knöpfe ausgeblendet, Reservieren füllt die Zeile */
.btn[hidden], .cta[hidden], .nav[hidden] { display: none !important; }
.hero-actions:has(.btn.pink[hidden]) .btn.line { grid-column: 1 / -1; }

/* Demo: nur das Magazin, bildschirmfüllend */
body.demo { background: #2b2545; overflow: hidden; }
body.demo .first, body.demo main, body.demo .foot, body.demo .reader > :not(.stage), body.demo dialog { display: none !important; }
body.demo .reader { min-height: 100vh; margin: 0; padding: 0; background: #2b2545; display: flex; align-items: center; justify-content: center; }
body.demo .reader > * { opacity: 1 !important; transform: none !important; }
body.demo .book { --w: min(96vw, (100vh - 40px) * 1.6); }
