/* ===== Apps-Bereich (Übersicht + App-Seiten). Baut auf style.css auf. ===== */
:root { --a1: var(--cyan); --a2: var(--violet); }
.grad-a { background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wt { display: inline-block; vertical-align: middle; font: 700 10.5px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  color: #ffe58a; border: 1px dashed rgba(255,229,138,.55); padding: 4px 7px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }
.ph { white-space: normal; }

/* ---------- Kopf der Übersicht ---------- */
.apps-hero { position: relative; overflow: hidden; padding: 150px 0 90px; text-align: center; }
.apps-hero::before, .apps-hero::after { content: ""; position: absolute; width: 50vmax; height: 50vmax; border-radius: 50%; filter: blur(90px); opacity: .35; z-index: 0; }
.apps-hero::before { background: var(--cyan); top: -32vmax; left: -16vmax; }
.apps-hero::after { background: var(--violet); top: -30vmax; right: -18vmax; }
.apps-hero .floor { height: 55%; opacity: .55; }
.apps-hero .wrap { position: relative; z-index: 2; }
.apps-hero h1 { font-size: clamp(40px, 7vw, 84px); text-transform: uppercase; margin: 6px 0 18px; }
.apps-hero .lead { margin: 0 auto; color: #cfc8dd; }

/* ---------- Filter ---------- */
.filter-bar { position: sticky; top: 68px; z-index: 40; background: rgba(7,6,12,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line); }
.chips { display: flex; gap: 10px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; font: 600 14px var(--head); color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 999px; cursor: pointer; transition: background .2s, transform .2s; }
.chips button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.chips button small { color: var(--muted); margin-left: 4px; font-size: 12px; }
.chips button.on { background: var(--grad); color: #07060c; border-color: transparent; }
.chips button.on small { color: rgba(7,6,12,.7); }

/* ---------- Kategorien + Karten ---------- */
.kat-block { padding: 64px 0 10px; scroll-margin-top: 140px; }
.kat-block[hidden] { display: none; }
.kat-head { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; }
.kat-ico { width: 58px; height: 58px; flex: none; display: grid; place-items: center; font-size: 28px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,228,245,.18), rgba(195,65,245,.22)); border: 1px solid var(--line); }
.kat-head h2 { font-size: clamp(26px, 4vw, 40px); margin: 0; }
.kat-head p { margin: 4px 0 0; color: var(--muted); }
.appgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

.appcard { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); }
.appcard:hover { box-shadow: 0 24px 60px color-mix(in srgb, var(--a1) 28%, transparent); }
.appcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none; }
.appcard:hover::after { opacity: 1; }
.appcard .cover { position: relative; display: block; height: 250px; overflow: hidden;
  background: radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--a1) 55%, transparent), transparent 55%),
              radial-gradient(circle at 85% 90%, color-mix(in srgb, var(--a2) 45%, transparent), transparent 55%), #0d0a17; }
