/* =========================================================
   Karmin Studio – Demo (GreenLabz Studio)
   Game-Art-Studio: Weinrot, Karmin-Pinsel, Riesentitel, HUD wie im Spiel
   ========================================================= */
:root {
  --bg-0: #2b050b;
  --bg-1: #4c0a14;
  --bg-2: #6f1223;
  --crimson: #d0142f;
  --crimson-hi: #ff3b56;
  --white: #fff6f3;
  --dim: rgba(255, 232, 236, 0.52);
  --line: rgba(255, 70, 96, 0.55);
  --f-disp: "Anton", "Impact", sans-serif;
  --f-wide: "Syncopate", "Arial Black", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.6 4.2C7.4 7.6 12 11.8 21.4 20.2L19.6 22.1C12.4 15.3 7.2 10.8 1.6 6.1ZM20.4 2.2C15.6 6.9 11.2 12.3 4 21.4L2 19.9C8.2 12.2 13 6.9 18.4 1.2Z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-1); }
body { margin: 0; background: var(--bg-1); color: var(--white); font-family: var(--f-body); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- HUD oben ---------- */
.hud-top::before { content: ""; position: absolute; inset: 0 0 -34px 0; z-index: -1; background: linear-gradient(180deg, rgba(38, 4, 10, 0.78), rgba(38, 4, 10, 0)); pointer-events: none; }
.hud-top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding: 14px clamp(16px, 3vw, 40px) 0; pointer-events: none; }
.hud-top a { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font: 700 14px/1 var(--f-wide); letter-spacing: 0.2em; text-transform: uppercase; }
.logo-x, .nav-x { display: inline-block; flex: none; background: var(--crimson); -webkit-mask: var(--x) center / contain no-repeat; mask: var(--x) center / contain no-repeat; }
.logo-x { width: 22px; height: 22px; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font: 600 12px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--dim); transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.nav a .nav-x { width: 0; height: 15px; transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.nav a.is-on { color: var(--white); }
.nav a.is-on .nav-x { width: 15px; }
.nav a:hover { color: var(--white); }
.loader { margin-left: auto; display: flex; align-items: center; gap: 12px; height: 32px; padding-left: 26px; background: linear-gradient(90deg, rgba(20, 2, 6, 0), rgba(20, 2, 6, 0.55) 30%); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); }
.loader-l { font: 600 11px/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); min-width: 5.4em; }
.loader-bar { display: flex; gap: 3px; }
.loader-bar i { width: 11px; height: 11px; transform: skewX(-24deg); background: rgba(255, 246, 243, 0.14); transition: background 0.2s; }
.loader-bar i.on { background: var(--white); }
.loader-n { display: grid; place-items: center; height: 32px; min-width: 44px; padding: 0 10px 0 16px; background: var(--crimson); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); font: 400 17px/1 var(--f-disp); letter-spacing: 0.04em; }

