/*
 * Startseite (hp-): handgeschriebenes Stylesheet, Hexwerte aus dem
 * Obsidian/Brass-Theme. Alle Endlosanimationen ruhen bei
 * prefers-reduced-motion; SMIL-Bewegungen (.hp-motion) werden dann ausgeblendet.
 */

.hp {
  --hp-brass-1: #fdf3cf;
  --hp-brass-2: #e6cd8a;
  --hp-brass-3: #d9b65c;
  --hp-brass-4: #c8a24a;
  --hp-brass-6: #82662c;
  --hp-rust: #cd7d4c;
  --hp-field: #8a9a6a;
  --hp-ink-0: #08080a;
  --hp-ink-1: #0e0e12;
  --hp-ink-2: #131318;
  --hp-ink-3: #1a1a21;
  --hp-line: rgba(70, 70, 83, 0.55);
  --hp-line-soft: rgba(50, 50, 61, 0.7);
  --hp-text: #e7e5e4;
  --hp-text-2: #a8a29e;
  --hp-text-3: #8b8580;
  --hp-display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --hp-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

@media (min-width: 640px) {
  .hp { gap: 6.5rem; }
}

/* ── Gemeinsame Bausteine ───────────────────────────────────────── */

.hp-ico {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.hp-ico--sm { width: 1.25rem; height: 1.25rem; }
.hp-ico--xs { width: 0.95rem; height: 0.95rem; }
.hp-ico .hp-i2 { opacity: 0.5; stroke-width: 1.15; }
.hp-ico .hp-if { fill: currentColor; fill-opacity: 0.12; stroke: none; }

.hp-tile {
  position: relative;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  border: 1px solid #32323d;
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(230, 205, 138, 0.14), transparent 60%),
    linear-gradient(180deg, #1d1d25, #131318);
  color: var(--hp-brass-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 18px -12px rgba(0, 0, 0, 0.9);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.hp-tile::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 0.65rem;
  border: 1px solid rgba(200, 162, 74, 0.08);
  pointer-events: none;
}
.hp-tile--lg { width: 3.5rem; height: 3.5rem; }
.hp-tile--lg .hp-ico { width: 1.75rem; height: 1.75rem; }

.hp-head {
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--hp-rust);
}
.hp-head .hp-kicker::before,
.hp-head .hp-kicker::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 125, 76, 0.7));
}
.hp-head .hp-kicker::after { transform: scaleX(-1); }
.hp-h2 {
  margin-top: 0.75rem;
  font-family: var(--hp-display);
  font-size: clamp(1.25rem, 5.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-text);
  overflow-wrap: break-word;
  hyphens: auto;
}
.hp-h2--left { text-align: left; }
@media (min-width: 640px) {
  .hp-h2 { font-size: 2rem; letter-spacing: 0.14em; }
}
.hp-h3 {
  font-family: var(--hp-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-brass-3);
}
.hp-lede {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--hp-text-2);
}
.hp-lede-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
  color: var(--hp-text-3);
}
.hp-lede-links a { color: var(--hp-brass-3); }
.hp-lede-links a:hover { color: var(--hp-brass-2); }

.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--hp-brass-3);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}
.hp-link:hover { color: var(--hp-brass-2); gap: 0.6rem; }
.hp-link:focus-visible { outline: 2px solid var(--hp-brass-3); outline-offset: 3px; border-radius: 2px; }

.hp-rule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hp-rule span {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 132, 58, 0.8));
}
.hp-rule span:last-child { transform: scaleX(-1); }
.hp-rule i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid rgba(200, 162, 74, 0.8);
  background: rgba(130, 102, 44, 0.35);
}

.hp-live {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--hp-brass-3);
}
.hp-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: hp-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hp-live--field { background: var(--hp-field); }

/* ── Hero ───────────────────────────────────────────────────────── */

