/* ==========================================================================
   Aureon · Midnight Design System
   Inspiriert von World of Warcraft: Midnight — Sonne, Void und Ornamentik.
   ========================================================================== */

:root {
  --bg: #07060d;
  --bg-deep: #05040a;
  --panel: linear-gradient(180deg, rgba(34, 24, 66, 0.82), rgba(12, 10, 24, 0.94));
  --panel-flat: rgba(16, 12, 30, 0.94);
  --line: rgba(198, 160, 90, 0.26);
  --line-strong: rgba(240, 208, 138, 0.66);
  --text: #f4efff;
  --muted: #a79dc6;
  --gold: #e9c877;
  --gold-2: #fbeecb;
  --gold-deep: #8a6425;
  --void: #8b5cf6;
  --void-2: #c3a6ff;
  --danger: #ff9d8c;
  --ok: #7fe3b3;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  --serif: "Cinzel", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  top: 0 !important;
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    radial-gradient(70rem 34rem at 50% -12rem, rgba(124, 77, 255, 0.38), transparent 72%),
    linear-gradient(180deg, rgba(7, 6, 13, 0.58) 0, rgba(7, 6, 13, 0.9) 30rem, var(--bg) 50rem),
    url("../img/sky-band.jpg");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center top, center top, center top;
  background-size: auto, auto, 100% auto;
}

/* Google Translate ausblenden */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

a { color: var(--gold-2); text-decoration: none; transition: color 0.16s ease; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(139, 92, 246, 0.5); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0a0813; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3d2b74, #1c1439); border: 2px solid #0a0813; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #5a3fb0, #2a1f55); }

.skip {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 60;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #24180c;
  padding: 9px 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
main { padding-bottom: 12px; }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(9, 7, 17, 0.96), rgba(9, 7, 17, 0.88));
  border-bottom: 1px solid rgba(198, 160, 90, 0.34);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.mast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.75), rgba(240, 208, 138, 0.9), rgba(139, 92, 246, 0.75), transparent);
}
.bar { display: flex; align-items: center; gap: 30px; min-height: 82px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--text); flex: 0 0 auto; }
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18), 0 0 22px rgba(139, 92, 246, 0.4);
  transition: box-shadow 0.25s ease;
}
.brand:hover img { box-shadow: 0 0 0 3px rgba(233, 200, 119, 0.3), 0 0 26px rgba(233, 200, 119, 0.45); }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 15px;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(139, 92, 246, 0.5);
}
.brand span { display: block; color: var(--gold); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; }

.nav-toggle, .nav-burger { display: none; }

nav.primary { display: flex; gap: 4px; }
nav.primary a {
  position: relative;
  color: var(--text);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, text-shadow 0.16s ease;
}
nav.primary a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: left 0.2s ease, right 0.2s ease;
}
nav.primary a:hover { color: #fff; text-shadow: 0 0 14px rgba(195, 166, 255, 0.8); }
nav.primary a:hover::after { left: 12%; right: 12%; }
nav.primary a.active { color: var(--gold-2); text-shadow: 0 0 16px rgba(233, 200, 119, 0.6); }
nav.primary a.active::after, nav.primary a.active { border-bottom-color: transparent; }
nav.primary a.active::after { left: 8%; right: 8%; height: 2px; }

.mast-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.account-links { display: flex; align-items: center; gap: 14px; }
.account-links a { color: var(--text); font-size: 14.5px; letter-spacing: 0.04em; }
.account-links a:hover { color: var(--gold-2); }
.lang-switch { margin: 0; flex-direction: row; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; letter-spacing: 0; text-transform: none; }
.lang-switch select {
  min-width: 8.5rem;
  padding: 7px 9px;
  border-radius: 3px;
  background: rgba(8, 6, 16, 0.9);
  border-color: var(--line);
}

/* --------------------------------------------------------------------------
   Schaltflächen
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: 1px solid rgba(198, 160, 90, 0.5);
  border-radius: 3px;
  color: var(--text);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(52, 38, 96, 0.9), rgba(17, 13, 33, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.btn:hover {
  color: #fff;
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 26px rgba(139, 92, 246, 0.45), 0 12px 26px rgba(0, 0, 0, 0.5);
}
.btn.small { padding: 8px 15px; font-size: 12.5px; letter-spacing: 0.1em; }
.btn.gold {
  color: #2a1c07;
  background: linear-gradient(180deg, #fdf1d1 0%, #eecb7f 48%, #c99a44 100%);
  border-color: #8a6425;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 22px rgba(201, 154, 68, 0.28);
}
.btn.gold:hover {
  color: #241809;
  filter: brightness(1.06);
  border-color: #6d4d1a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 30px rgba(233, 200, 119, 0.55), 0 12px 26px rgba(0, 0, 0, 0.45);
}
.btn.danger { border-color: rgba(255, 157, 140, 0.6); color: var(--danger); }
.btn.danger:hover { box-shadow: 0 0 24px rgba(255, 157, 140, 0.35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: 26px;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid rgba(198, 160, 90, 0.4);
  background: #0a0812;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero.home { min-height: min(70vh, 620px); display: flex; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(240, 208, 138, 0.75);
  z-index: 3;
  pointer-events: none;
}
.hero::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hero::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hero img.cover { width: 100%; height: 340px; object-fit: cover; object-position: center 40%; }
.hero.home img.cover {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: center 45%;
  animation: heroDrift 46s ease-in-out infinite alternate;
}
.hero .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 5, 12, 0.45) 0, rgba(6, 5, 12, 0) 34%, rgba(6, 5, 12, 0.2) 55%, rgba(6, 5, 12, 0.94) 100%),
    radial-gradient(80% 90% at 12% 82%, rgba(6, 5, 14, 0.92), transparent 62%);
}
.hero .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 76px 44px 34px;
}
.hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(44px, 6.6vw, 84px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 0 60px rgba(139, 92, 246, 0.55);
}
.hero .lead, .page-head .lead { max-width: 40rem; color: var(--text); margin: 0; }
.hero .lead { font-size: 1.06rem; color: #e6dfff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8); }

.kicker {
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 0 12px rgba(233, 200, 119, 0.75);
  flex: 0 0 auto;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.1) translateY(-1.5%); }
}

/* --------------------------------------------------------------------------
   Seitenköpfe und Banner
   -------------------------------------------------------------------------- */
.page-head { margin: 34px 0 10px; }
.page-head h1 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.7), 0 0 44px rgba(139, 92, 246, 0.35);
}
.panel h1 { margin: 6px 0 8px; font-size: clamp(30px, 4vw, 44px); }

