/* MCHosting.at — „Berg und Block“ — styles.css 2.0.0 */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --night: #14171d;
  --night-2: #1e222a;
  --night-3: #2a2f39;
  --snow: #f4f5f3;
  --white: #ffffff;
  --stone: #e4e6e2;
  --stone-2: #d3d6d1;
  --ink: #171a1f;
  --ink-2: #4c525b;
  --ink-3: #6f757e;
  --rot: #d2232a;
  --rot-deep: #a6191f;
  --rot-light: #f2524a;
  --rot-tint: #fbe8e8;
  --gras: #4e9a2e;

  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
  --block: 0.625rem;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 260ms;
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: var(--snow);
  --surface: var(--white);
  --surface-2: var(--stone);
  --text: var(--ink);
  --muted: var(--ink-2);
  --faint: var(--ink-3);
  --line: var(--stone-2);
  --line-strong: var(--ink);
  --accent: var(--rot);
  --accent-text: var(--rot-deep);
  --accent-soft: var(--rot-tint);
  --on-accent: var(--white);
  --night-text: var(--snow);
  --night-muted: #b7bcc5;
  --night-line: rgba(244, 245, 243, 0.18);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191d24;
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --text: var(--snow);
  --muted: #b7bcc5;
  --faint: #8e949e;
  --line: rgba(244, 245, 243, 0.16);
  --line-strong: var(--snow);
  --accent: var(--rot);
  --accent-text: var(--rot-light);
  --accent-soft: #3a1c1e;
  --on-accent: var(--white);
}

/* ---------- Reset and base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: var(--ink-3) var(--bg);
  caret-color: var(--rot);
  accent-color: var(--rot);
}

body {
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; padding: 0.1em 0.35em; background: var(--surface-2); border-radius: 2px; }

h1, h2, h3, h4 {
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
}

p, li, dd, dt, figcaption, summary { text-wrap: pretty; }

::selection { background: var(--rot); color: var(--white); }

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

a,
button,
summary,
input,
select {
  transition:
    color var(--t-fast) var(--ease-out),
    background-color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out),
    opacity var(--t-fast) var(--ease-out);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--rot);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Icons */
.icon { display: inline-block; vertical-align: -0.15em; width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon-sm { width: 0.9em; height: 0.9em; }

/* Blocky edge: a row of page-coloured blocks that bites into a night band */
.edge-bottom { position: relative; }
.edge-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--block);
  background-image: linear-gradient(90deg, var(--bg) 0 25%, transparent 25% 100%);
  background-size: calc(var(--block) * 4) var(--block);
  background-position: 0 0;
  pointer-events: none;
}

.edge-top { position: relative; }
.edge-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--block));
  height: var(--block);
  background-image: linear-gradient(90deg, var(--night) 0 25%, transparent 25% 100%);
  background-size: calc(var(--block) * 4) var(--block);
  background-position: calc(var(--block) * 2) 0;
  pointer-events: none;
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 1.375rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.button:active { transform: translateY(1px); }

.button-primary { background: var(--rot); border-color: var(--rot); color: var(--white); }
.button-primary:hover { background: var(--rot-deep); border-color: var(--rot-deep); }

.button-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.button-ghost:hover { background: var(--text); color: var(--bg); }

.button-full { width: 100%; }
.button-small { min-height: 2.5rem; padding: 0.25rem 1rem; font-size: 0.9375rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--rot);
}

.text-link:hover { color: var(--accent-text); }

.prose a,
.inline-link {
  color: var(--accent-text);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, var(--accent-text) 50%, transparent);
}

.prose a:hover,
.inline-link:hover { text-decoration-color: currentColor; }

.prose a .icon,
.inline-link .icon { display: inline-block; vertical-align: -0.15em; margin-left: 0.15em; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--night);
  color: var(--night-text);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--night-line); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; min-height: 2.75rem; }
.brand img { width: 11.5rem; max-height: 3.25rem; object-fit: contain; object-position: left center; }

