/* ==========================================================================
   Startseite – nur Klassen mit .home-Präfix. Tokens und Bausteine aus site.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 56px)) 0 calc(clamp(40px, 6vw, 90px) + clamp(48px, 8vw, 110px));
  background: var(--night-0);
}
.home-hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.home-hero-picture, .home-hero-img { width: 100%; height: 100%; }
.home-hero-img {
  object-fit: cover; object-position: 34% 55%;
  transform-origin: 62% 58%;
  animation: home-kenburns 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes home-kenburns {
  from { transform: scale(1.03); }
  to { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); }
}
/* Verläufe: oben für die Kopfzeile, links für den Text, unten in --night-1, dazu ein kühler Eishauch */
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 80% 30%, rgba(108, 200, 255, 0.1), transparent 70%),
    linear-gradient(90deg, rgba(4, 7, 11, 0.84) 0%, rgba(4, 7, 11, 0.58) 30%, rgba(4, 7, 11, 0.14) 60%, rgba(4, 7, 11, 0.04) 100%),
    linear-gradient(180deg, rgba(4, 7, 11, 0.6) 0%, rgba(4, 7, 11, 0) 22%, rgba(4, 7, 11, 0) 56%, rgba(7, 11, 17, 0.8) 86%, var(--night-1) 100%);
}
@media (max-width: 1023px) {
  .home-hero::before {
    background:
      radial-gradient(80% 45% at 70% 20%, rgba(108, 200, 255, 0.1), transparent 70%),
      linear-gradient(180deg, rgba(4, 7, 11, 0.72) 0%, rgba(4, 7, 11, 0.42) 28%, rgba(4, 7, 11, 0.5) 55%, rgba(7, 11, 17, 0.9) 84%, var(--night-1) 100%);
  }
}

/* Schnee (Canvas, per JS) – blendet sanft ein, sobald er läuft */
.home-snow {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease);
}
.home-snow.is-on { opacity: 1; }

.home-hero-inner { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) {
  .home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, 392px); }
}
.home-hero-copy { max-width: 680px; }
.home-hero-copy > * { animation: home-rise 1s var(--ease-out) both; }
.home-hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.home-hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.home-hero-copy > :nth-child(4) { animation-delay: 0.2s; }
.home-hero-copy > :nth-child(5) { animation-delay: 0.28s; }
.home-hero-copy > :nth-child(6) { animation-delay: 0.36s; }
@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Wappen mit Eisglühen */
.home-emblem { position: relative; width: clamp(92px, 11vw, 150px); margin-bottom: clamp(16px, 2.2vw, 26px); }
.home-emblem::before {
  content: ''; position: absolute; inset: -34%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(108, 200, 255, 0.4), rgba(108, 200, 255, 0.1) 55%, transparent 100%);
  animation: home-breathe 7s ease-in-out infinite alternate;
}
.home-emblem-img {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 16px rgba(108, 200, 255, 0.48)) drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}
@keyframes home-breathe {
  from { opacity: 0.55; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.04); }
}

.home-hero-kicker { color: var(--frost-hi); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }

/* Titel: „Cold River“ in Eis, „Roleplay“ weit gesperrt */
.home-title { display: grid; gap: clamp(8px, 1.2vw, 14px); margin-top: clamp(14px, 2vw, 22px); font-size: inherit; }
.home-title-main {
  display: block;
  font: 700 clamp(3.3rem, 10.4vw, 8.2rem)/0.92 var(--f-display);
  letter-spacing: -0.012em;
  padding-bottom: 0.06em;
  color: var(--frost-hi);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-title-main {
    background:
      linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.95) 50%, transparent 60%) no-repeat,
      linear-gradient(180deg, #ffffff 0%, #e8f7ff 32%, var(--frost-hi) 58%, #7fcfff 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: 160% 0, 0 0;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 30px rgba(108, 200, 255, 0.26));
    animation: home-sheen 2.6s var(--ease) 1s both;
  }
}
@keyframes home-sheen {
  from { background-position: 160% 0, 0 0; }
  to { background-position: -60% 0, 0 0; }
}
.home-title-sub {
  display: flex; align-items: center; gap: 18px;
  font: 600 clamp(1rem, 2.1vw, 1.6rem)/1 var(--f-label);
  letter-spacing: 0.62em; text-transform: uppercase;
  color: var(--frost-hi); padding-left: 0.12em;
}
.home-title-sub::after { content: ''; flex: 0 1 140px; height: 1px; background: linear-gradient(90deg, var(--frost), transparent); }