.page-banner {
  position: relative;
  margin: 30px 0 10px;
  overflow: hidden;
  border: 1px solid rgba(198, 160, 90, 0.4);
  box-shadow: var(--shadow);
  min-height: 340px;
}
.page-banner > img { width: 100%; height: 340px; object-fit: cover; object-position: center 42%; }
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 5, 12, 0.3), rgba(6, 5, 12, 0.1) 40%, rgba(6, 5, 12, 0.94) 100%);
}
.page-banner .page-head {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 72px 34px 26px;
}
.page-banner .page-head h1 { margin-bottom: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.03em; }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.band { margin-top: 56px; }
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(198, 160, 90, 0.2);
}
.section-head::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 0 14px rgba(233, 200, 119, 0.6);
}
.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 208, 138, 0.6), rgba(139, 92, 246, 0.45), transparent);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
.steps li {
  position: relative;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.steps li:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.4), var(--shadow); }
.steps img.shot { width: 100%; height: 158px; object-fit: cover; transition: transform 0.5s ease; }
.steps li:hover img.shot { transform: scale(1.06); }
.steps .pad { padding: 20px 22px 24px; }
.step-no {
  display: block;
  margin-bottom: 10px;
  color: rgba(233, 200, 119, 0.85);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 1px rgba(240, 208, 138, 0.55);
  color: transparent;
  text-shadow: 0 0 26px rgba(139, 92, 246, 0.55);
}
.steps h3 { margin: 0 0 8px; font-size: 23px; }
.steps p { margin: 0 0 12px; }
.realm-value {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-2);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-shadow: 0 0 24px rgba(233, 200, 119, 0.35);
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Karten, Panels, Neuigkeiten
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card::before, .card::after,
.panel::before, .panel::after,
.steps li::before, .steps li::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(240, 208, 138, 0.5);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card::before, .panel::before, .steps li::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.card::after, .panel::after, .steps li::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }
.card:hover::before, .card:hover::after,
.panel:hover::before, .panel:hover::after,
.steps li:hover::before, .steps li:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 208, 138, 0.55);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 26px 56px rgba(0, 0, 0, 0.6);
}
.card img.shot { width: 100%; height: 196px; object-fit: cover; transition: transform 0.55s ease, filter 0.4s ease; }
.card:hover img.shot { transform: scale(1.07); filter: saturate(1.15) brightness(1.05); }
.card .pad, .panel { padding: 20px 22px 22px; }
.card h3 { margin: 8px 0; font-size: 22px; }
.card h3 a, .feature h3 a { color: var(--text); }
.card h3 a:hover { color: var(--gold-2); text-shadow: 0 0 18px rgba(233, 200, 119, 0.45); }
.muted { color: var(--muted); }
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  margin: 20px 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
.panel h2 { margin: 4px 0 12px; font-size: 26px; }
.panel h3 { margin: 6px 0 8px; }
.panel form + form { margin-top: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 20px 0 8px; }