.hp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(50, 50, 61, 0.8);
  background:
    radial-gradient(120% 100% at 88% -10%, rgba(217, 182, 92, 0.13), transparent 55%),
    radial-gradient(90% 80% at 0% 112%, rgba(179, 96, 47, 0.11), transparent 58%),
    linear-gradient(180deg, #121218 0%, #0c0c11 55%, #09090c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 90px -50px rgba(0, 0, 0, 1);
}
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200, 162, 74, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 162, 74, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(78% 78% at 50% 42%, #000, transparent);
  mask-image: radial-gradient(78% 78% at 50% 42%, #000, transparent);
}
.hp-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 205, 138, 0.55), transparent);
}
.hp-hero-topo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.16;
}
.hp-topo-line {
  stroke-dasharray: 2 7;
  animation: hp-dash 18s linear infinite;
}
.hp-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}
.hp-hero-glow--brass { top: -7rem; right: -4rem; width: 20rem; height: 20rem; background: rgba(200, 162, 74, 0.2); animation: hp-breathe 9s ease-in-out infinite; }
.hp-hero-glow--rust { bottom: -9rem; left: -4rem; width: 22rem; height: 22rem; background: rgba(147, 74, 36, 0.14); animation: hp-breathe 11s ease-in-out infinite reverse; }

.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 1.5rem;
}
@media (min-width: 640px) {
  .hp-hero-grid { padding: 3.5rem 2.5rem; }
}
@media (min-width: 1024px) {
  .hp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    padding: 4.5rem 3rem;
  }
}
.hp-hero-copy { max-width: 36rem; }

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(130, 102, 44, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(130, 102, 44, 0.18), rgba(130, 102, 44, 0.06));
  padding: 0.4rem 0.95rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hp-brass-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hp-hero-title {
  margin-top: 1.5rem;
  font-family: var(--hp-display);
  font-size: clamp(1.5rem, 7vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 640px) { .hp-hero-title { font-size: clamp(2.2rem, 6.4vw, 3rem); letter-spacing: 0.09em; } }
@media (min-width: 1024px) { .hp-hero-title { font-size: clamp(2.2rem, 3.3vw, 3.2rem); } }
.hp-hero-sub {
  margin-top: 0.85rem;
  font-family: var(--hp-display);
  font-size: 1rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hp-text-2);
}
@media (min-width: 640px) { .hp-hero-sub { font-size: 1.125rem; } }
.hp-hero .hp-rule { margin-top: 1.25rem; }
.hp-hero-lead { margin-top: 1.1rem; font-size: 0.95rem; color: #d6d3d1; }
.hp-hero-text { margin-top: 1.1rem; font-size: 0.875rem; line-height: 1.75; color: var(--hp-text-2); }

.hp-cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hp-cta-row--center { justify-content: center; }

.hp-assurances {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 11px;
  color: var(--hp-text-2);
}
.hp-assurances li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hp-assurances .hp-ico { color: var(--hp-field); }

.hp-console {
  position: relative;
  border-radius: 0.9rem;
  border: 1px solid rgba(70, 70, 83, 0.75);
  background: linear-gradient(180deg, rgba(26, 26, 33, 0.95), rgba(14, 14, 18, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 6px rgba(200, 162, 74, 0.03),
    0 40px 80px -40px rgba(0, 0, 0, 1),
    0 0 90px -30px rgba(200, 162, 74, 0.25);
  overflow: hidden;
}
.hp-console-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--hp-line-soft);
  background: linear-gradient(180deg, rgba(36, 36, 45, 0.7), rgba(19, 19, 24, 0.7));
}
.hp-console-dots { display: inline-flex; gap: 5px; }
.hp-console-dots i { width: 7px; height: 7px; border-radius: 99px; background: #32323d; box-shadow: inset 0 0 0 1px #464653; }
.hp-console-dots i:first-child { background: rgba(205, 125, 76, 0.55); }
.hp-console-title,
.hp-console-state {
  font-family: var(--hp-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hp-text-2);
}
.hp-console-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-console-state { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--hp-field); }
.hp-map { display: block; width: 100%; height: auto; padding: 0.4rem; }
.hp-console-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hp-line-soft);
}
.hp-console-rail div { padding: 0.65rem 0.9rem; }
.hp-console-rail div + div { border-left: 1px solid var(--hp-line-soft); }
.hp-console-rail dt { font-family: var(--hp-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hp-text-3); }
.hp-console-rail dd { margin-top: 0.2rem; font-family: var(--hp-display); font-size: 1rem; color: var(--hp-brass-2); font-variant-numeric: tabular-nums; }
.hp-compass { animation: hp-compass 9s ease-in-out infinite alternate; }