.home-tagline {
  margin-top: clamp(18px, 2.4vw, 26px); max-width: 32ch;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--ink-2);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: clamp(26px, 3.4vw, 38px); }
.home-hero-howto { margin-left: 8px; }
@media (max-width: 559px) {
  .home-hero-actions .btn-lg { flex: 1 1 100%; }
  .home-hero-howto { margin: 4px auto 0; }
}

.home-hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none;
  font: 600 0.8rem/1.2 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.home-hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.home-hero-facts .icon { color: var(--frost); }

.home-live kbd, .home-shop kbd {
  display: inline-block; padding: 3px 6px 2px; border-radius: 5px;
  border: 1px solid var(--line-3); border-bottom-width: 2px; background: var(--night-3);
  font: 700 0.78em/1 var(--f-label); letter-spacing: 0.06em; color: var(--ink);
}

/* ---------- Live-Karte ---------- */
.home-live {
  position: relative; display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 28px); overflow: hidden;
  animation: home-rise 1s var(--ease-out) 0.3s both;
}
.home-live::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 232, 255, 0.75), transparent);
}
.home-live::after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(108, 200, 255, 0.16), transparent);
}
@media (max-width: 1023px) {
  /* mobil ohne Live-Blur über dem animierten Bild – spart GPU */
  .home-live {
    width: 100%; max-width: 520px;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(180deg, rgba(14, 23, 34, 0.93), rgba(8, 13, 20, 0.95));
  }
}
.home-live-head { display: flex; align-items: center; gap: 10px; }
.home-live-head .dot { width: 10px; height: 10px; }
.home-live-state { font: 700 0.84rem/1 var(--f-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ok); }
.home-live.is-offline .home-live-state { color: var(--bad); }
.home-live.is-loading .home-live-state { color: var(--ink-3); }
.home-live-badge { margin-left: auto; }
.home-live-count { display: grid; gap: 8px; }
.home-live-num {
  justify-self: start;
  font: 700 clamp(3.4rem, 5.6vw, 4.5rem)/0.9 var(--f-display);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--ink);
}
.home-live-num.skeleton { min-width: 2.4ch; }
.home-live.is-offline .home-live-num { font-size: 2.2rem; color: var(--ink-3); }
.home-live-label { font: 600 0.86rem/1.35 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.home-live.is-offline .home-live-label { font: 400 0.95rem/1.5 var(--f-body); letter-spacing: 0; text-transform: none; }
.home-live-chart { margin: 0; }
.home-spark { height: 60px; }
.home-live-axis {
  display: flex; justify-content: space-between; margin-top: 6px;
  font: 600 0.7rem/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.home-live-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.home-live-facts dt { font: 600 0.72rem/1.2 var(--f-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.home-live-facts dd { margin: 5px 0 0; font: 700 1.3rem/1.15 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.home-live-facts dd .skeleton { font-size: 1rem; }
.home-live-facts small { margin-left: 4px; font: 500 0.88rem/1 var(--f-body); color: var(--ink-3); }
.home-live-restart { grid-column: 1 / -1; }
.home-live-connect { display: grid; gap: 8px; }
.home-live .copy { font-size: 0.88rem; background: rgba(4, 7, 11, 0.7); }
.home-live-hint { font-size: 0.84rem; color: var(--ink-3); }

/* Scroll-Hinweis unten mittig (nur auf großen Bildschirmen) */
.home-scroll {
  position: absolute; left: 50%; bottom: calc(clamp(40px, 6vw, 90px) + 20px); transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px; padding: 6px 4px 0 calc(4px + 0.32em);
  color: var(--ink-3); font: 600 0.72rem/1 var(--f-label); letter-spacing: 0.32em; text-transform: uppercase;
}
.home-scroll:hover { color: var(--frost-hi); }
.home-scroll-line { position: relative; width: 1px; height: 42px; overflow: hidden; background: linear-gradient(180deg, rgba(108, 200, 255, 0), rgba(108, 200, 255, 0.45)); }
.home-scroll-line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 45%;
  background: linear-gradient(180deg, transparent, var(--frost-hi));
  animation: home-drip 2.4s var(--ease) infinite;
}
@keyframes home-drip {
  from { transform: translateY(-100%); }
  to { transform: translateY(240%); }
}
@media (min-width: 1024px) and (min-height: 760px) {
  .home-scroll { display: flex; }
}

/* ---------- Kennzahlen ---------- */
.section.home-stats { padding-top: clamp(32px, 4.5vw, 56px); }
.home-band { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-band::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(191, 232, 255, 0.55), transparent);
}
.home-band > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.home-band > .home-stat { position: relative; align-content: start; gap: 8px; padding: clamp(18px, 2.4vw, 28px); }
.home-stat-icon {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 10px;
  color: var(--frost); background: var(--frost-wash); border: 1px solid rgba(108, 200, 255, 0.2);
}
.home-stat .stat-value { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
.home-stat .stat-label { font-size: 0.78rem; letter-spacing: 0.16em; }
@media (min-width: 640px) {
  .home-band.is-n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-band.is-n5 > * { grid-column: span 2; }
  .home-band.is-n5 > :nth-child(n+4) { grid-column: span 3; }
  .home-band.is-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-band.is-n3 > :last-child { grid-column: auto; }
}
@media (min-width: 640px) {
  .home-band.is-n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-band.is-n6 > :last-child { grid-column: auto; }
}
@media (min-width: 1100px) {
  .home-band.is-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-band.is-n5 > *, .home-band.is-n5 > :nth-child(n+4) { grid-column: auto; }
  .home-band.is-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-band.is-n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* Kachel mit Link (Besucher heute → Statistik auf /server) */
.home-stat-link { color: inherit; transition: background-color 0.25s var(--ease); }
.home-stat-link:hover { color: inherit; background: rgba(108, 200, 255, 0.05); }
.home-stat-more {
  position: absolute; top: clamp(18px, 2.4vw, 28px); right: clamp(18px, 2.4vw, 28px);
  color: var(--ink-4); transition: color 0.2s, transform 0.25s var(--ease-out);
}
.home-stat-link:hover .home-stat-more, .home-stat-link:focus-visible .home-stat-more { color: var(--frost); transform: translateX(3px); }
.home-stats-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; text-align: center;
  font: 600 0.74rem/1.3 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.home-stats-note .icon { color: var(--ok); }

/* ---------- Willkommen ---------- */
.home-intro-copy { display: grid; gap: 22px; }
.home-intro-copy .section-head { margin-bottom: 0; }
.home-intro-text { display: grid; gap: 16px; color: var(--ink-2); }
.home-film {
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px 20px 26px; border-radius: var(--r);
  border: 1px solid rgba(234, 168, 85, 0.28);
  background: linear-gradient(135deg, rgba(234, 168, 85, 0.1), rgba(234, 168, 85, 0.02) 60%);
}
/* Filmstreifen-Perforation an der linken Kante */
.home-film::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; opacity: 0.55;
  background: repeating-linear-gradient(180deg, rgba(234, 168, 85, 0.7) 0 7px, transparent 7px 13px);
}
.home-film-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  color: var(--ember); background: rgba(234, 168, 85, 0.12); border: 1px solid rgba(234, 168, 85, 0.3);
}
.home-film-title { font-size: 1.35rem; margin-bottom: 6px; color: var(--ember-hi); }
.home-film p { color: var(--ink-2); font-size: 0.98rem; }
.home-intro-sign { display: flex; align-items: center; gap: 14px; font-size: 1.3rem; color: var(--ink); }
.home-intro-sign::before { content: ''; flex-shrink: 0; width: 34px; height: 1px; background: var(--ember); }

.home-intro-media { position: relative; isolation: isolate; padding: 0 0 30px; }
.home-intro-media::before {
  content: ''; position: absolute; inset: 20px -14px 12px 20px; z-index: -1;
  border: 1px solid rgba(191, 232, 255, 0.16); border-radius: var(--r-l);
}
.home-intro-frame { aspect-ratio: 16 / 10; }
.home-intro-frame picture { height: 100%; }
.home-intro-stamp {
  position: absolute; right: 22px; bottom: 0; z-index: 2; width: 104px; height: 104px;
  background: var(--night-1);
  box-shadow: inset 0 0 0 4px var(--night-1), inset 0 0 0 5px currentColor, 0 14px 30px -10px rgba(0, 0, 0, 0.85);
}
@media (max-width: 559px) {
  .home-intro-stamp { width: 84px; height: 84px; right: 12px; font-size: 0.62rem; }
  .home-intro-stamp b { font-size: 1.1rem; }
}

/* ---------- Was dich erwartet ---------- */
.home-features { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 600px) { .home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .home-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-feature { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.home-feature::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(90deg, transparent, rgba(191, 232, 255, 0.45), transparent);
}
.home-feature:hover::before { opacity: 1; }
.home-feature.is-ember::before { background: linear-gradient(90deg, transparent, rgba(255, 213, 150, 0.5), transparent); }
.home-feature.is-ember:hover { border-color: rgba(234, 168, 85, 0.4); }
.home-feature-n {
  position: absolute; right: 18px; top: 12px; pointer-events: none;
  font: 700 2.6rem/1 var(--f-display); letter-spacing: -0.02em; color: rgba(160, 196, 230, 0.08);
}
.home-feature .card-icon { transition: transform 0.45s var(--ease-out); }
.home-feature:hover .card-icon { transform: translateY(-2px) rotate(-5deg); }
.home-feature-badge { align-self: flex-start; margin: -2px 0 10px; }
.home-feature .card-text { flex: 1; }
.home-feature .home-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); list-style: none; }
.home-tags li {
  padding: 6px 9px; border-radius: 99px; background: rgba(160, 196, 230, 0.06); border: 1px solid var(--line);
  font: 600 0.72rem/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.home-features-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

/* ---------- Die Welt ---------- */
.section.home-world { background: radial-gradient(55% 45% at 88% 0%, rgba(108, 200, 255, 0.07), transparent 70%), var(--night-0); }
.home-world-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.home-compass {
  position: absolute; right: -90px; top: 30px; width: clamp(260px, 36vw, 520px); height: auto;
  color: var(--frost); opacity: 0.06; transform: rotate(14deg);
}
.home-compass circle { stroke-width: 1; }
.home-world .wrap { position: relative; }
.home-world-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.home-world-head .section-head { margin-bottom: 0; }
.home-towns-nav { display: flex; gap: 8px; }
.home-towns-nav .icon-btn[disabled] { opacity: 0.35; cursor: default; }
@media (pointer: coarse) { .home-towns-nav { display: none !important; } }

.home-towns {
  margin-inline: calc(var(--gutter) * -1);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.home-towns::-webkit-scrollbar { display: none; }
.home-towns:focus-visible { outline-offset: -3px; }
/* doppelte Klasse: schlägt ul[role='list'] { padding: 0 } aus site.css */
.home-towns .home-towns-list { display: flex; gap: 16px; width: max-content; margin: 0; padding: 6px var(--gutter) 18px; list-style: none; }
.home-town { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
@media (min-width: 640px) { .home-town { flex-basis: clamp(260px, 38vw, 320px); } }
@media (min-width: 1180px) {
  .home-towns { margin-inline: 0; overflow: visible; }
  .home-towns .home-towns-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; width: auto; padding: 6px 0 18px; }
}
.home-town-card {
  height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r);
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.home-town-card:hover { transform: translateY(-4px); border-color: rgba(108, 200, 255, 0.35); box-shadow: var(--shadow-2); }
.home-town-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.home-town-img picture, .home-town-img img { width: 100%; height: 100%; }
.home-town-img img { object-fit: cover; transition: transform 1.2s var(--ease-out); }
.home-town-card:hover .home-town-img img { transform: scale(1.06); }
.home-town-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 26, 37, 0.95) 100%); }
.home-town-body { position: relative; z-index: 1; margin-top: -28px; padding: 0 20px 22px; }
.home-town-region {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 0.72rem/1 var(--f-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--frost);
}
.home-town-name { margin: 8px 0; font-size: 1.7rem; }
.home-town-text { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.home-towns-hint {
  display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 4px;
  font: 600 0.72rem/1 var(--f-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
}
@media (pointer: coarse) and (max-width: 1179px) { .home-towns-hint { display: flex; } }

/* ---------- Post ---------- */
.home-post-copy .section-head { margin-bottom: 26px; }
.home-checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-checks li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r);
  background: rgba(160, 196, 230, 0.04); border: 1px solid var(--line);
}
.home-check-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  color: var(--frost); background: var(--frost-wash); border: 1px solid rgba(108, 200, 255, 0.22);
}
.home-checks strong { display: block; font-weight: 600; color: var(--ink); }
.home-checks li div > span { display: block; margin-top: 2px; font-size: 0.94rem; line-height: 1.5; color: var(--ink-3); }
.home-post-actions { display: grid; gap: 14px; justify-items: start; margin-top: 28px; }
.home-post-note { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-3); }
.home-post-note .icon { flex-shrink: 0; color: var(--ok); }