.main-nav ul { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  color: var(--night-muted);
  font-weight: 650;
  font-size: 0.9375rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 3px;
  background: var(--rot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav a[aria-current] { color: var(--white); }
.main-nav a.is-active::after,
.main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a.is-external .icon { width: 0.85em; height: 0.85em; color: var(--rot-light); }

.header-actions { display: flex; align-items: center; gap: 0.625rem; }

.icon-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--night-line);
  border-radius: 2px;
  color: var(--night-text);
}

.icon-button:hover { border-color: var(--white); }
.icon-button .icon { width: 1.25rem; height: 1.25rem; }

.sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

.site-header .button-ghost { border-color: var(--night-line); color: var(--night-text); }
.site-header .button-ghost:hover { background: var(--white); border-color: var(--white); color: var(--night); }

.menu-toggle { display: none; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }

/* ---------- Hero (home, game) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(100svh - var(--header-h), 52rem);
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--night);
  color: var(--night-text);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(var(--drift, 1));
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 23, 29, 0.92) 0%, rgba(20, 23, 29, 0.75) 38%, rgba(20, 23, 29, 0.15) 70%, rgba(20, 23, 29, 0) 100%),
    linear-gradient(180deg, rgba(20, 23, 29, 0.35) 0%, rgba(20, 23, 29, 0) 30%, rgba(20, 23, 29, 0.6) 100%);
}

.hero-copy { max-width: 42rem; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero h1 .line { display: block; }

.hero-lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  color: var(--white);
}

.hero-note { max-width: 36rem; margin-top: 1rem; color: var(--night-muted); font-size: 1rem; }
.hero-note strong { color: var(--white); }
.hero-note a { color: var(--white); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.hero-note a:hover { color: var(--rot-light); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.hero-actions .text-link { color: var(--white); }
.hero-actions .text-link:hover { color: var(--rot-light); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--night-line);
  color: var(--night-muted);
  font-weight: 650;
  font-size: 0.9375rem;
}

.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts .icon { color: var(--rot-light); }

.flag {
  display: inline-block;
  width: 1.5rem;
  height: 1rem;
  flex: none;
  background: linear-gradient(#d2232a 0 33.4%, #fff 33.4% 66.7%, #d2232a 66.7%);
}

.status-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
  background: var(--gras);
  box-shadow: 0 0 0 3px rgba(78, 154, 46, 0.25);
}

/* Hero entrance: one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: hero-art 1400ms var(--ease-out) both; }
  .hero-art { animation: drift 28s ease-in-out infinite alternate; }
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > :nth-child(1) { animation-delay: 80ms; }
  .hero-copy > :nth-child(2) { animation-delay: 160ms; }
  .hero-copy > :nth-child(3) { animation-delay: 220ms; }
  .hero-copy > :nth-child(4) { animation-delay: 280ms; }
  .hero-copy > :nth-child(5) { animation-delay: 340ms; }
  .hero-copy > :nth-child(6) { animation-delay: 400ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-art {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { --drift: 1; }
  to { --drift: 1.06; }
}

@property --drift { syntax: "<number>"; inherits: false; initial-value: 1; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-muted { background: var(--surface); }

.section-head { max-width: 42rem; }
.section-head h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }

/* Benefits */
.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.benefit-row li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--line-strong);
}

