/* Einstieg "Alle Spiele" als große Bildkacheln und eigene Produktstrecken für jedes Spiel.
   Nutzt die vorhandenen Bausteine aus apps.css (Produktnavigation, Manifest, Kapitel). */

/* ── Einstieg ─────────────────────────────────────────────── */
.showcase { padding: clamp(40px, 7vh, 72px) 0 0; }
.showcase-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.showcase-head h1 { margin: 0; font-size: clamp(48px, 6.6vw, 96px); line-height: .95; letter-spacing: -4px; font-weight: 650; }
.showcase-head p { margin: 0 0 8px; max-width: 380px; text-align: right; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--text); }
.showcase-head p span { color: var(--muted); font-weight: 500; }

.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(1440px, calc(100% - 28px)); margin: 0 auto; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(560px, 76vh, 760px); border-radius: 30px; background: #050505; }
.tile-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.tile:hover .tile-bg { transform: scale(1.09); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile-anwesend { --tile-accent: #ffb062; }
.tile-anwesend .tile-bg { object-position: 50% 70%; }
.tile-anwesend::after { background: linear-gradient(180deg, #0000 30%, #0a0603d9 72%, #080503 100%); }
.tile-tcg { --tile-accent: #ff6ec7; }
.tile-tcg .tile-bg { object-position: 32% 50%; }
.tile-tcg::after { background: linear-gradient(180deg, #0000 30%, #13071ad9 72%, #0e0613 100%); }
.tile-copy { width: 100%; padding: 0 clamp(26px, 3.4vw, 52px) clamp(28px, 3.4vw, 48px); }
.tile-kicker { margin: 0 0 14px; font: 11px/1.5 var(--mono); letter-spacing: 1.8px; text-transform: uppercase; color: color-mix(in srgb, var(--tile-accent) 70%, #fff); }
.tile-title { margin: 0; line-height: .92; color: #fff; }
.tile-anwesend .tile-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(44px, 5vw, 78px); letter-spacing: clamp(5px, .7vw, 12px); text-shadow: 0 4px 40px #ff8a2a55; }
.tile-tcg .tile-title { font-weight: 900; font-style: italic; font-size: clamp(52px, 5.8vw, 92px); letter-spacing: -3px; text-shadow: 0 0 40px #ff4fb066; }
.tile-tagline { margin: 14px 0 26px; font-size: clamp(20px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.6px; color: #f4f1ec; }
.tile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 11px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.tile-btn:active { transform: scale(.97); }
.tile-btn-primary { background: #fff; color: #0b0b0b; }
.tile-btn-primary:hover { background: var(--tile-accent); }
.tile-btn-ghost { border: 1px solid #ffffff73; color: #fff; background: #ffffff10; backdrop-filter: blur(10px); }
.tile-btn-ghost:hover { border-color: #fff; background: #ffffff24; }
.tile-btn[aria-busy='true'] { opacity: .7; cursor: progress; }
.tile-meta { margin: 18px 0 0; font-size: 12px; color: #ffffff8c; }
.tile-warning { margin-top: 10px; font-size: 12px; }

/* Ben-Cards ist eine App: helle, bewusst andere Kachel unter den Spielen. */
.app-tile { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; width: min(1440px, calc(100% - 28px)); margin: 14px auto 0; padding: clamp(36px, 4.5vw, 64px) clamp(28px, 5vw, 80px); border-radius: 30px; background: radial-gradient(circle at 85% 50%, #e3f7cc, transparent 55%), #f4f5f0; color: #111; }
.app-tile-copy { display: grid; justify-items: start; gap: 6px; }
.app-tile-kicker { font: 11px/1.5 var(--mono); letter-spacing: 1.8px; text-transform: uppercase; color: #4f7a28; }
.app-tile strong { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -3px; font-weight: 700; }
.app-tile-line { font-size: clamp(17px, 1.6vw, 22px); color: #4a4d46; }
.app-tile-cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 11px 24px; border-radius: 999px; background: #111; color: #fff; font-size: 16px; font-weight: 600; transition: background-color .2s; }
.app-tile:hover .app-tile-cta { background: #3d6b17; }


.platform-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.platform-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.platform-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.platform-badge.is-live { background: #dff3c6; color: #2f5512; }
.platform-badge.is-live::before { background: #4f9a1c; }
.platform-badge.is-soon { background: #e9eaf0; color: #3b3e4a; }
.platform-badge.is-soon::before { background: #8a8fa3; }
.app-hero-footnote strong { color: var(--accent); font-weight: 600; }
.ios-soon { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: #cfe0bd; }
.ios-soon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.app-legal { grid-column: 1 / -1; margin: 0; padding: 14px 28px 20px; font-size: 11px; line-height: 1.6; color: #7f8a77; }.header-inner nav .nav-apps { position: relative; margin-left: 6px; padding-left: 20px; }
.header-inner nav .nav-apps::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: #ffffff2e; }
/* ── Produktstrecken ──────────────────────────────────────── */
.game-product { position: relative; isolation: isolate; margin-top: 76px; padding-bottom: 80px; border-top: 1px solid var(--line); background: var(--product-bg); scroll-margin-top: 0; }
.game-product .app-story, .product-highlights, .product-together, .product-download { scroll-margin-top: 66px; }
.product-anwesend { --product-accent: #ffb062; --product-soft: #d9b48c; --product-bg: #0f0c09; --product-line: #3d2f22; }
.product-tcg { --product-accent: #ff6ec7; --product-soft: #d7a6d8; --product-bg: #100b12; --product-line: #3e2a42; }
.game-product .product-nav { background: color-mix(in srgb, var(--product-bg) 92%, transparent); border-bottom-color: var(--product-line); }
.game-product .app-product-nav nav { color: #c9c2bb; }
.game-product .app-product-nav nav a:hover { color: var(--product-accent); }
.game-product .app-nav-download { background: var(--product-accent); color: #160d07; }
.game-product .app-nav-download:hover { background: #fff; }
.game-product .app-product-name img { border-radius: 8px; }
.product-glyph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(145deg, #4a3422, #1b130c); color: var(--product-accent); box-shadow: inset 0 0 0 1px #ffffff18; }
.product-glyph svg { width: 18px; height: 18px; }
.game-product .app-eyebrow { color: var(--product-soft); }
.game-product h2, .game-product h3 { font-weight: 650; }
.product-hero { padding-block: 96px 40px; text-align: center; }
.product-hero h2 { margin: 0; font-size: clamp(54px, 7.6vw, 108px); letter-spacing: -5px; line-height: 1; }
.game-product h2 span, .game-product h3 span { color: var(--product-accent); }
.game-product .app-hero-description { color: #c4bdb5; }
.game-product .app-primary-link { background: var(--product-accent); color: #160d07; }
.game-product .app-primary-link:hover { background: #fff; }
.game-product .app-secondary-link { border-bottom-color: color-mix(in srgb, var(--product-accent) 60%, transparent); color: var(--product-soft); }
.game-product .app-primary-link[aria-busy='true'], .game-product .app-nav-download[aria-busy='true'] { opacity: .7; cursor: progress; }

/* Großes Spielbild, das beim Scrollen von schmal auf volle Breite wächst. */
.product-showcase { margin: 30px auto 0; }
.product-showcase-frame { overflow: hidden; border-radius: 30px; box-shadow: 0 40px 90px #000a, 0 0 0 1px #ffffff12; transform-origin: 50% 0; }
.product-showcase-frame img { width: 100%; height: auto; max-height: 76vh; object-fit: cover; }
.product-showcase figcaption { margin-top: 16px; text-align: center; color: #9d968f; font-size: 14px; }

.game-product .app-manifesto > p:last-child span { color: #847b72; }
.game-product .app-story h3 span { color: var(--product-accent); }
.game-product .app-story-copy > p:not(.app-eyebrow) { color: #bdb5ad; }
.game-product .app-feature-caption { color: var(--product-soft); }
.game-product .app-feature-caption svg { color: var(--product-accent); }

/* Klang-Illustration für ANWESEND */
.sound-art { position: relative; min-height: 450px; overflow: hidden; isolation: isolate; border-radius: 28px; background: radial-gradient(ellipse at 50% 55%, #4a2f17, #1c140d 58%, #0f0c09); }
.sound-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.sound-rings i { position: absolute; width: 130px; height: 130px; border: 1px solid #ffb06255; border-radius: 50%; }
.sound-rings i:nth-child(2) { width: 230px; height: 230px; border-color: #ffb06233; }
.sound-rings i:nth-child(3) { width: 340px; height: 340px; border-color: #ffb0621c; }
.sound-bars { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 7px; height: 120px; transform: translate(-50%, -50%); }
.sound-bars i { width: 7px; height: calc(var(--h, 40) * 1%); border-radius: 7px; background: linear-gradient(#ffd2a1, #ff9b3a); box-shadow: 0 0 14px #ff9b3a66; transform-origin: 50% 50%; }
.sound-bars i:nth-child(1) { --h: 22; } .sound-bars i:nth-child(2) { --h: 40; } .sound-bars i:nth-child(3) { --h: 64; } .sound-bars i:nth-child(4) { --h: 36; }
.sound-bars i:nth-child(5) { --h: 82; } .sound-bars i:nth-child(6) { --h: 100; } .sound-bars i:nth-child(7) { --h: 70; } .sound-bars i:nth-child(8) { --h: 46; }
.sound-bars i:nth-child(9) { --h: 74; } .sound-bars i:nth-child(10) { --h: 34; } .sound-bars i:nth-child(11) { --h: 18; }
.sound-label { position: absolute; padding: 6px 12px; border: 1px solid #ffb06240; border-radius: 999px; background: #1d150ecc; backdrop-filter: blur(8px); font: 10px var(--mono); letter-spacing: 1.4px; color: #f2d2ae; }
.sound-label-1 { top: 16%; left: 12%; } .sound-label-2 { top: 22%; right: 10%; } .sound-label-3 { bottom: 20%; left: 9%; } .sound-label-4 { bottom: 14%; right: 14%; }

/* Bildkapitel für TCG-CArd */
.media-story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.media-story-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.media-frame { overflow: hidden; border-radius: 26px; box-shadow: 0 30px 70px #000a, 0 0 0 1px #ffffff12; }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.media-story:hover .media-frame img { transform: scale(1.035); }

/* Kennzahlen-Kacheln */
.product-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 30px 20px; }
.highlight { padding: 30px 28px; border-radius: 24px; background: #ffffff08; border: 1px solid var(--product-line); text-align: left; }
.highlight-value { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; letter-spacing: -2px; line-height: 1.05; color: var(--product-accent); }
.highlight strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; }
.highlight p { margin: 10px 0 0; color: #aaa198; font-size: 15px; line-height: 1.7; }

.product-together { padding-block: 100px 10px; text-align: center; }
.product-together h3 { margin: 0; font-size: clamp(40px, 4.8vw, 68px); letter-spacing: -3px; line-height: 1.08; }
.product-together > p:not(.app-eyebrow) { max-width: 720px; margin: 26px auto 18px; color: #bdb5ad; font-size: 18px; line-height: 1.85; }

/* Download-Panel je Spiel */
.product-download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 60px; overflow: hidden; border: 1px solid var(--product-line); border-radius: 26px; background: #ffffff06; }
.product-download-art { position: relative; min-height: 400px; }
.product-download-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-download-copy { padding: 56px 48px; }
.product-download-copy h3 { margin: 0; font-size: clamp(38px, 3.8vw, 56px); letter-spacing: -3px; line-height: 1.08; }
.product-download-copy > p:not(.app-eyebrow):not(.download-meta):not(.product-status) { margin: 22px 0 26px; color: #bdb5ad; font-size: 18px; line-height: 1.8; }
.product-download-copy .download-button { min-height: 52px; border-radius: 50px; padding: 14px 24px; font-size: 16px; background: var(--product-accent); border-color: var(--product-accent); color: #160d07; }
.product-download-copy .download-button:hover { background: #fff; border-color: #fff; }
.product-download-copy .download-meta { margin-top: 16px; font-family: var(--sans); font-size: 14px; color: #a99f95; letter-spacing: 0; }
.product-status { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--product-line); color: #9f968d; font-size: 14px; line-height: 1.7; }
.product-status strong { color: #e4d7ca; font-weight: 600; }

/* ── Bewegung (nur wenn erlaubt; Pause und reduzierte Bewegung schalten ab) ── */
@keyframes tile-drift { from { object-position: var(--drift-from, 50% 60%); } to { object-position: var(--drift-to, 50% 80%); } }
@keyframes sound-pulse { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes ring-pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html.motion-enabled .tile-bg { animation: tile-drift 18s ease-in-out infinite alternate; }
  .tile-anwesend { --drift-from: 50% 58%; --drift-to: 50% 82%; }
  .tile-tcg { --drift-from: 22% 50%; --drift-to: 44% 50%; }
  html.motion-enabled .is-in-view .sound-bars i { animation: sound-pulse 1.6s ease-in-out infinite; animation-delay: calc(var(--h) * -18ms); }
  html.motion-enabled .is-in-view .sound-rings i { animation: ring-pulse 3.6s ease-out infinite; }
  html.motion-enabled .is-in-view .sound-rings i:nth-child(2) { animation-delay: 1.2s; }
  html.motion-enabled .is-in-view .sound-rings i:nth-child(3) { animation-delay: 2.4s; }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.motion-enabled .product-showcase-frame { transform: scale(calc(.84 + min(var(--scene-progress, .5) * 2.2, 1) * .16)); border-radius: calc(44px - min(var(--scene-progress, .5) * 2.2, 1) * 14px); }
  html.motion-enabled .media-frame img { transform: translateY(calc(var(--scene-progress, .5) * -24px + 12px)) scale(1.06); }
}

/* ── Responsiv ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-hero h2 { letter-spacing: -3.5px; }
  .product-download-copy { padding: 44px 32px; }
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 600px; }
  .media-story, .media-story-reverse { grid-template-columns: minmax(0, 1fr); }
  .media-story-reverse .media-frame { order: 2; }
  .product-highlights { grid-template-columns: minmax(0, 1fr); }
  .product-download { grid-template-columns: minmax(0, 1fr); }
  .product-download-art { min-height: 240px; }
  .product-download-copy { text-align: center; }
  .sound-art { min-height: 380px; }
}
@media (max-width: 760px) {
  .header-inner nav a { white-space: nowrap; }
  .header-inner nav .nav-game { display: none; }
  .showcase { padding-top: 32px; }
  .showcase-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .showcase-head h1 { letter-spacing: -2.5px; }
  .showcase-head p { text-align: left; font-size: 16px; }
  .showcase-grid, .app-tile { width: calc(100% - 16px); }
  .showcase-grid { gap: 8px; }
  .tile { min-height: 520px; border-radius: 24px; }
  .tile-copy { padding: 0 22px 26px; }
  .tile-kicker { font-size: 9px; letter-spacing: 1.3px; }
  .tile-btn { flex: 1; min-height: 44px; padding: 10px 18px; font-size: 15px; }
  .app-tile { margin-top: 8px; grid-template-columns: minmax(0, 1fr); gap: 24px; border-radius: 24px; padding: 34px 24px; background: radial-gradient(circle at 80% 85%, #e3f7cc, transparent 60%), #f4f5f0; }
  .app-tile-art { order: -1; }
  .app-tile-art { width: 120px; margin-left: 30px; }
  .platform-badge { font-size: 12px; padding: 5px 10px; }
  .app-legal { padding: 12px 18px 18px; }
  .header-inner nav .nav-apps { margin-left: 0; padding-left: 14px; }
  .header-inner nav a.nav-apps { display: inline; }
  .header-inner nav .nav-apps { margin-left: 0; padding-left: 14px; }
  .game-product { margin-top: 48px; padding-bottom: 50px; }
  .game-product .app-story, .product-highlights, .product-together, .product-download { scroll-margin-top: 60px; }
  .product-hero { padding-block: 58px 24px; }
  .product-hero h2 { font-size: clamp(42px, 12.5vw, 68px); letter-spacing: -2.5px; line-height: 1.04; }
  .product-showcase-frame { border-radius: 20px; }
  .product-showcase-frame img { aspect-ratio: 4 / 3; }
  .product-showcase figcaption { font-size: 12px; }
  .sound-art { min-height: 330px; border-radius: 22px; }
  .sound-rings i:nth-child(3) { width: 280px; height: 280px; }
  .sound-label { font-size: 8px; padding: 5px 9px; }
  .media-frame { border-radius: 20px; }
  .highlight { padding: 24px 22px; border-radius: 20px; }
  .highlight p { font-size: 14px; }
  .product-together { padding-block: 64px 0; }
  .product-together h3 { font-size: 38px; letter-spacing: -2px; }
  .product-together > p:not(.app-eyebrow) { font-size: 16px; }
  .product-download { margin-top: 40px; border-radius: 20px; }
  .product-download-art { min-height: 200px; }
  .product-download-copy { padding: 32px 22px; }
  .product-download-copy h3 { font-size: 38px; letter-spacing: -2px; }
  .product-download-copy > p:not(.app-eyebrow):not(.download-meta):not(.product-status) { font-size: 16px; }
  .product-download-copy .download-button { width: 100%; font-size: 15px; }
}
@media (max-width: 440px) {
  .header-inner nav { gap: 14px; }
}
@media (max-width: 380px) {
  .brand-divider, .brand-section { display: none; }
  .header-inner nav { gap: 12px; font-size: 11px; }
  .product-hero h2 { font-size: 40px; }
}

/* ── Ben-Cards: echte Fotos statt Platzhalter-Symbole ─────────── */
.app-floating-card.has-photo, .app-scan-card.has-photo, .app-deck-card.has-photo { padding: 0; overflow: hidden; background: #0d150d; }
.has-photo > img { display: block; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.app-floating-card.has-photo span, .app-deck-card.has-photo span { bottom: 0; left: 0; right: 0; padding: 26px 12px 12px; background: linear-gradient(transparent, #050b06e6); }
.app-scan-card.has-photo img { object-position: 50% 30%; }
.has-photo-bg .app-art-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.55); }
.has-photo-bg::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, #1a142400, #120e18cc 75%); }
.app-download-brand.has-photo > img:first-child { object-fit: cover; object-position: 30% 40%; transform: none; }
.app-download-icon { position: absolute; left: 24px; bottom: 24px; width: 72px !important; height: 72px !important; inset: auto auto 24px 24px !important; border-radius: 18px; box-shadow: 0 12px 30px #0009; }
.app-tile-art { position: relative; display: block; width: clamp(150px, 15vw, 220px); aspect-ratio: 560 / 736; }
.app-tile-art .app-tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px #2f4a1a55, 0 0 0 1px #00000012; transform: rotate(6deg); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.app-tile-art .app-tile-icon { position: absolute; left: -34px; bottom: -18px; width: 42%; height: auto; border-radius: 24%; box-shadow: 0 18px 36px #0005; transform: rotate(-8deg); }
.app-tile:hover .app-tile-art .app-tile-photo { transform: rotate(2deg) scale(1.04); }