.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.paths a.card { color: var(--text); min-height: 100%; }
.paths a.card:hover { border-color: var(--line-strong); }
.paths img.shot { height: 176px; }

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature:not(:has(img)) { grid-template-columns: 1fr; }
.feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature .pad { padding: 34px 32px; }
.feature h3 { margin: 12px 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 20px; }

.story { width: min(760px, 100%); margin: 32px auto 8px; }
.story-cover { width: 100%; max-height: 460px; object-fit: cover; border: 1px solid var(--line); margin-bottom: 24px; box-shadow: var(--shadow); }
.story h1 { margin: 10px 0 16px; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.story-body p { font-size: 18px; }
.story-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.4em;
  line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--gold-2);
  text-shadow: 0 0 26px rgba(139, 92, 246, 0.6);
}

/* --------------------------------------------------------------------------
   Statuswerte
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 6px; }
.stat { border-top: 2px solid rgba(233, 200, 119, 0.55); background: var(--panel); }
.stat .pad { padding: 18px 22px 20px; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1.1;
  text-shadow: 0 0 26px rgba(233, 200, 119, 0.4);
}
.stat span { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.meter { height: 7px; margin: 6px 0 14px; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.25); }
.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6d4ad4, var(--void-2), var(--gold));
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.7);
}
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px rgba(127, 227, 179, 0.85); }
.dot.off { background: var(--muted); box-shadow: none; }
.empty { padding: 30px; text-align: center; color: var(--muted); }
code { color: var(--gold-2); font-family: ui-monospace, Consolas, monospace; }

/* --------------------------------------------------------------------------
   Formulare
   -------------------------------------------------------------------------- */
label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
input, textarea, select {
  background: rgba(8, 6, 16, 0.92);
  border: 1px solid rgba(198, 160, 90, 0.32);
  border-radius: 3px;
  padding: 12px 13px;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
input::placeholder, textarea::placeholder { color: rgba(167, 157, 198, 0.55); }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(233, 200, 119, 0.5), 0 0 22px rgba(139, 92, 246, 0.35);
}
.check { flex-direction: row; align-items: center; gap: 10px; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 15px; }
.check input { padding: 0; width: 17px; height: 17px; accent-color: var(--void); }

.flash {
  padding: 14px 16px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(20, 14, 38, 0.85);
  letter-spacing: 0.02em;
}
.flash.ok { border-left-color: var(--ok); border-color: rgba(127, 227, 179, 0.5); color: var(--ok); background: rgba(10, 32, 26, 0.7); }
.flash.bad { border-left-color: var(--danger); border-color: rgba(255, 157, 140, 0.5); color: var(--danger); background: rgba(40, 14, 16, 0.7); }

/* Abmelden als unscheinbares Formular im Kopf- und Fußbereich */
.link-form { display: inline; margin: 0; }
.link-form button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.link-form button:hover { color: var(--gold-2); }
.link-form button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Gestaltete Fehlerseite, wenn etwas schiefgeht */
body.error-page { display: flex; min-height: 100vh; align-items: center; }
body.error-page .wrap { width: min(100% - 30px, 640px); }
.error-panel { text-align: center; padding: 34px 28px; }
.error-panel h1 { margin: 6px 0 12px; }
.error-panel .btn { margin-top: 14px; }
.error-detail {
  text-align: left;
  overflow: auto;
  max-height: 40vh;
  padding: 12px;
  margin: 14px 0;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
}