.benefit-row .icon { width: 1.75rem; height: 1.75rem; color: var(--rot); }
.benefit-row h3 { margin-top: 1rem; font-size: 1.375rem; }
.benefit-row p { margin-top: 0.625rem; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.billing-switch {
  display: inline-flex;
  border: 2px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.billing-switch button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 5.25rem;
  padding: 0.375rem 0.875rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.1;
  border-right: 1px solid var(--line);
}

.billing-switch button:last-child { border-right: 0; }
.billing-switch button small { font-size: 0.75rem; font-weight: 700; color: var(--accent-text); margin-top: 0.15rem; }
.billing-switch button:hover:not(.is-active) { color: var(--text); background: var(--surface-2); }
.billing-switch button.is-active { background: var(--text); color: var(--bg); }
.billing-switch button.is-active small { color: inherit; }

.plan-slab {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  border: 2px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border-left: 1px solid var(--line);
}

.plan:first-child { border-left: 0; }

.plan.is-featured {
  background: var(--accent-soft);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.3rem 1.5rem;
  background: var(--rot);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: left;
}

.plan.is-featured { padding-top: 3.25rem; }

.plan-blocks {
  --block: 0.875rem;
  display: grid;
  grid-template-columns: repeat(4, var(--block));
  grid-auto-rows: var(--block);
  gap: 0.25rem;
  align-content: end;
  height: calc(4 * var(--block) + 3 * 0.25rem);
  direction: rtl;
}

.plan-blocks i { background: var(--text); }
.plan.is-featured .plan-blocks i { background: var(--rot); }

.plan-for { margin-top: 1.25rem; color: var(--muted); font-size: 0.9375rem; }
.plan h3 { margin-top: 0.125rem; font-size: 1.75rem; font-weight: 800; }
.plan-ram { margin-top: 0.25rem; color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.plan-ram strong { color: var(--text); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.plan-price .cur { font-size: 1.125rem; font-weight: 700; }
.plan-price strong {
  font-size: clamp(2.75rem, 3.6vw, 3.5rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.03em;
  line-height: 0.95;
  transition: opacity 120ms ease;
}
.plan-price .per { color: var(--muted); font-size: 0.8125rem; }

.plan-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.75rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  transition: opacity 120ms ease;
}

.plan-note strong { padding: 0.1rem 0.4rem; background: var(--text); color: var(--bg); font-size: 0.75rem; }
.plan-note strong[hidden] { display: none; }
.plan.is-updating .plan-price strong,
.plan.is-updating .plan-note { opacity: 0.15; }

.plan-features {
  display: grid;
  gap: 0.5rem;
  margin-block: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.plan-features li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan-features li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55em;
  background: var(--rot);
}

.plan .button { margin-top: auto; }
.plan:not(.is-featured) .button { border-color: var(--line-strong); color: var(--text); background: transparent; }
.plan:not(.is-featured) .button:hover { background: var(--text); color: var(--bg); }

.pricing-footnote { max-width: 60rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.9375rem; }
.pricing-promo { max-width: 60rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.9375rem; font-weight: 600; overflow-wrap: anywhere; }
.pricing-promo:not([hidden]) ~ .plan-slab { margin-top: 1.5rem; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-intro h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.faq-intro > p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.faq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.faq-promo { margin-top: 2rem; color: var(--muted); font-size: 1rem; }

.faq-list { border-top: 2px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list summary .icon { width: 1.25rem; height: 1.25rem; color: var(--rot); transition: transform var(--t-med) var(--ease-out); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details > p { max-width: 62ch; padding: 0 2.5rem 1.5rem 0; color: var(--muted); }

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

.site-footer {
  margin-top: var(--block);
  padding-block: 4rem 1.5rem;
  background: var(--night);
  color: var(--night-text);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-brand .brand img { width: 13rem; max-height: 3.75rem; }
.footer-brand p { max-width: 34rem; margin-top: 1rem; color: var(--night-muted); }

.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 1.25rem; }
.footer-nav a,
.footer-nav button { display: flex; align-items: center; min-height: 2.75rem; color: var(--night-muted); font-size: 0.9375rem; font-weight: 600; }
.footer-nav a:hover,
.footer-nav button:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--night-line);
  color: var(--night-muted);
  font-size: 0.875rem;
}

.footer-bottom a { color: var(--white); text-decoration: underline; text-decoration-color: var(--rot); text-underline-offset: 0.2em; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 1rem;
  width: min(100% - 2rem, 26rem);
  padding: 1.25rem;
  border: 2px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
}

.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.125rem; }
.cookie-banner p { margin-top: 0.35rem; color: var(--muted); font-size: 0.9375rem; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.cookie-actions .button { padding-inline: 0.75rem; }

/* ---------- Page head (subpages) ---------- */

.page-head {
  padding-block: 2.5rem clamp(3rem, 7vw, 5rem);
  background: var(--night);
  color: var(--night-text);
}

.page-head h1 {
  max-width: 20ch;
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.025em;
  color: var(--white);
}

.page-dek { max-width: 42rem; margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--night-muted); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--night-muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li:not(:last-child)::after { content: ""; width: 0.375rem; height: 0.375rem; background: var(--rot); }
.breadcrumbs a { min-height: 2rem; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.breadcrumbs [aria-current] { color: var(--white); }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
  color: var(--night-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

.meta-line span { display: flex; align-items: center; gap: 0.5rem; }
.meta-line span:first-child { color: var(--white); }
.meta-line span:first-child::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--rot); }

.quick-answer {
  max-width: 44rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid var(--night-line);
  border-top: 4px solid var(--rot);
  background: var(--night-2);
}

.quick-answer h2 { font-size: 0.9375rem; font-weight: 700; color: var(--night-muted); }
.quick-answer p { margin-top: 0.5rem; font-size: 1.0625rem; color: var(--white); }

/* Guide search */
.guide-search { display: grid; grid-template-columns: 1fr auto; gap: 0.625rem; max-width: 36rem; margin-top: 2rem; }
.guide-search label { grid-column: 1 / -1; font-size: 0.9375rem; font-weight: 700; color: var(--night-muted); }
.guide-search input {
  min-height: 3rem;
  padding: 0 0.875rem;
  border: 2px solid var(--night-line);
  border-radius: 2px;
  background: var(--night-2);
  color: var(--white);
}
.guide-search input::placeholder { color: var(--night-muted); }
.guide-search input:focus { border-color: var(--white); outline: none; }
.guide-search .button-ghost { border-color: var(--night-line); color: var(--white); }
.guide-search .button-ghost:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.guide-search-status { margin-top: 0.75rem; color: var(--night-muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }

/* ---------- Guide index (hub + related) ---------- */

.guide-cluster { padding-block: clamp(3rem, 6vw, 5rem); }
.guide-cluster[hidden] { display: none; }
.guide-cluster + .guide-cluster { border-top: 2px solid var(--line-strong); }

.cluster-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.cluster-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.cluster-head p { color: var(--muted); font-size: 1.0625rem; }

.guide-index { border-top: 1px solid var(--line); }
.guide-index li[hidden] { display: none; }

.guide-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: 1.375rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.guide-row-meta { display: flex; flex-direction: column; gap: 0.2rem; color: var(--muted); font-size: 0.875rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.guide-row-meta span:first-child { color: var(--accent-text); }
.guide-row-title { display: block; font-size: 1.375rem; font-weight: 750; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.guide-row-dek { display: block; max-width: 62ch; margin-top: 0.4rem; color: var(--muted); font-size: 1rem; }
.guide-row:hover .guide-row-title { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* Related */
.related { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--surface); }
.related-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.related-head h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 750; font-variation-settings: "opsz" 72; }

/* ---------- Article ---------- */

.article-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: 0.9375rem; }
.toc h2 { font-size: 0.9375rem; font-weight: 700; padding-bottom: 0.625rem; border-bottom: 2px solid var(--line-strong); }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 0.75rem; align-items: baseline; min-height: 2.75rem; padding-block: 0.6rem; color: var(--muted); font-weight: 600; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--accent-text); font-variant-numeric: tabular-nums; font-size: 0.8125rem; }
.toc a:hover,
.toc a.is-active { color: var(--text); }

.article-body { max-width: 68ch; font-size: 1.0625rem; }
.article-body > section + section { margin-top: 3.25rem; }
.article-body section > * + * { margin-top: 1rem; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; font-variation-settings: "opsz" 72; scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.article-body h2 + * { margin-top: 1rem; }
.article-body h3 { margin-top: 1.75rem; font-size: 1.25rem; font-weight: 700; }
.article-body p { color: var(--text); }
.article-body ul,
.article-body ol { display: grid; gap: 0.5rem; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 1.375rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; background: var(--rot); }
.article-body ol { counter-reset: steps; }
.article-body ol li { position: relative; padding-left: 2.5rem; counter-increment: steps; }
.article-body ol li::before { content: counter(steps); position: absolute; left: 0; top: 0.15em; display: grid; place-items: center; width: 1.625rem; height: 1.625rem; background: var(--text); color: var(--bg); font-size: 0.8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.article-body a { color: var(--accent-text); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--accent-text) 50%, transparent); }
.article-body a:hover { text-decoration-color: currentColor; }
.article-body a .icon { display: inline-block; vertical-align: -0.15em; margin-left: 0.1em; width: 0.9em; height: 0.9em; }

.table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--line); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.article-body th { text-align: left; padding: 0.75rem 0.875rem; background: var(--text); color: var(--bg); font-weight: 700; }
.article-body td { padding: 0.7rem 0.875rem; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: var(--surface-2); }
.article-body td:first-child { font-weight: 650; }

.callout {
  margin-top: 1.5rem;
  padding: 1.125rem 1.25rem;
  background: var(--surface-2);
  border-top: 3px solid var(--line-strong);
}
.callout p { color: var(--text); }

.source-list li::before { background: var(--text); }
.source-note { color: var(--muted); font-size: 0.9375rem; }

.article-cta {
  margin-top: 3.5rem;
  padding: 2rem;
  background: var(--night);
  color: var(--night-text);
}
.article-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; color: var(--white); }
.article-cta p { margin-top: 0.75rem; color: var(--night-muted); }
.article-cta .button { margin-top: 1.5rem; background: var(--rot); border-color: var(--rot); color: var(--white); }
.article-cta .button:hover { background: var(--rot-deep); border-color: var(--rot-deep); }

/* ---------- Tools and calculator ---------- */

.tool-list { margin-top: 2rem; }
.tool-row .guide-row-meta span:first-child { color: var(--accent-text); }

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.calculator-form { display: grid; gap: 1.5rem; }
.calculator-form h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-weight: 700; }
.form-field small { color: var(--muted); font-size: 0.9375rem; }
.form-field input,
.form-field select {
  min-height: 3rem;
  padding: 0 0.875rem;
  border: 2px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus { outline: 2px solid var(--rot); outline-offset: 2px; }
.checkbox-field { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; font-weight: 600; cursor: pointer; }
.checkbox-field input { width: 1.25rem; height: 1.25rem; }
.calculator-form .button { justify-self: start; }

.calculator-result {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 2rem;
  background: var(--night);
  color: var(--night-text);
}
.result-label { font-size: 0.9375rem; font-weight: 700; color: var(--night-muted); }
.calculator-result output {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.calculator-result p { margin-top: 1rem; color: var(--night-muted); }
.calculator-result p:nth-of-type(3) { color: var(--white); font-weight: 650; }
.calculator-result .button { margin-top: 1.5rem; background: var(--rot); border-color: var(--rot); color: var(--white); }
.calculator-result .button:hover { background: var(--rot-deep); border-color: var(--rot-deep); }

.calculator-explanation { max-width: 68ch; padding-bottom: clamp(3rem, 6vw, 5rem); }
.calculator-explanation h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.calculator-explanation p { margin-top: 1rem; }
.calculator-explanation ul { display: grid; gap: 0.5rem; margin-top: 1rem; }
.calculator-explanation li { position: relative; padding-left: 1.375rem; }
.calculator-explanation li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; background: var(--rot); }

/* ---------- Game page (Valheim) ---------- */

.hero-game .hero-art { object-position: 60% center; }
.hero-game .breadcrumbs { margin-bottom: 2rem; }
.hero-game .breadcrumbs ol { color: var(--night-muted); }

.game-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--night-line);
}
.game-facts li { display: grid; gap: 0.1rem; }
.game-facts strong { font-size: 1.5rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.game-facts span { color: var(--night-muted); font-size: 0.9375rem; font-weight: 600; }

.game-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.game-split-reverse > .game-copy { order: 2; }

.game-copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.game-copy > p { margin-top: 1rem; color: var(--text); font-size: 1.0625rem; }
.game-copy > p + p { margin-top: 0.875rem; }
.game-copy > .text-link { margin-top: 1rem; }

.game-fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.game-fact-list div { padding-top: 0.875rem; border-top: 2px solid var(--line-strong); }
.game-fact-list dt { color: var(--muted); font-size: 0.9375rem; font-weight: 650; }
.game-fact-list dd { margin-top: 0.25rem; font-size: 1.375rem; font-weight: 750; }

.game-panel { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--line-strong); }
.panel-kicker { font-weight: 700; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.game-steps { display: grid; gap: 1rem; margin-top: 1rem; }
.game-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.875rem; }
.game-steps li > span { display: grid; place-items: center; height: 2rem; background: var(--text); color: var(--bg); font-size: 0.8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.game-steps strong { display: block; }
.game-steps p { margin-top: 0.2rem; color: var(--muted); font-size: 0.9375rem; }

.game-offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.game-check-list { display: grid; gap: 0.625rem; margin-top: 1.5rem; }
.game-check-list li { display: flex; gap: 0.625rem; align-items: flex-start; }
.game-check-list .icon { color: var(--rot); margin-top: 0.15em; }

.game-offer-card { padding: 2rem; background: var(--night); color: var(--night-text); }
.offer-label { font-weight: 700; color: var(--night-muted); }
.offer-price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 0.75rem; font-variant-numeric: tabular-nums; }
.offer-price span { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.offer-price strong { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -0.03em; line-height: 0.95; color: var(--white); }
.offer-price small { color: var(--night-muted); font-size: 0.9375rem; }
.game-offer-card > p:not(.offer-label):not(.offer-price) { margin-top: 1rem; color: var(--night-muted); }
.game-offer-card .button { width: 100%; margin-top: 1.5rem; background: var(--rot); border-color: var(--rot); color: var(--white); }
.game-offer-card .button:hover { background: var(--rot-deep); border-color: var(--rot-deep); }

.game-faq-layout { display: grid; grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.game-faq-layout h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 750; font-variation-settings: "opsz" 72; }
.game-sources { margin-top: 2.5rem; color: var(--muted); font-size: 0.9375rem; }
.game-sources a { color: var(--accent-text); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Responsive ---------- */

@media (max-width: 70rem) {
  .plan-slab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .faq-grid,
  .game-split,
  .game-offer,
  .game-faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .game-split-reverse > .game-copy { order: 0; }
}

@media (max-width: 60rem) {
  .menu-toggle { display: grid; }
  .customer-link { display: none; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 99;
    display: none;
    padding: 1rem var(--gutter) 2rem;
    background: var(--night);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--night-line); }
  .main-nav a { min-height: 3.5rem; padding: 0; font-size: 1.25rem; color: var(--white); }
  .main-nav a::after { display: none; }
  .main-nav a.is-active,
  .main-nav a[aria-current] { color: var(--rot-light); }

  .article-layout,
  .calculator-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .calculator-result { position: static; }
  .benefit-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .cluster-head { grid-template-columns: 1fr; }
  .guide-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .guide-row-meta { flex-direction: row; gap: 1rem; }
}

@media (max-width: 40rem) {
  :root { --header-h: 4rem; }
  .brand img { width: 9.5rem; max-height: 2.75rem; }
  .hero { min-height: auto; padding-block: 4rem 3.5rem; }
  .hero-art { object-position: 70% center; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 23, 29, 0.55) 0%, rgba(20, 23, 29, 0.82) 45%, rgba(20, 23, 29, 0.92) 100%);
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .button,
  .hero-actions .text-link { width: 100%; justify-content: center; }
  .hero-facts { display: grid; gap: 0.625rem; }
  .billing-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .billing-switch button { border-right: 0; border-bottom: 1px solid var(--line); }
  .billing-switch button:nth-child(odd) { border-right: 1px solid var(--line); }
  .billing-switch button:nth-child(n + 3) { border-bottom: 0; }
  .plan-slab { grid-template-columns: 1fr; }
  .plan { border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--line); }
  .faq-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .faq-actions .button,
  .faq-actions .text-link { width: 100%; justify-content: center; }
  .faq-list details > p { padding-right: 0; }
  .footer-nav ul { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 0.75rem; width: calc(100% - 1.5rem); }
  .guide-search { grid-template-columns: 1fr; }
  .game-fact-list { grid-template-columns: 1fr; }
  .article-cta,
  .calculator-result,
  .game-offer-card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- Bewegung: Struktur, die sich aufbaut ---------- */

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--rot);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.status-dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(78, 154, 46, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(78, 154, 46, 0.08); }
}

