/* teile/home.css — Agent-Bereich "home" (25.09.2026). Liegt nach sunset.css.
   Startseite als "Mega-Radio": On-Air-Modul, Programm-Zeitleiste, Verlauf + Wunschbox.
   Alle Regeln sind auf die Startseite beschraenkt (eigene Klassen hx-/oa-/epg- oder body[data-page="home"]). */

/* ---------- Gemeinsames ---------- */
.hx-play .ic-pause { display: none; }
.hx-play.is-playing .ic-play { display: none; }
.hx-play.is-playing .ic-pause { display: inline; }
.hx-unter { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 12px 0 0; max-width: 52ch; }
.hx-unter:empty { display: none; }
.hx-unter::first-letter { text-transform: uppercase; }

/* ---------- Kopf (Hero) ---------- */
.hx-hero__kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; }
.hx-hero__kopf .cine__live { border-radius: 8px; }
.hx-slot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: -2px 0 26px; color: rgba(255,255,255,.92);
  font: 500 15px/1.2 var(--ff-display); font-variant-numeric: tabular-nums; }
.hx-slot[hidden] { display: none; }
.hx-slot__time { font-weight: 700; letter-spacing: .01em; }
.hx-slot__bar { position: relative; width: clamp(90px, 12vw, 160px); height: 5px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.hx-slot__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #FFD27A, #fff); transform-origin: left center; transform: scaleX(0); transition: transform 1s linear; }
.hx-slot__rest { color: rgba(255,255,255,.78); }
.cine .hx-play { gap: 10px; }

@media (min-width: 821px) {
  /* Das On-Air-Modul schiebt sich weich ueber den unteren Rand des Kopfes */
  body[data-page="home"] .hx-hero .cine__content { padding-bottom: calc(clamp(40px, 8vh, 80px) + 110px); }
  body[data-page="home"] .hx-hero { min-height: max(600px, calc(100svh - var(--header-h) - 40px)); }
}

/* ---------- On-Air-Modul ---------- */
.oa { position: relative; z-index: 3; margin-top: -120px; }
.oa__buehne { position: relative; }
.oa__buehne::before { content: ""; position: absolute; z-index: -2; left: -4%; right: 30%; top: -10%; bottom: -30%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,138,31,.22), rgba(255,94,58,.08) 60%, transparent); filter: blur(20px); }
/* Farbschein: unscharfe Kopie des Covers hinter und in der Karte */
.oa__halo { position: absolute; z-index: -1; left: clamp(0px, 2vw, 30px); top: 4%; width: min(46%, 520px); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; filter: blur(70px) saturate(1.5); opacity: .55; pointer-events: none; transform: scale(1.1); transition: opacity .6s ease; }
.oa__tint { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; z-index: 0; pointer-events: none;
  filter: blur(80px) saturate(1.8); opacity: .13; transition: opacity .6s ease; }
.oa__halo.is-weg, .oa__tint.is-weg { opacity: 0; }
.oa__karte > *:not(.oa__tint):not(.oa__pegel) { position: relative; z-index: 1; }
/* Pegelband am unteren Kartenrand: ruhig, pastellig */
.oa__pegel { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 0; display: flex; align-items: flex-end; gap: 3px; padding: 0 14px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); opacity: .38; }
.oa__pegel i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(255,138,31,.55), rgba(238,58,30,.08)); transform-origin: bottom; transform: scaleY(calc(var(--h) * .6)); }
@media (prefers-reduced-motion: no-preference) {
  .oa__pegel i { animation: oa-pegel var(--t) ease-in-out var(--d) infinite alternate; }
  body[data-playing="true"] .oa__pegel { opacity: .75; }
}
@keyframes oa-pegel { from { transform: scaleY(calc(var(--h) * .18)); } to { transform: scaleY(var(--h)); } }
.oa__karte {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(250px, 310px);
  gap: clamp(22px, 3vw, 44px); align-items: center;
  padding: clamp(18px, 2vw, 26px); border-radius: var(--r-l); background: var(--surface);
  box-shadow: 0 2px 6px rgba(70,35,20,.06), 0 40px 80px -46px rgba(238,58,30,.55), 0 18px 40px -28px rgba(40,10,10,.35);
}
.oa__cover { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--sun-soft); box-shadow: var(--sh-media);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.oa__cover:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 36px 80px -34px rgba(238,58,30,.6), 0 12px 30px -16px rgba(40,10,10,.5); }
.oa__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); filter: blur(8px);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.oa__bild.is-an { opacity: 1; transform: none; filter: none; }
.oa__badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px 7px 9px; border-radius: 10px; background: rgba(255,255,255,.9); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 700 11px/1 var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 18px -10px rgba(0,0,0,.45);
}
.oa__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.oa__eq i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--sun); transform-origin: bottom; transform: scaleY(.45); }
.oa__eq i:nth-child(2) { transform: scaleY(.85); } .oa__eq i:nth-child(3) { transform: scaleY(.6); }
.oa__eq i:nth-child(4) { transform: scaleY(1); } .oa__eq i:nth-child(5) { transform: scaleY(.35); }
@media (prefers-reduced-motion: no-preference) {
  .oa__eq i { animation: oa-eq 1.3s ease-in-out infinite alternate; }
  .oa__eq i:nth-child(2) { animation-duration: 1.05s; animation-delay: -.4s; }
  .oa__eq i:nth-child(3) { animation-duration: 1.5s; animation-delay: -.9s; }
  .oa__eq i:nth-child(4) { animation-duration: .95s; animation-delay: -.2s; }
  .oa__eq i:nth-child(5) { animation-duration: 1.25s; animation-delay: -.7s; }
  body[data-playing="true"] .oa__eq i { animation-duration: .6s; }
}
@keyframes oa-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.oa__haupt { min-width: 0; }
.oa__k { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 12px; color: var(--accent);
  font: 600 12px/1.3 var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; }
