/* ─── KESSEL · Teaser-Landing (kessel-drinks.de) ──────────────────────────
   Eigenständig, statisch. Tokens & Typo aus der Haupt-Identity (kessel.bar).
   Editorial · technisch · kantig. Mobile first.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  --ink:         #f2efe8;
  --paper:       #0a0a0a;
  --paper-2:     #111111;
  --line:        rgba(242, 239, 232, 0.18);
  --line-strong: rgba(242, 239, 232, 0.45);
  --muted:       rgba(242, 239, 232, 0.55);

  --lime:    #d9ff38;   /* akzent */
  --granate: #ff2d2d;   /* redline / „heiß" */
  --copper:  #ffffff;

  --pad-x:   18px;
  --pad-x-l: 56px;
  --maxw:    1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--copper); color: var(--paper); }

/* ── skip-link ─────────────────────────────────────────────────────── */
.k-skip {
  position: absolute; left: -1000px; top: 0;
  background: var(--copper); color: var(--paper);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 100;
}
.k-skip:focus { left: 0; }

/* ── laufband ──────────────────────────────────────────────────────── */
.k-ticker {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
}
.k-ticker-track {
  display: flex;
  gap: 28px;
  padding-left: 28px;
  animation: k-ticker-scroll 38s linear infinite;
  flex-shrink: 0;
}
.k-ticker-track > span { flex-shrink: 0; }
.k-ticker-track .dot { color: var(--copper); }
@keyframes k-ticker-scroll { to { transform: translateX(-50%); } }

/* ── hero ──────────────────────────────────────────────────────────── */
.k-hero {
  position: relative;
  flex: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 54px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.k-page-num {
  position: absolute;
  top: 16px; right: var(--pad-x);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted);
}

.k-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.k-hero-meta span { position: relative; }
.k-hero-meta span:not(:last-child)::after {
  content: '·'; position: absolute; right: -13px; color: var(--copper);
}

/* ── wortmarke + dampf ─────────────────────────────────────────────── */
.k-mark-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 36px;
}
.k-hero-mark {
  position: relative;
  z-index: 2;
  height: 46px; width: auto;
  filter: invert(1);
}

.k-steam {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 62%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}
.k-steam span {
  position: absolute;
  bottom: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,239,232,0.28), rgba(242,239,232,0));
  filter: blur(3px);
  opacity: 0;
  animation: k-steam-rise 4.2s ease-in infinite;
}
.k-steam span:nth-child(1) { left: 30%; animation-delay: 0s;   }
.k-steam span:nth-child(2) { left: 44%; animation-delay: 0.9s; }
.k-steam span:nth-child(3) { left: 56%; animation-delay: 1.8s; }
.k-steam span:nth-child(4) { left: 38%; animation-delay: 2.6s; }
.k-steam span:nth-child(5) { left: 62%; animation-delay: 3.4s; }
@keyframes k-steam-rise {
  0%   { transform: translateY(0)      scale(0.6); opacity: 0;   }
  20%  {                                           opacity: 0.9; }
  100% { transform: translateY(-80px)  scale(1.7); opacity: 0;   }
}

/* ── claim & text ──────────────────────────────────────────────────── */
.k-hero-body { max-width: 620px; }

.k-claim {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.94;
  font-size: clamp(44px, 12vw, 84px);
  margin: 0 0 26px;
  text-transform: uppercase;
}
.k-claim .accent { color: var(--lime); }

.k-lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.82;
  max-width: 46ch;
  margin: 0 auto 34px;
}

/* ── call-to-action: instagram ─────────────────────────────────────── */
.k-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  border: 1px solid var(--copper);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, gap .2s ease;
}
.k-cta:hover { background: var(--copper); color: var(--paper); gap: 20px; }
.k-cta-label { font-size: 12px; letter-spacing: 0.16em; font-weight: 500; }
.k-cta-handle {
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}
.k-cta:hover .k-cta-handle { color: var(--paper); border-color: var(--paper); }
.k-cta .arrow { font-size: 14px; }