.icon-button .icon { transition: transform 500ms var(--ease-out); }
.icon-button:hover .icon { transform: rotate(-20deg); }

/* Seitenkopf-Einstieg auf Unterseiten */
.page-head .wrap > * { animation: rise 600ms var(--ease-out) both; }
.page-head .wrap > :nth-child(2) { animation-delay: 80ms; }
.page-head .wrap > :nth-child(3) { animation-delay: 160ms; }
.page-head .wrap > :nth-child(4) { animation-delay: 220ms; }
.page-head .wrap > :nth-child(5) { animation-delay: 280ms; }
.page-head .wrap > :nth-child(6) { animation-delay: 340ms; }

/* Scroll-Reveal: nur Strukturelemente, nicht jeder Absatz */
.js [data-reveal] .section-head h2,
.js .section-head[data-reveal] h2,
.js .faq-intro[data-reveal] h2,
.js .cluster-head h2,
.js .related-head h2,
.js .game-copy h2,
.js .game-faq-layout h2 {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 700ms var(--ease-out);
}
.is-in .section-head h2,
.section-head.is-in h2,
.faq-intro.is-in h2,
.is-in .cluster-head h2,
.is-in .related-head h2,
.is-in .game-copy h2,
.is-in.game-faq-layout h2 { clip-path: inset(0 -2% 0 0); }

