/* The app – styles. Night blue, gold, soft, calm. Display: Cormorant Garamond; UI: Atkinson Hyperlegible. */
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #060818; --bg2: #0b0e1f; --ink: #f2ede4; --ink2: rgba(242, 237, 228, .74); --ink3: rgba(242, 237, 228, .52);
  --gold: #e9b866; --gold2: #f6d9a6; --line: rgba(255, 255, 255, .1); --glass: rgba(16, 18, 34, .56);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif; --sans: "Atkinson", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 16px; --r: 20px;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); font: 16px/1.5 var(--sans); background:
  radial-gradient(120% 60% at 50% -10%, #1c2350 0%, rgba(28, 35, 80, 0) 60%), radial-gradient(80% 50% at 100% 30%, rgba(70, 50, 110, .16), transparent 70%), var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--gold2); }
button { font: inherit; color: inherit; }
i { font-style: italic; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; line-height: 1.08; margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #120d05; padding: 8px 14px; border-radius: 99px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--st)) max(var(--pad), calc((100% - 1240px) / 2 + var(--pad))) 10px; background: linear-gradient(rgba(5, 6, 13, .85), rgba(5, 6, 13, 0)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 500 23px/1 var(--serif); }
.brand .mark { width: 32px; height: 32px; color: var(--gold); filter: drop-shadow(0 0 6px rgba(233, 184, 102, .45)); flex: 0 0 auto; }
.mark .cloud { fill: #ece9f6; }
.wordmark { font: 500 25px/1 var(--serif); letter-spacing: .005em; }
.wordmark i { font-weight: 500; }
/* the always visible Premium button (header); "Premium aktiv" once this device has Premium */
.prem-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px 0 12px; border-radius: 99px; text-decoration: none;
  color: #1a1206; font-weight: 700; font-size: 14.5px; background: linear-gradient(180deg, #f6d9a6, #e3a95a); box-shadow: 0 6px 22px -8px rgba(233, 184, 102, .6); white-space: nowrap; }
.prem-btn .spark { width: 16px; height: 16px; fill: currentColor; }
.prem-btn.on { background: rgba(233, 184, 102, .1); color: var(--gold2); border: 1px solid rgba(233, 184, 102, .55); box-shadow: none; }
@media (max-width: 380px) { .wordmark { font-size: 22px; } .prem-btn { padding: 0 12px 0 10px; font-size: 13.5px; } .top-r { gap: 4px; } }
@media (max-width: 440px) { .install-pill { display: none !important; } .top-r .prem-btn ~ .app-pill { display: none; } }
.top .pill { white-space: nowrap; }
.top-r { display: flex; align-items: center; gap: 8px; }
.ic { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.ic svg { width: 24px; height: 24px; }
.ic svg path, .ic svg rect { fill: currentColor; }
.ic svg [fill="none"] { fill: none; }
.glass { background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill { border: 1px solid rgba(233, 184, 102, .5); background: rgba(233, 184, 102, .08); color: var(--gold2); border-radius: 99px; padding: 8px 14px; font-size: 14px; cursor: pointer; }

/* ------------------------------------------------------------------ home */
.home { padding-bottom: calc(96px + var(--sb)); max-width: 1240px; margin: 0 auto; }
.hero { position: relative; margin: 4px var(--pad) 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 72vh; isolation: isolate;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.hero-art, .stage { position: absolute; inset: 0; }
.hero-art { background: linear-gradient(170deg, var(--a), var(--b) 55%, var(--c)); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.stage canvas.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 6, 13, 0) 40%, rgba(5, 6, 13, .78)); pointer-events: none; }
.hero-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 24px; }
.greet { margin: 0 0 2px; color: var(--ink3); font-size: 14px; }
.kicker { margin: 0 0 6px; color: var(--gold); font: italic 500 18px/1.2 var(--serif); }
.hero h1 { font-size: clamp(38px, 10vw, 64px); }
.hero-line { margin: 8px 0 18px; color: var(--ink2); font: italic 400 19px/1.35 var(--serif); max-width: 34ch; }
.play-big { display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 99px; text-decoration: none; color: #1a1206;
  background: linear-gradient(180deg, #f6d9a6, #e3a95a); box-shadow: 0 10px 30px -8px rgba(233, 184, 102, .55); font-weight: 700; }
.play-big svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(26, 18, 6, .9); fill: var(--gold2); }

.cats { display: flex; gap: 8px; overflow-x: auto; padding: 18px var(--pad) 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar, .tiles::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--ink); text-decoration: none; font-size: 15px; cursor: pointer; white-space: nowrap; }
.chip em { font: italic 500 15px/1 var(--serif); color: var(--ink3); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.chip[aria-pressed="true"] em { color: rgba(26, 18, 6, .7); }
.chip:hover { border-color: rgba(233, 184, 102, .5); }

.row { margin-top: 30px; }
.row-head { padding: 0 var(--pad); margin-bottom: 12px; }
.row-head h2 { font-size: 30px; }
.row-head p { margin: 2px 0 0; color: var(--ink3); font: italic 400 17px/1.3 var(--serif); }
.tiles { list-style: none; margin: 0; padding: 4px var(--pad) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.tiles li { scroll-snap-align: start; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink);
  background: linear-gradient(170deg, var(--a), var(--b) 58%, var(--c)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 18px 40px -24px rgba(0, 0, 0, .9);
  transform: translateZ(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile-art { position: absolute; inset: -6%; }
.tile-art canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; animation: drift 26s ease-in-out infinite alternate; }
.tile-art canvas.on { opacity: 1; }
.tiles li:nth-child(2n) .tile-art canvas { animation-duration: 31s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-2%, -1.5%); } }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 6, 13, 0) 38%, rgba(5, 6, 13, .55) 62%, rgba(5, 6, 13, .9)); }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px 13px 13px; display: grid; gap: 2px; }
.tile-txt b { font: 500 20px/1.08 var(--serif); }
.tile-txt small { color: var(--ink2); font-size: 13px; line-height: 1.3; }

