/* Stelenwerk-Player · 1080 × 1920 Hochformat, wird in stele.js auf den Bildschirm skaliert. Farben kommen aus dem Paket (theme), hier nur Vorgaben. */
:root {
  --green: #398f24; --green-d: #2b6e1b; --green-l: #9bc77a; --green-xl: #e9f3e3;
  --ink: #1b1d1b; --ink-2: #4a4f4a; --line: #dfe3dc; --paper: #f5f6f3; --white: #fff;
  --r: 22px; --shadow: 0 14px 40px rgba(20, 40, 15, .12), 0 2px 6px rgba(20, 40, 15, .08);
}
* { box-sizing: border-box; margin: 0; cursor: none !important; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #0e110d; }
body { font-family: "Ubuntu", "Inter", "Segoe UI", system-ui, sans-serif; color: var(--ink); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; text-align: left; }
.label { font-size: 19px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

#stele { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform-origin: 0 0; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }

/* MBI-Quadrate als Gestaltungselement */
.squares { position: absolute; right: 0; top: 0; width: 360px; height: 360px; pointer-events: none; z-index: 0; }
.squares i { position: absolute; background: var(--green); opacity: .9; }
.squares i:nth-child(1) { right: 0; top: 0; width: 120px; height: 120px; }
.squares i:nth-child(2) { right: 130px; top: 0; width: 56px; height: 56px; opacity: .55; }
.squares i:nth-child(3) { right: 0; top: 130px; width: 56px; height: 56px; opacity: .45; }
.squares i:nth-child(4) { right: 196px; top: 20px; width: 24px; height: 24px; opacity: .35; }
.squares i:nth-child(5) { right: 66px; top: 196px; width: 24px; height: 24px; opacity: .3; }
.squares i:nth-child(6) { right: 130px; top: 66px; width: 40px; height: 40px; opacity: .25; }
.squares i:nth-child(7) { right: 240px; top: 80px; width: 14px; height: 14px; opacity: .3; }

/* Kopf */
.top { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; padding: 34px 48px 20px; }
.brand { display: flex; align-items: center; gap: 14px; background: var(--green); padding: 16px 22px; border-radius: 6px; }
.brand img { height: 52px; display: block; }
.brand span { color: var(--green-l); font-size: 22px; letter-spacing: .32em; font-weight: 500; }
.top__meta { white-space: nowrap; display: flex; flex-direction: column; gap: 4px; font-size: 20px; color: var(--ink-2); flex: 1; }
.top__meta .clock { font-weight: 700; color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 26px; border-radius: 999px; font-size: 22px; font-weight: 600; }
.pill--ghost { background: var(--white); box-shadow: inset 0 0 0 2px var(--line); margin-right: 120px; }
.pill--ghost:active { background: var(--green-xl); }
.pill--green { background: var(--green); color: #fff; }

/* Berater */
/* Avatar-Fenster: 470 px hoch, der Kopf rendert weiter in 600 px – unten wird abgeschnitten, bevor das Hemd ausblendet */
.advisor { position: relative; z-index: 1; margin: 6px 40px 0; display: grid; grid-template-columns: 440px 1fr; grid-template-rows: auto auto; gap: 22px 26px; }
.avatar { position: relative; grid-row: 1; height: 470px; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, var(--green-xl) 55%, color-mix(in srgb, var(--green-xl), var(--green-l) 25%) 100%); box-shadow: var(--shadow); }
.avatar__head { position: absolute; left: 0; right: 0; top: 0; height: 600px; }
.avatar__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: opacity .6s; }
.avatar__fallback span { width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 64px; font-weight: 800; letter-spacing: .04em; animation: breathe 3.4s ease-in-out infinite; }
.avatar__fallback small { font-size: 20px; color: var(--ink-2); }
.avatar.is-live .avatar__fallback { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 0 26px rgba(57, 143, 36, .12); } }
.avatar__state { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 19px; font-weight: 600; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.avatar__state i { width: 12px; height: 12px; border-radius: 50%; background: var(--green-l); }
.avatar[data-state="listening"] .avatar__state i { background: #e23a2e; animation: pulse 1s infinite; }
.avatar[data-state="thinking"] .avatar__state i, .avatar[data-state="transcribing"] .avatar__state i { background: #f0b400; animation: pulse 1s infinite; }
.avatar[data-state="speaking"] .avatar__state i { background: var(--green); animation: pulse .7s infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.avatar__lang { position: absolute; right: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(27, 29, 27, .78); color: #fff; font-size: 16px; letter-spacing: .06em; }

.talk { grid-row: 1; display: flex; flex-direction: column; gap: 14px; padding: 30px 32px; height: 470px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.talk__you { font-size: 21px; color: var(--ink-2); padding: 12px 16px; background: var(--paper); border-radius: 12px; }
.talk__you b { color: var(--ink); }
.talk__say { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; font-size: 27px; line-height: 1.42; }
.talk__say::-webkit-scrollbar { display: none; }
.talk__say.oben-mehr { mask-image: linear-gradient(transparent 0, #000 14%); }
.talk__say p + p { margin-top: .6em; }
.talk__say strong { color: var(--green-d); }
.thinking i { display: inline-block; width: 9px; height: 9px; margin-left: 6px; border-radius: 50%; background: var(--green); animation: pulse 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .2s; } .thinking i:nth-child(3) { animation-delay: .4s; }
.cursor { display: inline-block; width: 3px; height: 1em; margin-left: 3px; vertical-align: -.15em; background: var(--green); animation: pulse .8s infinite; }

.controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
.mic { position: relative; flex: none; width: 190px; height: 190px; border-radius: 50%; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 12px 30px rgba(57, 143, 36, .4); transform: scale(var(--lvl, 1)); transition: transform .08s, background .2s; }
.mic__label { font-size: 17px; font-weight: 700; text-align: center; line-height: 1.15; }
.mic__ring { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--green-l); opacity: .7; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.92); opacity: .8; } to { transform: scale(1.18); opacity: 0; } }
.mic.rec { background: #e23a2e; box-shadow: 0 12px 30px rgba(226, 58, 46, .45); }
.mic.busy { background: #6b756a; }
.mic.speak { background: var(--ink); }
.mic:disabled { opacity: .45; }
.chips { flex: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 14px 20px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); font-size: 20px; font-weight: 500; line-height: 1.2; }
.chip:active { background: var(--green-xl); box-shadow: inset 0 0 0 2px var(--green); }

/* Zonen und Bausteine (Layout aus der Plattform → Gestaltung) */
.zonen { position: relative; z-index: 1; margin: 30px 40px 0; flex: 1; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.zone { display: flex; flex-direction: column; gap: 16px; }
.zone:empty { display: none; }
.zone--anzeige { margin-top: auto; }
.bs--referenzen { display: flex; flex-direction: column; gap: 16px; }
.bs--referenzen.gr-S .ref { height: 180px; }
.bs--referenzen.gr-L .ref { height: 330px; }
.tiles.gr-M { height: 250px; } .tiles.gr-L { height: 330px; }
.bs-bild { position: relative; border-radius: var(--r); overflow: hidden; background: #1b1d1b; box-shadow: var(--shadow); color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.bs-bild img, .bs-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10, 20, 8, .75)); }
.bs-bild .tile__txt { z-index: 1; }
.bs-bild .label { color: var(--green-l); }
.bs-text { border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); padding: 26px 30px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.bs-text b { font-size: 30px; line-height: 1.2; }
.bs-text p { font-size: 22px; line-height: 1.4; color: var(--ink-2); }
.zone > .bs-text, .zone > .bs-bild { height: auto; min-height: 200px; }
.zone > .bs-bild.gr-L { min-height: 330px; }
[hidden] { display: none !important; }
.menu__head { display: flex; align-items: baseline; justify-content: space-between; }
.menu__hint { font-size: 18px; color: var(--ink-2); }
.refs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ref { grid-column: span 3; }
/* 5 Referenzen: oben 3 schmale, unten 2 breite Kacheln (gleiche Gesamthöhe wie 2×2) */
.refs:has(> .ref:nth-child(5)) .ref:nth-child(-n+3) { grid-column: span 2; }
.refs:has(> .ref:nth-child(5)) .ref__txt b { font-size: 24px; }
.ref { position: relative; height: 250px; border-radius: var(--r); overflow: hidden; background: #ccd; box-shadow: var(--shadow); }
.ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ref:active img { transform: scale(1.04); }
.ref::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10, 20, 8, .82)); }
.ref__txt { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: #fff; }
.ref__txt b { display: block; font-size: 27px; }
.ref__txt small { font-size: 18px; opacity: .85; }
.ref__no { position: absolute; left: 0; top: 0; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 22px; }
.demo-badge { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: rgba(240, 180, 0, .95); color: #111; font-size: 14px; font-weight: 700; letter-spacing: .06em; }

.tiles { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; height: 250px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.tile:active { transform: scale(.98); }
.tile__txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.tile__txt b { font-size: 25px; line-height: 1.15; }
.tile__txt small { font-size: 17px; color: var(--ink-2); line-height: 1.3; }
.tile--film { color: #fff; }
.tile__img { position: absolute; inset: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile--film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(10, 20, 8, .8)); }
.tile--film .label { color: var(--green-l); }
.tile__play { position: absolute; left: 50%; top: 40%; z-index: 1; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.tile__play::after { content: ""; position: absolute; left: 34px; top: 25px; border-left: 26px solid var(--green); border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.tile--game { background: var(--green); color: #fff; }
.tile--game .label { color: var(--green-l); }
.tile--game small { color: rgba(255, 255, 255, .85); }
.tile__icon { position: absolute; right: 18px; top: 18px; opacity: .9; }
.tile--game.is-soon::before { content: "Demnächst"; position: absolute; left: 22px; top: 22px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .2); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.tile__qr { position: absolute; right: 18px; top: 18px; width: 120px; height: 120px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--line); }
.tile__qr svg { width: 100%; height: 100%; display: block; }

.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding: 18px 44px 26px; font-size: 16px; color: var(--ink-2); }
#demoNote { color: #9a6b00; font-weight: 600; }

/* Overlay-Blatt */
.sheet { position: absolute; inset: 0; z-index: 20; background: rgba(12, 18, 10, .55); display: flex; align-items: flex-end; animation: fade .25s; }
.sheet[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel { position: relative; width: 100%; height: 1640px; background: var(--paper); border-radius: 34px 34px 0 0; overflow: hidden; animation: up .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
@keyframes up { from { transform: translateY(120px); opacity: 0; } }
.round { width: 76px; height: 76px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 30px; }
.sheet__close { position: absolute; right: 28px; top: 28px; z-index: 5; }
#sheetBody { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.gal { position: relative; height: 700px; flex: none; background: #111; overflow: hidden; }
.gal__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.gal__track img { flex: none; width: 1080px; height: 100%; object-fit: cover; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 12px; }
.gal__dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.gal__dots i.on { background: #fff; width: 38px; border-radius: 8px; }
.det { padding: 44px 56px; display: flex; flex-direction: column; gap: 26px; overflow: hidden; }
.det h2 { font-size: 56px; line-height: 1.05; }
.det p { font-size: 27px; line-height: 1.45; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--white); border-radius: 16px; padding: 18px 22px; box-shadow: inset 0 0 0 2px var(--line); }
.fact small { display: block; font-size: 16px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; }
.fact b { font-size: 24px; }
.det__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.det__actions .pill { height: 76px; font-size: 24px; padding: 0 32px; }

.player { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: #0e110d; color: #fff; padding: 120px 0 60px; }
.player video { width: 1080px; max-height: 1300px; background: #000; }
.player h2 { font-size: 40px; }

.qrbig { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 80px; text-align: center; }
.qrbig__code { width: 560px; height: 560px; padding: 34px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.qrbig__code svg { width: 100%; height: 100%; display: block; }
.qrbig h2 { font-size: 54px; }
.qrbig p { font-size: 28px; color: var(--ink-2); max-width: 760px; line-height: 1.4; }

/* Ruhemodus / Kampagnen */
.idle { position: absolute; inset: 0; z-index: 40; background: #0e110d; }
.idle[hidden] { display: none; }
.idle__stage { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; display: flex; flex-direction: column; justify-content: center; }
.slide.on { opacity: 1; }
.slide video { width: 1080px; height: 1080px; object-fit: cover; margin: auto 0; }
.slide--bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide--bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(8, 16, 6, .85)); }
.slide__txt { position: relative; z-index: 1; padding: 0 80px; color: #fff; }
.slide--bild .slide__txt { position: absolute; left: 0; right: 0; bottom: 260px; }
.slide__txt .label { color: var(--green-l); font-size: 26px; }
.slide__txt h2 { font-size: 92px; line-height: 1.02; margin: 18px 0 26px; }
.slide__txt p { font-size: 36px; line-height: 1.35; opacity: .9; max-width: 860px; }
.slide--text { background: var(--green); }
.slide--text .label { color: color-mix(in srgb, var(--green-l) 45%, #fff); }
.slide__qr { width: 300px; height: 300px; margin-top: 50px; padding: 20px; background: #fff; border-radius: 20px; }
.slide__qr svg { width: 100%; height: 100%; display: block; }
.idle__logo { position: absolute; left: 60px; top: 60px; z-index: 2; height: 70px; }
.idle__hint { position: absolute; left: 50%; bottom: 80px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 22px 36px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 28px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); animation: bob 2.6s ease-in-out infinite; }
.idle__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); animation: pulse 1.2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, -10px); } }

.toast { position: absolute; left: 50%; top: 150px; z-index: 60; transform: translateX(-50%); padding: 18px 30px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 22px; box-shadow: var(--shadow); }
.toast[hidden] { display: none; }
.gal .demo-badge { right: auto; left: 28px; top: 28px; font-size: 18px; }

/* ===== Vorlage „Foto-Kopf“ (nach WashTec Stele Variante 4): Foto 760 px mit schräger Kante, Avatar-Karte rechts über der Kante,
   Sprechen-Pille darunter, Antwort links daneben, Fragen darunter, dann Greifzone; Anzeige = Tiefzone unten (230 px) ===== */
.fk-foto { display: none; }
.vorlage-foto-kopf .fk-foto { display: block; position: absolute; left: 0; top: 0; width: 1080px; height: 760px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); background: var(--green-d); z-index: 0; }
.fk-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fk-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--green-d) 94%, transparent) 0%, color-mix(in srgb, var(--green-d) 70%, transparent) 32%, color-mix(in srgb, var(--green-d) 10%, transparent) 62%, color-mix(in srgb, var(--green-d) 45%, transparent) 100%); }
.fk-titel { position: absolute; left: 48px; bottom: 96px; width: 470px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 12px; }
.fk-titel .label { color: #fff; opacity: .9; }
.fk-titel h1 { font-size: 64px; line-height: 1.02; font-weight: 900; overflow-wrap: anywhere; hyphens: auto; }
.fk-titel p { font-size: 26px; line-height: 1.35; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vorlage-foto-kopf .squares { display: none; }
.vorlage-foto-kopf .top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 48px 48px 0; align-items: flex-start; }
.vorlage-foto-kopf .brand { background: none; padding: 0; }
.vorlage-foto-kopf .brand img { height: 46px; }
.vorlage-foto-kopf .top__meta { color: rgba(255, 255, 255, .85); }
.vorlage-foto-kopf .top__meta .clock { color: #fff; }
.vorlage-foto-kopf .pill--ghost { margin-right: 0; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.vorlage-foto-kopf .advisor, .vorlage-foto-kopf .controls { position: static; display: block; margin: 0; }
.vorlage-foto-kopf .avatar { position: absolute; right: 48px; top: 398px; width: 420px; height: 470px; z-index: 4; border-radius: 24px;
  background: linear-gradient(160deg, var(--green-d) 0%, var(--green) 100%); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.vorlage-foto-kopf .avatar__fallback small { color: rgba(255, 255, 255, .85); }
.vorlage-foto-kopf .avatar__fallback span { background: rgba(255, 255, 255, .18); }
.vorlage-foto-kopf .talk { position: absolute; left: 48px; top: 800px; width: 540px; height: 230px; padding: 0; background: none; box-shadow: none; border-radius: 0; gap: 10px; }
.vorlage-foto-kopf .talk__say { font-size: 27px; }
.vorlage-foto-kopf .mic { position: absolute; right: 48px; top: 892px; width: 420px; height: 120px; border-radius: 999px; flex-direction: row; justify-content: flex-start; gap: 22px; padding: 0 30px 0 16px; z-index: 4; background: var(--green-d); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.vorlage-foto-kopf .mic svg { width: 88px; height: 88px; padding: 18px; border-radius: 50%; background: var(--green); flex: none; }
.vorlage-foto-kopf .mic__label { font-size: 26px; text-align: left; }
.vorlage-foto-kopf .mic__ring { display: none; }
.vorlage-foto-kopf .chips { position: absolute; left: 48px; right: 48px; top: 1046px; max-height: 130px; overflow: hidden; }
.vorlage-foto-kopf .zonen { position: absolute; left: 48px; right: 48px; top: 1196px; bottom: 0; margin: 0; }
.vorlage-foto-kopf .zone--anzeige { margin-top: auto; height: 230px; padding-bottom: 24px; justify-content: flex-end; }
.vorlage-foto-kopf .zone--anzeige .tiles, .vorlage-foto-kopf .zone--anzeige .bs-bild, .vorlage-foto-kopf .zone--anzeige .bs-text { height: 196px; min-height: 0; }
.vorlage-foto-kopf .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 48px 6px; font-size: 13px; z-index: 1; }
.vorlage-foto-kopf .avatar__fallback span { font-size: 40px; }

/* ===== Ruhemodus: KI-Werbung (Bild mit Zoom, Kinetic Typography, eine Akzent-Box pro Überschrift) ===== */
.slide--werbung { justify-content: flex-end; background: var(--green-d); }
.wb-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.slide--werbung.on .wb-bild { animation: wbZoom var(--dauer, 12s) linear forwards; }
@keyframes wbZoom { from { transform: scale(1); } to { transform: scale(1.14); } }
.wb-grund { position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 20%, var(--green) 0%, var(--green-d) 60%, #0b0f0a 100%); }
.slide--werbung::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--green-d) 92%, #000) 0%, color-mix(in srgb, var(--green-d) 55%, transparent) 38%, transparent 62%); }
.wb-txt { position: relative; z-index: 1; padding: 0 72px 300px; display: flex; flex-direction: column; gap: 26px; color: #fff; }
.wb-kicker { font-size: 22px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--green-l) 55%, #fff); opacity: 0; }
.wb-titel { font-size: 104px; line-height: .98; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: anywhere; hyphens: auto; }
.wb-w { display: inline-block; opacity: 0; transform: translateY(46px); filter: blur(10px); }
.wb-box { background: var(--green); padding: 0 16px; font-style: italic; }
.wb-text { font-size: 34px; line-height: 1.35; max-width: 880px; opacity: 0; }
.wb-cta { display: flex; align-items: center; gap: 28px; opacity: 0; }
.wb-pill { display: inline-flex; align-items: center; gap: 18px; height: 88px; padding: 0 10px 0 36px; border-radius: 999px; background: var(--green); color: #fff; font-size: 32px; font-weight: 700; }
.wb-pill i { width: 68px; height: 68px; border-radius: 50%; background: #fff center / 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); }
.wb-qr { width: 170px; height: 170px; padding: 12px; background: #fff; border-radius: 14px; }
.wb-qr svg { width: 100%; height: 100%; display: block; }
.slide--werbung.on .wb-kicker { animation: wbEin .6s cubic-bezier(.16, 1, .3, 1) .3s forwards; }
.slide--werbung.on .wb-w { animation: wbWort .7s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(.6s + var(--i) * .14s); }
.slide--werbung.on .wb-text { animation: wbEin .8s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(1s + var(--n, 4) * .14s); }
.slide--werbung.on .wb-cta { animation: wbEin .8s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(1.5s + var(--n, 4) * .14s); }
@keyframes wbWort { to { opacity: 1; transform: none; filter: none; } }
@keyframes wbEin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide--werbung.on .wb-bild { animation: none; } }

/* ----- Werbung: Stil „Ruhig“ – stehendes Bild, Text weich als Block, Akzent nur farbig ----- */
.wb--ruhig.on .wb-bild { animation: none; }
.wb--ruhig .wb-titel { font-size: 84px; line-height: 1.08; text-transform: none; font-weight: 700; letter-spacing: -.015em; }
.wb--ruhig .wb-w { opacity: 1; transform: none; filter: none; }
.wb--ruhig .wb-box { background: none; padding: 0; font-style: normal; color: color-mix(in srgb, var(--green-l) 70%, #fff); }
.wb--ruhig .wb-titel, .wb--ruhig .wb-kicker { opacity: 0; }
.wb--ruhig.on .wb-titel { animation: wbWeich 1.6s cubic-bezier(.16, 1, .3, 1) .5s forwards; }
.wb--ruhig.on .wb-kicker { animation: wbWeich 1.2s ease .2s forwards; }
.wb--ruhig.on .wb-text { animation: wbWeich 1.4s ease 1.4s forwards; }
.wb--ruhig.on .wb-cta { animation: wbWeich 1.4s ease 2.2s forwards; }
@keyframes wbWeich { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----- Werbung: Stil „Plakativ“ – Markenfläche, Bild schräg oben, riesige Versalien mit harten Schnitten ----- */
.wb--plakativ { background: var(--green); }
.wb--plakativ::after { display: none; }
.wb--plakativ .wb-bild, .wb--plakativ .wb-grund { height: 58%; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.wb--plakativ.on .wb-bild { animation: wbZoom var(--dauer, 12s) linear forwards; }
.wb--plakativ .wb-txt { padding-bottom: 250px; }
.wb--plakativ .wb-titel { font-size: 108px; line-height: .94; letter-spacing: -.02em; hyphens: manual; overflow-wrap: break-word; }
.wb--plakativ .wb-w { transform: none; filter: none; }
.wb--plakativ.on .wb-w { animation: wbHart .01s steps(1) forwards; animation-delay: calc(.4s + var(--i) * .32s); }
.wb--plakativ .wb-box { background: #fff; color: var(--green-d); font-style: normal; }
.wb--plakativ .wb-kicker { color: #fff; }
.wb--plakativ .wb-pill { background: var(--green-d); border-radius: 0; height: 96px; }
@keyframes wbHart { to { opacity: 1; } }

/* ----- Werbung: Stil „Zahl“ – Kennzahl zählt hoch, Erklärung darunter ----- */
.wb-zahl { font-size: 260px; line-height: .9; font-weight: 900; letter-spacing: -.04em; font-variant-numeric: tabular-nums; opacity: 0; }
.wb-zahl span { color: #fff; }
.wb-zahltext { font-size: 64px; line-height: 1.05; font-weight: 800; text-transform: uppercase; opacity: 0; }
.wb--zahl.on .wb-zahl { animation: wbEin .6s cubic-bezier(.16, 1, .3, 1) .2s forwards; }
.wb--zahl.on .wb-zahltext { animation: wbEin .8s cubic-bezier(.16, 1, .3, 1) 1.6s forwards; }
.wb--zahl.on .wb-text { animation-delay: 2.2s; }
.wb--zahl.on .wb-cta { animation-delay: 2.8s; }
.wb--ruhig.on .wb-w { animation: none; }