/* ── Kennzahlen ─────────────────────────────────────────────────── */

.hp-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 1rem;
  border: 1px solid var(--hp-line-soft);
  background: linear-gradient(180deg, rgba(26, 26, 33, 0.85), rgba(19, 19, 24, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 50px -36px rgba(0, 0, 0, 1);
  overflow: hidden;
}
@media (min-width: 560px) { .hp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hp-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-bottom: 1px solid var(--hp-line-soft);
  transition: background 0.3s;
}
.hp-stat:hover { background: rgba(36, 36, 45, 0.45); }
@media (min-width: 560px) {
  .hp-stat:nth-child(odd) { border-right: 1px solid var(--hp-line-soft); }
  .hp-stat:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .hp-stat { border-bottom: 0; border-right: 1px solid var(--hp-line-soft); }
  .hp-stat:last-child { border-right: 0; }
}
.hp-stat-dial {
  position: relative;
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--hp-brass-3);
}
.hp-stat-dial svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hp-dial-track { fill: none; stroke: #24242d; stroke-width: 2.5; }
.hp-dial-fill {
  fill: none;
  stroke: var(--hp-brass-4);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: var(--hp-fill) 176;
  filter: drop-shadow(0 0 4px rgba(200, 162, 74, 0.45));
  animation: hp-dial 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hp-dial-ticks { fill: none; stroke: rgba(200, 162, 74, 0.28); stroke-width: 3; stroke-dasharray: 0.6 3.86; }
.hp-stat dt { font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hp-text-3); }
.hp-stat dd { margin-top: 0.3rem; }
.hp-stat-value { display: block; font-family: var(--hp-display); font-size: 1.35rem; line-height: 1.2; color: var(--hp-brass-2); font-variant-numeric: tabular-nums; }
.hp-stat-note { display: block; margin-top: 0.2rem; font-size: 11px; color: var(--hp-text-2); }

/* ── Funktionen ─────────────────────────────────────────────────── */

.hp-features {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px) { .hp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.hp-feature,
.hp-mode,
.hp-tool,
.hp-card,
.hp-faction,
.hp-map-card {
  position: relative;
  border-radius: 0.9rem;
  border: 1px solid var(--hp-line-soft);
  background: linear-gradient(180deg, rgba(26, 26, 33, 0.92), rgba(17, 17, 22, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -30px rgba(0, 0, 0, 1);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.hp-feature:hover,
.hp-mode:hover,
.hp-tool:hover,
.hp-card:hover,
.hp-faction:hover,
.hp-map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 162, 74, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 50px -28px rgba(200, 162, 74, 0.32),
    0 16px 36px -24px rgba(0, 0, 0, 1);
}
.hp-feature:hover .hp-tile,
.hp-mode:hover .hp-tile,
.hp-tool:hover .hp-tile,
.hp-card:hover .hp-tile {
  color: var(--hp-brass-2);
  border-color: rgba(168, 132, 58, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px -6px rgba(200, 162, 74, 0.45);
}

.hp-feature { overflow: hidden; display: flex; flex-direction: column; }
.hp-scene {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 150;
  border-bottom: 1px solid var(--hp-line-soft);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(200, 162, 74, 0.08), transparent 70%),
    linear-gradient(180deg, #0f0f14, #0b0b0f);
}
.hp-feature-body { position: relative; padding: 1.4rem 1.4rem 1.5rem; }
.hp-feature-body h3,
.hp-mode h3,
.hp-tool h3,
.hp-step h3 {
  font-family: var(--hp-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-text);
}
.hp-feature-body h3 { margin-top: 1.1rem; }
.hp-feature-body p,
.hp-mode p,
.hp-tool p,
.hp-step p {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--hp-text-2);
}

/* Szenen-Grafiken */
.hp-scene * { vector-effect: non-scaling-stroke; }
.hp-sc-frame { fill: none; stroke: #5b5b6a; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.hp-sc-soft { fill: none; stroke: #3a3a46; stroke-width: 1; }
.hp-sc-soft-fill rect { fill: rgba(200, 162, 74, 0.05); stroke: #32323d; }
.hp-sc-line path { fill: none; stroke: #82662c; stroke-width: 1.2; }
.hp-sc-brass { fill: none; stroke: var(--hp-brass-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-sc-rust { fill: none; stroke: var(--hp-rust); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-sc-brass-fill { fill: var(--hp-brass-2); }
.hp-sc-rust-fill path { fill: none; stroke: var(--hp-rust); stroke-width: 1.4; stroke-linejoin: round; }
.hp-sc-water { fill: none; stroke: rgba(95, 127, 168, 0.4); stroke-width: 6; stroke-linecap: round; }
.hp-sc-pole { stroke: #6e6049; stroke-width: 2; stroke-linecap: round; }
.hp-sc-earth { fill: rgba(110, 96, 73, 0.12); }
.hp-sc-sand rect { fill: rgba(138, 122, 95, 0.35); stroke: #8a7a5f; stroke-width: 0.8; }
.hp-sc-wire path { fill: none; stroke: #8a8a96; stroke-width: 1; stroke-linecap: round; }
.hp-sc-crater { fill: rgba(0, 0, 0, 0.35); stroke: #3a3a46; }
.hp-sc-label text,
.hp-sc-label-t {
  font-family: var(--hp-mono);
  font-size: 8px;
  letter-spacing: 1.8px;
  fill: #77737a;
}
.hp-dash-run { animation: hp-dash 4s linear infinite; }

.hp-tick-ring { fill: none; stroke: rgba(200, 162, 74, 0.25); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 160px 75px; animation: hp-spin 30s linear infinite; }
.hp-led { fill: var(--hp-field); animation: hp-blink 1.6s steps(2, jump-none) infinite; }
.hp-packet { fill: var(--hp-brass-2); filter: drop-shadow(0 0 4px rgba(230, 205, 138, 0.8)); }
.hp-packet--rust { fill: var(--hp-rust); filter: drop-shadow(0 0 4px rgba(205, 125, 76, 0.8)); }

.hp-vision { fill: none; stroke: rgba(230, 205, 138, 0.55); stroke-width: 1; stroke-dasharray: 3 4; }
.hp-vision--inner { stroke: rgba(230, 205, 138, 0.22); stroke-dasharray: none; }

.hp-pennant {
  transform-box: fill-box;
  transform-origin: left center;
  fill-opacity: 0.85;
  animation: hp-wave 3.2s ease-in-out infinite;
  animation-delay: var(--hp-delay, 0s);
}
.hp-pennant--line { fill: none; stroke: rgba(253, 243, 207, 0.35); stroke-width: 1; }

.hp-burst { fill: none; stroke: var(--hp-brass-2); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: hp-burst 2.4s ease-out infinite; }
.hp-burst--late { stroke: var(--hp-rust); animation-delay: 0.15s; }
.hp-flash { fill: var(--hp-brass-1); transform-box: fill-box; transform-origin: center; animation: hp-flash 2.4s ease-out infinite; }
.hp-flash--muzzle { animation-name: hp-muzzle; }

.hp-elo-line {
  fill: none;
  stroke: var(--hp-brass-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  animation: hp-draw 6s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(230, 205, 138, 0.5));
}
.hp-elo-fill { animation: hp-fade-cycle 6s ease-in-out infinite; }
.hp-ring-pulse { fill: none; stroke: var(--hp-brass-2); transform-box: fill-box; transform-origin: center; animation: hp-pulse 2.6s ease-out infinite; }
.hp-medal { fill: rgba(200, 162, 74, 0.14); stroke: var(--hp-brass-4); stroke-width: 1.4; }
.hp-chip { fill: rgba(138, 154, 106, 0.16); stroke: rgba(138, 154, 106, 0.6); }
.hp-chip-t { font-family: var(--hp-mono); font-size: 9px; fill: #b5c495; letter-spacing: 1px; }

.hp-mechanics {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 560px) { .hp-mechanics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-mechanics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-mechanics li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(50, 50, 61, 0.55);
  background: rgba(19, 19, 24, 0.6);
  font-size: 0.78rem;
  color: var(--hp-text-3);
  transition: border-color 0.3s, background 0.3s;
}
.hp-mechanics li:hover { border-color: rgba(130, 102, 44, 0.6); background: rgba(26, 26, 33, 0.8); }
.hp-mechanics .hp-ico { color: var(--hp-brass-4); }
.hp-mechanics strong { display: block; font-weight: 600; color: #d6d3d1; letter-spacing: 0.02em; }

/* ── Fraktionen ─────────────────────────────────────────────────── */

.hp-factions { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .hp-factions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-factions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.hp-faction { display: flex; flex-direction: column; overflow: hidden; }
.hp-faction::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--hp-faction), transparent 85%);
}
.hp-faction-art {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0e0e12;
}
.hp-faction-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s;
}
.hp-faction-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0) 35%, rgba(17, 17, 22, 0.96) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--hp-faction) 22%, transparent), transparent 60%);
}
.hp-faction:hover .hp-faction-art img { transform: scale(1.08); filter: saturate(1) contrast(1.08); }
.hp-faction-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 0 1.25rem 1.35rem; }
.hp-faction-head { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -2.4rem; }
.hp-crest {
  position: relative;
  display: inline-flex;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--hp-faction);
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--hp-faction) 28%, transparent), transparent 70%),
    #131318;
  box-shadow: 0 0 0 1px #32323d, 0 12px 26px -12px rgba(0, 0, 0, 1);
}
.hp-crest-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); animation: hp-spin 40s linear infinite; }
.hp-crest-ring circle { fill: none; stroke: rgba(200, 162, 74, 0.55); stroke-width: 1; }
.hp-crest-ring circle + circle { stroke: rgba(200, 162, 74, 0.25); stroke-dasharray: 1 4; }
.hp-crest-emblem { width: 2.6rem; height: 2.6rem; }
.hp-faction-no { font-family: var(--hp-display); font-size: 1.6rem; line-height: 1; color: rgba(130, 102, 44, 0.6); }
.hp-faction h3 { margin-top: 1rem; font-family: var(--hp-display); font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--hp-text); }
.hp-faction-desc { margin-top: 0.5rem; font-size: 0.78rem; line-height: 1.65; color: var(--hp-text-2); }
.hp-bonuses { margin-top: 0.8rem; display: grid; gap: 0.4rem; }
.hp-bonuses li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--hp-faction) 35%, #32323d);
  background: color-mix(in srgb, var(--hp-faction) 9%, transparent);
  padding: 0.38rem 0.6rem;
  font-size: 0.75rem;
  color: #d6d3d1;
}
.hp-bonuses svg { width: 0.75rem; height: 0.75rem; flex-shrink: 0; fill: none; stroke: #b5c495; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-faction-roster { margin-top: 1.1rem; font-size: 9px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--hp-text-3); }
.hp-roster { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1; align-content: flex-start; }
.hp-faction .hp-link { margin-top: 1.1rem; }

/* ── Gefechtsmodi ───────────────────────────────────────────────── */

.hp-modes { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .hp-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-mode { padding: 1.6rem 1.5rem 1.7rem; }
.hp-mode h3 { margin-top: 1.2rem; font-size: 0.95rem; }
.hp-mode--featured {
  border-color: rgba(130, 102, 44, 0.6);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(200, 162, 74, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(26, 26, 33, 0.95), rgba(17, 17, 22, 0.95));
}
.hp-mode-tag {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  border-radius: 999px;
  border: 1px solid #32323d;
  padding: 0.2rem 0.6rem;
  font-family: var(--hp-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hp-text-3);
}
.hp-mode--featured .hp-mode-tag { border-color: rgba(168, 132, 58, 0.6); color: var(--hp-brass-2); background: rgba(130, 102, 44, 0.15); }
.hp-checks { margin-top: 1.1rem; display: grid; gap: 0.5rem; border-top: 1px solid var(--hp-line-soft); padding-top: 1rem; }
.hp-checks li { position: relative; padding-left: 1.4rem; font-size: 0.8rem; color: #c9c5c2; }
.hp-checks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.32rem;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 1.5px solid var(--hp-brass-3);
  border-bottom: 1.5px solid var(--hp-brass-3);
  transform: rotate(-45deg);
}
.hp-levels { margin-top: 1.1rem; display: grid; gap: 0.7rem; border-top: 1px solid var(--hp-line-soft); padding-top: 1rem; }
.hp-levels li { display: flex; gap: 0.75rem; font-size: 0.78rem; line-height: 1.55; color: var(--hp-text-3); }
.hp-levels strong { display: block; color: #d6d3d1; font-weight: 600; }
.hp-level-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 1rem; padding-top: 0.15rem; flex-shrink: 0; }
.hp-level-bars i { width: 4px; border-radius: 1px; background: #32323d; }
.hp-level-bars i:nth-child(1) { height: 40%; }
.hp-level-bars i:nth-child(2) { height: 70%; }
.hp-level-bars i:nth-child(3) { height: 100%; }
.hp-level-bars i.on { background: var(--hp-brass-3); box-shadow: 0 0 6px rgba(217, 182, 92, 0.5); }

/* ── Karten ─────────────────────────────────────────────────────── */

.hp-maps { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .hp-maps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-maps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hp-map-card { display: flex; flex-direction: column; overflow: hidden; }
.hp-map-art {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0e0e12;
  border-bottom: 1px solid var(--hp-line-soft);
}
.hp-map-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) saturate(0.7) brightness(0.78) contrast(1.05);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s;
}
.hp-map-card:hover .hp-map-art img { transform: scale(1.06); filter: sepia(0.1) saturate(0.95) brightness(0.92) contrast(1.05); }
.hp-map-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200, 162, 74, 0.08) 1px, transparent 1px) 0 0 / 100% 12.5%,
    linear-gradient(90deg, rgba(200, 162, 74, 0.08) 1px, transparent 1px) 0 0 / 12.5% 100%,
    radial-gradient(75% 75% at 50% 50%, transparent 50%, rgba(8, 8, 10, 0.75));
  pointer-events: none;
}
.hp-map-art::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(230, 205, 138, 0.12), transparent);
  transform: translateY(-100%);
  pointer-events: none;
}
.hp-map-card:hover .hp-map-art::before { animation: hp-scan 2.4s linear infinite; }
.hp-map-reticle { position: absolute; inset: 0.75rem; z-index: 1; width: calc(100% - 1.5rem); height: calc(100% - 1.5rem); fill: none; stroke: rgba(230, 205, 138, 0.6); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hp-map-reticle path { vector-effect: non-scaling-stroke; }
.hp-map-art figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(130, 102, 44, 0.6);
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.5rem;
  font-family: var(--hp-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--hp-brass-2);
}
.hp-map-body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem 1.2rem 1.25rem; }
.hp-map-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--hp-display); font-size: 1rem; font-weight: 600; color: var(--hp-text); }
.hp-map-default { border-radius: 999px; border: 1px solid rgba(138, 154, 106, 0.55); padding: 0.05rem 0.5rem; font-family: var(--hp-mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: #b5c495; }
.hp-map-body p { margin-top: 0.5rem; flex: 1; font-size: 0.78rem; line-height: 1.65; color: var(--hp-text-2); }
.hp-map-body dl { margin-top: 1rem; display: flex; gap: 1.5rem; border-top: 1px solid var(--hp-line-soft); padding-top: 0.8rem; }
.hp-map-body dt { font-size: 9px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--hp-text-3); }
.hp-map-body dd { margin-top: 0.15rem; font-family: var(--hp-display); font-size: 0.95rem; color: var(--hp-brass-2); font-variant-numeric: tabular-nums; }

/* ── Ablauf ─────────────────────────────────────────────────────── */

.hp-steps-wrap { position: relative; }
.hp-steps { display: grid; gap: 2.25rem; }
@media (min-width: 640px) { .hp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }
.hp-steps-line { display: none; }
@media (min-width: 1024px) {
  .hp-steps-line { display: block; position: absolute; left: 2.25rem; right: 12%; top: 2.25rem; width: auto; height: 2px; pointer-events: none; }
}
.hp-steps-track { stroke: #32323d; stroke-width: 1.5; stroke-dasharray: 6 8; }
.hp-steps-run { stroke: var(--hp-brass-3); stroke-width: 2; stroke-dasharray: 90 710; animation: hp-run 5s cubic-bezier(0.5, 0, 0.5, 1) infinite; filter: drop-shadow(0 0 3px rgba(217, 182, 92, 0.7)); }
.hp-step { position: relative; }
.hp-step-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(130, 102, 44, 0.7);
  background:
    radial-gradient(circle at 50% 25%, rgba(200, 162, 74, 0.18), transparent 70%),
    #0e0e12;
  color: var(--hp-brass-2);
  box-shadow: 0 0 0 5px #0c0c10, 0 0 0 6px rgba(50, 50, 61, 0.8), 0 18px 30px -14px rgba(0, 0, 0, 1);
}
.hp-step-badge .hp-ico { width: 1.9rem; height: 1.9rem; }
.hp-step-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(217, 182, 92, 0.6);
  opacity: 0;
  animation: hp-step-glow 5s ease-in-out infinite;
  animation-delay: calc(var(--hp-step, 0) * 1.1s);
}
.hp-step-no {
  position: absolute;
  right: -0.35rem;
  bottom: -0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 102, 44, 0.7);
  background: #131318;
  padding: 0.05rem 0.4rem;
  font-family: var(--hp-display);
  font-size: 0.72rem;
  color: var(--hp-brass-3);
}
.hp-step h3 { margin-top: 1.25rem; }