.k-soon {
  margin-top: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.k-soon .accent { color: var(--lime); }

/* ── footer ────────────────────────────────────────────────────────── */
.k-foot {
  border-top: 1px solid var(--line);
  padding: 20px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.k-foot-mark { color: var(--ink); }
.k-foot-warning { color: var(--muted); }
.k-foot-nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.k-foot-nav a:hover { color: var(--copper); }

/* ── desktop ───────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .k-ticker { padding: 10px 0; font-size: 10.5px; }
  .k-ticker-track { gap: 56px; padding-left: 56px; }
  .k-hero { padding: 72px var(--pad-x-l) 56px; }
  .k-page-num { top: 22px; right: var(--pad-x-l); }
  .k-hero-mark { height: 58px; }
  .k-foot { padding: 24px var(--pad-x-l); justify-content: space-between; }
}

/* ── mini-spiel: trigger-button ────────────────────────────────────── */
.k-play-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color .2s;
}
.k-play-trigger:hover { color: var(--lime); }
.k-play-trigger .arrow { font-size: 8px; }

/* ── mini-spiel: modal ─────────────────────────────────────────────── */
.k-game { display: none; }
.k-game:not([hidden]) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 5, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.k-game-panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  padding: 30px 24px 24px;
}
.k-game-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  transition: color .2s;
}
.k-game-close:hover { color: var(--copper); }

.k-game-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.k-game-title {
  font-family: 'Space Mono', monospace; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1;
  font-size: 30px; margin: 8px 0 10px;
}
.k-game-title .accent { color: var(--lime); }
.k-game-sub {
  font-size: 12.5px; line-height: 1.6; color: var(--muted);
  margin: 0 0 22px; max-width: 42ch;
}
.k-game-sub .accent { color: var(--lime); }

/* ── stage: säule + seite ──────────────────────────────────────────── */
.k-game-stage {
  display: flex;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.k-gauge {
  position: relative;
  width: 96px;
  height: 260px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
}
.k-gauge-cap, .k-gauge-base {
  position: absolute;
  left: 0; right: 0;
  z-index: 5;
  text-align: center;
  pointer-events: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--muted);
}
.k-gauge-cap  { top: 6px; }
.k-gauge-base { bottom: 6px; }

.k-gauge-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0%;
  z-index: 2;
  background: linear-gradient(to top, rgba(242,239,232,0.85), rgba(242,239,232,0.45));
  transition: background .15s;
}
.k-gauge-fill.is-hot {
  background: linear-gradient(to top, var(--granate, #ff2d2d), rgba(255,45,45,0.5));
}

.k-gauge-zone {
  position: absolute;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(217, 255, 56, 0.16);
  border-top: 1px dashed var(--lime);
  border-bottom: 1px dashed var(--lime);
  pointer-events: none;
}
.k-gauge-redline {
  position: absolute;
  left: 0; right: 0; bottom: 96%;
  z-index: 4;
  height: 0;
  border-top: 1px solid #ff2d2d;
  pointer-events: none;
}

.k-gauge-steam {
  position: absolute;
  left: 0; right: 0; top: -6px;
  height: 0; z-index: 6;
  pointer-events: none;
}
.k-gauge-steam span {
  position: absolute;
  bottom: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,239,232,0.5), rgba(242,239,232,0));
  filter: blur(2px);
  animation: k-burst 0.8s ease-out forwards;
}
@keyframes k-burst {
  0%   { transform: translateY(0) scale(0.6); opacity: 0.9; }
  100% { transform: translateY(-46px) scale(1.6); opacity: 0; }
}

.k-game-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}
.k-game-stat { display: flex; flex-direction: column; gap: 2px; }
.k-game-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.k-game-stat .val {
  font-family: 'Space Mono', monospace; font-weight: 700;
  font-size: 30px; line-height: 1;
}
.k-game-msg {
  margin: auto 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; line-height: 1.5;
  color: var(--ink);
}

.k-game-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--ink);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.k-game-btn:hover { background: var(--copper); color: var(--paper); }

@media (max-width: 380px) {
  .k-gauge { width: 82px; height: 220px; }
  .k-game-title { font-size: 26px; }
}

/* ── weniger bewegung: dampf & laufband anhalten ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .k-ticker-track { animation: none; }
  .k-steam span { animation: none; opacity: 0; }
}