/* Rahmenlinie rechts, Menüpunkte, Pause links */
.hud-frame { position: fixed; top: 64px; right: clamp(12px, 1.6vw, 22px); bottom: 70px; z-index: 29; width: 16px; border-right: 1px solid var(--line); pointer-events: none; }
.hud-frame::before { content: ""; position: absolute; right: -1px; top: 38%; width: 8px; height: 90px; border-right: 3px solid var(--crimson); }
.hud-dots { position: absolute; right: -9px; top: 70px; display: grid; gap: 5px; }
.hud-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--white); }
.hud-close { position: absolute; right: -12px; top: 52%; width: 22px; height: 22px; }
.hud-close::before, .hud-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.5px; background: var(--white); transform: translate(-50%, -50%) rotate(45deg); }
.hud-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.hud-pause { position: fixed; left: clamp(6px, 1.2vw, 16px); top: 50%; z-index: 30; display: flex; gap: 5px; justify-content: center; align-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0.8; transition: opacity 0.3s; }
.hud-pause i { width: 2px; height: 17px; background: var(--white); transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.hud-pause:hover { opacity: 1; }
.hud-pause[aria-pressed="true"] i:first-child { transform: translateX(4px) rotate(-30deg) scaleY(0.8); }
.hud-pause[aria-pressed="true"] i:last-child { transform: translateX(-4px) rotate(30deg) scaleY(0.8); }

/* ---------- Bühne ---------- */
.stage { position: relative; height: 480vh; }
.stage-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.bg { position: absolute; inset: -4%; z-index: 0; background: radial-gradient(ellipse 70% 80% at 46% 42%, var(--bg-2) 0%, #580c19 38%, #3d0710 72%, var(--bg-0) 100%); will-change: transform; }
.bg::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.2; mix-blend-mode: overlay; }
.marks, .splash { position: absolute; inset: 0; will-change: transform; }
.marks { z-index: 1; }
.marks canvas, .splash canvas { position: absolute; }
.title { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.kicker { position: absolute; left: 0; right: 0; margin: 0; font-family: var(--f-wide); font-weight: 400; line-height: 1; text-transform: uppercase; letter-spacing: 0.08em; will-change: transform; }
.kicker span { position: absolute; top: 0; white-space: nowrap; }
.big { position: absolute; left: 0; right: 0; margin: 0; display: flex; justify-content: center; gap: var(--gap); font-family: var(--f-disp); font-weight: 400; font-size: var(--tfs); line-height: 1; text-transform: uppercase; letter-spacing: 0.004em; }
.big .w { display: block; overflow: hidden; padding: 0 0.03em; will-change: transform; }
.big .w i { display: block; font-style: normal; background: linear-gradient(180deg, #fff 0%, #fff 60%, rgba(255, 214, 222, 0.72) 84%, rgba(255, 190, 204, 0.3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.slash-wrap { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.slash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-char { position: absolute; z-index: 4; transform-origin: 51.5% 19%; will-change: transform; }
.hero-char .zinna { position: relative; width: 100%; height: 100%; }
.char-glow { position: absolute; left: 6%; right: 6%; top: 2%; height: 64%; background: radial-gradient(closest-side, rgba(255, 70, 100, 0.3), rgba(255, 70, 100, 0.08) 60%, rgba(255, 70, 100, 0)); pointer-events: none; }
.splash { z-index: 5; }
.embers { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.stage-pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26vh; z-index: 7; background: linear-gradient(180deg, rgba(34, 3, 9, 0), rgba(34, 3, 9, 0.6)); pointer-events: none; }

/* Leistungen (nach dem Pinselhieb) */
.svc { position: absolute; left: clamp(20px, 6vw, 96px); top: 19vh; z-index: 8; width: min(52vw, 800px); transform: rotate(-4deg); transform-origin: 0 0; visibility: hidden; }
.svc-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(20px, 3.4vh, 36px); font: 700 13px/1 var(--f-wide); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; }
.svc-kicker .nav-x { width: 18px; height: 18px; background: var(--white); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3.6vh, 40px) clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.svc-list li { opacity: 0; will-change: transform; }
.svc-list b { display: block; font: 400 clamp(36px, 7vh, 76px)/0.9 var(--f-disp); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 244, 240, 0.85); }
.svc-list h2 { margin: 8px 0 6px; font: 400 clamp(24px, 4.2vh, 44px)/1 var(--f-disp); letter-spacing: 0.01em; text-transform: uppercase; }
.svc-list p { max-width: 34ch; margin: 0; font-size: 16px; line-height: 1.45; color: rgba(255, 244, 240, 0.88); }

/* Chevrons unten links */
.chev { position: absolute; left: clamp(24px, 6vw, 96px); bottom: 5.5vh; z-index: 9; display: flex; gap: 12px; margin: 0; }
.chev i { width: 13px; height: 13px; border-top: 2.5px solid var(--crimson-hi); border-right: 2.5px solid var(--crimson-hi); transform: rotate(45deg); }
.chev i:nth-child(2) { border-color: var(--white); }

/* ---------- Crew ---------- */
.crew { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 100vh; padding: 16vh clamp(20px, 6vw, 96px) 14vh; background: radial-gradient(ellipse 70% 70% at 72% 44%, #5f0e1c, #3b070f 72%, var(--bg-0)); overflow: hidden; }
.crew::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; pointer-events: none; }
.crew-kicker { margin: 0; font: 700 12px/1 var(--f-wide); letter-spacing: 0.2em; text-transform: uppercase; color: #ff8fa0; }
.crew-title { margin: 20px 0 0; font: 400 clamp(56px, 8.4vw, 136px)/0.9 var(--f-disp); text-transform: uppercase; }
.crew-title span { display: block; will-change: transform; }
.crew-title span:last-child { color: var(--crimson-hi); }
.crew-lead { max-width: 44ch; margin: 26px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255, 236, 238, 0.82); }
.crew-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; font: 700 13px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, color 0.3s; }
.btn-main { background: var(--white); color: #7a0a1c; }
.btn-main:hover { background: var(--crimson); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 246, 243, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 246, 243, 0.42); }
.btn-ghost:hover { background: rgba(255, 246, 243, 0.16); transform: translateY(-2px); }
.card { position: relative; padding: 30px 32px 30px; background: linear-gradient(160deg, rgba(22, 2, 7, 0.78), rgba(22, 2, 7, 0.52)); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.card::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); clip-path: inherit; pointer-events: none; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: 700 12px/1 var(--f-wide); letter-spacing: 0.18em; text-transform: uppercase; }
.card-head b { font: 400 22px/1 var(--f-disp); letter-spacing: 0.04em; color: var(--crimson-hi); }
.stats { margin: 0; padding: 0; list-style: none; }
.stats li { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 246, 243, 0.08); }
.stats li:last-child { border-bottom: 0; padding-bottom: 4px; }
.stats span { font: 600 13px/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 236, 238, 0.86); }
.stats b { font: 400 22px/1 var(--f-disp); letter-spacing: 0.02em; }
.stats em { grid-column: 1 / -1; display: flex; gap: 4px; }
.stats em i { flex: 1; height: 12px; transform: skewX(-24deg); background: rgba(255, 246, 243, 0.1); transition: background 0.25s; }
.stats em i.on { background: var(--white); }
.stats .is-zero b { color: var(--crimson-hi); }
.stats .is-zero em { position: relative; }
.stats .is-zero em::after { content: "Gibt’s bei uns nicht"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding-left: 8px; font: 600 11px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 236, 238, 0.55); }
.foot { position: absolute; left: clamp(20px, 6vw, 96px); bottom: 24px; margin: 0; font: 600 11px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 236, 238, 0.45); }