/* ── Instrumente ────────────────────────────────────────────────── */

.hp-tools {
  display: grid;
  gap: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--hp-line-soft);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(200, 162, 74, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(19, 19, 24, 0.9), rgba(12, 12, 16, 0.9));
  padding: 2rem 1.25rem;
}
@media (min-width: 640px) { .hp-tools { padding: 2.5rem; } }
@media (min-width: 1024px) { .hp-tools { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; padding: 3rem; } }
.hp-tools-intro > p:not(.hp-kicker) { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--hp-text-2); }
.hp-principles { margin-top: 1.75rem; display: grid; gap: 0.9rem; }
.hp-principles li { display: flex; gap: 0.75rem; font-size: 0.8rem; line-height: 1.6; color: var(--hp-text-3); }
.hp-principles .hp-ico { margin-top: 0.1rem; color: var(--hp-field); }
.hp-principles strong { color: #d6d3d1; font-weight: 600; }
.hp-tool-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hp-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp-tool { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem; }
.hp-tool h3 { margin-top: 1rem; }
.hp-tool p { flex: 1; }
.hp-tool .hp-link { margin-top: 0.9rem; }
.hp-tool kbd {
  border-radius: 0.25rem;
  border: 1px solid #464653;
  border-bottom-width: 2px;
  background: #1a1a21;
  padding: 0 0.35rem;
  font-family: var(--hp-mono);
  font-size: 0.7rem;
  color: var(--hp-brass-2);
}

/* ── Wissen & News ──────────────────────────────────────────────── */

.hp-split-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hp-line-soft); }
.hp-split-head--spaced { margin-top: 3rem; }
.hp-cards { margin-top: 1.25rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
.hp-card-body { flex: 1; min-width: 0; }
.hp-card h3 { font-family: var(--hp-display); font-size: 0.95rem; font-weight: 600; line-height: 1.4; color: var(--hp-brass-2); }
.hp-card p { margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.6; color: var(--hp-text-2); }
.hp-card--news p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-card-arrow { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: #5b5b6a; transition: color 0.3s, transform 0.3s; }
.hp-card:hover .hp-card-arrow { color: var(--hp-brass-3); transform: translateX(3px); }
.hp-card:focus-visible,
.hp-faction a:focus-visible { outline: 2px solid var(--hp-brass-3); outline-offset: 3px; }
.hp-more { margin-top: 1.5rem; }

/* ── Abschluss ──────────────────────────────────────────────────── */

.hp-final {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(130, 102, 44, 0.45);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(200, 162, 74, 0.14), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(147, 74, 36, 0.12), transparent 70%),
    linear-gradient(160deg, #131318, #0e0e12 50%, #08080a);
  padding: 3rem 1.25rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -50px rgba(0, 0, 0, 1);
}
@media (min-width: 640px) { .hp-final { padding: 3.5rem 3rem; } }
@media (min-width: 1024px) {
  .hp-final { grid-template-columns: auto minmax(0, 1fr); justify-items: start; gap: 3.5rem; padding: 3.5rem 4rem; text-align: left; }
  .hp-final .hp-cta-row--center { justify-content: flex-start; }
}
.hp-seal { width: 11rem; height: 11rem; overflow: visible; }
@media (min-width: 1024px) { .hp-seal { width: 14rem; height: 14rem; } }
.hp-seal-spin { transform-origin: 100px 100px; animation: hp-spin 48s linear infinite; }
.hp-seal-spin--rev { animation-duration: 80s; animation-direction: reverse; }
.hp-seal-text { font-family: var(--hp-display); font-size: 11.2px; letter-spacing: 3.2px; fill: #c8a24a; }
.hp-seal-ring { fill: none; stroke: rgba(200, 162, 74, 0.55); stroke-width: 1; }
.hp-seal-ring--dash { stroke: rgba(200, 162, 74, 0.3); stroke-dasharray: 2 4; }
.hp-seal-ring--dots { stroke: rgba(200, 162, 74, 0.35); stroke-width: 2; stroke-dasharray: 0.5 11.3; stroke-linecap: round; }
.hp-final-copy { max-width: 40rem; }
.hp-final-copy .hp-h2 { margin-top: 1rem; }
.hp-final-copy > p:not(.hp-remembrance) { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; color: var(--hp-text-2); }
.hp-remembrance { margin-top: 2.25rem; border-top: 1px solid var(--hp-line-soft); padding-top: 1.25rem; font-size: 11px; line-height: 1.7; color: var(--hp-text-3); }

/* ── Keyframes ──────────────────────────────────────────────────── */

@keyframes hp-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes hp-dash { to { stroke-dashoffset: -180; } }
@keyframes hp-breathe { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes hp-compass { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes hp-spin { to { transform: rotate(360deg); } }
@keyframes hp-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes hp-wave {
  0%, 100% { transform: skewY(0deg) scaleX(1); }
  25% { transform: skewY(3deg) scaleX(0.96); }
  75% { transform: skewY(-3deg) scaleX(1.02); }
}
@keyframes hp-burst {
  0%, 82% { transform: scale(0.2); opacity: 0; }
  86% { opacity: 1; }
  100% { transform: scale(3.6); opacity: 0; }
}
@keyframes hp-flash {
  0%, 82% { transform: scale(0); opacity: 0; }
  86% { transform: scale(2.2); opacity: 1; }
  100% { transform: scale(0.6); opacity: 0; }
}
@keyframes hp-muzzle {
  0% { transform: scale(2); opacity: 1; }
  12%, 100% { transform: scale(0); opacity: 0; }
}
@keyframes hp-draw {
  0% { stroke-dashoffset: 260; }
  45%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -260; }
}
@keyframes hp-fade-cycle { 0%, 15% { opacity: 0; } 45%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hp-pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes hp-dial { from { stroke-dasharray: 0 176; } }
@keyframes hp-run { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -800; } }
@keyframes hp-step-glow { 0%, 100% { opacity: 0; transform: scale(0.94); } 12% { opacity: 1; } 30% { opacity: 0; transform: scale(1.12); } }
@keyframes hp-scan { from { transform: translateY(-100%); } to { transform: translateY(340%); } }

@media (prefers-reduced-motion: reduce) {
  .hp *,
  .hp *::before,
  .hp *::after {
    animation: none !important;
    transition: none !important;
  }
  .hp-motion { display: none; }
}
