/* IsiPro: Warmes Dunkel wie ein Zimmer am Abend, Rot nur aus dem Logo. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-semibold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-bold.woff2) format("woff2"); }

:root {
  --bg: oklch(16.5% .008 20);
  --bg-2: oklch(20.5% .01 20);
  --bg-3: oklch(25% .012 20);
  --ink: oklch(95% .008 70);
  --muted: oklch(75% .012 60);
  --line: oklch(32% .012 30);
  --accent: #E50914;
  --accent-text: oklch(71% .19 25);
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* "hidden" gilt immer, auch wenn eine Klasse display setzt (z. B. Kaufbereich .buy) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 62px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.eyebrow { color: var(--accent-text); font-size: .86em; font-weight: 600; margin-bottom: 16px; }
.fine { color: var(--muted); font-size: .84em; line-height: 1.55; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 8px; background: var(--ink); color: var(--bg);
  font: 600 1em Poppins, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: oklch(98% .005 70); }
.btn--primary:hover { background: oklch(60% .24 27); }
.btn--quiet { background: none; color: var(--ink); padding: 0 6px; text-decoration: underline; text-underline-offset: 5px; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .9em; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* Kopf */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter); transition: background .3s;
}
.bar.is-solid { background: oklch(16.5% .008 20 / .94); }
.bar__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.bar__brand em { color: var(--accent-text); font-style: normal; font-weight: 500; }
.bar__nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: .92em; font-weight: 500; }
.bar__nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.bar__nav a:hover { color: var(--ink); }
.bar__end { display: flex; align-items: center; gap: 10px; }
.language-selector-wrapper { background: none !important; padding: 4px 2px !important; gap: 4px !important; }
#current-lang-flag { display: none; }
#language-selector { color: var(--muted); font: 500 14px Poppins, system-ui, sans-serif; padding: 6px 2px; max-width: 128px; }

/* Fahrt ins Bild */
.story { background: var(--bg); }
.story__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: oklch(11% .006 20); }
.story__room { position: absolute; inset: 0; will-change: transform; }
.story__media { width: 100%; height: 100%; object-fit: cover; object-position: 64.8% 50%; }
.story__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 80% at 12% 62%, oklch(11% .006 20 / .9), transparent 72%),
    linear-gradient(to top, oklch(11% .006 20 / .55), transparent 40%);
}
.story__intro {
  position: absolute; inset-inline-start: var(--gutter); bottom: clamp(48px, 12vh, 120px);
  width: min(620px, calc(100% - 2 * var(--gutter))); will-change: transform, opacity;
}
.story__intro h1 { font-size: clamp(44px, 7vw, 104px); line-height: 1; margin-bottom: 20px; }
.story__intro .lede { max-width: 34em; margin-bottom: 26px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.story__app {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px); padding: 90px var(--gutter) 56px; opacity: 0; visibility: hidden;
}
.tv { container-type: inline-size; }
.tv__screen {
  position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: oklch(13% .006 20);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px oklch(50% .2 25 / .55);
}
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); background-size: cover; background-position: center; }
.scene.is-on { opacity: 1; }

.scene--who { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.5cqw; }
.who__title { font-size: 3.4cqw; font-weight: 600; }
.who__row { display: flex; gap: 5cqw; }
.who__p { display: grid; justify-items: center; gap: 1.2cqw; font-size: 1.9cqw; }
.who__p b { font-weight: 500; color: var(--muted); }
.who__p i {
  display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 1.4cqw; background: var(--c);
  font: 700 4.4cqw Poppins, sans-serif; color: oklch(98% .005 70); transition: transform .5s var(--ease);
}
.scene.is-on .who__p:first-child i { transform: scale(1.1); box-shadow: 0 0 0 .3cqw var(--ink); }