/* ---------- Wischblende ---------- */
.wipe { position: fixed; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; visibility: hidden; }
.wipe canvas { position: absolute; left: 0; top: 0; height: 100%; will-change: transform; }
.wipe b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 clamp(34px, 6.4vw, 104px)/1 var(--f-wide); letter-spacing: 0.2em; text-transform: uppercase; color: #3a0610; opacity: 0; white-space: nowrap; }

/* ---------- Smartphone und Tablet ---------- */
@media (max-width: 819px) {
  .nav { display: none; }
  .title { z-index: 5; }
  .loader-l { display: none; }
  .loader-bar i { width: 8px; height: 10px; }
  .hud-frame { display: none; }
  .svc { left: 20px; right: 20px; top: 14vh; width: auto; transform: none; }
  .svc-list { grid-template-columns: 1fr; gap: 16px; }
  .svc-list b { font-size: 34px; }
  .svc-list h2 { font-size: 26px; }
  .svc-list p { font-size: 16px; }
  .crew { grid-template-columns: 1fr; padding-top: 14vh; padding-bottom: 12vh; }
  .card { padding: 24px 22px; }
}

/* Weniger Bewegung: main.js blendet nur noch über (kein Zoom, kein Wackeln, keine Eigenanimation) */
@media (prefers-reduced-motion: reduce) {
  .nav a, .nav a .nav-x, .btn, .hud-pause i { transition: none; }
}

