/* Len's Games – Stylesheet
   Ohne externe Schriften oder CDNs (DSGVO): nur System-Schriften. */

:root {
  color-scheme: dark;

  --bg: #090b10;
  --bg-2: #0e1118;
  --surface: #131722;
  --surface-2: #1a1f2c;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text: #eef1f7;
  --text-2: #c4cad8;
  --muted: #8d96ab;

  --orange: #ff8a1f;
  --orange-2: #ffb15c;
  --blue: #2eb0ff;
  --blue-2: #8fd6ff;
  --ok: #3ddc97;
  --err: #ff6b7a;

  --steel: linear-gradient(180deg, #ffffff 0%, #d5dbe6 38%, #8e98aa 52%, #e9edf4 70%, #aab3c3 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next Condensed", "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--orange-2); text-underline-offset: 3px; }
a:hover { color: #ffd2a1; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(255, 138, 31, .35); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #1a0d00; padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: condensed;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }

.steel {
  background: var(--steel);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hl-orange { color: var(--orange); }
.hl-blue { color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange); box-shadow: 0 0 12px var(--orange);
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 58ch; margin: 1.2rem 0 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  --b: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, #ffa04a, var(--orange));
  color: #1d0e00;
  box-shadow: 0 8px 24px -8px rgba(255, 138, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { color: #1d0e00; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 138, 31, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(46, 176, 255, .6); background: rgba(46, 176, 255, .08); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(9, 11, 16, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--text);
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-family: var(--font-display); font-stretch: condensed;
  font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.brand-word .b1 { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-word .b2 { color: var(--orange); text-shadow: 0 0 18px rgba(255, 138, 31, .45); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: block; padding: .55rem .9rem; border-radius: 10px;
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .btn { margin-left: .5rem; min-height: 42px; padding: .55rem 1.1rem; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #1d0e00; }
.site-nav .btn:hover { background: linear-gradient(180deg, #ffa04a, var(--orange)); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(9, 11, 16, .97); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .85rem .5rem; font-size: 1.1rem; }
  .site-nav .btn { margin: .5rem 0 0; }
  .site-header.menu-open { background: rgba(9, 11, 16, .97); }
}
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; background: none; border: 0; padding: 0; }
.no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }

/* ---------- Hero (Startseite) ---------- */

.hero { position: relative; }
.hero-art {
  position: relative;
  height: min(80vh, 56vw);
  min-height: 420px;
  overflow: hidden;
  background: #0b0e14;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(1.04);
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.04); } }
.hero-art::before { /* Header-Lesbarkeit */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: 1;
  background: linear-gradient(180deg, rgba(9, 11, 16, .75), transparent);
}
.hero-art::after { /* Übergang in den Seitenhintergrund */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(9, 11, 16, .7) 55%, var(--bg));
}
.scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .5) 0 1px, transparent 1px 3px);
}

.hero-body {
  position: relative; z-index: 2;
  margin-top: clamp(-180px, -12vw, -60px);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero-body .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  color: var(--muted); font-size: .95rem;
}
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* ---------- Abschnitte ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin: 0; max-width: 46ch; color: var(--text-2); }

.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(46, 176, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

/* ---------- Spielkarten ---------- */

.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }

.game {
  --c: var(--orange);
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 55%, transparent); }
.game.c-blue { --c: var(--blue); }
.game.c-teal { --c: #39d5c4; }

.game-visual {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .045) 0 1px, transparent 1px 28px),
    #0d1017;
  border-bottom: 1px solid var(--line);
}
.game-visual img.icon {
  width: 38%; max-width: 132px; height: auto; aspect-ratio: 1; border-radius: 26%;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease);
}
.game:hover .game-visual img.icon { transform: scale(1.06) rotate(-2deg); }
.game-visual img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.game-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.game-body p { margin: 0; color: var(--text-2); font-size: 1rem; }
.game-body .btn { margin-top: auto; align-self: flex-start; }
.game-body .spacer { flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
}

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .65rem; border-radius: 8px;
  background: rgba(9, 11, 16, .75); border: 1px solid var(--line-strong); color: var(--text);
  backdrop-filter: blur(6px);
}
.badge.live { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: .45rem; box-shadow: 0 0 10px var(--ok); vertical-align: 1px; }
.badge.dev { color: var(--orange-2); border-color: rgba(255, 138, 31, .4); }

/* Hervorgehobenes Spiel */
.game.featured { grid-column: 1 / -1; flex-direction: row; }
.game.featured .game-visual { flex: 1.25; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.game.featured .game-visual img.icon { width: 30%; max-width: 180px; }
.game.featured .game-body { flex: 1; padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; gap: 1rem; }
.game.featured h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.game.featured .btn { margin-top: .75rem; }
.game.featured .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .75rem; }
.game.featured .actions .btn { margin: 0; }