.js .benefit-row li { border-top-color: transparent; position: relative; }
.js .benefit-row li::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--ease-out);
}
.js .benefit-row li > * { opacity: 0; transform: translateY(0.75rem); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.benefit-row.is-in li::before { transform: scaleX(1); }
.benefit-row.is-in li > * { opacity: 1; transform: none; }
.benefit-row li:nth-child(2)::before, .benefit-row li:nth-child(2) > * { transition-delay: 120ms; }
.benefit-row li:nth-child(3)::before, .benefit-row li:nth-child(3) > * { transition-delay: 240ms; }

.js .plan-blocks i { transform: scale(0); transition: transform 320ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 150ms); }
.plan-slab.is-in .plan-blocks i { transform: none; }
.plan { transition: background-color var(--t-med) var(--ease-out); }
.plan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.plan:not(.is-featured):hover::after { transform: scaleX(1); }
.plan:hover .plan-blocks i { background: var(--rot); }
.plan.is-featured:hover .plan-blocks i { background: var(--rot-deep); }

.plan-price strong.is-rolling { animation: roll 360ms var(--ease-out); }
@keyframes roll {
  0% { opacity: 0; transform: translateY(0.5em); clip-path: inset(0 0 100% 0); }
  100% { opacity: 1; transform: none; clip-path: inset(0); }
}