/* ---------- Figur „Zinna“ (SVG-Klassen) ---------- */
.zinna { display: block; width: 100%; height: auto; overflow: visible; }
.zc-skin { fill: #f7d4c6; } .zc-skin2 { fill: #e7a597; stroke: #e7a597; }
.zc-hair { fill: #c62a52; } .zc-hair2 { fill: #8f1a3e; } .zc-hair3 { fill: #6d1231; } .zc-hairh { fill: #ef7390; }
.zc-jacket { fill: #e0607b; } .zc-jacket2 { fill: #b33d5a; } .zc-jacket3 { fill: #8d2945; } .zc-jacketh { fill: #f59aad; }
.zc-hood { fill: #e3a93d; } .zc-hood2 { fill: #b98129; } .zc-hoodh { fill: #f5ca68; }
.zc-teal { fill: #1f7075; } .zc-teal2 { fill: #14494f; } .zc-tealh { fill: none; stroke: #39a3a2; }
.zc-shorts { fill: #3c3542; } .zc-shorts2 { fill: #27212c; }
.zc-tights { fill: #231820; } .zc-tightsh { fill: #4a3440; }
.zc-belt { fill: #6e3b22; } .zc-gold { fill: #e0aa45; } .zc-tube { fill: #d9d0d4; } .zc-ink { fill: #c8102e; }
.zc-band { fill: #f5eee9; } .zc-band2 { fill: #d4c3c9; }
.zc-string { fill: none; stroke: #f6e6c4; stroke-width: 4; stroke-linecap: round; }
.zc-stain { fill: #9a2340; }
.zc-white { fill: #fff6f2; } .zc-pupil { fill: #260808; }
.zc-lash { fill: #2b0c16; } .zc-lash2 { fill: none; stroke: #7a3040; stroke-width: 2.2; stroke-linecap: round; opacity: .7; }
.zc-mouth { fill: none; stroke: #8a2436; stroke-width: 3.6; stroke-linecap: round; }
.zc-brow { fill: none; stroke: #7a1832; stroke-width: 6; stroke-linecap: round; }
.zc-blush { fill: #ff7d8e; opacity: .35; }
.zh-b { fill: #c62a52; stroke: #5e0d27; stroke-width: 2.2; stroke-linejoin: round; paint-order: stroke; } .zh-h { fill: #e25273; } .zh-l { fill: none; stroke: #8f1a3e; stroke-width: 3; stroke-linecap: round; } .zt { fill: #1f7075; }
.zb-wood { fill: #7c3f22; stroke: #3a1408; stroke-width: 2.5; paint-order: stroke; } .zb-woodh { fill: #a9623a; } .zb-bristle { fill: #2b1518; stroke: #16080b; stroke-width: 2.5; paint-order: stroke; } .zb-streak { fill: none; stroke: #4d2b30; stroke-width: 2.2; stroke-linecap: round; }
.zb-ink { fill: #c8102e; } .zb-gloss { fill: none; stroke: #ff8c9a; stroke-width: 5; stroke-linecap: round; opacity: .85; }
.zb-metal { fill: #d7a240; stroke: #5e3d0c; stroke-width: 2.5; paint-order: stroke; } .zb-metalh { fill: #f4d57e; } .zb-ring { fill: #94641b; } .zb-cord { fill: #1f7075; }
.zc-shortsh { fill: #5a5163; } .zc-beltd { fill: #4f2917; } .zc-goldh { fill: #f7d58a; } .zc-tubed { fill: #b3a8ae; }
.zc-fold { fill: none; stroke: #27212c; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.zc-stitch { fill: none; stroke: #5d5566; stroke-width: 1.6; stroke-dasharray: 4 3; }
.zc-foldh { fill: none; stroke: #b98129; stroke-width: 2.5; stroke-linecap: round; opacity: .5; }
.zc-rib { fill: none; stroke: #9c6b1f; stroke-width: 1.5; opacity: .5; }
.zc-fold2 { fill: none; stroke: #9e3350; stroke-width: 3; stroke-linecap: round; opacity: .7; }
.zc-stitch2 { fill: none; stroke: #f9b3c1; stroke-width: 1.6; stroke-dasharray: 4 3; opacity: .8; }
.zc-rimj { fill: none; stroke: #ffb0c0; stroke-width: 9; opacity: .9; }
.zc-rims { fill: none; stroke: #ffe3da; stroke-width: 6; }
.zc-rimh { fill: none; stroke: #ff9db3; stroke-width: 9; }
.zc-blushl { fill: none; stroke: #f06d80; stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.zc-hairl { fill: none; stroke: #8f1a3e; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.zc-hairs { fill: none; stroke: #ef7390; stroke-width: 3.5; stroke-linecap: round; opacity: .8; }
.zb-grain { fill: none; stroke: #5a2a15; stroke-width: 1.6; stroke-linecap: round; opacity: .6; }
.zb-inkd { fill: #8e0a22; } .zb-glossd { fill: #ffd0d6; } .zth { fill: #39a3a2; }
.ol { stroke: #3a0614; stroke-width: 3; stroke-linejoin: round; paint-order: stroke; }
.zc-tightsd { fill: #120b10; }
