:root {
  --bg: #08110d;
  --bg-raise: #102018;
  --ink: #e8f6ee;
  --muted: #93aa9c;
  --line: rgba(232, 246, 238, 0.12);
  --emerald: #3ddc84;
  --emerald-ink: #062216;
  --gold: #f0d48a;
  --danger: #ffb4b4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --warden: #00aa00;
  --highlord: #00aaaa;
  --sovereign: #55ffff;
  --ascendant: #ff55ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(61, 220, 132, 0.16), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(0, 170, 170, 0.12), transparent 55%),
    var(--bg);
}
body.locked { overflow: hidden; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
code {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--emerald);
  color: var(--emerald-ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 6vw;
  background: rgba(8, 17, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand svg { width: 32px; height: 32px; }
.nav {
  display: flex;
  gap: 1.1rem;
  margin-right: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  border-radius: 999px;
  padding: 0.45rem 0.7rem 0.45rem 0.9rem;
  cursor: pointer;
}
.cart-btn span {
  min-width: 1.5rem;
  text-align: center;
  background: var(--emerald);
  color: var(--emerald-ink);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
}

.hero, .welt, .shop, .ablauf, .contact, .impressum, .panel, .foot {
  width: min(1120px, calc(100% - 10vw));
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: end;
  padding: 4.5rem 0 2.5rem;
}
.kicker {
  margin: 0 0 0.8rem;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; }
h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
h1 span { display: block; }
.r-warden { color: var(--warden); }
.r-highlord { color: var(--highlord); }
.r-sovereign { color: var(--sovereign); }
.r-ascendant { color: var(--ascendant); }
.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.hero-actions, .address { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.address {
  color: var(--muted);
  margin-top: 1.2rem;
}
.address code {
  color: var(--ink);
  background: #0c1c15;
  border: 1px solid var(--line);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.btn-primary { background: var(--emerald); color: var(--emerald-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-small { padding: 0.45rem 0.8rem; font-size: 0.92rem; }
.btn-text {
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}

.ladder {
  list-style: none;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 32, 24, 0.8);
  box-shadow: var(--shadow);
}
.ladder li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.72rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
.ladder li:last-child { border-bottom: 0; }
.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 99px;
}
.ladder small { color: var(--muted); }

.stats {
  width: min(1120px, calc(100% - 10vw));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats p {
  margin: 0;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stats p + p { border-left: 1px solid var(--line); }
.stats span { color: var(--muted); font-size: 0.92rem; }

.welt, .shop, .ablauf, .contact, .impressum { padding: 4.2rem 0 0; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; }
.welt-grid, .catalog, .steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.welt-grid { grid-template-columns: 1fr 1fr; }
.welt-grid article, .card, .summary, .steps li {
  background: rgba(16, 32, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.35rem;
}
.index {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.welt-grid h3, .card h3 { margin: 0.35rem 0 0.5rem; font-size: 2rem; }
.welt-grid p:last-child, .card .tagline { color: var(--muted); margin: 0; }

.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.filters { display: flex; gap: 0.4rem; }
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.filters button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.catalog { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-top: 3px solid var(--accent, var(--emerald));
}
.card header { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; }
.amount {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
}
.card ul {
  margin: 0.9rem 0 1.1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}
.card li + li { margin-top: 0.35rem; }
.card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.price { font-size: 1.15rem; }

.steps { grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.steps strong { display: block; margin-bottom: 0.4rem; }
.steps span, .steps code { color: var(--muted); line-height: 1.45; }

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .section-head { text-align: center; }
.contact-form {
  width: min(36rem, 100%);
  margin-top: 1.4rem;
}
.contact-ok {
  min-height: 1.2rem;
  margin: 0 0 0.8rem;
  color: var(--emerald);
}
.impressum h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}
.impressum-body { min-height: 8rem; }
.foot {
  padding: 3rem 0 2.5rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot a { color: var(--muted); }
.foot p { margin: 0; }

.panel { padding: 3rem 0 4rem; }
.panel h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.6rem; }
.back { color: var(--muted); }
.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
form label, .check {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0;
  font-weight: 600;
}
input, textarea {
  background: #0c1c15;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}
textarea { min-height: 7rem; resize: vertical; }
.check { flex-direction: row; align-items: flex-start; font-weight: 500; color: var(--muted); }
.check input { margin-top: 0.2rem; }
.form-error { min-height: 1.2rem; color: var(--danger); margin: 0 0 0.8rem; }
.summary h3 { margin-top: 0; }
.summary-line, .cart-line, .thanks-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.summary-total, .drawer-foot p {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.qty button {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.thanks-lines { max-width: 36rem; margin: 1.2rem 0 1.6rem; }

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100%);
  background: #0d1a14;
  border-left: 1px solid var(--line);
  z-index: 9;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.drawer-head, .cart-line { display: flex; justify-content: space-between; gap: 0.8rem; }
.drawer-head h2 { margin: 0; }
.cart-lines { flex: 1; overflow: auto; margin: 1rem 0; }
.cart-line { align-items: center; border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.cart-line p { margin: 0.2rem 0 0; color: var(--muted); }
.empty { color: var(--muted); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(140%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  z-index: 12;
  transition: transform 0.25s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }

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

@media (max-width: 980px) {
  .hero, .catalog, .steps, .stats, .panel-grid, .welt-grid { grid-template-columns: 1fr 1fr; }
  .hero { align-items: start; }
  .stats p:nth-child(3), .stats p:nth-child(4) { border-top: 1px solid var(--line); }
  .stats p:nth-child(odd) { border-left: 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero, .catalog, .steps, .stats, .panel-grid, .welt-grid, .shop-head {
    grid-template-columns: 1fr;
    display: grid;
  }
  .stats p + p { border-left: 0; border-top: 1px solid var(--line); }
  .top { padding-inline: 1rem; }
  .hero, .welt, .shop, .ablauf, .contact, .impressum, .panel, .foot, .stats { width: min(1120px, calc(100% - 2rem)); }
  h1 { font-size: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