@media (max-width: 980px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .games { grid-template-columns: minmax(0, 1fr); }
  .game.featured { flex-direction: column; }
  .game.featured .game-visual { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Schritte / Prinzipien ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem;
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--orange); background: rgba(255, 138, 31, .1); border: 1px solid rgba(255, 138, 31, .3);
  margin-bottom: 1.1rem;
}
.step:nth-child(2) .step-num { color: var(--blue); background: rgba(46, 176, 255, .1); border-color: rgba(46, 176, 255, .3); }
.step:nth-child(3) .step-num { color: var(--text); background: rgba(255, 255, 255, .06); border-color: var(--line-strong); }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA-Band ---------- */

.cta {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-strong);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  isolation: isolate;
}
.cta { background: radial-gradient(ellipse at 85% 50%, rgba(46, 176, 255, .12), transparent 60%), var(--surface); }
.cta-bg {
  position: absolute; z-index: -2; top: 0; right: 0; height: 100%; width: 58%;
  object-fit: cover; object-position: 50% 45%;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(19, 23, 34, .9) 0%, rgba(19, 23, 34, .55) 50%, rgba(19, 23, 34, .1) 100%);
}
.cta h2 { max-width: 16ch; }
.cta p { max-width: 46ch; color: var(--text-2); margin: 1rem 0 2rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 680px) {
  .cta-bg { width: 100%; opacity: .35; }
  .cta::before { background: linear-gradient(180deg, rgba(19, 23, 34, .7), rgba(19, 23, 34, .92)); }
}

/* ---------- Seiten-Kopf (Unterseiten) ---------- */

.page-head { padding: calc(72px + clamp(3rem, 8vw, 6rem)) 0 clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -360px;
  background: radial-gradient(circle, rgba(255, 138, 31, .16), transparent 60%);
  pointer-events: none;
}
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -260px; top: -200px;
  background: radial-gradient(circle, rgba(46, 176, 255, .1), transparent 60%);
  pointer-events: none;
}

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem; align-items: start; padding-bottom: clamp(4rem, 8vw, 7rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.card h2 { font-size: 1.6rem; margin-bottom: 1rem; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; align-items: start; }
.info-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(46, 176, 255, .1); border: 1px solid rgba(46, 176, 255, .25); color: var(--blue);
}
.info-ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .1rem; }
.info-list p { margin: 0; }
.mail-link { font-weight: 700; font-size: 1.1rem; word-break: break-word; color: var(--text); }

.topics { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.topics span { font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-2); }

/* Formular */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--text); }
.field .req { color: var(--orange); }
.field .opt { color: var(--muted); font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, .28);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d96ab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.6rem;
}
.field select option { background: var(--surface); }
.field textarea { min-height: 190px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(0, 0, 0, .4);
  box-shadow: 0 0 0 4px rgba(46, 176, 255, .18);
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--err); }
.field-error { color: var(--err); font-size: .88rem; margin-top: .35rem; }
.field-error:empty { display: none; }
.counter { float: right; font-weight: 400; color: var(--muted); font-size: .85rem; }

.check { display: flex; gap: .8rem; align-items: flex-start; }
.check input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--orange); }
.check label { font-weight: 400; margin: 0; font-size: .93rem; color: var(--text-2); }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form-foot .hint { margin: 0; color: var(--muted); font-size: .88rem; }

.alert { border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-bottom: 1.4rem; border: 1px solid; }
.alert p { margin: 0; }
.alert-ok { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .08); }
.alert-err { border-color: rgba(255, 107, 122, .5); background: rgba(255, 107, 122, .08); }

.success { text-align: center; padding: 2.5rem 1rem; }
.success-ico {
  width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--ok);
  background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .4);
  box-shadow: 0 0 40px -6px rgba(61, 220, 151, .5);
}
.success-ico svg { width: 34px; height: 34px; }
.success h2 { margin-bottom: .6rem; }
.success p { color: var(--text-2); margin: 0 auto 1.5rem; max-width: 40ch; }

/* ---------- Rechtstexte ---------- */