.scene--home { display: flex; flex-direction: column; }
.home__hero { position: relative; flex: 1; background-size: cover; background-position: center 40%; }
.home__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(13% .006 20), transparent 55%), linear-gradient(to right, oklch(13% .006 20 / .75), transparent 60%); }
.home__nav { position: absolute; z-index: 1; top: 2cqw; inset-inline-start: 3cqw; display: flex; gap: 2.4cqw; font-size: 1.5cqw; }
.home__nav span { color: var(--muted); }
.home__feature { position: absolute; z-index: 1; bottom: 1.5cqw; inset-inline-start: 3cqw; display: grid; gap: .5cqw; justify-items: start; }
.home__feature strong { font-size: 3.6cqw; line-height: 1.1; }
.home__feature em { font-size: 1.4cqw; font-style: normal; color: var(--muted); }
.home__feature u { margin-top: .6cqw; padding: .55cqw 1.6cqw; border-radius: .5cqw; background: var(--accent); font-size: 1.4cqw; font-weight: 600; text-decoration: none; }
.home__label { padding: 1.2cqw 3cqw .7cqw; font-size: 1.5cqw; font-weight: 600; }
.home__row { display: flex; gap: 1.1cqw; padding: 0 3cqw 2.2cqw; }
.home__row span { position: relative; flex: 1; aspect-ratio: 16/9; border-radius: .6cqw; overflow: hidden; background-size: cover; background-position: center; }
.home__row i { position: absolute; inset: auto 0 0; height: .4cqw; background: oklch(100% 0 0 / .25); }
.home__row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--accent); }

.scene--player { display: flex; flex-direction: column; justify-content: flex-end; gap: 2cqw; padding: 0 3cqw 2.4cqw; }
.scene--player::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(11% .006 20 / .85), transparent 45%); }
.scene--player > * { position: relative; }
.player__sub { align-self: center; padding: .3cqw 1cqw; font-size: 2.3cqw; font-weight: 500; background: oklch(11% .006 20 / .7); border-radius: .3cqw; }
.player__bar { display: flex; align-items: center; gap: 1.5cqw; font-size: 1.5cqw; }
.player__line { flex: 1; height: .4cqw; background: oklch(100% 0 0 / .25); }
.player__line i { display: block; width: 58%; height: 100%; background: var(--accent); }
.player__seek { color: var(--accent-text); font-weight: 600; }

.captions { position: relative; align-self: center; min-height: 11em; }
.captions li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s var(--ease); }
.captions li.is-on { opacity: 1; transform: none; }
.captions h2 { font-size: clamp(24px, 2.9vw, 42px); margin-bottom: 12px; }
.captions p { color: var(--muted); }
.story__note { position: absolute; inset-inline-start: var(--gutter); bottom: 18px; color: var(--muted); font-size: 12.5px; }

/* Abschnitte */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 12vw, 170px) var(--gutter);
}
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; background: var(--bg-2); }
.split__media--wide { aspect-ratio: 3/2; }
.split__media img, .split__media video { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; }
.split__text > p:not(.eyebrow) { color: var(--muted); max-width: 34em; margin-top: 20px; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-inline-start: 26px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 12px; height: 7px; border-inline-start: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: translateY(-50%) rotate(-45deg); }

.subline { position: absolute; inset: auto 12px 26px; text-align: center; }
.subline span { display: inline-block; padding: 3px 10px; background: oklch(11% .006 20 / .78); border-radius: 3px; font-weight: 500; transition: opacity .3s; }
.subline span.is-out { opacity: 0; }

.full { position: relative; min-height: 112vh; display: flex; align-items: flex-end; overflow: hidden; }
.full__media { position: absolute; inset: 0; overflow: hidden; }
.full__media img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, oklch(16.5% .008 20 / .78) 34%, transparent 66%); }
.full__text { position: relative; z-index: 1; max-width: 800px; padding: 0 var(--gutter) clamp(56px, 9vw, 120px); }
.full__text > p:not(.eyebrow) { margin-top: 18px; max-width: 40em; }
.full__text .fine { margin-top: 14px; }

.code { display: inline-block; margin-top: 26px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: .24em; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }

.swap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(72px, 10vw, 140px) var(--gutter); background: var(--bg-2); }
.swap__head > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; max-width: 34em; }
.swap__board { display: grid; gap: 14px; }
.swap__slot { position: relative; height: 72px; overflow: hidden; border-radius: 8px; background: var(--bg-3); font-weight: 600; }
.swap__slot span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 22px; transition: transform .7s var(--ease), opacity .5s; }
.swap__new { transform: translateY(100%); opacity: 0; background: var(--accent); color: oklch(98% .005 70); }
.swap__old { color: var(--muted); text-decoration: line-through transparent; }
.is-swapped .swap__old { transform: translateY(-100%); opacity: 0; }
.is-swapped .swap__new { transform: none; opacity: 1; }
.swap__keep { display: grid; gap: 8px; }
.swap__keep li { display: flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--line); }

.all { padding: clamp(72px, 12vw, 170px) var(--gutter); }
.all__head { margin-bottom: clamp(28px, 4vw, 56px); }
.all__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.all__stage { position: sticky; top: 92px; }
.all__frame { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; background: var(--bg-2); }
.all__frame img, .all__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.all__frame img.is-out { opacity: 0; }
.all__list h3 { margin: 34px 0 6px; color: var(--accent-text); font-size: .9em; font-weight: 600; letter-spacing: 0; }
.all__list h3:first-child { margin-top: 0; }
.all__list details { border-bottom: 1px solid var(--line); }
.all__list summary { position: relative; padding: 13px 28px 13px 0; font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.all__list summary::-webkit-details-marker { display: none; }
.all__list summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 9px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .25s; }
.all__list details[open] summary::after { transform: rotate(45deg); color: var(--accent-text); }
.all__list details p { padding: 0 28px 16px 0; color: var(--muted); }
.all__list details p:has(+ .vlink) { padding-bottom: 8px; }
.vlink { display: inline-block; margin: 0 0 16px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.vlink::before { content: "\25B6"; margin-inline-end: 8px; font-size: .8em; }
.vlink:hover { text-decoration: underline; }
.all__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.all__play {
  position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 999px; background: var(--accent); color: oklch(98% .005 70);
  font: 600 1em Poppins, system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 40px -10px oklch(0% 0 0 / .6);
}
.all__play::before { content: "\25B6"; }
.all__play:hover { background: oklch(60% .24 27); }
.all__play[hidden] { display: none; }

.videos { padding: clamp(72px, 10vw, 140px) var(--gutter); background: var(--bg-2); }
.videos__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.videos__head > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-bottom: 28px; }
.videos__grid h3 { margin-top: 12px; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; font-weight: 600; }
.vcard, .vcard__frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; overflow: hidden; }
.vcard { position: relative; padding: 0; background: var(--bg); cursor: pointer; }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover img { transform: scale(1.03); }
.vcard__play { position: absolute; inset-inline-end: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px -8px oklch(0% 0 0 / .7); }
.vcard__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid oklch(98% .005 70); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

.start { padding: 90px var(--gutter) clamp(72px, 12vw, 170px); }
.start > h2 { margin-bottom: clamp(28px, 5vw, 64px); }
.start ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.start li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--accent); }
.start li::before { content: counter(s); display: block; font-size: clamp(38px, 4vw, 60px); font-weight: 700; line-height: 1; margin-bottom: 14px; }
.start h3 { font-size: clamp(19px, 1.7vw, 24px); margin-bottom: 8px; letter-spacing: -.01em; }
.start p { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 5vw, 60px); }
.store { display: grid; min-width: 170px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 8px; line-height: 1.3; }
.store small { color: var(--muted); font-size: 12.5px; }
.store b { font-weight: 600; }
.start > .fine { margin-top: 16px; }