.home-post-media { position: relative; isolation: isolate; width: 100%; max-width: 540px; margin-inline: auto; padding-bottom: clamp(130px, 24vw, 160px); }
.home-post-media::before {
  content: ''; position: absolute; left: 4%; right: 10%; top: 2%; height: 72%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 200, 255, 0.24), rgba(108, 200, 255, 0.05) 60%, transparent);
}
.home-post-box { width: 86%; filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.6)); }
/* freigestellt: den Platzhalter-Hintergrund aus picture() nicht zeigen */
.home-post-box img { width: 100%; background-color: transparent !important; }
.home-telegram {
  position: absolute; right: 0; bottom: 0; z-index: 1; width: min(330px, 78%);
  padding: 22px 24px 20px; transform: rotate(-3.5deg);
  transition: transform 0.5s var(--ease-out);
}
.home-post-media:hover .home-telegram { transform: rotate(-1.5deg) translateY(-4px); }
.home-telegram-head {
  display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 2px double rgba(60, 30, 10, 0.45);
  font: 400 0.66rem/1.2 var(--f-type); letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-ink-2);
}
.home-telegram-meta { display: grid; gap: 1px; margin: 0 0 10px; font: 400 0.78rem/1.45 var(--f-type); color: var(--paper-ink); }
.home-telegram-meta div { display: flex; gap: 6px; }
.home-telegram-meta dt { min-width: 52px; color: var(--paper-ink-2); }
.home-telegram-meta dd { margin: 0; }
.home-telegram-subject {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px;
  font: 400 1.35rem/1.2 var(--f-letter); color: var(--paper-ink);
}
.home-telegram-body { font: italic 400 1.02rem/1.5 var(--f-letter); color: var(--paper-ink); }
.home-telegram-sign { margin-top: 10px; text-align: right; font: italic 400 0.95rem/1.2 var(--f-letter); color: var(--paper-ink-2); }
@media (max-width: 699px) {
  /* mobil: Telegramm unter dem Briefkasten statt darüber, damit beides sichtbar bleibt */
  .home-post-media { padding-bottom: 0; }
  .home-post-box { width: 92%; margin-inline: auto; }
  .home-telegram { position: relative; width: 90%; margin: -48px 0 0 auto; padding: 20px 20px 18px; }
  .home-telegram-subject { font-size: 1.2rem; }
}
@media (max-width: 400px) {
  .home-telegram-head span + span { display: none; }
}
.home-telegram-stamp {
  flex-shrink: 0; padding: 5px 9px 4px; border: 2px solid currentColor; border-radius: 4px;
  color: var(--paper-red); opacity: 0.7; transform: rotate(9deg); mix-blend-mode: multiply;
  font: 400 0.66rem/1 var(--f-western); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Galerie ---------- */
.home-gallery figure { margin: 0 0 16px; }
.home-gallery-foot { margin-top: 10px; text-align: center; }
@media (max-width: 699px) {
  .home-gallery { columns: 2; column-gap: 10px; }
  .home-gallery figure { margin-bottom: 10px; border-radius: var(--r-s); }
  .home-gallery figcaption { opacity: 1; transform: none; padding: 26px 8px 7px; font-size: 0.62rem; letter-spacing: 0.08em; }
  .home-gallery.is-collapsed > figure:nth-child(n+9) { display: none; }
}
@media (min-width: 700px) {
  .home-gallery-more { display: none !important; }
}
@media (hover: none) and (min-width: 700px) {
  .home-gallery figcaption { opacity: 1; transform: none; }
}

/* ---------- Neuigkeiten ---------- */
.home-news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.home-news-head .section-head { margin-bottom: 0; }
.home-news-grid { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .home-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-news-card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.home-news-card:focus-within { outline: 2px solid var(--frost); outline-offset: 3px; }
.home-news-img {
  margin: calc(clamp(20px, 2.4vw, 28px) * -1) calc(clamp(20px, 2.4vw, 28px) * -1) 4px;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--night-3);
}
.home-news-img img { width: 100%; height: 100%; object-fit: cover; }
.home-news-meta { display: flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.home-news-card .card-title { margin: 0; }
.home-news-link { color: var(--ink); }
.home-news-link:hover { color: var(--frost-hi); }
.home-news-link:focus-visible { outline: none; }
.home-news-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.home-news-points { flex: 1; display: grid; align-content: start; gap: 6px; margin: 0; padding-left: 1.1em; font-size: 0.95rem; color: var(--ink-2); }
.home-news-points li::marker { color: var(--frost); }
.home-news-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 700 0.88rem/1 var(--f-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--frost); }
.home-news-more .icon { transition: transform 0.25s var(--ease-out); }
.home-news-card:hover .home-news-more .icon { transform: translateX(4px); }

.home-events {
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-l);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 30, 43, 0.6), rgba(10, 16, 24, 0.6));
}
.home-events-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 700 0.9rem/1 var(--f-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
.home-events-title .icon { color: var(--ember); }
.home-events-list { display: grid; gap: 14px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.home-event { display: flex; gap: 14px; align-items: flex-start; }
.home-event-date {
  flex-shrink: 0; display: grid; place-content: center; gap: 4px; width: 58px; height: 62px; border-radius: 10px; text-align: center;
  background: var(--ember-wash); border: 1px solid rgba(234, 168, 85, 0.3); color: var(--ember-hi);
}
.home-event-date b { font: 700 1.5rem/1 var(--f-display); color: var(--ember-hi); }
.home-event-date span { font: 600 0.68rem/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; }
.home-event-name { font-weight: 600; color: var(--ink); }
.home-event-meta { font-size: 0.88rem; color: var(--ink-3); }
.home-event-desc { margin-top: 4px; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Shop ---------- */
.section.home-shop { background: radial-gradient(55% 70% at 85% 50%, rgba(234, 168, 85, 0.09), transparent 70%), var(--night-0); }
.home-shop-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-shop-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.home-shop-facts .icon { flex-shrink: 0; margin-top: 3px; color: var(--ember); }
.home-shop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.home-shop-note { font-size: 0.86rem; color: var(--ink-3); }
.home-packs { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.home-shop-copy .section-head { margin-bottom: 26px; }
.home-pack-link {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r); color: var(--ink);
  border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(24, 35, 49, 0.85), rgba(13, 20, 29, 0.85));
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.home-pack-link:hover { color: var(--ink); transform: translateX(4px); border-color: rgba(234, 168, 85, 0.5); box-shadow: 0 18px 40px -22px rgba(234, 168, 85, 0.45); }
.home-pack.is-best .home-pack-link {
  border-color: rgba(234, 168, 85, 0.55);
  background: linear-gradient(135deg, rgba(234, 168, 85, 0.16), rgba(13, 20, 29, 0.9) 60%);
  box-shadow: 0 0 0 1px rgba(234, 168, 85, 0.15), 0 24px 50px -28px rgba(234, 168, 85, 0.5);
}
.home-coin {
  justify-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #3a2006;
  background: radial-gradient(circle at 32% 28%, #fff1cf, #f3c46f 38%, #c98a38 72%, #8e5a1f);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 8px 18px -8px rgba(234, 168, 85, 0.7);
}
.home-coin.is-s2 { width: 58px; height: 58px; }
.home-coin.is-s3 { width: 64px; height: 64px; }
.home-pack-amount { display: block; font: 700 1.35rem/1.1 var(--f-display); }
.home-pack-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.home-pack-bonus { font: 700 0.76rem/1 var(--f-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.home-pack-bonus.is-plain { color: var(--ink-3); }
.home-pack-price { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 700 1.2rem/1 var(--f-label); letter-spacing: 0.04em; color: var(--ember-hi); }
.home-pack-price .icon { color: var(--ink-3); }
@media (max-width: 440px) {
  .home-pack-link { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; padding: 16px; }
  .home-pack-price { grid-column: 2; }
}

/* ---------- So kommst du rein ---------- */
.home-steps { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .home-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-step {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 35, 49, 0.9), rgba(13, 20, 29, 0.9));
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.home-step-num { position: absolute; right: 18px; top: 8px; font: 700 4rem/1 var(--f-display); color: rgba(108, 200, 255, 0.12); pointer-events: none; }
@supports (-webkit-text-stroke: 1px black) {
  .home-step-num { color: transparent; -webkit-text-stroke: 1px rgba(108, 200, 255, 0.4); }
}
.home-step-title { font-size: 1.28rem; }
.home-step-text { flex: 1; margin: 8px 0 18px; font-size: 0.97rem; color: var(--ink-2); }
.home-join-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

/* ---------- Finale ---------- */
.section.home-finale {
  isolation: isolate; display: flex; align-items: center;
  min-height: clamp(540px, 80vh, 780px); padding-block: clamp(110px, 14vw, 180px);
}
.home-finale-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.home-finale-bg picture, .home-finale-img { width: 100%; height: 100%; }
.home-finale-img { object-fit: cover; object-position: 68% 50%; }
.home-finale::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 52%, rgba(234, 168, 85, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night-0) 0%, rgba(4, 7, 11, 0.12) 22%, rgba(4, 7, 11, 0) 60%, rgba(4, 7, 11, 0.55) 100%),
    linear-gradient(90deg, rgba(4, 7, 11, 0.8) 0%, rgba(4, 7, 11, 0.48) 34%, rgba(4, 7, 11, 0) 66%);
}
@media (max-width: 699px) {
  .home-finale::after {
    background:
      linear-gradient(180deg, var(--night-0) 0%, rgba(4, 7, 11, 0.35) 25%, rgba(4, 7, 11, 0.45) 70%, rgba(4, 7, 11, 0.7) 100%),
      linear-gradient(90deg, rgba(4, 7, 11, 0.6), rgba(4, 7, 11, 0.2));
  }
}
.home-finale-inner { position: relative; }
.home-finale-title { max-width: 12ch; margin-top: 16px; font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55); }
.home-finale-title span { display: block; margin-top: 12px; font: italic 400 0.6em/1.1 var(--f-letter); color: var(--ember-hi); }
.home-finale-live {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 9px 16px; border-radius: 99px;
  background: rgba(10, 18, 27, 0.66); border: 1px solid var(--line-2);
  font: 600 0.92rem/1 var(--f-label); letter-spacing: 0.08em; color: var(--ink-2);
}
.home-finale-live b { color: var(--ink); font-variant-numeric: tabular-nums; }
.home-finale-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-finale-copy { max-width: 420px; margin-top: 18px; background: rgba(4, 7, 11, 0.72); }
@media (max-width: 559px) {
  .home-finale-actions .btn-lg { flex: 1 1 100%; }
  .home-finale-copy, .home-live .copy { font-size: 0.82rem; }
}

@media print {
  .home-snow, .home-scroll, .home-hero-bg, .home-finale-bg, .home-towns-nav { display: none !important; }
}