.appcard .cover::before { content: ""; position: absolute; inset: 0; opacity: .25;
  background: linear-gradient(to right, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 28px 28px,
              linear-gradient(to bottom, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.appcard .info { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.appcard h3 { font-size: 23px; margin: 4px 0 0; }
.appcard h3 a { color: var(--ink); text-decoration: none; }
.appcard p { margin: 0; color: #cfc8dd; font-size: 15.5px; }
.appcard .more { margin-top: auto; padding-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.appcard .more a { font-weight: 700; font-size: 14px; color: var(--a1); text-decoration: none; }
.appcard .more a:hover { text-decoration: underline; }
.game-card { --a1: var(--cyan); --a2: var(--violet); }
.game-card .shot { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.game-card:hover .shot { transform: scale(1.06); }
.game-card .art-beef .vs { font-size: 96px; top: 50%; }

/* Bild in der Karte: Handy schaut von unten herein */
.peek { position: absolute; inset: 0; display: flex; justify-content: center; }
.peek .frame { position: relative; width: 168px; margin-top: 34px; height: 380px; border-radius: 30px; padding: 7px; background: #111;
  box-shadow: 0 0 0 2px #2b2838, 0 30px 60px rgba(0,0,0,.55); transform: rotate(-5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.peek .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; display: block; }
.appcard:hover .peek .frame { transform: rotate(0) translateY(-10px); }
.icon-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.icon-stage .app-icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.icon-stage .glyph { font-size: 92px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.appcard:hover .icon-stage > * { transform: scale(1.08) rotate(-4deg); }

/* ---------- App-Seite ---------- */
.app-page .nav ul a[href="/apps/"] { opacity: 1; color: var(--a1); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 6px; opacity: .6; }
.app-hero { position: relative; overflow: hidden; padding: 120px 0 60px; }
.app-hero .glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 15% 20%, color-mix(in srgb, var(--a1) 40%, transparent), transparent 55%),
              radial-gradient(ellipse at 85% 60%, color-mix(in srgb, var(--a2) 30%, transparent), transparent 55%); opacity: .7; }
.app-hero .wrap { position: relative; z-index: 1; }
.app-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .app-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.title-row { display: flex; gap: 20px; align-items: center; }
.hero-icon { width: 96px; height: 96px; flex: none; border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); }
.hero-icon.glyph { display: grid; place-items: center; font-size: 52px; background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 55%, #0d0a17), color-mix(in srgb, var(--a2) 45%, #0d0a17)); }
.app-hero h1 { font-size: clamp(34px, 6vw, 60px); margin: 10px 0 6px; overflow-wrap: anywhere; }
.wt-line { margin: 0; color: var(--muted); font-size: 14px; }
.wt-line .wt { margin: 0 6px 0 0; }
.app-hero .txt { font-size: 19px; color: #d9d3e6; margin: 26px 0 18px; max-width: 32em; }
.app-hero .btns { justify-content: flex-start; margin-top: 26px; }
.store-ph { margin: 12px 0 0; font-size: 13px; }
.app-page .tags span { border-color: color-mix(in srgb, var(--a1) 35%, transparent); }
@media (max-width: 520px) { .title-row { flex-direction: column; align-items: flex-start; gap: 14px; } .hero-icon { width: 76px; height: 76px; } }

.hero-media { display: flex; justify-content: center; position: relative; }
.hero-media::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; top: 6%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a1) 45%, transparent), color-mix(in srgb, var(--a2) 15%, transparent) 50%, transparent 70%); filter: blur(30px); }
.phone-x { position: relative; width: min(290px, 70vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 11px; background: #111;
  box-shadow: 0 0 0 2px #2b2838, 0 40px 80px rgba(0,0,0,.6); transform: rotate(3deg); }
.phone-x img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; display: block; }
.phone-x.leer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.phone-x.leer::after { content: ""; position: absolute; inset: 11px; border-radius: 34px; border: 2px dashed rgba(255,255,255,.14);
  background: linear-gradient(160deg, color-mix(in srgb, var(--a1) 22%, #0d0a17), #0d0a17 70%); z-index: 0; }
.phone-x.leer > * { position: relative; z-index: 1; }
.phone-x .glyph { font-size: 80px; }
.ph-note { font: 700 12px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.app-sec { padding: 70px 0; }
.app-sec h2 { margin-bottom: 30px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; counter-reset: f; }
.features li { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; overflow: hidden; }
.features li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--a1), var(--a2)); }
.features .nr { font: 800 13px var(--head); letter-spacing: .2em; color: var(--a1); }
.features h3 { font-size: 20px; margin: 8px 0 6px; }
.features p { margin: 0; color: var(--muted); }
.note { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #cfc8dd; max-width: 46em; }

/* Galerie: waagrecht wischen */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: 0 -4px; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; }
.gallery figure.tall { width: 230px; }
.gallery figure.flat { width: 300px; }
.gallery .zoom { display: block; padding: 0; border: 0; background: #111; cursor: zoom-in; border-radius: 30px; overflow: hidden; width: 100%;
  box-shadow: 0 0 0 2px #2b2838, 0 20px 40px rgba(0,0,0,.5); transition: transform .3s; }
.gallery figure.tall .zoom { padding: 7px; }
.gallery figure.tall .zoom img { border-radius: 24px; }
.gallery figure.flat .zoom { border-radius: 18px; }
.gallery .zoom:hover, .gallery .zoom:focus-visible { transform: translateY(-6px); }
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.gallery.leer .slot { aspect-ratio: 9 / 19.5; border-radius: 30px; border: 2px dashed rgba(255,255,255,.16); display: grid; place-items: center; text-align: center; padding: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--a1) 14%, #0d0a17), #0d0a17 70%); }
.gallery.leer .slot span { font: 700 12px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.why .big { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; margin: 0; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 22px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; }
.facts a { color: var(--a1); }
.siblings { margin-top: 50px; display: grid; gap: 12px; }
.sib { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; text-decoration: none; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; transition: border-color .2s; }
.sib:hover { border-color: var(--a1); }
.sib span { grid-row: span 2; font-size: 30px; }
.sib small { color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4,3,8,.9); backdrop-filter: blur(6px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: 84vh; max-width: 88vw; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--ink); font-size: 15px; }
.lightbox button { position: fixed; background: rgba(255,255,255,.1); color: var(--ink); border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%;
  font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; font-size: 18px !important; }
.lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; } }

/* Hilfe/Datenschutz der Apps im Seiten-Stil */
.legal .lang { text-align: center; font-weight: 600; margin: 0 0 6px; }
.legal .lang a { margin: 0 8px; color: var(--a1); }
.legal .card a { color: var(--a1); }
.legal .card h3 { font-size: 17px; margin: 18px 0 4px; font-family: var(--head); }
.legal .card ul { padding-left: 20px; margin: 0 0 14px; }
.legal .card li { margin-bottom: 6px; color: #d9d3e6; }
.legal .card { border-top: 3px solid var(--a1); }
.legal h1 { font-size: clamp(28px, 5vw, 40px); }

/* ---------- Startseite: Apps-Teaser ---------- */
.kat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .kat-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .kat-tiles { grid-template-columns: 1fr; } }
.kat-tile { position: relative; display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--line); transition: transform .25s, border-color .25s; overflow: hidden; }
.kat-tile:hover { transform: translateY(-3px); border-color: var(--cyan); }
.kat-tile .ico { font-size: 30px; }
.kat-tile b { display: block; font-family: var(--head); font-size: 17px; }
.kat-tile small { color: var(--muted); font-size: 13.5px; }
.apps-teaser .btns { justify-content: flex-start; margin-top: 28px; }
.appcard .info .pill { align-self: flex-start; }
.app-hero .pill { display: inline-block; }
.app-hero h1 { font-size: clamp(32px, 5vw, 54px); overflow-wrap: normal; hyphens: manual; }
.gallery { scrollbar-color: color-mix(in srgb, var(--a1) 50%, transparent) transparent; scrollbar-width: thin; }
.app-page .kicker { color: var(--a1); }

/* ===== Symbolreihe unter der Bühne (30.11.) ===== */
.app-strip { position: relative; z-index: 3; padding: 26px 0 30px; background: linear-gradient(to bottom, rgba(7,6,12,.0), var(--bg) 40%); border-bottom: 1px solid var(--line); }
.app-strip .kicker { text-align: center; margin-bottom: 16px; }
.strip-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.strip-item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 86px; text-decoration: none; color: var(--ink); text-align: center; }
.strip-item .nm { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.strip-item .st { font-size: 11px; color: var(--muted); }
.ic { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; flex: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); transition: transform .25s, box-shadow .25s; background: #15121f; }
.ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ic.glyph { background: linear-gradient(135deg, var(--a), var(--b)); font-size: 30px; }
.ic.vs { font-family: var(--head); font-weight: 900; font-size: 22px; color: #fff; letter-spacing: -.03em; }
.ic.grumpy { background: #f2e6d8; }
.ic.sm { width: 44px; height: 44px; border-radius: 12px; }
.ic.sm.glyph { font-size: 21px; }
.strip-item:hover .ic, .strip-item:focus-visible .ic { transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 26px rgba(91,123,255,.45), 0 0 0 2px var(--cyan); }
@media (max-width: 700px) {
  .strip-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .strip-item { scroll-snap-align: start; width: 76px; }
}

/* ===== App-Karten im Apps-Abschnitt ===== */
.app-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .app-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .app-cards { grid-template-columns: 1fr; } }
.app-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.app-card:hover { transform: translateY(-5px); border-color: var(--a); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.app-card .shot { height: 210px; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--a) 55%, transparent), transparent 70%), #0d0b16; }
.app-card .shot img { width: 62%; max-width: 100%; border-radius: 14px 14px 0 0; box-shadow: 0 -6px 30px rgba(0,0,0,.5); transform: translateY(14px); transition: transform .35s; }
.app-card:hover .shot img { transform: translateY(4px); }
.app-card .noimg { align-self: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line); padding: 8px 12px; border-radius: 10px; }
.app-card .info { display: flex; gap: 12px; align-items: center; padding: 16px 18px 6px; }
.app-card .info b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.2; margin-bottom: 4px; }
.app-card .info .pill { font-size: 10px; padding: 3px 8px; }
.app-card p { color: var(--muted); font-size: 14px; margin: 4px 18px 18px; }
@media (min-width: 701px) {
  .strip-row { gap: 10px; flex-wrap: nowrap; }
  .strip-item { width: 88px; }
}
@media (min-width: 701px) and (max-width: 1060px) {
  .strip-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
}

/* 30.11.: Symbol statt leerem Handy, Wisch-Hinweis Filterleiste, kleiner Lead */
.icon-hero { display:flex; align-items:center; justify-content:center; padding:30px; }
.icon-hero img { width:min(300px,70vw); aspect-ratio:1; border-radius:22%; box-shadow:0 30px 80px rgba(0,0,0,.55), 0 0 60px color-mix(in srgb, var(--a1, #6ee7f9) 35%, transparent); }
.apps-hero .lead.small { font-size:15px; opacity:.85; margin-top:-6px; }
@media (max-width:700px){ .filter-bar .chips { -webkit-mask-image:linear-gradient(90deg,#000 80%,transparent); mask-image:linear-gradient(90deg,#000 80%,transparent); padding-right:40px; } }
.app-card .shot.icon-shot { place-items: center; }
.app-card .shot.icon-shot img { width: 120px; border-radius: 26px; transform: none; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