.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) var(--gutter); background: var(--bg-2); align-items: start; }
.price__card { padding: clamp(24px, 3vw, 40px); border-radius: 10px; background: var(--bg); }
.price__num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font-size: clamp(52px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.price__num small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price__card .btn { width: 100%; margin: 26px 0 12px; }

.plain { padding: clamp(80px, 13vw, 190px) var(--gutter); }
.plain__big { font-size: clamp(38px, 7vw, 108px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; max-width: 11em; }
.plain__text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: clamp(28px, 4vw, 56px); max-width: 1000px; color: var(--muted); }

/* Fuß */
.foot { padding: 44px var(--gutter) 32px; border-top: 1px solid var(--line); font-size: .88em; }
.foot__top { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot__credits { display: grid; gap: 8px; margin-top: 24px; color: var(--muted); font-size: .92em; }
.foot__tmdb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Unterseiten */
.page { max-width: 820px; margin: 0 auto; padding: 120px var(--gutter) 80px; }
.page h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 14px; }
.page__lead { color: var(--muted); margin-bottom: 36px; }
.prose h2 { font-size: clamp(21px, 2.2vw, 28px); margin: 40px 0 12px; letter-spacing: -.01em; }
.prose h3 { font-size: 1.05em; margin: 20px 0 6px; letter-spacing: 0; font-weight: 600; }
.prose p, .prose ul, .prose ol { color: var(--muted); margin: 0 0 12px; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose li { margin-bottom: 5px; }
.prose a { color: var(--accent-text); }
.prose strong { color: var(--ink); font-weight: 600; }
.faq__group { margin-top: 44px; }
.faq__group > h2 { font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; font-size: 22px; color: var(--accent-text); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq ol, .faq ul { padding-inline-start: 1.3em; margin: 6px 0; }
.faq ol { list-style: decimal; } .faq ul { list-style: disc; }

/* Anmelden und Konto */
.gate { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.gate__art { position: relative; overflow: hidden; background: oklch(11% .006 20); }
.gate__art img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.gate__main { display: flex; flex-direction: column; justify-content: center; padding: 100px clamp(20px, 6vw, 90px) 40px; }
.gate__main h1 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 8px; }
.gate__main > p { color: var(--muted); margin-bottom: 26px; max-width: 30em; }
.gate form { display: grid; gap: 16px; max-width: 420px; }
.field { display: grid; gap: 6px; font-size: .92em; font-weight: 500; }
.input, .field input {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-2); color: var(--ink); font: 400 16px Poppins, system-ui, sans-serif;
}
.input:focus, .field input:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.captcha { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }
.captcha__q { min-width: 96px; font-weight: 600; font-size: 18px; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .85em; text-decoration: underline; cursor: pointer; justify-self: start; }
.error { color: var(--accent-text); font-size: .9em; min-height: 1.4em; margin-top: 10px; }

.dash { max-width: 1120px; margin: 0 auto; padding: 96px var(--gutter) 64px; }
.dash__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.dash__head h1 { font-size: clamp(28px, 3.4vw, 44px); }
.dash__id small { display: block; color: var(--muted); font-size: 13px; }
.dash__id code { font: 600 18px Poppins, system-ui, sans-serif; letter-spacing: .04em; }
.dash__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.dash__tools .input { flex: 1 1 220px; }
.status-message { display: none; padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; background: var(--bg-3); }
.status-message.error { color: var(--accent-text); }
.table-container { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.dash table { width: 100%; border-collapse: collapse; font-size: .92em; }
.dash th { text-align: start; padding: 12px 14px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dash td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dash tr:last-child td { border-bottom: 0; }
.url-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.actions-cell { display: flex; gap: 6px; white-space: nowrap; }
.icon-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--ink); font: 500 13px Poppins, system-ui, sans-serif; cursor: pointer; }
.icon-btn:hover { background: var(--bg-3); }
.icon-btn.delete { color: var(--accent-text); }
.icon-btn.replace { border-color: var(--accent); }
.empty-state { text-align: center; color: var(--muted); padding: 40px 16px !important; }
.dash__help { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: var(--bg-2); color: var(--muted); font-size: .92em; }
.dash__help b { color: var(--ink); font-weight: 600; }
.activate-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.btn-activate.activated { background: var(--bg-3); color: var(--muted); cursor: default; }
.license-status { color: var(--muted); margin-top: 10px; font-size: .92em; }
.lock-badge { margin-right: 6px; font-size: .9em; }
.sync__list {list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.sync__list li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); }
.sync__list small { color: var(--muted); }
.sync__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sync__actions .btn--danger { color: var(--accent-text); }
#sync-leave { margin-top: 16px; }
.license-badge {display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 10px; padding: 5px 12px; border-radius: 14px; background: var(--bg-3); font-size: 14px; }
.license-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.license-badge.is-active::before { background: oklch(72% .17 150); }
.license-badge.is-expired::before { background: var(--accent); }
.license-badge a { color: var(--accent-text); font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: oklch(11% .006 20 / .8); overflow-y: auto; }
.modal.active { display: flex; }
.modal-content { width: min(480px, 100%); padding: 26px; border-radius: 12px; background: var(--bg-2); margin: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-title { font-size: 22px; letter-spacing: -.01em; }
.close-btn { width: 36px; height: 36px; border: 0; border-radius: 6px; background: var(--bg-3); color: var(--ink); font-size: 20px; cursor: pointer; }
.modal form { display: grid; gap: 14px; }
.modal p { color: var(--muted); }
.check { display: flex; gap: 8px; align-items: center; font-size: .92em; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.modal .choice { display: grid; gap: 10px; margin-top: 18px; }
.buy { display: grid; gap: 12px; max-width: 480px; margin-top: 14px; }
.buy__price { font-size: 20px; font-weight: 600; }
.buy .check { align-items: flex-start; }
.buy .check input { flex: none; margin-top: 2px; }
.buy .fine { color: var(--muted); font-size: 13px; }
.buy .fine a { color: var(--ink); }
.buy__msg { margin-top: 12px; max-width: 480px; overflow-wrap: anywhere; }
.buy__msg.is-ok { color: var(--ink); font-weight: 600; }
.buy__msg.is-error { color: var(--accent); }
.buy__button { margin-top: 4px; justify-self: start; }
.buy__button.is-locked { opacity: .45; }
.buy__paypal { margin-top: 0; background: #ffc439; color: #111; border-color: #ffc439; }
.buy__paypal:hover { background: #f2b52e; }

/* Ruhiger Modus und schmale Bildschirme */
.is-calm .story__stage { height: auto; overflow: visible; }
.is-calm .story__room { position: relative; height: 80vh; }
.is-calm .story__shade { display: none; }
.is-calm .story__intro { position: relative; inset: auto; padding: 30px var(--gutter); width: auto; }
.is-calm .story__app { position: relative; opacity: 1; visibility: visible; }

@media (max-width: 960px) {
  /* Handy: Menü als zweite, waagerecht scrollbare Zeile */
  .bar { gap: 6px 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 8px; background: oklch(16.5% .008 20 / .82); }
  .bar__nav { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; font-size: 14px; white-space: nowrap; }
  .bar__nav::-webkit-scrollbar { display: none; }
  .bar__end { margin-inline-start: auto; }
  .story__app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: 22px; padding-bottom: 44px; }
  .captions { min-height: 10.5em; align-self: start; }
  .split, .split--flip, .swap, .price { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 4/3.6; }
  .all__body { grid-template-columns: minmax(0, 1fr); }
  .all__stage { display: none; }
  .start ol { grid-template-columns: minmax(0, 1fr); }
  .videos__grid { grid-template-columns: minmax(0, 1fr); }
  .plain__text { grid-template-columns: minmax(0, 1fr); }
  .full { min-height: 96vh; }
  .gate { grid-template-columns: minmax(0, 1fr); }
  .gate__art { display: none; }
}
/* Konto am Handy: jede Playlist als Karte, Knöpfe immer sichtbar */
@media (max-width: 640px) {
  .dash thead { display: none; }
  .dash table, .dash tbody, .dash tr, .dash td { display: block; width: 100%; }
  .dash tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .dash td { padding: 2px 0; border: 0; }
  .dash td:first-child { font-weight: 600; font-size: 1.05em; }
  .url-cell { max-width: none; }
  .actions-cell { margin-top: 10px; flex-wrap: wrap; }
  .table-container { overflow: visible; }
}
@media (max-width: 420px) {
  .bar__brand span { display: none; }
  .bar .btn--small { white-space: nowrap; padding: 0 12px; font-size: 13px; }
  #language-selector { max-width: 86px; padding-inline: 0; }
  .bar__end { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
