/* Somehow – style.css
   Farben kommen direkt aus dem Logo: Tinte #141414, Controller-Grau #474747,
   vier Buttons rot / blau / gelb / grün. Schriften liegen lokal (keine externen Server). */

@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --ink: #141414;
  --ink-2: #1c1c1c;
  --ink-3: #262626;
  --console: #474747;
  --paper: #ffffff;
  --muted: #a9a9a9;
  --line: rgba(255, 255, 255, .14);

  --red: #f44336;
  --blue: #2196f3;
  --yellow: #ffc107;
  --green: #8bc34a;

  --accent: var(--blue);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --bar-h: 64px;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 50;
  display: flex; align-items: center;
  background: rgba(20, 20, 20, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar__logo { display: block; width: 52px; color: #fff; }
.bar__logo svg { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--paper); opacity: .78; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="true"], .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="true"], .nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); }

.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin: 0;
}
.lang button {
  appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; letter-spacing: .02em;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
/* Auf Start- und Loot-Miners-Seite sind DE/EN Links zur jeweils anderen Fassung */
.lang a { color: var(--muted); font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; text-decoration: none; line-height: normal; }
.lang a:hover { color: var(--paper); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); }
.lang a.is-hint { animation: langHint 1.3s ease-in-out .9s 4; }
@keyframes langHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); color: var(--muted); } 45% { box-shadow: 0 0 0 4px var(--yellow); color: var(--paper); } }

.menu-btn { display: none; appearance: none; background: none; border: 1px solid var(--line); color: var(--paper); font: inherit; font-weight: 600; font-size: .9rem; border-radius: 999px; padding: 8px 16px; cursor: pointer; }

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .bar__right { display: flex; align-items: center; gap: 10px; }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto 0; background: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .28s ease; }
  .nav a { font-family: var(--f-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; padding: 10px 0; opacity: 1; }
  .nav a[aria-current="true"] { box-shadow: none; color: var(--accent); }
}
@media (min-width: 761px) { .bar__right { display: flex; align-items: center; gap: 28px; } }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.5rem, 2rem + 4.4vw, 5.6rem); text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.05rem + .6vw, 1.5rem); line-height: 1.5; max-width: 34em; color: #e9e9e9; text-wrap: pretty; }
.sub { color: var(--muted); max-width: 36em; text-wrap: pretty; }

.section { padding-block: clamp(88px, 14vh, 170px); position: relative; }