.faq-list details > p { animation: faq-open 320ms var(--ease-out); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-0.4rem); }
  to { opacity: 1; transform: none; }
}
.faq-list details { transition: background-color var(--t-med); }

.guide-row { position: relative; transition: transform var(--t-med) var(--ease-out); }
.guide-row::before { content: ""; position: absolute; left: -1.25rem; top: 1.75rem; width: 0.5rem; height: 0.5rem; background: var(--rot); transform: scale(0); transition: transform var(--t-med) var(--ease-out); }
.guide-row:hover::before { transform: none; }
.guide-row:hover { transform: translateX(0.5rem); }
.js .guide-index[data-reveal] li { opacity: 0; transform: translateY(0.75rem); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.guide-index.is-in li { opacity: 1; transform: none; }
.guide-index.is-in li:nth-child(2) { transition-delay: 60ms; }
.guide-index.is-in li:nth-child(3) { transition-delay: 120ms; }
.guide-index.is-in li:nth-child(4) { transition-delay: 180ms; }
.guide-index.is-in li:nth-child(5) { transition-delay: 240ms; }
.guide-index.is-in li:nth-child(6) { transition-delay: 300ms; }

.js .game-fact-list div { border-top-color: transparent; position: relative; }
.js .game-fact-list div::before { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out); }
.is-in .game-fact-list div::before { transform: scaleX(1); }
.is-in .game-fact-list div:nth-child(2)::before { transition-delay: 100ms; }
.is-in .game-fact-list div:nth-child(3)::before { transition-delay: 200ms; }
.is-in .game-fact-list div:nth-child(4)::before { transition-delay: 300ms; }
.js .game-steps li { opacity: 0; transform: translateX(-0.5rem); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.is-in .game-steps li { opacity: 1; transform: none; }
.is-in .game-steps li:nth-child(2) { transition-delay: 90ms; }
.is-in .game-steps li:nth-child(3) { transition-delay: 180ms; }
.is-in .game-steps li:nth-child(4) { transition-delay: 270ms; }

.article-cta[data-reveal],
.game-offer-card,
.calculator-result { clip-path: inset(0 0 0 0); }
.js .article-cta[data-reveal] { clip-path: inset(0 100% 0 0); transition: clip-path 800ms var(--ease-out); }
.article-cta.is-in { clip-path: inset(0); }

.calculator-result output.is-pop { animation: pop 420ms var(--ease-out); }
@keyframes pop {
  0% { transform: scale(0.94); color: var(--rot-light); }
  100% { transform: none; }
}

.toc a::before { transition: color var(--t-fast); }
.toc a.is-active::before { color: var(--text); }
.toc a.is-active { color: var(--text); padding-left: 0.5rem; }
.toc a { transition: padding var(--t-med) var(--ease-out), color var(--t-fast); }

.cookie-banner:not([hidden]) { animation: rise 500ms var(--ease-out) both; }

/* Theme-Wechsel als kreisförmige Überblendung */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { clip-path: circle(0 at var(--vt-x, 95%) var(--vt-y, 2rem)); animation: theme-sweep 640ms var(--ease-out) forwards; }
@keyframes theme-sweep { to { clip-path: circle(160vmax at var(--vt-x, 95%) var(--vt-y, 2rem)); } }

@media (max-width: 60rem) {
  body.menu-open .main-nav li { animation: rise 420ms var(--ease-out) both; }
  body.menu-open .main-nav li:nth-child(2) { animation-delay: 50ms; }
  body.menu-open .main-nav li:nth-child(3) { animation-delay: 100ms; }
  body.menu-open .main-nav li:nth-child(4) { animation-delay: 150ms; }
  body.menu-open .main-nav li:nth-child(5) { animation-delay: 200ms; }
  body.menu-open .main-nav li:nth-child(6) { animation-delay: 250ms; }
  .guide-row:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] *, .benefit-row li::before, .benefit-row li > *, .plan-blocks i, .guide-index[data-reveal] li,
  .game-fact-list div::before, .game-steps li, .article-cta[data-reveal],
  .section-head h2, .faq-intro h2, .cluster-head h2, .related-head h2, .game-copy h2, .game-faq-layout h2 {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .hero-art { animation: none; }
  ::view-transition-new(root) { animation: none; clip-path: none; }
}