.prose { padding-bottom: clamp(4rem, 8vw, 7rem); }
.prose > *, .prose > div > * { max-width: 76ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.6rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose address { font-style: normal; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { font-family: var(--font); font-stretch: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: .3rem 0 1rem; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-tag { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 1rem 0 0; color: var(--text-2); }
.footer-tag i { font-style: normal; color: var(--blue); padding: 0 .35rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.notfound .code { font-family: var(--font-display); font-stretch: condensed; font-size: clamp(6rem, 20vw, 11rem); font-weight: 800; line-height: 1; }
.notfound p { color: var(--text-2); margin: 1rem 0 2rem; }

/* ---------- Einblend-Animation ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img { animation: none; }
  .btn, .game, .game-visual img.icon { transition: none; }
}

/* ---------- Hilfsklassen ---------- */
.pt-0 { padding-top: 0 !important; }
.title-note { font-family: var(--font); font-stretch: normal; font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Hero-Text: direkt beim Laden einblenden (nicht erst beim Scrollen) */
.hero-body > * { animation: fadeUp .9s var(--ease) both; }
.hero-body > :nth-child(2) { animation-delay: .1s; }
.hero-body > :nth-child(3) { animation-delay: .2s; }
.hero-body > :nth-child(4) { animation-delay: .3s; }
.hero-body > :nth-child(5) { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-body > * { animation: none; } }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 3.5rem 0 1rem; }

/* ---------- Unterstützen (Ko-fi) ---------- */
[hidden] { display: none !important; }

.btn svg[fill="currentColor"] { width: 17px; height: 17px; }
.btn-heart svg { color: #ff5e7a; }
.btn-primary.btn-heart svg, .btn-primary svg[fill="currentColor"] { color: #6b0f1f; }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.08rem; border-radius: 14px; }
.site-nav a.nav-support svg { width: 16px; height: 16px; color: #8a1426; }

.support-section { padding-top: 0; }
.support {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 138, 31, .35);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255, 138, 31, .16), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(255, 94, 122, .10), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 80px -40px rgba(255, 138, 31, .35);
}
.support h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.support .lead { margin-top: 1rem; }
.support .actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.fineprint { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

.nocatch { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nocatch li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .85rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong);
}
.nocatch li span { color: var(--ok); font-weight: 800; }

.support-side {
  align-self: center;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.support-side h3 { font-family: var(--font); font-stretch: normal; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.pays { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.pays li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .85rem; align-items: start; }
.pays strong { display: block; color: var(--text); }
.pays p { margin: .1rem 0 0; color: var(--text-2); font-size: .95rem; }
.pays-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(46, 176, 255, .1); border: 1px solid rgba(46, 176, 255, .25); color: var(--blue);
}
.pays-ico svg { width: 19px; height: 19px; }
.pays .milestone .pays-ico { background: rgba(57, 213, 196, .1); border-color: rgba(57, 213, 196, .35); color: #39d5c4; }
.pays .milestone { padding-top: 1.1rem; border-top: 1px dashed var(--line-strong); }
@media (max-width: 860px) { .support { grid-template-columns: minmax(0, 1fr); } }

/* Dezenter Hinweis unten rechts (kein blockierendes Popup) */
.nudge {
  position: fixed; z-index: 150; right: 20px; bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1d2231, #151926);
  border: 1px solid rgba(255, 138, 31, .4);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
  animation: nudgeIn .5s var(--ease) both;
}
@keyframes nudgeIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.nudge.is-leaving { animation: nudgeOut .3s var(--ease) both; }
@keyframes nudgeOut { to { opacity: 0; transform: translateY(16px); } }
.nudge-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .75rem;
  color: #ff5e7a; background: rgba(255, 94, 122, .12); border: 1px solid rgba(255, 94, 122, .35);
}
.nudge-ico svg { width: 20px; height: 20px; }
.nudge-title { font-family: var(--font-display); font-stretch: condensed; font-weight: 800; font-size: 1.35rem; margin: 0 0 .3rem; }
.nudge-text { margin: 0 0 1rem; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.nudge-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.nudge-actions .btn { min-height: 42px; padding: .55rem 1rem; font-size: .95rem; }
.nudge-close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--muted);
}
.nudge-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nudge-close svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .nudge { right: 16px; left: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .nudge, .nudge.is-leaving { animation: none; } }

/* ---------- Logo (Metall-Wortmarke) ---------- */
.brand-logo { height: 56px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
/* Startseite: kleines Logo erst einblenden, wenn das große im Startbild verschwunden ist */
.js .site-header:not(.is-solid):not(.is-static):not(.menu-open) .brand-logo { opacity: 0; transform: translateY(-6px); }
.footer-logo { height: 84px; width: auto; }
@media (max-width: 760px) { .brand-logo { height: 46px; } }

/* ---------- Sprachumschalter ---------- */
.lang-switch { display: inline-flex !important; align-items: center; gap: 2px; padding: 3px; margin: 0 .25rem 0 .5rem; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.site-nav .lang-switch a { padding: .3rem .55rem; border-radius: 7px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.site-nav .lang-switch a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav .lang-switch a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .1); }
@media (max-width: 760px) {
  .lang-switch { align-self: flex-start; margin: .5rem 0 0; }
  .site-nav .lang-switch a { padding: .5rem .9rem; font-size: .95rem; }
}
