/* Präsentations-Player. Farben: Vorgabe vom Messe-Rollup, je Dokument über theme.colors überschreibbar. */
:root {
  --deep: #0B1D33; --ocean: #0E4D6E; --sky: #1A8FC4; --warm: #FF6B4A;
  --gold: #F5C842; --glow: #00D4AA; --page: #E9EDF1; --text: #0B1D33; --muted: #4C5B6B;
  --soft: #9fc4de; --light: #cfe1f0; --ok: #138a5a;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--deep); color: #fff; font-family: var(--font); cursor: none; }
#root { position: fixed; inset: 0; overflow: hidden; }
#blackout { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 900; }
/* "Zeigen" from the hub: which monitor is this? above blackout and notice (990), below loading (999) */
#ident { position: fixed; inset: 0; z-index: 995; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 2vh; background: rgba(11, 29, 51, .97); color: #fff; font-family: system-ui, sans-serif; pointer-events: none; text-align: center; }
#ident .key { font: 800 38vh/1 system-ui, sans-serif; color: #ff6a3d; }
#ident .name { font: 700 7vh/1.2 system-ui, sans-serif; padding: 0 4vw; }
#hud { position: fixed; left: 10px; bottom: 10px; z-index: 950; font: 12px/1.4 Consolas, monospace; background: rgba(0,0,0,.7); padding: 8px 10px; border-radius: 6px; white-space: pre; display: none; }
#loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--deep); z-index: 999; font-size: 3vh; color: var(--soft); padding: 0 8vw; text-align: center; }

/* ---------- element box ---------- */
.el {
  position: absolute; transform-origin: 50% 50%; border: var(--el-border, none); mix-blend-mode: var(--el-blend, normal);
  /* Hintergrundfarbe (schema.ts "Stil") generisch — wirkt direkt bei Text/Logo/Fortschritt/Platzhalter
     (die selbst keinen eigenen Hintergrund setzen); bei Karten/Kacheln deckt deren EIGENER
     var(--el-bg, …)-Hintergrund (s. .card/.tile/… unten) dies ohnehin undurchsichtig ab. */
  background: var(--el-bg, transparent);
  /* Eckenradius generisch (Text/Logo/… mit Hintergrundfarbe); Karten/Bilder/Video setzen ihren
     eigenen var(--el-radius, …) weiter unten auf .t-card/.card/.phone usw. */
  border-radius: var(--el-radius, 0);
}
/* Schatten für Text (Botschaft/Titel/…): Karten/Bilder/Video setzen ihren eigenen var(--el-shadow, …) innen. */
.t-text, .t-wordmark, .t-progress, .t-slot, .t-list, .t-line, .t-screencast { box-shadow: var(--el-shadow, none); }
.ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .6vh var(--warm); opacity: 0; pointer-events: none; }