/* Button-Punkte (Controller-Motiv) */
.pip { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage { min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--bar-h) + 24px) 72px; position: relative; overflow: clip; }
/* Durchflug: Der Hero wird zur Bühne, die beim Scrollen festgehalten wird */
.hero.is-dive { height: calc(100svh + 125svh); }
.hero.is-dive .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.hero.is-dive .hero__stage > .wrap { width: 100%; }
.iris { position: absolute; inset: 0; pointer-events: none; display: none; clip-path: circle(0px at 50% 50%); }
.hero.is-dive .iris { display: block; }
.iris--ring { z-index: 5; background: conic-gradient(from 20deg at var(--ox, 50%) var(--oy, 50%), var(--red) 0 25%, var(--blue) 0 50%, var(--yellow) 0 75%, var(--green) 0 100%); }
.iris--core { z-index: 6; background: var(--ink-2); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero h1 { margin: 0; line-height: 0; }
.hero .wordmark { width: min(100%, 680px); height: auto; color: #fff; }
.swap { display: flex; align-items: baseline; margin: clamp(10px, 2vw, 22px) 0 clamp(28px, 4vw, 44px); font-family: var(--f-display); font-weight: 800; font-size: clamp(3.2rem, 2rem + 8vw, 9rem); line-height: .95; letter-spacing: -.045em; }
.swap__clip { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.swap__word { display: inline-block; will-change: transform; }
.swap__word.is-out { transform: translateY(105%); transition: transform .28s cubic-bezier(.5, 0, .9, .4); }
.swap__word.is-in-start { transform: translateY(-105%); }
.swap__word.is-in { transform: none; transition: transform .38s cubic-bezier(.1, .7, .2, 1); }
.swap__dot { width: .17em; height: .17em; border-radius: 50%; background: var(--accent); margin-left: .06em; align-self: flex-end; margin-bottom: .1em; transition: background .3s; flex: none; }
.hero .lead { max-width: 28em; }

.pad { position: relative; justify-self: center; width: min(100%, 520px); }
.pad .controller { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); transition: transform .25s ease-out; }

/* Einstieg: Texte steigen auf, Buttons poppen nacheinander herein */
.js .hero__text h1, .js .hero__text .swap, .js .hero__text .lead { animation: rise .95s cubic-bezier(.2, .8, .2, 1) backwards; }
.js .hero__text .swap { animation-delay: .22s; }
.js .hero__text .lead { animation-delay: .42s; }
.js .pad .controller { animation: ctrlIn 1s cubic-bezier(.2, .8, .2, 1) .15s backwards; }
.js .pad .btn { animation: btnIn .6s cubic-bezier(.3, 1.8, .5, 1) backwards; }
.js .pad .btn-red { animation-delay: .75s; } .js .pad .btn-blue { animation-delay: .87s; } .js .pad .btn-yellow { animation-delay: .99s; } .js .pad .btn-green { animation-delay: 1.11s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } }
@keyframes ctrlIn { from { opacity: 0; transform: translateY(40px) rotate(-5deg) scale(.9); } }
@keyframes btnIn { from { opacity: 0; transform: scale(0); } }
.pad .btn { transform-box: fill-box; transform-origin: center; cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), filter .2s; }
.pad .btn:hover { transform: scale(1.35); }
.pad .btn.is-active { transform: scale(1.6); filter: drop-shadow(0 0 3px currentColor); }
.btn-red { color: var(--red); } .btn-blue { color: var(--blue); } .btn-yellow { color: var(--yellow); } .btn-green { color: var(--green); }
.pad__hint { margin-top: 18px; text-align: center; color: var(--muted); font-size: .9rem; }

.cue { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2)); bottom: 22px; color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cue::before { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .pad { width: min(78%, 340px); justify-self: start; margin-top: 12px; }
  .pad__hint { text-align: left; }
  .cue { display: none; }
}

/* ---------- Kicker (Level-Zähler) ---------- */
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 2vw, 22px); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kicker .pip { width: 9px; height: 9px; }