.tile:hover { transform: translateY(-3px); }
.tile:active { transform: scale(.98); }

.soon { margin: 40px var(--pad) 0; padding: 22px; border-radius: 24px; border: 1px solid rgba(233, 184, 102, .22);
  background: radial-gradient(120% 120% at 0% 0%, rgba(233, 184, 102, .1), transparent 60%), rgba(255, 255, 255, .03); }
.soon h2 { font-size: 28px; }
.soon p { color: var(--ink2); margin: 8px 0 16px; max-width: 52ch; }
.foot { margin: 40px var(--pad) 0; padding-top: 20px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0; }
.foot nav a { color: var(--ink2); font-size: 14px; }
.fine { color: var(--ink3); font-size: 13.5px; line-height: 1.5; }
.noscript { margin: 20px var(--pad); padding: 14px; border: 1px solid var(--line); border-radius: 14px; }

/* ------------------------------------------------------------------ buttons, ranges, switches */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #f6d9a6, #e3a95a); color: #1a1206; font-weight: 700; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
a.btn, a.pill { text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--v, 0%), rgba(255, 255, 255, .14) var(--v, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 0 4px rgba(233, 184, 102, .2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--gold2); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 46px; height: 28px; border-radius: 99px; background: rgba(255, 255, 255, .16); position: relative; cursor: pointer; margin: 0; transition: background .3s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .3s; }
.switch input:checked { background: var(--gold); }
.switch input:checked::after { transform: translateX(18px); background: #1a1206; }

/* ------------------------------------------------------------------ player */
.player { position: fixed; inset: 0; z-index: 30; background: #000; overflow: hidden; touch-action: manipulation; }
.stage-host { position: absolute; inset: 0; background: linear-gradient(170deg, var(--a, #0b1430), var(--b, #1f2c55) 55%, var(--c, #6c7aa6)); }
.stage-host .stage canvas { opacity: 1; }
.player.nogl .stage-host { animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { from { filter: brightness(.85) saturate(.9); } to { filter: brightness(1.1) saturate(1.1); } }
.veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, .55)); transition: opacity 1.2s; }
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(12px + var(--st)) var(--pad) calc(22px + var(--sb)); transition: opacity 1.2s ease; }
.player.idle .ui, .player.idle .veil { opacity: 0; }
.player.idle .ui { pointer-events: none; }   /* the first tap only brings the controls back */
.player.idle { cursor: none; }
.ui-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; }
.ui-title { text-align: center; min-width: 0; }
.ui-title p { margin: 0; color: var(--ink3); font-size: 13px; }
.ui-title h2 { font-size: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

.breath { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; pointer-events: none; }
.breath span { display: inline-block; font: italic 500 clamp(30px, 8vw, 46px)/1 var(--serif); color: var(--ink); text-shadow: 0 0 28px rgba(0, 0, 0, .65); opacity: 0; transition: opacity 1.4s ease; }
.breath span.on { opacity: .92; }
.breath.low { top: 72%; }
.p-desc { margin: auto auto 18px; max-width: 34ch; text-align: center; color: var(--ink2); font: italic 400 19px/1.4 var(--serif); text-shadow: 0 2px 16px rgba(0, 0, 0, .8); transition: opacity 1.6s ease; }
.p-desc.gone { opacity: 0; }
.ui-bottom { display: flex; align-items: center; justify-content: center; gap: 26px; }
.big2 { width: 58px; height: 58px; display: grid; justify-items: center; align-content: center; gap: 1px; }
.big2 svg { width: 22px; height: 22px; }
.big2 span { font-size: 11px; color: var(--ink2); }
.play { width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #f8dfae, #e2a656); box-shadow: 0 0 0 8px rgba(233, 184, 102, .14), 0 14px 40px -10px rgba(233, 184, 102, .6); }
.play svg { width: 30px; height: 30px; fill: #1a1206; }
.play .i-pause, .mini [data-mini-play] .i-pause { display: none; }
.is-playing .play .i-play, .is-playing [data-mini-play] .i-play { display: none; }
.is-playing .play .i-pause, .is-playing [data-mini-play] .i-pause { display: block; }

.mini { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--sb)); z-index: 15; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 14px; border-radius: 20px; background: rgba(18, 20, 38, .86); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); }
.mini-open { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; background: none; border: 0; text-align: left; cursor: pointer; padding: 0; }
.mini-open b { display: block; font: 500 19px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-open small { color: var(--ink3); font-size: 12.5px; }
.mini-open > span:last-child { min-width: 0; }
.mini-dot { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(160deg, var(--a, #222), var(--b, #444), var(--c, #666)); box-shadow: 0 0 0 1px var(--line) inset; }
.mini [data-mini-play] { background: var(--gold); color: #1a1206; }
.mini [data-mini-play] svg { width: 20px; height: 20px; fill: #1a1206; }

/* ------------------------------------------------------------------ sheets */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .5); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88vh; max-height: 88dvh; overflow: auto; overscroll-behavior: contain;
  margin: 0 auto; width: 100%; max-width: 600px; border-radius: 26px 26px 0 0; background: rgba(13, 15, 29, .94); border: 1px solid var(--line); border-bottom: 0;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8);
  transform: translateY(102%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.sheet.open { transform: none; }
.sheet-in { padding: 18px 20px calc(24px + var(--sb)); }
.sheet-in::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; margin: -6px auto 12px; background: rgba(255, 255, 255, .22); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sheet h2 { font-size: 30px; }
.sheet h3 { font-size: 22px; margin: 22px 0 6px; }
.sheet p { margin: 8px 0; }
.track { color: var(--ink3); font: italic 400 17px/1.3 var(--serif); margin: 0 0 6px; }
.lvls { display: grid; gap: 4px; }
.lvl { display: grid; grid-template-columns: 7.2em 1fr 2.2em; align-items: center; gap: 12px; }
.lvl label { font-size: 15px; color: var(--ink2); }
.lvl output { font-size: 13px; color: var(--ink3); text-align: right; font-variant-numeric: tabular-nums; }
.more { margin: 8px 0 0; }
.more summary { cursor: pointer; color: var(--ink2); padding: 8px 0; font-size: 15px; }
.tone { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.tone-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tone-head output { color: var(--gold2); font: italic 500 18px/1 var(--serif); }
.tone-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 6px; }
.tone-chips .chip { padding: 7px 11px; font-size: 14px; }
.tone.off .tone-chips, .tone.off .lvl { opacity: .45; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.timer-left { font: italic 500 22px/1.2 var(--serif); color: var(--gold2); min-height: 1.2em; }
.wait { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.wait-h { font: italic 500 20px/1.25 var(--serif); margin: 0; }
.field { display: grid; gap: 4px; }
.field label { font-size: 14px; color: var(--ink2); }
.field input { min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); font: inherit; }
.field input:focus { border-color: var(--gold); outline: none; }
.hp { position: absolute; left: -9999px; }
.wait-msg { color: var(--gold2); min-height: 1.4em; }
.install { padding: 12px 16px; border-radius: 18px; border: 1px solid rgba(233, 184, 102, .25); background: rgba(233, 184, 102, .05); margin: 14px 0; }
.install h3 { margin-top: 4px; }
.ios-hint { position: fixed; left: 12px; right: 12px; bottom: calc(84px + var(--sb)); z-index: 16; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; border-radius: 16px; background: rgba(30, 32, 52, .95); border: 1px solid rgba(233, 184, 102, .3); font-size: 14px; }
.ios-hint p { margin: 0; flex: 1; }

/* ------------------------------------------------------------------ Premium: sheet, comparison, offers */

.cmp { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; }
.cmp th, .cmp td { padding: 9px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 500 19px/1.1 var(--serif); color: var(--ink); }
.cmp thead th:last-child { color: var(--gold); }
.cmp tbody th { font-weight: 400; color: var(--ink2); width: 40%; }
.cmp td { color: var(--ink2); }
.cmp td:last-child { color: var(--gold2); }
.offers { display: grid; gap: 12px; margin: 16px 0 6px; }
.offer { padding: 16px 16px 18px; border-radius: 20px; border: 1px solid rgba(233, 184, 102, .28);
  background: radial-gradient(120% 120% at 0% 0%, rgba(233, 184, 102, .09), transparent 60%), rgba(255, 255, 255, .03); display: grid; gap: 6px; align-content: start; }
.offer h3 { margin: 0; font-size: 24px; }
.offer-price { margin: 0; }
.offer-price b { font: 500 34px/1 var(--serif); color: var(--gold2); }
.offer-price span { color: var(--ink2); font-size: 14px; }
.offer ul { margin: 2px 0 10px; padding-left: 18px; color: var(--ink2); font-size: 14.5px; }
.offer li { margin: 3px 0; }
.offer .btn { justify-self: start; }
.linkform { margin-top: 18px; }
.prem-info p { margin: 6px 0; }
.toast { position: fixed; left: 12px; right: 12px; top: calc(12px + var(--st)); z-index: 60; max-width: 520px; margin: 0 auto; padding: 12px 16px; border-radius: 16px;
  background: rgba(24, 22, 16, .94); border: 1px solid rgba(233, 184, 102, .5); color: var(--ink); font-size: 15px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); }

/* ------------------------------------------------------------------ Deine Klangfigur */
.fig-tools { display: flex; justify-content: center; gap: 10px; margin: 0 0 16px; flex-wrap: wrap; }
.fig-tools .pill { background: rgba(10, 8, 4, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fig-name { position: absolute; left: 0; right: 0; top: 74%; margin: 0; text-align: center; pointer-events: none; z-index: 1; display: grid; gap: 4px; justify-items: center; }
.fig-name span { font: italic 500 clamp(34px, 9vw, 54px)/1 var(--serif); color: var(--gold2); opacity: .78; text-shadow: 0 0 28px rgba(233, 184, 102, .35); }
.fig-name small { color: var(--ink3); font-size: 12.5px; }
.player:not(.idle) .fig-name small { opacity: .9; }
.player.idle .fig-name small { opacity: 0; transition: opacity 1.2s; }
/* wide screens: the two buttons go under the title, the name keeps its place under the plate */
@media (min-aspect-ratio: 1/1) { .fig-tools { position: absolute; left: 0; right: 0; top: calc(78px + var(--st)); margin: 0; } }

/* ------------------------------------------------------------------ checkout and thank-you page */
.co-page { max-width: 760px; margin: 0 auto; padding: 8px var(--pad) calc(40px + var(--sb)); }
.co-page h1 { font-size: clamp(38px, 9vw, 56px); margin: 2px 0 10px; }
.co-page h2 { font-size: 28px; margin: 0 0 10px; }
.co-lede { color: var(--ink2); font: italic 400 20px/1.4 var(--serif); margin: 0 0 18px; }
.co-msg { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.co-msg.err { border-color: rgba(240, 120, 100, .6); }
.co-msg.info, .co-msg.ok { border-color: rgba(233, 184, 102, .45); color: var(--gold2); }
.co-off { padding: 20px; border-radius: 22px; border: 1px solid rgba(233, 184, 102, .3); background: rgba(233, 184, 102, .05); margin: 16px 0; }
.co { display: grid; gap: 22px; }
.co-form, .co-sum { display: grid; gap: 14px; }
.co-sum { padding: 18px; border-radius: 22px; border: 1px solid rgba(233, 184, 102, .3); background: rgba(13, 15, 29, .7); }
.picks { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.picks legend { font: 500 24px/1.2 var(--serif); margin-bottom: 8px; padding: 0; }
.pick { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; }
.pick:has(input:checked) { border-color: var(--gold); background: rgba(233, 184, 102, .08); }
.pick input { accent-color: var(--gold); width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; }
.pick span { display: grid; gap: 2px; }
.pick b { font: 500 22px/1.1 var(--serif); }
.pick em { font-style: normal; font-weight: 700; color: var(--gold2); font-size: 15.5px; }
.pick small { color: var(--ink2); font-size: 14px; }
.hint { margin: 2px 0 0; color: var(--ink3); font-size: 13.5px; }
.opt { color: var(--ink3); font-size: 13px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink3); font-size: 14px; }
.facts dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.agree input { accent-color: var(--gold); width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; }
.co-final { margin: 6px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(233, 184, 102, .1); border: 1px solid rgba(233, 184, 102, .4); font-size: 15px; }
.btn.order { width: 100%; min-height: 54px; font-size: 16.5px; }
.err-t { margin: 4px 0 0; color: #ffb4a6; font-size: 13.5px; }
[aria-invalid="true"] { border-color: #ff8e7a !important; }
.center { text-align: center; }
.co-more { margin-top: 30px; }
.co-body .foot { margin-left: 0; margin-right: 0; }
.co-body .top { position: relative; }   /* long checkout and legal pages: the header scrolls away instead of covering the text */
.co-thanks { margin: 24px 0 10px; padding: 24px; border-radius: 24px; border: 1px solid rgba(233, 184, 102, .3); background: radial-gradient(120% 120% at 0% 0%, rgba(233, 184, 102, .1), transparent 60%), rgba(255, 255, 255, .03); }
.co-thanks .next { color: var(--ink2); padding-left: 20px; }
.co-thanks .next li { margin: 6px 0; }

/* ------------------------------------------------------------------ the shop window: call + price line, what is included */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 14px; }
.btn.big { min-height: 54px; padding: 0 28px; font-size: 17px; box-shadow: 0 14px 34px -12px rgba(233, 184, 102, .65); }
.cta-line { color: var(--ink); font: italic 500 19px/1.25 var(--serif); }
.cta-line.big { font-size: 22px; color: var(--gold2); margin: 0 0 6px; }
.cta.on-hero { margin: 4px 0 0; }
.cta.on-hero .cta-line { color: var(--ink); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.incl { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; gap: 7px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); font-size: 15.5px; line-height: 1.4; }
.incl .ok { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--gold); }
.agb-ref { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: 0 0 0 1px rgba(233, 184, 102, 0) inset; transition: box-shadow .4s; pointer-events: none; }
.tile:hover::before, .tile:focus-visible::before { box-shadow: 0 0 0 1px rgba(233, 184, 102, .55) inset; }

/* ------------------------------------------------------------------ Premium card, Klangfigur teaser, welcome card */
.pc-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--gold); font: italic 500 19px/1.2 var(--serif); }
.pc-kicker .spark { width: 17px; height: 17px; fill: currentColor; filter: drop-shadow(0 0 6px rgba(233, 184, 102, .6)); }
.prem-card { position: relative; margin: 18px var(--pad) 0; padding: 22px 22px 20px; border-radius: 26px; border: 1px solid rgba(233, 184, 102, .38); overflow: hidden;
  background: radial-gradient(90% 140% at 0% 0%, rgba(233, 184, 102, .16), transparent 62%), radial-gradient(60% 90% at 100% 100%, rgba(120, 130, 220, .12), transparent 70%), rgba(14, 17, 38, .78);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .9); }
.prem-card h2 { font-size: clamp(30px, 7.5vw, 40px); }
.pc-what { color: var(--ink2); margin: 8px 0 14px; max-width: 54ch; }
.pc-prices { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.pc-prices li { padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(233, 184, 102, .28); background: rgba(255, 255, 255, .035); color: var(--ink2); font-size: 15px; }
.pc-prices b { font: 500 25px/1 var(--serif); color: var(--gold2); margin-right: 2px; }
.pc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
.pc-go .fine { margin: 0; }
.prem-lede { color: var(--ink2); }
.sheet-prem .pc-prices { margin: 12px 0 4px; }

.fig-teaser { margin: 34px var(--pad) 0; display: grid; gap: 18px; align-items: center; padding: 18px; border-radius: 26px; border: 1px solid rgba(233, 184, 102, .22);
  background: radial-gradient(70% 90% at 0% 50%, rgba(233, 184, 102, .1), transparent 70%), rgba(255, 255, 255, .025); }
.ft-art { position: relative; width: min(100%, 360px); aspect-ratio: 1; justify-self: center; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 46%, #3a2612, #050403 70%); box-shadow: 0 0 0 1px rgba(233, 184, 102, .2) inset; }
.ft-art canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.ft-art canvas.on { opacity: 1; }
.ft-name { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: italic 500 30px/1 var(--serif); color: var(--gold2); text-shadow: 0 0 24px rgba(233, 184, 102, .35); }
.ft-txt h2 { font-size: clamp(30px, 7vw, 40px); margin: 0 0 8px; }
.ft-txt > p { color: var(--ink2); margin: 0 0 12px; }
.ft-prem { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(233, 184, 102, .08); border: 1px solid rgba(233, 184, 102, .3); }
.ft-prem .spark { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; fill: var(--gold); }
.ft-prem b { color: var(--gold2); font-weight: 700; }
.ft-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0 !important; }

.welcome { position: fixed; left: 12px; right: 12px; bottom: calc(14px + var(--sb)); z-index: 20; max-width: 460px; margin: 0 auto; padding: 16px 16px 14px 18px;
  border-radius: 22px; background: rgba(16, 19, 42, .95); border: 1px solid rgba(233, 184, 102, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .95); opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.welcome.on { opacity: 1; transform: none; }
.wel-k { display: flex; align-items: center; gap: 10px; margin: 0 40px 6px 0; font: 500 22px/1.15 var(--serif); }
.wel-k .mark { width: 30px; height: 30px; color: var(--gold); flex: 0 0 auto; }
.wel-t { margin: 0 0 12px; color: var(--ink2); }
.wel-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.wel-go .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.wel-x { position: absolute; top: 6px; right: 6px; }
.in-player .welcome { display: none; }

/* ------------------------------------------------------------------ footer, legal pages, the two legal forms */
.foot-nav { align-items: center; }
.foot-nav .kuend { padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(233, 184, 102, .55); color: var(--gold2) !important; text-decoration: none; }
.co-hero { margin: 4px 0 18px; }
.co-hero .pc-prices { max-width: 520px; }
.doc { max-width: 820px; }
.doc h1 { margin-bottom: 18px; }
.doc h2 { font-size: 27px; margin: 30px 0 8px; }
.doc h3 { font-size: 21px; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink2); line-height: 1.6; }
.doc ul { padding-left: 20px; }
.doc code { font-size: 13.5px; color: var(--gold2); background: rgba(255, 255, 255, .06); padding: 1px 5px; border-radius: 6px; }
.doc .callout { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(233, 184, 102, .35); background: rgba(233, 184, 102, .06); }
.doc .table-wrap { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.stack { display: grid; gap: 16px; max-width: 560px; margin: 8px 0 24px; }
.choice { border: 1px solid var(--line); border-radius: 18px; margin: 0; padding: 12px 16px 14px; display: grid; gap: 8px; }
.choice legend { font: 500 21px/1.2 var(--serif); padding: 0 6px; margin-left: -6px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.choice input { accent-color: var(--gold); width: 19px; height: 19px; margin: 1px 0 0; flex: 0 0 auto; }
.field textarea { min-height: 90px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); font: inherit; }
.field.inline { margin-left: 29px; }
.receipt { white-space: pre-wrap; padding: 18px; border-radius: 18px; border: 1px solid rgba(233, 184, 102, .4); background: rgba(233, 184, 102, .06); color: var(--ink); font-size: 15px; line-height: 1.55; margin: 8px 0 18px; }
@media print { .top, .foot, .skip, [data-cancel-print] { display: none !important; } body { background: #fff; color: #000; } .receipt { color: #000; border-color: #999; } }

/* ------------------------------------------------------------------ larger screens */
@media (min-width: 700px) {
  :root { --pad: 28px; }
  .tiles { grid-auto-columns: 210px; gap: 16px; }
  .hero { aspect-ratio: 16 / 9; max-height: 560px; }
  .hero-txt { padding: 36px 40px; }
  .row-head h2 { font-size: 34px; }
  .sheet { bottom: 50%; border-radius: 26px; border-bottom: 1px solid var(--line); transform: translateY(calc(50% + 40px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
  .sheet.open { transform: translateY(50%); opacity: 1; }
  .sheet-in::before { display: none; }
  .ui-title h2 { font-size: 32px; }
  .offers { grid-template-columns: 1fr 1fr; }
  .pc-prices { grid-template-columns: 1fr 1fr; }
  .incl { grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .prem-card { padding: 28px 30px 26px; }
  .fig-teaser { grid-template-columns: minmax(240px, 340px) 1fr; padding: 22px; gap: 30px; }
  .co { grid-template-columns: 1fr 1fr; align-items: start; }
  .co-sum { position: sticky; top: 72px; }
}
@media (min-width: 1100px) {
  .hero { aspect-ratio: 21 / 9; }
  /* wide screens: two categories side by side, three worlds per category in view */
  .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .rows .tiles { grid-auto-columns: calc((100% - 2 * var(--pad) - 32px) / 3); }
  .rows .row-head h2 { font-size: 30px; }
}
@media (hover: none) { .tile:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tile-art canvas { animation: none; }
}