.wordmark { font-weight: var(--el-weight, 800); letter-spacing: var(--el-letter-spacing, -0.02em); }
.wordmark .a { color: var(--el-color, #fff); } .wordmark .b { color: var(--el-color, var(--warm)); }
.wordmark.logo img { height: 1em; width: auto; display: block; }

/* ---------- background ---------- */
.t-background { inset: 0; }
.t-background.s-deep { background: var(--el-bg, var(--deep)); }
.t-background.s-radial { background: var(--el-bg, radial-gradient(120% 140% at 50% 120%, var(--ocean) 0%, var(--deep) 60%)); }
.t-background.s-linear { background: var(--el-bg, linear-gradient(160deg, var(--deep) 0%, #10304d 100%)); }
.t-background.s-light { background: var(--el-bg, #f3f5f8); }
.t-background.s-glow { background: var(--el-bg, radial-gradient(120% 120% at 80% 110%, var(--ocean) 0%, var(--deep) 65%)); }
.t-background.s-image { overflow: hidden; }
.blurbg { position: absolute; inset: -5%; background-size: cover; background-position: center; filter: blur(4vh) brightness(.55); }
.blurbg.sharp { inset: 0; filter: brightness(.7); }

/* ---------- text ---------- */
.o-msg { position: absolute; inset: 0; display: grid; place-items: center var(--el-justify, center); text-align: var(--el-align, center); padding: var(--el-padding, 0 6vw); }
/* Text nur mit Position (ohne Breite/Höhe, player.js .el-auto): Inhalt im Fluss statt absolut, damit der
   Kasten mit dem Text wächst — sonst 0×0 und Hintergrund/Rahmen/Radius unsichtbar. */
.el-auto > .o-msg, .el-auto > .r-intro, .el-auto > .claim2 { position: relative; inset: auto; }
.o-msg .t {
  font-size: var(--el-font-size, 13vh); font-weight: var(--el-weight, 800); line-height: var(--el-line-height, 1.05);
  letter-spacing: var(--el-letter-spacing, -0.02em); text-shadow: var(--el-text-shadow, none); text-wrap: balance;
}
.o-msg .t em, .m-title em, .claim2 .c em { font-style: normal; color: var(--gold); }
.o-msg .s { margin-top: 3vh; font-size: calc(var(--el-font-size, 13vh) * .42); color: var(--light); font-weight: 600; }
.m-title {
  text-align: var(--el-align, center); font-size: var(--el-font-size, 10vh); font-weight: var(--el-weight, 800);
  text-shadow: var(--el-text-shadow, 0 1vh 4vh rgba(0,0,0,.6)); letter-spacing: var(--el-letter-spacing, -0.02em);
  line-height: var(--el-line-height, normal);
}
.m-title small { display: block; font-size: calc(var(--el-font-size, 10vh) * .36); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5vh; }
.r-intro { position: absolute; inset: 0; display: grid; place-items: center var(--el-justify, center); text-align: var(--el-align, center); background: var(--el-bg, radial-gradient(120% 140% at 50% 120%, var(--ocean) 0%, var(--deep) 60%)); border-radius: inherit; }
.r-intro .t { font-size: var(--el-font-size, 10vh); font-weight: var(--el-weight, 800); letter-spacing: var(--el-letter-spacing, -0.02em); text-shadow: var(--el-text-shadow, none); line-height: var(--el-line-height, normal); }
.r-intro .s { margin-top: 2vh; font-size: calc(var(--el-font-size, 10vh) * .45); color: var(--soft); font-weight: 600; }
.claim2 { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: var(--el-justify, center); justify-content: center; text-align: var(--el-align, center); background: var(--el-bg, rgba(11,29,51,.82)); border-radius: inherit; }
.claim2 .wordmark { font-size: 18vh; }
.claim2 .c { font-size: var(--el-font-size, 6vh); font-weight: var(--el-weight, 800); margin-top: 2vh; text-shadow: var(--el-text-shadow, none); line-height: var(--el-line-height, normal); }
.banner-meta { display: flex; gap: 2vh; font-size: var(--el-font-size, 3vh); justify-content: var(--el-justify, flex-start); }
.banner-meta span { background: rgba(255,255,255,.12); padding: 1vh 2vh; border-radius: 1.2vh; }
.banner-meta b { color: var(--gold); }

.txt { white-space: nowrap; line-height: var(--el-line-height, normal); }
.txt em { font-style: normal; color: var(--ocean); font-weight: 800; }
.s-label .txt { font-size: var(--el-font-size, 3vh); letter-spacing: var(--el-letter-spacing, .22em); text-transform: uppercase; color: var(--el-color, var(--soft)); font-weight: var(--el-weight, 700); text-shadow: var(--el-text-shadow, none); }
.s-label.big .txt { font-size: var(--el-font-size, 3.6vh); letter-spacing: var(--el-letter-spacing, .2em); }
.s-chip .txt { font-size: var(--el-font-size, 3vh); font-weight: var(--el-weight, 700); letter-spacing: var(--el-letter-spacing, .14em); text-transform: uppercase; color: var(--el-color, var(--soft)); text-shadow: var(--el-text-shadow, none); }
.s-chip.small .txt { font-size: var(--el-font-size, 2.6vh); }
.s-note .txt { font-size: var(--el-font-size, 3vh); color: var(--el-color, var(--light)); font-weight: var(--el-weight, 600); letter-spacing: var(--el-letter-spacing, normal); text-shadow: var(--el-text-shadow, none); }
.s-note .txt b { color: #fff; }
.s-pill .txt { background: var(--el-bg, var(--warm)); color: var(--el-color, #fff); font-weight: var(--el-weight, 800); font-size: var(--el-font-size, 4.5vh); padding: var(--el-padding, 1vh 3vh); border-radius: var(--el-radius, 99px); letter-spacing: var(--el-letter-spacing, normal); text-shadow: var(--el-text-shadow, none); }
.s-badge .txt { background: var(--el-bg, var(--warm)); color: var(--el-color, #fff); font-size: var(--el-font-size, 3.2vh); font-weight: var(--el-weight, 800); padding: var(--el-padding, 1vh 2.2vh); border-radius: var(--el-radius, 99px); letter-spacing: var(--el-letter-spacing, .04em); text-shadow: var(--el-text-shadow, none); }
.s-live .txt { background: var(--el-bg, var(--ok)); color: var(--el-color, #fff); font-weight: var(--el-weight, 800); font-size: var(--el-font-size, 3vh); padding: var(--el-padding, 1vh 2.4vh); border-radius: var(--el-radius, 99px); letter-spacing: var(--el-letter-spacing, normal); text-shadow: var(--el-text-shadow, none); }
.s-caption .txt { background: var(--el-bg, rgba(11,29,51,.88)); color: var(--el-color, #fff); font-size: var(--el-font-size, 3.4vh); font-weight: var(--el-weight, 700); padding: var(--el-padding, 1vh 2.2vh); border-radius: var(--el-radius, 1.2vh); letter-spacing: var(--el-letter-spacing, normal); text-shadow: var(--el-text-shadow, none); }
/* Diese Stile zeichnen ihre Fläche selbst (.txt) — sonst lägen eckige .el-Hintergrund/-Rahmen um die runde Pille */
.el.s-pill, .el.s-badge, .el.s-live, .el.s-caption { background: transparent; border-radius: var(--el-radius, 99px); }

/* ---------- progress ---------- */
.o-foot { display: flex; justify-content: space-between; align-items: center; }
.o-foot .wordmark { font-size: 5.5vh; }
.dots { display: flex; gap: calc(var(--dot-size, 1.6vh) * .75); }
.dots i { width: var(--dot-size, 1.6vh); height: var(--dot-size, 1.6vh); border-radius: 50%; background: var(--dot, rgba(255,255,255,.25)); transition: background .4s, transform .4s; }
.dots i.on { background: var(--dot-on, var(--warm)); transform: scale(1.3); }
.p-right { display: flex; align-items: center; gap: 2.4vh; }
.p-title { font-size: var(--el-font-size, 2.6vh); font-weight: 700; white-space: nowrap; }

/* ---------- slot + cards ---------- */
.slot { position: absolute; inset: 0; border: 2px dashed rgba(255,255,255,.18); border-radius: var(--el-radius, 2.4vh); }
.slot .slot-label { position: absolute; left: 6%; top: 10%; font-size: 3vh; color: var(--el-color, rgba(255,255,255,.35)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.t-card { border-radius: var(--el-radius, 2.4vh); }
.card { position: absolute; inset: 0; border-radius: var(--el-radius, 2.4vh); background: var(--el-bg, #fff); color: var(--el-color, var(--text)); overflow: hidden; display: flex; box-shadow: var(--el-shadow, 0 2vh 5vh rgba(0,0,0,.35)); }
.card .img { width: 38%; background-size: var(--el-fit, cover); background-position: 75% center; flex: none; }
.card .ico, .tile .ico, .dl-card .ico, .j-card .ico { width: 30%; flex: none; display: grid; place-items: center; background: var(--page); color: var(--ocean); }
.card .ico svg { width: 45%; height: auto; }
.card .body { padding: var(--el-padding, 4% 6%); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.card .k, .tile .k, .j-final .k { font-size: 2.6vh; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.card .v { font-size: 5vh; font-weight: var(--el-weight, 800); line-height: var(--el-line-height, 1.1); margin-top: .8vh; }
.card .sub { font-size: 2.7vh; color: var(--muted); margin-top: 1vh; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dl-card { position: absolute; inset: 0; background: var(--el-bg, #fff); color: var(--el-color, var(--text)); border-radius: var(--el-radius, 3vh); overflow: hidden; display: flex; box-shadow: var(--el-shadow, 0 4vh 10vh rgba(0,0,0,.45)); }
.dl-card .img { width: 42%; background-size: var(--el-fit, cover); background-position: center 40%; }
.dl-card .body { flex: 1; padding: var(--el-padding, 5% 5%); display: flex; flex-direction: column; justify-content: center; }
.dl-card h2 { margin: 0; font-size: 7vh; font-weight: var(--el-weight, bold); letter-spacing: var(--el-letter-spacing, -0.02em); line-height: var(--el-line-height, normal); }
.tags { display: flex; gap: 1.2vh; flex-wrap: wrap; margin: 2.5vh 0; }
.tags span { font-size: 2.6vh; padding: .6vh 1.6vh; border-radius: 99px; background: #e6f3fb; color: var(--ocean); font-weight: 700; }
.url { font: 600 2.8vh Consolas, monospace; background: var(--page); padding: 1.4vh 2vh; border-radius: 1.2vh; color: var(--ocean); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { margin-top: 2vh; font-size: 2.6vh; color: var(--ok); font-weight: 700; }

.j-st { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; }
.j-dot { width: 9vh; height: 9vh; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 4vh; font-weight: 800; background: #1d3b5a; color: var(--soft); border: .5vh solid rgba(255,255,255,.2); position: relative; z-index: 1; }
.j-dot .on { position: absolute; inset: -.5vh; border-radius: 50%; display: grid; place-items: center; background: var(--warm); color: #fff; opacity: 0; }
.j-card { margin-top: 3vh; width: 100%; flex: 1; border-radius: var(--el-radius, 2vh); background: var(--el-bg, #fff); color: var(--el-color, var(--text)); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--el-shadow, 0 2vh 5vh rgba(0,0,0,.35)); position: relative; }
.j-card .img { flex: 1; background-size: var(--el-fit, cover); background-position: center; }
.j-card .t { padding: 1.6vh 1.8vh; font-size: 3.6vh; font-weight: var(--el-weight, 800); }
.j-final { position: relative; background: var(--el-bg, #fff); color: var(--el-color, var(--text)); border-radius: var(--el-radius, 2.4vh); padding: var(--el-padding, 4vh 5vh); box-shadow: var(--el-shadow, 0 3vh 8vh rgba(0,0,0,.45)); }
.j-final .k { font-size: 2.8vh; }
.j-final .v { font-size: 7vh; font-weight: var(--el-weight, 800); line-height: var(--el-line-height, 1.1); margin-top: 1vh; }
.j-final .sub { font-size: 3.2vh; color: var(--muted); margin-top: 1.4vh; }

.tile { position: absolute; inset: 0; border-radius: var(--el-radius, 2vh); overflow: hidden; background: var(--el-bg, #fff); color: var(--el-color, var(--text)); box-shadow: var(--el-shadow, 0 2vh 5vh rgba(0,0,0,.4)); display: flex; }
.tile .img { width: 55%; background-size: var(--el-fit, cover); background-position: center top; flex: none; }
.tile .app-dummy { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #e9edf1 0 1.2vh, #f6f8fa 1.2vh 2.4vh); color: var(--muted); font-size: 2.4vh; font-weight: 700; text-align: center; border-right: .3vh dashed #b8c4d0; }
.tile .body { padding: var(--el-padding, 2vh 3vh); display: flex; flex-direction: column; justify-content: center; }
.tile .v { font-size: 4.2vh; font-weight: var(--el-weight, 800); margin-top: .6vh; }

/* ---------- images ---------- */
.img-fill { position: absolute; inset: 0; background-size: var(--el-fit, cover); background-position: center; border-radius: var(--el-radius, 0); box-shadow: var(--el-shadow, none); }
.m-intro-still { position: absolute; inset: 0; border-radius: var(--el-radius, 2.5vh); background-size: var(--el-fit, cover); background-position: center; box-shadow: var(--el-shadow, 0 3vh 8vh rgba(0,0,0,.5)); }
.t-image.s-banner, .t-image .banner-wrap { border-radius: var(--el-radius, 2.4vh); }
.banner-wrap { position: relative; overflow: hidden; box-shadow: var(--el-shadow, 0 4vh 10vh rgba(0,0,0,.45)); }
.banner-wrap img { display: block; width: 100%; }
.browser { position: absolute; inset: 0; background: #fff; border-radius: var(--el-radius, 1.8vh); overflow: hidden; box-shadow: var(--el-shadow, 0 4vh 10vh rgba(0,0,0,.5)); }
.browser .bar { height: 6%; background: #eef1f5; display: flex; align-items: center; gap: 1.2vh; padding: 0 2%; }
.browser .bar i { width: 1.4vh; height: 1.4vh; border-radius: 50%; background: #c9d1db; }
.browser .addr { margin-left: 2%; flex: 1; background: #fff; border-radius: 99px; padding: .8vh 2vh; font: 600 2.4vh var(--font); color: #3b4a5c; }
.browser .addr b, .offers .ob b { color: var(--ok); }
.browser .vp { position: absolute; left: 0; right: 0; top: 6%; bottom: 0; overflow: hidden; background: #fff; }
.vp img { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.browser .cover { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: #fff; will-change: transform; }
.offers { position: absolute; inset: 0; background: var(--el-bg, #f3f5f8); border-radius: var(--el-radius, 2vh); overflow: hidden; box-shadow: var(--el-shadow, 0 4vh 10vh rgba(0,0,0,.5)); }
.offers .ob { position: absolute; left: 0; right: 0; top: 0; height: 7%; display: flex; align-items: center; gap: 1vh; padding: 0 2.4vh; background: #eef1f5; color: #3b4a5c; font: 600 2.4vh var(--font); z-index: 1; }
.offers .ob em { font-style: normal; color: var(--ocean); font-weight: 800; }
.offers .vp { position: absolute; left: 0; right: 0; top: 7%; bottom: 0; overflow: hidden; }

/* ---------- video ---------- */
.t-video { border-radius: var(--el-radius, 3.2vh); }
.phone { position: absolute; inset: 0; border-radius: var(--el-radius, 3.2vh); background: var(--el-bg, #000); box-shadow: var(--el-shadow, 0 0 0 1vh #111, 0 4vh 10vh rgba(0,0,0,.6)); }
.phone.plain { box-shadow: var(--el-shadow, 0 4vh 10vh rgba(0,0,0,.6)); border-radius: var(--el-radius, 1.2vh); }
.phone video, .phone .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--el-fit, cover); border-radius: inherit; }
.phone .poster { background-size: cover; background-position: center; }
.phone-label { position: absolute; left: 0; right: 0; bottom: -6.5vh; text-align: center; font-size: 3.2vh; font-weight: 700; color: var(--light); }
.fb-bar { position: absolute; left: 0; right: 0; top: 0; padding: 2.2vh 2.4vh; display: flex; align-items: center; gap: 1.4vh; font-size: 2.6vh; font-weight: 700; color: #fff; text-shadow: 0 .3vh 1vh rgba(0,0,0,.6); z-index: 2; }
.fb-bar span { font-weight: 500; opacity: .85; }
.fb-bar .av { width: 4.6vh; height: 4.6vh; border-radius: 50%; background: #fff; color: var(--ocean); display: grid; place-items: center; font-size: 2.2vh; font-weight: 800; text-shadow: none; }
.fb-cta { position: absolute; left: 6%; right: 6%; bottom: 4%; background: rgba(255,255,255,.95); color: var(--deep); border-radius: 1.4vh; padding: 1.6vh; text-align: center; font-size: 2.8vh; font-weight: 800; z-index: 2; will-change: transform; }
.tap { position: absolute; left: 50%; top: 92%; width: 12vh; height: 12vh; margin: -6vh 0 0 -6vh; border-radius: 50%; background: rgba(255,255,255,.35); border: .6vh solid #fff; opacity: 0; z-index: 3; will-change: transform, opacity; }

/* ---------- screencast ---------- */
.t-screencast { inset: 0; overflow: hidden; }
.shot { position: absolute; inset: 0; overflow: hidden; opacity: 0; will-change: opacity; }
.shot img { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.cursor { position: absolute; left: 0; top: 0; width: 7vh; height: 7vh; z-index: 5; will-change: transform; filter: drop-shadow(0 .6vh 1vh rgba(0,0,0,.35)); }
.ripple { position: absolute; left: 0; top: 0; width: 14vh; height: 14vh; margin: -7vh 0 0 -7vh; border-radius: 50%; border: .8vh solid var(--warm); opacity: 0; z-index: 4; will-change: transform, opacity; }
.r-label { position: absolute; left: 3%; bottom: 4%; background: rgba(11,29,51,.88); color: #fff; font-size: 3.4vh; font-weight: 700; padding: 1vh 2.2vh; border-radius: 1.2vh; z-index: 6; opacity: 0; }

/* ---------- list ---------- */
/* Aufzählung: alle Größen folgen einer Grundgröße (--lb = Schriftgröße der Punkte, Vorgabe 4.6vh) —
   „Schriftgröße (px)“ bzw. Ziehen an der Ecke skaliert Logo, Claim, Punkte und Abstände gemeinsam. */
.outro { --lb: var(--el-font-size, 4.6vh); position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 9%; }
.el-auto > .outro { position: relative; inset: auto; padding: 0; }
.outro .wordmark { font-size: calc(var(--lb) * 16 / 4.6); }
.outro .claim { font-size: calc(var(--lb) * 5 / 4.6); color: var(--gold); font-weight: 800; margin: calc(var(--lb) / 4.6) 0 calc(var(--lb) * 5 / 4.6); letter-spacing: .02em; }
.outro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--lb) * 2.4 / 4.6); }
.outro li { font-size: var(--lb); font-weight: var(--el-weight, 600); display: flex; align-items: center; gap: calc(var(--lb) * 2 / 4.6); opacity: 0; will-change: opacity, transform; }
.outro li::before { content: ""; width: calc(var(--lb) * 1.8 / 4.6); height: calc(var(--lb) * 1.8 / 4.6); border-radius: 50%; background: var(--glow); flex: none; }

/* ---------- line ---------- */
.j-line { position: absolute; inset: 0; background: rgba(255,255,255,.15); border-radius: 99px; }
.j-line i { position: absolute; inset: 0; background: var(--warm); border-radius: 99px; transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }

/* ---------- editor preview ---------- */
.preview body { cursor: default; }
.el.hl { outline: .5vh dashed var(--warm); outline-offset: .3vh; }

/* ---------- monitor mode: pairing code and notices ---------- */
#notice { position: fixed; inset: 0; z-index: 990; display: grid; place-items: center; background: radial-gradient(120% 140% at 50% 120%, var(--ocean) 0%, var(--deep) 60%); text-align: center; padding: 0 6vw; }
#notice .k { font-size: 4vh; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
#notice .code { font: 800 22vh/1.1 Consolas, "Segoe UI", monospace; letter-spacing: .06em; margin: 3vh 0; color: #fff; }
#notice .s { font-size: 3.4vh; color: var(--light); }

/* ---------- offers (element "Angebote"): cards of a deeplink list ---------- */
/* Angebote: Größen in --ou statt vh. --ou = 1vh beim Vorgabe-Kasten (92 % × 84 %), kleiner wenn der
   Kasten im Verhältnis zum Bildschirm kleiner ist (--vr = Höhe/Breite des Bildschirms, setzt player.js)
   Kasten kleiner ist (Container-Einheiten) — Text, Abstände und QR schrumpfen mit, statt abgeschnitten
   zu werden. Nie größer als bisher. */
.t-offers:not(.el-auto) { container-type: size; }
.of { --ou: min(1vh, calc(100cqh / 84), calc(100cqw / 92 * var(--vr, .5625))); position: absolute; inset: 0; display: flex; flex-direction: column; gap: calc(2.2 * var(--ou)); color: var(--el-color, var(--text)); }
.of-h { font-size: calc(4.2 * var(--ou)); font-weight: 800; letter-spacing: -0.01em; color: var(--el-color, #fff); }
.of-body { position: relative; flex: 1; min-height: 0; display: flex; gap: calc(2.4 * var(--ou)); }
.of-body.of-in > * { animation: of-in .7s ease both; }
.of-body.of-in > *:nth-child(2) { animation-delay: .08s; } .of-body.of-in > *:nth-child(3) { animation-delay: .16s; }
.of-body.of-in > *:nth-child(4) { animation-delay: .24s; } .of-body.of-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes of-in { from { opacity: 0; transform: translateY(calc(2.5 * var(--ou))); } to { opacity: 1; transform: none; } }
.of-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--el-bg, #fff); border-radius: var(--el-radius, calc(2.4 * var(--ou))); box-shadow: var(--el-shadow, 0 calc(3 * var(--ou)) calc(8 * var(--ou)) rgba(0,0,0,.4)); }
.of-img { flex: 0 0 52%; background: var(--page) center / cover no-repeat; }
.of-info { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: calc(.8 * var(--ou)); padding: calc(2.2 * var(--ou)) calc(2.6 * var(--ou)); }
.of-stars { color: var(--gold); font-size: calc(2.2 * var(--ou)); letter-spacing: .15em; }
.of-title { font-size: calc(3.2 * var(--ou)); font-weight: var(--el-weight, 800); line-height: var(--el-line-height, 1.12); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.of-sub { font-size: calc(2.2 * var(--ou)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-meta { font-size: calc(2 * var(--ou)); color: var(--muted); }
.of-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: calc(2 * var(--ou)); }
.of-price { font-size: calc(4.4 * var(--ou)); font-weight: 800; color: var(--warm); line-height: 1; white-space: nowrap; }
.of-price small { font-size: .5em; font-weight: 600; color: var(--muted); }
.of-qr { display: flex; flex-direction: column; align-items: center; gap: calc(.6 * var(--ou)); }
.of-qr img { width: calc(11 * var(--ou)); height: calc(11 * var(--ou)); background: #fff; padding: calc(.6 * var(--ou)); border-radius: calc(.8 * var(--ou)); }
.of-qr span { font-size: calc(1.5 * var(--ou)); font-weight: 600; color: var(--muted); white-space: nowrap; }
.of-card.big { flex-direction: row; }
.of-card.big .of-img { flex: 0 0 56%; }
.of-card.big .of-info { padding: calc(4 * var(--ou)) calc(4 * var(--ou)); gap: calc(1.4 * var(--ou)); justify-content: center; }
.of-card.big .of-stars { font-size: calc(3.4 * var(--ou)); }
.of-card.big .of-title { font-size: calc(6.4 * var(--ou)); -webkit-line-clamp: 3; }
.of-card.big .of-sub { font-size: calc(3.2 * var(--ou)); white-space: normal; }
.of-card.big .of-meta { font-size: calc(3 * var(--ou)); }
.of-card.big .of-price { font-size: calc(8 * var(--ou)); }
.of-card.big .of-qr img { width: calc(20 * var(--ou)); height: calc(20 * var(--ou)); }
.of-card.big .of-qr span { font-size: calc(2.2 * var(--ou)); }
.of-empty { margin: auto; padding: calc(2 * var(--ou)) calc(3 * var(--ou)); border: calc(.3 * var(--ou)) dashed var(--soft); border-radius: calc(2 * var(--ou)); color: var(--soft); font-size: calc(3 * var(--ou)); }
@media (prefers-reduced-motion: reduce) { .of-body.of-in > * { animation: none; } }