/* ---------- Wortband (läuft beim Scrollen) ---------- */
.marq { overflow: clip; padding-block: clamp(36px, 7vw, 90px); background: var(--ink); }
.marq__row { overflow: clip; padding-block: .04em; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 1rem + 11vw, 11.5rem); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; }
.marq__row + .marq__row { margin-top: .06em; }
.marq__track { display: inline-flex; align-items: center; gap: .32em; will-change: transform; }
.marq__track .pip { width: .28em; height: .28em; margin-inline: .06em; }
.marq__row--line { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); }
.marq__row--solid { color: #fff; }

/* ---------- Wörter und Buchstaben, die einlaufen ---------- */
.rv { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.rv > span { display: inline-block; }
.js [data-split="words"] .rv > span { transform: translateY(112%); }
.js [data-split="words"].is-in .rv > span { transform: none; transition: transform .95s cubic-bezier(.16, .9, .2, 1) calc(var(--i) * .09s); }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.js [data-split="chars"] .ch { opacity: 0; transform: translateY(.7em) rotate(10deg) scale(.6); }
.js [data-split="chars"].is-in .ch { opacity: 1; transform: none; transition: transform .8s cubic-bezier(.3, 1.7, .5, 1) calc(var(--i) * .06s), opacity .35s calc(var(--i) * .06s); }
.js [data-split="chars"].is-in .ch:hover { transform: translateY(-.1em) rotate(-4deg); transition-delay: 0s; }
.fw { transition: opacity .12s linear; }

/* ---------- Wer wir sind ---------- */
.who { background: var(--paper); color: var(--ink); padding-bottom: clamp(150px, 24vh, 260px); }
.who .kicker { color: #6a6a6a; }
/* Kuppel: der weiße Bereich wölbt sich von unten herein und glättet sich beim Scrollen */
.who::before, .contact::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--arc, 0px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.who::before { background: var(--paper); }
.contact::before { background: var(--ink); }
.who ::selection { background: var(--ink); color: var(--paper); }
.who .lead { color: #2b2b2b; }
.who__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 90px); align-items: end; }
.who__head h2 { max-width: 9em; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 9vw, 120px); }
.value { border-top: 3px solid var(--ink); padding-top: 22px; }
.value .pip { margin-bottom: 18px; width: 22px; height: 22px; }
.value p { margin-top: 14px; color: #3a3a3a; max-width: 24em; text-wrap: pretty; }
.js .value { border-top-color: transparent; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 0% 3px no-repeat; }
.js .values.is-in .value { background-size: 100% 3px; transition: background-size .8s ease calc(var(--i) * .14s); }
.js .value .pip { opacity: 0; transform: translateY(-70px) scale(.3); }
.js .values.is-in .value .pip { animation: drop .8s cubic-bezier(.3, 1.5, .5, 1) calc(.25s + var(--i) * .14s) both; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-70px) scale(.3); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .who__head { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Was wir machen (fixierte Szene) ---------- */
.what { position: relative; overflow-x: clip; }
main { overflow-x: clip; }
.what__stage { position: relative; padding-block: clamp(88px, 14vh, 170px); }
.what__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.what h2 { max-width: 12em; margin-bottom: clamp(26px, 4vw, 48px); }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.what .row { display: block; padding-block: clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line); }
.row h3 { display: flex; align-items: center; gap: 16px; font-size: clamp(1.5rem, 1.05rem + 2vw, 2.9rem); letter-spacing: -.04em; }
.row h3 .pip { width: .36em; height: .36em; }
.row p { color: #cfcfcf; max-width: 28em; margin-top: 10px; text-wrap: pretty; }

.what__pad { justify-self: center; width: min(100%, 460px); position: relative; z-index: 1; }
.what__pad .controller { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.what__pad .controller.is-punch { animation: punch .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes punch { 35% { transform: scale(1.07) rotate(-2deg); } }
.what__glow { position: absolute; z-index: 0; right: 6%; top: 50%; width: min(52vw, 640px); aspect-ratio: 1; margin-top: calc(min(52vw, 640px) / -2); border-radius: 50%; background: var(--accent); opacity: .3; filter: blur(110px); transition: background-color .6s; pointer-events: none; }
.what__num { position: absolute; z-index: 0; right: max(var(--gutter), calc((100% - var(--max)) / 2)); top: 50%; width: 1em; height: 1em; margin-top: -.5em; font-family: var(--f-display); font-weight: 800; font-size: clamp(12rem, 34vw, 30rem); line-height: 1; letter-spacing: -.06em; pointer-events: none; }
.what__num span { position: absolute; right: 0; top: 0; width: 2em; text-align: right; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16); opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.what__num span.is-active { opacity: 1; transform: none; }
.what__pad .btn { transform-box: fill-box; transform-origin: center; cursor: pointer; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }

.what.is-pinned .what__track { height: calc(100svh + 170svh); }
.what.is-pinned .what__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-block: calc(var(--bar-h) + 16px) 24px; }
.what.is-pinned .what__stage > .wrap { width: 100%; }
.what.is-pinned .row { opacity: .28; transition: opacity .35s; cursor: pointer; }
.what.is-pinned .row.is-active { opacity: 1; }
.what.is-pinned .row p { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, margin .35s, opacity .3s; }
.what.is-pinned .row.is-active p { max-height: 9em; margin-top: 10px; opacity: 1; }
.what.is-pinned .what__pad .btn { opacity: .3; }
.what.is-pinned .what__pad .btn.is-active { opacity: 1; transform: scale(1.7); filter: drop-shadow(0 0 4px currentColor); }
.what:not(.is-pinned) .what__pad .btn.is-active { transform: scale(1.5); }

@media (max-width: 900px) {
  .what__num { font-size: clamp(9rem, 48vw, 16rem); top: 62%; }
  .what__glow { width: 90vw; right: -20%; filter: blur(80px); }
  .what__grid { grid-template-columns: 1fr; gap: 18px; }
  .what__pad { width: min(46%, 190px); justify-self: start; order: 2; }
  .what.is-pinned .what__stage { align-items: flex-start; padding-top: calc(var(--bar-h) + 56px); }
  .what h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .what .row { padding-block: 12px; }
  .row h3 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .what.is-pinned .row.is-active p { max-height: 7em; }
}

/* ---------- Loot Miners ---------- */
.loot { background: var(--ink-2); }
.loot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.loot__top h2 { max-width: 8em; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: #e9e9e9; }
.badge .pip { --c: var(--yellow); width: 10px; height: 10px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.pit { position: relative; height: clamp(380px, 68svh, 640px); border-radius: var(--pit-r, 22px); overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #1d1d1d 0%, #0b0b0b 100%); isolation: isolate; }
.pit__reveal { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; z-index: 1; }
.pit__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 1.2rem + 9vw, 9.5rem); line-height: .9; letter-spacing: -.05em; background: linear-gradient(100deg, #fff 0%, #fff 42%, var(--yellow) 50%, #fff 58%, #fff 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pit__line { margin-top: clamp(14px, 2vw, 26px); font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); color: #e9e9e9; font-weight: 600; }
.pit.is-clear .pit__title { animation: shine 1.8s .15s ease-out 1 both; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.gem { position: absolute; z-index: 1; cursor: pointer; width: clamp(26px, 3.4vw, 46px); height: auto; filter: drop-shadow(0 0 10px var(--g)); }
.pit.is-clear .gem { animation: twinkle 2.8s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(8deg); } }

.dirt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; touch-action: none; cursor: grab; transition: opacity .7s ease; display: none; }
.js .dirt { display: block; }
.dirt:active { cursor: grabbing; }
.pit.is-clear .dirt { opacity: 0; pointer-events: none; }

.dirt-hint { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; pointer-events: none; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); letter-spacing: -.03em; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 18px rgba(0,0,0,.6); transition: opacity .4s; }
.js .dirt-hint { display: block; }
.pit.is-digging .dirt-hint, .pit.is-clear .dirt-hint { opacity: 0; }

.loot__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 36px); }
.loot__foot p { color: #cfcfcf; max-width: 32em; }
.linkbtn { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.linkbtn:hover { color: var(--paper); }
.linkbtn[data-reveal] { display: none; }
.js .linkbtn[data-reveal] { display: inline; }

/* ---------- Buttons ---------- */
.btn-solid { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--paper); color: var(--ink); font-weight: 600; padding: 14px 24px; border-radius: 999px; transition: background .2s, transform .2s; }
.btn-solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn-solid .pip { --c: var(--ink); width: 10px; height: 10px; }

/* ---------- Kontakt ---------- */
.contact { padding-bottom: clamp(110px, 18vh, 200px); }
.contact h2 { font-size: clamp(3.2rem, 1.6rem + 9vw, 10rem); }
.contact p.lead { margin-top: clamp(18px, 3vw, 34px); }
.mail { display: inline-block; margin-top: clamp(28px, 4vw, 48px); font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.7rem, 1rem + 4.4vw, 4.4rem); text-decoration: none; line-height: 1.05; overflow-wrap: anywhere; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% .09em no-repeat; padding-bottom: .08em; transition: background-size .25s, color .25s; }
.mail:hover { background-size: 100% 100%; color: var(--ink); }

/* ---------- Footer-Leiste ---------- */
.foot { border-top: 1px solid var(--line); background: var(--ink); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; padding-block: 22px; font-size: .92rem; }
.foot__brand { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.foot__brand svg { width: 38px; height: auto; color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.foot a { color: var(--paper); text-decoration: none; opacity: .85; }
.foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }


/* ---------- Spiel-Anzeige: Fortschritt, Tiefe, Edelsteine ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; display: flex; gap: 2px; pointer-events: none; }
.progress i { flex: 1; background: var(--c); transform-origin: left; transform: scaleX(0); }

.hud { position: fixed; z-index: 45; top: calc(var(--bar-h) + 12px); right: var(--gutter); display: flex; gap: 8px; pointer-events: none; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hud__pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 20, 20, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); color: #fff; line-height: 1.2; }
.hud__pill b { font-weight: 600; }
.hud__gems svg { width: 15px; height: 15px; }
.hud__gems b { min-width: 0; }
.hud__gems.is-pop { animation: pop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 40% { transform: scale(1.25); } }
.toast { position: fixed; z-index: 95; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: #fff; color: var(--ink); font-weight: 600; padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.burst { position: fixed; z-index: 96; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }
.gem-fly { position: fixed; z-index: 97; pointer-events: none; filter: drop-shadow(0 0 10px var(--g)); }

.gem--free { z-index: 4; width: clamp(22px, 2.4vw, 32px); opacity: .9; transition: transform .2s, opacity .2s; animation: twinkle 3.2s ease-in-out infinite; }
.gem--free:hover, .gem--free:focus-visible { transform: scale(1.35) rotate(10deg); opacity: 1; animation: none; }
.pit:not(.is-clear) .gem { pointer-events: none; }
.gem:focus-visible { outline-offset: 6px; }
.hero, .who, .contact, .what__stage { position: relative; }

@media (max-width: 760px) {
  .hud { top: calc(var(--bar-h) + 8px); gap: 6px; font-size: .72rem; }
  .hud__pill { padding: 5px 10px; }
}


/* ---------- Cookie-Hinweis (Pause-Menü) ---------- */
.cc { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 24px)); max-height: calc(100svh - 40px); overflow: auto; padding: 24px 22px 16px; border-radius: 24px; background: rgba(22, 22, 22, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 100px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08); visibility: hidden; opacity: 0; transform: translateY(46px) scale(.95); transition: transform .35s ease, opacity .3s, visibility 0s .35s; }
.cc::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 0 50%, var(--green) 0 75%, var(--red) 0); }
.cc.is-on { visibility: visible; opacity: 1; transform: none; transition: transform .75s cubic-bezier(.3, 1.45, .5, 1), opacity .3s, visibility 0s; }
.cc__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cc__pause { display: inline-flex; gap: 3px; }
.cc__pause i { width: 4px; height: 13px; border-radius: 1px; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.cc__k { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc__t { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); letter-spacing: -.035em; }
.cc__p { margin-top: 10px; color: #cfcfcf; font-size: .94rem; line-height: 1.5; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cc__b { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 600 .95rem/1.2 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cc__b:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px); }
.cc__b .pip { width: 10px; height: 10px; }
.cc__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font-size: .85rem; }
.cc__foot a { color: var(--muted); text-underline-offset: 3px; }
.cc__foot a:hover { color: var(--paper); }
.cc__more { margin-top: 16px; border-top: 1px solid var(--line); }
.cc__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc__row b { display: block; font-weight: 600; font-size: .95rem; }
.cc__row small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.cc__row input { appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: #3a3a3a; position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.cc__row input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cc__row input:checked { background: var(--green); }
.cc__row input:checked::after { transform: translateX(18px); }
.cc__row input:disabled { opacity: .55; cursor: default; }
.cc__save { width: 100%; margin-top: 14px; }
.cc__more[hidden] { display: none; }
.foot__btn { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--paper); opacity: .85; cursor: pointer; }
.foot__btn:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .cc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 18px 14px; } }