.oa__show { color: var(--muted); letter-spacing: .08em; }
.oa__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(238,58,30,.45); }
@media (prefers-reduced-motion: no-preference) { .oa__punkt { animation: oa-puls 2.2s ease-out infinite; } }
@keyframes oa-puls { 0% { box-shadow: 0 0 0 0 rgba(238,58,30,.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(238,58,30,0); } }
.oa__titel {
  margin: 0; font: 800 clamp(32px, 3.9vw, 62px)/.98 var(--ff-head); letter-spacing: -.04em; color: var(--text); text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .06em;
}
.oa__artist { margin: 10px 0 0; font: 600 clamp(17px, 1.5vw, 21px)/1.3 var(--ff-display); color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oa__fort { margin: 24px 0 0; max-width: 560px; }
.oa__leiste { position: relative; height: 6px; border-radius: 3px; background: rgba(107,93,100,.12); }
.oa__leiste i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sun); border-radius: 3px; transition: width 1s linear; }
.oa__kopf { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px var(--accent), 0 4px 12px -2px rgba(238,58,30,.6); transition: left 1s linear, transform .2s; }
.oa__fort:hover .oa__kopf { transform: scale(1.2); }
.oa__leiste.is-sprung i, .oa__leiste.is-sprung .oa__kopf { transition: none; }
.oa__zeiten { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px/1 var(--ff-mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.oa__knoepfe { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.oa__play { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; cursor: pointer;
  border-radius: 12px; background: var(--sun); color: #fff; font: 600 15px/1 var(--ff-display);
  box-shadow: 0 10px 24px -12px rgba(238,58,30,.75); transition: transform .15s, filter .2s, box-shadow .2s; }
.oa__play:hover { transform: translateY(-1px); filter: brightness(1.05); }
.oa__play.is-playing { background: var(--text); box-shadow: none; }
.oa__link { font: 600 14px/1 var(--ff-display); color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid rgba(238,58,30,.25); }
.oa__link:hover { color: var(--accent); border-color: var(--accent); }

.oa__seite { display: grid; gap: 12px; align-self: stretch; align-content: center; }
.oa__kachel { display: block; position: relative; padding: 14px; border-radius: var(--r); color: var(--text); text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.oa__kachel:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--sh-1); }
.oa__kachel:hover .oa__zeile img { transform: scale(1.06) rotate(-1.5deg); }
.oa__zeile img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.oa__kachel[hidden] { display: none; }
.oa__kachel--next { background: var(--sun-soft); }
.oa__kachel--show { background: var(--lila-soft); }
a.oa__kachel:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--sh-1); }
.oa__kk { display: flex; justify-content: space-between; gap: 8px; font: 600 11px/1 var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.oa__kachel--show .oa__kk { color: var(--lila); }
.oa__in { color: var(--muted); letter-spacing: .04em; text-transform: none; font-variant-numeric: tabular-nums; }
.oa__zeile { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.oa__zeile img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #fff; box-shadow: 0 6px 14px -8px rgba(40,10,10,.45); }
.oa__zeile strong { display: block; font: 700 15px/1.2 var(--ff-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oa__zeile em { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.oa__countdown { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(109,74,255,.16); }
.oa__cl { font-size: 13px; color: var(--muted); }
.oa__cz { font: 800 26px/1 var(--ff-head); letter-spacing: -.02em; color: var(--lila); font-variant-numeric: tabular-nums; }

/* Kennzahlen: grosse, kraeftige Zahlen */
.oa__zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(22px, 3vw, 34px) 0 0; }
.oa__zahl { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.oa__zahl:hover { transform: translateY(-3px); }
.oa__zahl { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); }
.oa__zahl dd { margin: 0; font: 800 clamp(38px, 4.6vw, 64px)/.95 var(--ff-head); letter-spacing: -.045em; font-variant-numeric: tabular-nums;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.oa__zahl dt { font-size: 14px; color: var(--muted); font-weight: 500; }
.oa__zahl--sun { border-color: #FF7A3C; } .oa__zahl--sun dd { background-image: var(--sun); }
.oa__zahl--lila { border-color: #A68BFF; } .oa__zahl--lila dd { background-image: linear-gradient(115deg, #6D4AFF, #B38CFF); }
.oa__zahl--tuerkis { border-color: #5CCFC6; } .oa__zahl--tuerkis dd { background-image: linear-gradient(115deg, #0E9F98, #3FC7B4); }
.oa__zahl--gold { border-color: #F2B540; } .oa__zahl--gold dd { background-image: linear-gradient(115deg, #D98A00, #F5B83A); }

/* ---------- Pastell-Baender ---------- */
.hx-band { margin: clamp(48px, 7vw, 96px) clamp(10px, 1.6vw, 24px) 0; padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); border-radius: var(--r-l); }
.hx-band--sun { background: var(--sun-soft); }
.hx-kopf { align-items: flex-end; }
body[data-page="home"] .hx-alt--tuerkis { background: var(--tuerkis-soft); }
body[data-page="home"] .hx-alt--gold { background: var(--gold-soft); }
body[data-page="home"] .hx-alt--tuerkis .listen-card__num { color: var(--tuerkis); }

/* ---------- Programm-Zeitleiste (EPG) ---------- */
.epg__nav { display: flex; align-items: center; gap: 8px; }
.epg__nav .cine-sec__more { margin-left: 10px; }
.epg__knopf { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
  background: var(--surface); color: var(--text); border: 0; box-shadow: var(--sh-1); cursor: pointer; font: 600 14px/1 var(--ff-display); transition: color .15s, transform .15s; }
.epg__knopf:hover { color: var(--accent); transform: translateY(-1px); }
.epg__knopf--jetzt { color: var(--accent); }
.epg { --epg-h: 150px; position: relative; }
.epg__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 4px max(var(--gutter, 24px), calc((100% - var(--wrap, 1240px)) / 2)) 18px; }
.epg__scroll::-webkit-scrollbar { display: none; }
.epg__track { position: relative; width: calc(30 * var(--epg-h)); height: 168px; }
.epg__hours { position: absolute; inset: 0; pointer-events: none; }
.epg__tick { position: absolute; top: 0; bottom: 0; padding-left: 8px; font: 500 11px/1 var(--ff-mono); color: var(--dim); letter-spacing: .06em; border-left: 1px dashed rgba(107,93,100,.22); }
.epg__row { list-style: none; margin: 0; padding: 0; }
.epg__tick--tag { border-left: 2px solid rgba(109,74,255,.45); color: var(--lila); font-weight: 600; }
.epg__tick--tag b { font-family: var(--ff-display); letter-spacing: 0; }
.epg__slot { position: absolute; top: 28px; bottom: 0; padding-right: 6px; z-index: 2; }
.epg__item { position: relative; display: flex; align-items: center; height: 100%; padding: 12px; overflow: hidden; overflow: clip;
  border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--sh-1);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
.epg__item:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--sh-2); }
.epg__item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.epg__stick { position: sticky; left: 12px; display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.epg__img { flex: none; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--bg-2); }
.epg__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.epg__time { font: 500 12px/1.2 var(--ff-display); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.epg__time b { color: var(--accent); font-weight: 700; }
.epg__title { font: 700 16px/1.15 var(--ff-head); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.epg__live { align-self: flex-start; font: 700 10px/1 var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 6px; border-radius: 6px; }
.epg__slot.is-past .epg__item { background: #FFF7F2; box-shadow: inset 0 0 0 1px rgba(238,58,30,.08); }
.epg__slot.is-past .epg__img { filter: saturate(.4); opacity: .7; }
.epg__slot.is-past .epg__title, .epg__slot.is-past .epg__time { color: var(--dim); }
.epg__slot.is-now .epg__item { box-shadow: 0 0 0 2px var(--accent), var(--sh-2); }
.epg__fill { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--sun); border-radius: 0 3px 3px 0; }
.epg__slot.is-kurz .epg__img { display: none; }
.epg__now { position: absolute; top: 18px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--accent); z-index: 1; pointer-events: none; border-radius: 1px; }
.epg__now span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); padding: 3px 6px; border-radius: 6px; background: var(--accent); color: #fff;
  font: 700 11px/1 var(--ff-mono); letter-spacing: .04em; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(238,58,30,.7); }
.epg__now::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); }

/* ---------- Verlauf + Wunschbox ---------- */
.hx-verlauf { padding: clamp(56px, 8vw, 104px) 0 0; }
.hx-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.hx-split .cine-sec__title { margin: 0; }
body[data-page="home"] .hx-verlauf .history { margin-top: 22px; padding: 8px; border-radius: var(--r-l); }
body[data-page="home"] .hx-verlauf .history__item { grid-template-columns: 52px 60px minmax(0, 1fr) auto auto; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 14px; border-bottom: 0; transition: background .15s; }
body[data-page="home"] .hx-verlauf .history__item + .history__item::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: var(--line); }
body[data-page="home"] .hx-verlauf .history__item:hover { background: var(--bg); }
body[data-page="home"] .hx-verlauf .history__item:hover::before, body[data-page="home"] .hx-verlauf .history__item:hover + .history__item::before { opacity: 0; }
body[data-page="home"] .hx-verlauf .history__art { width: 60px; height: 60px; border-radius: 12px; box-shadow: 0 8px 18px -12px rgba(40,10,10,.5); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
body[data-page="home"] .hx-verlauf .history__item:hover .history__art { transform: scale(1.06) rotate(-1.5deg); }
body[data-page="home"] .hx-verlauf .history__time { font: 600 13px/1 var(--ff-display); color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
body[data-page="home"] .hx-verlauf .history__text strong { font: 700 16px/1.25 var(--ff-display); }
body[data-page="home"] .hx-verlauf .history__text em { font: 400 14px/1.3 var(--ff-display); text-transform: none; letter-spacing: 0; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-page="home"] .hx-verlauf .history__badge { font: 600 12px/1 var(--ff-display); text-transform: none; color: var(--gold); }
body[data-page="home"] .hx-verlauf .history__badge:empty { display: none; }
body[data-page="home"] .hx-verlauf .fav-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
body[data-page="home"] .hx-verlauf .fav-btn:hover { background: rgba(238,58,30,.08); }
body[data-page="home"] .hx-verlauf .history__item--leer { display: block; padding: 22px; color: var(--muted); }

.hx-wunsch { position: relative; margin-top: 22px; padding: 22px; border-radius: var(--r-l); background: var(--gold-soft); box-shadow: var(--sh-1); }
.hx-wunsch__deko { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--gold); box-shadow: var(--sh-1); }
body[data-page="home"] .hx-wunsch #requests-mount > * { background: transparent; box-shadow: none; border-radius: 0; }
body[data-page="home"] .hx-wunsch .requests__form { margin: 0; padding-right: 66px; }
body[data-page="home"] .hx-wunsch .requests__input { width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px !important; box-shadow: var(--sh-1); }
body[data-page="home"] .hx-wunsch .requests__list:empty, body[data-page="home"] .hx-wunsch .requests__msg:empty { display: none; }
body[data-page="home"] .hx-wunsch .requests__list { margin-top: 14px; background: #fff !important; border-radius: var(--r) !important; box-shadow: var(--sh-1) !important; padding: 4px 12px; max-height: 420px; overflow-y: auto; }
body[data-page="home"] .hx-wunsch .requests__item { border-color: var(--line); }
body[data-page="home"] .hx-wunsch .requests__item img { border-radius: 10px; }
body[data-page="home"] .hx-wunsch .requests__btn { border-radius: 10px; font-family: var(--ff-display); text-transform: none; letter-spacing: 0; }
body[data-page="home"] .hx-wunsch .requests__msg { margin: 12px 0 0; font-family: var(--ff-display); }

/* Show-Raster: Link zu allen Sendezeiten im Kopf */
body[data-page="home"] .cine-sec--shows .cine-sec__head { align-items: flex-end; }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .oa__karte { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); }
  .oa__seite { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy + Web-App ---------- */
@media (max-width: 820px) {
  body[data-page="home"] .hx-hero { min-height: min(480px, calc(100svh - var(--header-h) - var(--tabbar-h) - var(--player-h) - 90px)); }
  body[data-page="home"] .hx-hero .cine__content { padding-top: 72px; padding-bottom: 24px; }
  .hx-slot { font-size: 14px; margin-bottom: 20px; }
  .oa { margin-top: 14px; }
  .oa .wrap { padding-inline: 8px; }
  .oa__halo { left: 10%; top: 0; width: 80%; opacity: .6; filter: blur(60px) saturate(1.5); }
  .oa__karte { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px 14px 20px; border-radius: 24px; }
  .oa__cover { border-radius: 18px; width: 100%; }
  .oa__badge { left: 10px; bottom: 10px; }
  .oa__haupt { padding: 4px 4px 0; }
  .oa__k { font-size: 11px; margin-bottom: 10px; }
  .oa__show { display: none; }
  .oa__titel { font-size: clamp(28px, 8.4vw, 36px); -webkit-line-clamp: 3; }
  .oa__artist { font-size: 17px; margin-top: 8px; }
  .oa__fort { margin: 20px 0 0; max-width: none; }
  .oa__knoepfe { margin-top: 18px; gap: 10px 18px; }
  .oa__play { display: none; } /* Handy: Kopf + App-Leiste haben schon einen Abspielknopf */
  .oa__seite { grid-template-columns: 1fr; gap: 10px; }
  .oa__pegel { height: 40px; }
  .oa__zahlen { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-inline: 8px; }
  .oa__zahl { padding-left: 12px; }
  .oa__zahl dt { font-size: 13px; }
  .hx-band { margin-inline: 8px; border-radius: 22px; }
  .hx-kopf { flex-direction: column; align-items: flex-start; }
  .epg__nav { width: 100%; }
  .epg__nav .cine-sec__more { margin-left: auto; }
  .epg { --epg-h: 104px; }
  .epg__tick--tag .epg__tz { display: none; }
  .epg__scroll { padding-inline: 16px; }
  .epg__track { height: 150px; }
  .epg__item { padding: 10px; border-radius: 14px; }
  .epg__stick { gap: 10px; left: 10px; }
  .epg__img { width: 52px; height: 52px; border-radius: 10px; }
  .epg__title { font-size: 14.5px; }
  .epg__time { font-size: 11.5px; }
  .hx-split { grid-template-columns: 1fr; }
  body[data-page="home"] .hx-verlauf .history { padding: 4px; }
  body[data-page="home"] .hx-verlauf .history__item { grid-template-columns: 52px minmax(0, 1fr) 40px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; padding: 8px; }
  body[data-page="home"] .hx-verlauf .history__art { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; }
  body[data-page="home"] .hx-verlauf .history__text { grid-column: 2; grid-row: 1; }
  body[data-page="home"] .hx-verlauf .history__time { grid-column: 2; grid-row: 2; font-size: 12px; }
  body[data-page="home"] .hx-verlauf .history__badge { display: none; }
  body[data-page="home"] .hx-verlauf .fav-btn { grid-column: 3; grid-row: 1 / span 2; }
  body[data-page="home"] .hx-verlauf .history__text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hx-wunsch { padding: 16px; }
  .hx-wunsch__deko { width: 44px; height: 44px; right: 14px; top: 20px; }
  body[data-page="home"] .hx-wunsch .requests__form { padding-right: 56px; }
}
@media (display-mode: standalone) and (max-width: 820px) {
  body[data-page="home"] .hx-hero .cine__content { padding-top: calc(80px + env(safe-area-inset-top)); }
}

@media (prefers-reduced-motion: reduce) {
  .oa__leiste i, .oa__kopf, .hx-slot__bar i { transition: none; }
  .oa__bild { transition: opacity .3s; transform: none; filter: none; }
  .epg__item, .oa__kachel { transition: none; }
}