.split { display: grid; grid-template-columns: 1fr 0.85fr; gap: 24px; align-items: stretch; margin: 30px 0; }
.split img.side { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Markt, Tabellen, Navigationen
   -------------------------------------------------------------------------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-grid .card { display: flex; flex-direction: column; }
.shop-grid .card .pad { display: flex; flex-direction: column; flex: 1; }
.shop-grid .card .price { margin-top: auto; }
.shop-grid img.shot { height: 210px; }
.price {
  font-family: var(--serif);
  color: var(--gold-2);
  font-size: 23px;
  margin: 10px 0;
  text-shadow: 0 0 22px rgba(233, 200, 119, 0.4);
}
.shop-grid select { width: 100%; margin-bottom: 10px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid rgba(198, 160, 90, 0.18); vertical-align: top; }
th {
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom-color: rgba(240, 208, 138, 0.5);
}
tbody tr:hover, tr:hover td { background: rgba(139, 92, 246, 0.08); }

.subnav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(198, 160, 90, 0.25); }
.subnav a {
  color: var(--muted);
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.subnav a:hover { color: var(--text); }
.subnav a.active { color: var(--gold-2); border-bottom-color: var(--gold); text-shadow: 0 0 16px rgba(233, 200, 119, 0.5); }

/* Seitenwechsel für lange Listen */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; }
.pager-item {
  display: inline-block;
  min-width: 34px;
  padding: 7px 10px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.pager-item:hover { color: var(--gold-2); border-color: rgba(198, 160, 90, 0.6); }
.pager-item.is-current { color: #0a0814; background: var(--gold); border-color: var(--gold); }
.pager-item.is-off { opacity: 0.45; border-style: dashed; }
.pager-total { margin-left: auto; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.pager + table, .pager + .empty { margin-top: 0; }

.search-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 18px;
}
.search-inline label { flex: 1 1 220px; margin: 0; }
.search-inline input { width: 100%; }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
footer.site-foot {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid rgba(198, 160, 90, 0.34);
  background: linear-gradient(180deg, rgba(9, 7, 18, 0), rgba(5, 4, 10, 0.92));
}
footer.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(240, 208, 138, 0.9), rgba(139, 92, 246, 0.8), transparent);
}
footer.site-foot .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding: 40px 0 26px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; align-self: start; }
.foot-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.45);
}
footer.site-foot strong {
  color: var(--text);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer.site-foot p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
footer.site-foot nav { display: flex; flex-direction: column; align-items: flex-start; }
footer.site-foot .kicker { margin-bottom: 12px; }
footer.site-foot a { color: var(--muted); padding: 4px 0; transition: color 0.16s ease, transform 0.16s ease; }
footer.site-foot a:hover { color: var(--gold-2); transform: translateX(3px); }
.foot-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(198, 160, 90, 0.16);
  color: rgba(167, 157, 198, 0.75);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Zonenband (Startseite)
   -------------------------------------------------------------------------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.zone .zone-in {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 54px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(6, 5, 12, 0.94));
}
.zone .zone-in .kicker { font-size: 10.5px; }
.zone h3 { margin: 8px 0 4px; font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em; }
.zone p { margin: 0; color: var(--muted); font-size: 14.5px; }
.zone:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.zone:hover img { transform: scale(1.07); }

/* --------------------------------------------------------------------------
   Einblend-Animation
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Mobil
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .wrap { width: min(100% - 30px, 1180px); }
  .grid, .shop-grid, .split, .feature, .news-list, .paths, .steps, .stats, .zone-grid, footer.site-foot .wrap { grid-template-columns: 1fr; }
  .hero.home, .hero.home img.cover { min-height: 0; height: auto; }
  .hero.home img.cover, .hero img.cover, .page-banner > img { height: 300px; }
  .hero .caption, .hero.home .caption { position: static; background: linear-gradient(180deg, rgba(10, 8, 20, 0.9), rgba(8, 6, 16, 0.98)); padding: 24px 20px 28px; }
  .hero .veil { display: none; }
  .hero::before, .hero::after { display: none; }
  .split img.side, .feature img { min-height: 240px; }
  .page-banner { min-height: 0; }
  .page-banner::before { display: none; }
  .page-banner .page-head { position: static; background: var(--panel); padding: 20px; }
  .section-head h2 { white-space: normal; }
  .nav-burger {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid rgba(198, 160, 90, 0.5);
    border-radius: 3px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: rgba(10, 8, 20, 0.9);
  }
  nav.primary {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: rgba(9, 7, 17, 0.98);
    border-bottom: 1px solid rgba(198, 160, 90, 0.35);
    padding: 10px 20px 16px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-toggle:checked ~ nav.primary { display: flex; }
  nav.primary a { padding: 12px 4px; border-bottom: 1px solid rgba(198, 160, 90, 0.15); }
  nav.primary a::after { display: none; }
  .bar { position: relative; flex-wrap: wrap; min-height: 70px; padding: 9px 0; gap: 16px; }
  .mast-tools { order: 3; width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-bottom: 10px; }
  .account-links { flex-wrap: wrap; }
  .lang-switch { flex-wrap: wrap; }
  .lang-switch select { min-width: 7rem; padding: 6px 8px; }
  .foot-brand { align-items: flex-start; }
  .feature .pad, .card .pad, .panel { padding: 18px; }
  /* Tabellen bekommen auf schmalen Screens eine eigene Scrollachse,
     statt die Seite horizontal zu sprengen. */
  .panel table, .split table, main table { display: block; overflow-x: auto; max-width: 100%; }
  .panel table th:first-child, .panel table td:first-child { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero.home img.cover { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