/* ---------- Newsletter "Sag mir Bescheid" (gleicher Stil wie das Pause-Menü) ---------- */
.nl { width: min(460px, calc(100vw - 24px)); max-width: none; max-height: calc(100svh - 24px); margin: auto; padding: 0; overflow: auto; border-radius: 24px; background: rgba(22, 22, 22, .97); color: var(--paper); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 100px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08); }
.nl::backdrop { background: rgba(10, 10, 10, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nl[open] { animation: nlIn .7s cubic-bezier(.3, 1.45, .5, 1); }
@keyframes nlIn { from { opacity: 0; transform: translateY(46px) scale(.95); } to { opacity: 1; transform: none; } }
.nl__in { position: relative; padding: 24px 22px 22px; }
.nl__in::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--yellow) 0 50%, var(--green) 0 75%, var(--red) 0); }
.nl__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.nl__top .pip { width: 10px; height: 10px; animation: blink 1.6s ease-in-out infinite; }
.nl__k { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nl__x { appearance: none; margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: 600 1.25rem/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s; }
.nl__x:hover { background: #fff; color: var(--ink); }
.nl__t { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); letter-spacing: -.035em; }
.nl__p { margin: 10px 0 0; color: #cfcfcf; font-size: .96rem; line-height: 1.5; }
.nl__form { margin-top: 18px; }
.nl [hidden] { display: none !important; }
.nl__lab { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9rem; }
.nl__mail { width: 100%; padding: 14px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); color: #fff; font: 400 1rem/1.3 var(--f-body); transition: border-color .2s, background .2s; }
.nl__mail::placeholder { color: #8a8a8a; }
.nl__mail:focus { border-color: #fff; background: rgba(255, 255, 255, .1); }
.nl__mail:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 999px; }
.nl__mail[aria-invalid="true"] { border-color: var(--red); }
.nl__err { margin: 10px 0 0; color: #ff8a80; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.nl__err:empty { display: none; }
.nl__cons { margin: 12px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.nl__cons a { color: #cfcfcf; text-underline-offset: 3px; }
.nl__cons a:hover { color: #fff; }
.nl__go { width: 100%; margin-top: 16px; background: #fff; color: var(--ink); border-color: #fff; }
.nl__go:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.nl__go .pip { --c: var(--ink); }
.nl__go[aria-busy="true"] { cursor: progress; opacity: .75; }
.nl__go[aria-busy="true"] .pip { animation: blink .6s ease-in-out infinite; }
.nl__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.nl__end { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }

/* ---------- Link "Mehr über Loot Miners" ---------- */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--paper); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.more:hover { color: var(--accent); }
.more span[aria-hidden] { transition: transform .2s; }
.more:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- Loot-Miners-Seite ---------- */
.game-hero { padding-top: calc(var(--bar-h) + clamp(40px, 8vh, 96px)); }
.game-hero .pit { height: clamp(320px, 58svh, 560px); }
.game-hero .pit__title { margin: 0; }
.gem--deco { cursor: default; pointer-events: none; }
.game-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(26px, 4vw, 48px); }
.game-intro .lead { max-width: 30em; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); margin-top: clamp(40px, 6vw, 80px); }
.faq__item { border-top: 1px solid var(--line); padding-top: 22px; }
.faq__item p { margin-top: 12px; color: #cfcfcf; max-width: 30em; text-wrap: pretty; }
.faq__item a { color: var(--paper); text-underline-offset: 3px; }
.game-faq h2 { font-size: clamp(2.5rem, 2rem + 4.4vw, 5.6rem); }
.game-cta { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 96px); }
.game-cta p { color: #cfcfcf; max-width: 26em; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: calc(var(--bar-h) + clamp(48px, 9vh, 110px)) clamp(80px, 12vh, 140px); }
.legal h1 { font-size: clamp(2.8rem, 1.6rem + 6vw, 6.4rem); margin-bottom: clamp(32px, 5vw, 64px); }
.legal__body { max-width: 46rem; }
.legal h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); letter-spacing: -.03em; line-height: 1.15; margin: 2.4em 0 .7em; }
.legal p, .legal li { color: #dcdcdc; text-wrap: pretty; }
.legal p + p { margin-top: 1em; }
.legal ul { padding-left: 1.2em; margin: .8em 0; }
.legal li + li { margin-top: .4em; }
.legal a { text-underline-offset: 3px; }
.legal address { font-style: normal; line-height: 1.7; color: #fff; margin-bottom: 1em; }
.todo { background: var(--yellow); color: var(--ink); padding: 0 .3em; border-radius: 3px; font-weight: 600; }
.back { display: inline-flex; gap: 8px; margin-bottom: 40px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--paper); }

html[lang="en"] [data-lang="de"], html[lang="de"] [data-lang="en"] { display: none !important; }

.notfound { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 24px; }
.notfound .controller { width: min(60vw, 260px); margin: 0 auto 28px; }
.notfound h1 { font-size: clamp(3rem, 2rem + 6vw, 7rem); }
.notfound p { color: var(--muted); margin: 14px 0 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
