/*
Theme Name: Ashes of Eden
Theme URI: https://ashes-of-eden.de/
Author: Ashes of Eden
Description: Eigenes WordPress-Theme fuer Ashes of Eden RedM Roleplay. Cineastische Landingpage, AoE-Portal, Lore, Regelwerke und rotierende Hintergruende.
Version: 0.16.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: ashes-of-eden
*/

:root {
  --aoe-obsidian: #060405;
  --aoe-shadow: #0d0809;
  --aoe-crimson: #5f0409;
  --aoe-blood: #8f0912;
  --aoe-inferno: #bd0a12;
  --aoe-ember: #ef513a;
  --aoe-gold: #8b5a24;
  --aoe-highlight: #e0b46c;
  --aoe-ivory: #f1dfc7;
  --aoe-bone: #b69a86;
  --aoe-line: rgba(224,180,108,.22);
  --aoe-panel: rgba(13,8,9,.78);
  --aoe-max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--aoe-obsidian); }
body {
  margin: 0;
  color: var(--aoe-ivory);
  background: var(--aoe-obsidian);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  min-height: 100vh;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.aoe-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #060405;
}
.aoe-bg__slide {
  position: absolute;
  inset: -2%;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 1.8s ease, transform 12s ease-out;
}
.aoe-bg__slide:nth-child(2) { background-size: min(72vw,900px); background-position: center 46%; }
.aoe-bg__slide.is-active { opacity: .25; transform: scale(1.055); }
.aoe-site { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; }
.aoe-main { flex: 1; }
.aoe-shell { width: min(calc(100% - 40px), var(--aoe-max)); margin-inline: auto; }

.aoe-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(6,4,5,.87);
  border-bottom: 1px solid var(--aoe-line);
  backdrop-filter: blur(14px);
}
.aoe-header__inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.aoe-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 260px; }
.aoe-brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(189,10,18,.36)); }
.aoe-brand strong { display:block; letter-spacing:.16em; font-size: 17px; }
.aoe-brand small { display:block; color: var(--aoe-bone); letter-spacing:.24em; font-size: 9px; margin-top:2px; }
.aoe-nav { margin-left: auto; }
.aoe-nav ul { list-style:none; margin:0; padding:0; }
.aoe-nav > ul { display:flex; align-items:center; gap: 4px; }
.aoe-nav li { position:relative; }
.aoe-nav a { display:block; text-decoration:none; padding: 14px 12px; font-size: 14px; color: #e7d5c0; transition: color .2s ease, background .2s ease; }
.aoe-nav a:hover, .aoe-nav li.is-open > a { color:#fff2df; background:rgba(143,9,18,.13); }
.aoe-nav .menu-item-has-children > a::after { content:"⌄"; margin-left:7px; color:var(--aoe-highlight); font-size:11px; }
.aoe-nav .sub-menu {
  position:absolute;
  top:100%; left:0;
  min-width:235px;
  padding: 8px;
  background:rgba(10,6,7,.98);
  border:1px solid var(--aoe-line);
  box-shadow:0 18px 45px rgba(0,0,0,.38);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:.2s ease;
}
.aoe-nav li.is-open > .sub-menu, .aoe-nav li:hover > .sub-menu { opacity:1; visibility:visible; transform:none; }
.aoe-nav .sub-menu a { padding:10px 12px; }
.aoe-nav-toggle { display:none; margin-left:auto; border:1px solid var(--aoe-line); color:var(--aoe-ivory); background:rgba(255,255,255,.03); padding:10px 12px; cursor:pointer; }

.aoe-hero {
  min-height: calc(100svh - 78px);
  display:grid;
  align-items:center;
  padding: 70px 0;
  background: linear-gradient(90deg, rgba(6,4,5,.88) 0%, rgba(6,4,5,.62) 45%, rgba(6,4,5,.22) 100%);
}
.aoe-hero__grid { display:grid; grid-template-columns: 1.03fr .97fr; gap: 54px; align-items:center; }
.aoe-hero__visual { position:relative; border:1px solid var(--aoe-line); min-height:540px; overflow:hidden; box-shadow:0 35px 90px rgba(0,0,0,.42); }
.aoe-hero__visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.aoe-hero__visual::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(6,4,5,.05), rgba(6,4,5,.48)); }
.aoe-eyebrow { color: var(--aoe-highlight); font-family: Arial, sans-serif; font-size: 11px; letter-spacing:.25em; text-transform:uppercase; margin-bottom:14px; }
.aoe-hero h1 { font-size: clamp(64px, 8vw, 118px); line-height:.83; margin:0 0 24px; letter-spacing:-.055em; font-weight:normal; }
.aoe-hero__tagline { font-size: clamp(20px,2.2vw,30px); color:#f0cda6; max-width:620px; margin:0 0 20px; }
.aoe-lead { color:#ceb6a2; font-size:18px; max-width:700px; }
.aoe-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.aoe-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border:1px solid rgba(224,180,108,.46); background:linear-gradient(180deg,#801018,#5e070d); color:#fff1df; text-decoration:none; text-transform:uppercase; letter-spacing:.12em; font-family:Arial,sans-serif; font-size:11px; transition:.2s ease; }
.aoe-button:hover { transform:translateY(-1px); box-shadow:0 10px 30px rgba(143,9,18,.22); }
.aoe-button--ghost { background:rgba(255,255,255,.025); color:var(--aoe-ivory); }

.aoe-section { padding: 95px 0; background: linear-gradient(180deg, rgba(13,8,9,.77), rgba(9,6,7,.73)); border-top:1px solid rgba(224,180,108,.08); }
.aoe-section:nth-of-type(even) { background: linear-gradient(180deg, rgba(7,5,6,.74), rgba(16,8,10,.76)); }
.aoe-split { display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.aoe-section h2, .aoe-page-title { font-size:clamp(38px,5vw,68px); line-height:1.02; font-weight:normal; margin:0 0 24px; }
.aoe-principles { display:grid; gap:14px; margin-top:30px; }
.aoe-principles div { border-left:1px solid var(--aoe-highlight); padding:8px 0 8px 16px; }
.aoe-principles b { display:block; font-family:Arial,sans-serif; font-size:11px; letter-spacing:.16em; color:#f0cda6; }
.aoe-principles span { color:var(--aoe-bone); }
.aoe-feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:40px; }
.aoe-card { min-height:220px; border:1px solid var(--aoe-line); background:rgba(7,5,6,.55); padding:26px; }
.aoe-card > span { color:var(--aoe-highlight); font-family:Arial,sans-serif; font-size:10px; letter-spacing:.2em; }
.aoe-card h3 { font-size:25px; margin:34px 0 10px; font-weight:normal; }
.aoe-card p { color:var(--aoe-bone); margin:0; }
.aoe-news-grid { display:grid; grid-template-columns:1.4fr .6fr; gap:30px; }
.aoe-news-grid article { border-top:1px solid var(--aoe-line); padding-top:24px; }
.aoe-news-grid time { color:var(--aoe-highlight); font-family:Arial,sans-serif; font-size:10px; letter-spacing:.16em; }
.aoe-news-grid h3 { font-size:30px; font-weight:normal; margin:12px 0; }

.aoe-page-hero { padding: 95px 0 65px; background:linear-gradient(180deg,rgba(10,6,8,.68),rgba(6,4,5,.82)); border-bottom:1px solid var(--aoe-line); }
.aoe-page-content { padding:70px 0 100px; background:rgba(8,5,6,.75); }
.aoe-prose { max-width:880px; color:#d8c2ae; font-size:18px; }
.aoe-prose h2 { color:var(--aoe-ivory); font-size:40px; font-weight:normal; margin-top:50px; }
.aoe-prose h3 { color:#efd2ae; font-size:26px; font-weight:normal; margin-top:34px; }
.aoe-prose a { color:var(--aoe-highlight); }
.aoe-prose blockquote { border-left:2px solid var(--aoe-blood); margin:30px 0; padding:10px 0 10px 24px; color:#efd6bd; }

.aoe-footer { width:100%; margin:0; background:rgba(5,3,4,.96); border-top:1px solid var(--aoe-line); }
.aoe-footer__inner { display:grid; grid-template-columns:1fr auto; gap:40px; padding:42px 0; align-items:end; }
.aoe-footer__brand { display:flex; align-items:center; gap:14px; }
.aoe-footer__brand img { width:54px; height:54px; object-fit:contain; }
.aoe-footer__brand strong { display:block; letter-spacing:.15em; }
.aoe-footer__brand span { display:block; color:var(--aoe-bone); font-size:13px; }
.aoe-footer nav { display:flex; gap:18px; flex-wrap:wrap; justify-content:flex-end; }
.aoe-footer nav a { color:var(--aoe-bone); text-decoration:none; font-size:13px; }
.aoe-footer nav a:hover { color:var(--aoe-highlight); }
.aoe-footer__bottom { border-top:1px solid rgba(224,180,108,.08); padding:14px 0 18px; color:#806f64; font-family:Arial,sans-serif; font-size:10px; letter-spacing:.08em; }

.aoe-form { max-width:760px; display:grid; gap:18px; }
.aoe-field label { display:block; color:#efd3b1; margin-bottom:6px; font-size:14px; }
.aoe-field input, .aoe-field textarea, .aoe-field select { width:100%; border:1px solid var(--aoe-line); color:var(--aoe-ivory); background:rgba(5,3,4,.72); padding:13px 14px; border-radius:0; }
.aoe-field textarea { min-height:160px; resize:vertical; }
.aoe-notice { border:1px solid var(--aoe-line); background:rgba(95,4,9,.15); padding:16px 18px; margin-bottom:22px; }
.aoe-notice--success { border-color:rgba(116,168,111,.42); background:rgba(41,82,43,.16); }

@media (max-width: 980px) {
  .aoe-nav-toggle { display:block; }
  .aoe-nav { position:fixed; top:78px; left:0; right:0; bottom:0; padding:20px; background:rgba(5,3,4,.98); transform:translateX(100%); transition:.25s ease; overflow:auto; }
  body.nav-open .aoe-nav { transform:none; }
  .aoe-nav > ul { display:block; }
  .aoe-nav a { padding:14px 4px; border-bottom:1px solid rgba(224,180,108,.08); }
  .aoe-nav .sub-menu { position:static; min-width:0; padding:0 0 0 18px; border:0; box-shadow:none; background:transparent; display:none; opacity:1; visibility:visible; transform:none; }
  .aoe-nav li.is-open > .sub-menu { display:block; }
  .aoe-hero__grid, .aoe-split, .aoe-news-grid { grid-template-columns:1fr; }
  .aoe-hero__visual { min-height:420px; order:2; }
  .aoe-feature-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
  .aoe-shell { width:min(calc(100% - 28px), var(--aoe-max)); }
  .aoe-brand { min-width:0; }
  .aoe-brand strong { font-size:14px; }
  .aoe-brand small { display:none; }
  .aoe-hero { padding:45px 0; }
  .aoe-hero h1 { font-size:62px; }
  .aoe-hero__visual { min-height:320px; }
  .aoe-section { padding:68px 0; }
  .aoe-feature-grid { grid-template-columns:1fr; }
  .aoe-footer__inner { grid-template-columns:1fr; }
  .aoe-footer nav { justify-content:flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .aoe-bg__slide { transition:opacity .01ms linear; transform:none!important; }
}


.aoe-page-intro { max-width: 940px; margin-bottom: 34px; }
.aoe-mystic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.aoe-mystic-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--aoe-line);
  background: rgba(7,5,6,.6);
  box-shadow: 0 22px 48px rgba(0,0,0,.32);
}
.aoe-mystic-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}
.aoe-mystic-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(5,3,4,0) 0%, rgba(5,3,4,.3) 18%, rgba(5,3,4,.92) 100%);
}
.aoe-mystic-card__overlay h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--aoe-ivory);
}
.aoe-mystic-card__overlay p {
  margin: 0;
  color: #d8bf9f;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.aoe-mystic-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(189,10,18,.12), rgba(6,4,5,.94) 62%),
    linear-gradient(180deg, rgba(10,6,8,.85), rgba(6,4,5,.96));
}
.aoe-mystic-card__placeholder {
  padding: 34px 26px;
  text-align: center;
}
.aoe-mystic-card__placeholder img {
  width: min(150px, 48%);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 28px rgba(189,10,18,.22));
}
.aoe-mystic-card__placeholder h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: normal;
}
.aoe-mystic-card__placeholder p {
  margin: 0;
  color: var(--aoe-bone);
  font-size: 16px;
}
.aoe-rules-layout { max-width: 980px; }
.aoe-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 24px;
}
.aoe-card--rules { min-height: 0; }
.aoe-inline-apple {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--aoe-line);
  background: rgba(7,5,6,.55);
}
.aoe-inline-apple img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
}
.aoe-inline-apple p { margin: 0; }
@media (max-width: 980px) {
  .aoe-mystic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .aoe-mystic-grid, .aoe-rules-grid { grid-template-columns: 1fr; }
  .aoe-inline-apple { flex-direction: column; text-align: center; }
}


.aoe-mystic-copy { max-width: 100%; margin-top: 70px; }
.aoe-mystic-become { max-width: 1080px; }
.aoe-mystic-become > h2 { margin-top: 0; }
.aoe-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.aoe-process-step {
  border: 1px solid var(--aoe-line);
  background: linear-gradient(180deg, rgba(13,8,9,.72), rgba(6,4,5,.72));
  padding: 24px;
}
.aoe-process-step > span {
  color: var(--aoe-highlight);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
}
.aoe-process-step h3 { margin: 12px 0 9px; font-size: 25px; }
.aoe-process-step p { margin: 0; color: var(--aoe-bone); font-size: 16px; }
.aoe-mystic-note {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--aoe-inferno);
  border-top: 1px solid var(--aoe-line);
  border-right: 1px solid var(--aoe-line);
  border-bottom: 1px solid var(--aoe-line);
  background: rgba(95,4,9,.16);
  color: #ead2ba;
}
.aoe-mystic-questions { margin-top: 52px; }
.aoe-question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.aoe-question-grid article {
  border-top: 1px solid var(--aoe-highlight);
  padding-top: 16px;
}
.aoe-question-grid b {
  color: #efd2ae;
  font-family: Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: 12px;
}
.aoe-question-grid p { color: var(--aoe-bone); font-size: 16px; }
.aoe-rules-doc { max-width: 960px; }
.aoe-rules-lead {
  font-size: 20px;
  color: #ead2ba;
  border-bottom: 1px solid var(--aoe-line);
  padding-bottom: 28px;
  margin-bottom: 44px;
}
.aoe-rules-doc h2 {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(224,180,108,.16);
}
.aoe-rules-doc h3 { margin-top: 24px; }
.aoe-rules-doc p { color: #d8c2ae; }
@media (max-width: 760px) {
  .aoe-process-grid, .aoe-question-grid { grid-template-columns: 1fr; }
}


.aoe-rules-grid--overview { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 34px 0; }
.aoe-rules-doc > h2 { scroll-margin-top: 110px; }
.aoe-rules-doc > h2:not(:first-of-type) { margin-top: 58px; padding-top: 8px; border-top: 1px solid rgba(224,180,108,.11); }
.aoe-rules-doc > h3 { margin-bottom: 8px; }
.aoe-rules-doc > h3 + p { margin-top: 0; }
@media (max-width: 640px) { .aoe-rules-grid--overview { grid-template-columns: 1fr; } }


/* Lore v0.6 */
.aoe-lore-hero {
  position: relative;
  overflow: hidden;
  padding-top: 125px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 76% 42%, rgba(143,9,18,.15), transparent 36%),
    linear-gradient(180deg, rgba(8,5,6,.58), rgba(6,4,5,.92));
}
.aoe-lore-hero::after {
  content: "";
  position: absolute;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  right: 5vw;
  top: 50%;
  transform: translateY(-48%);
  background: url('assets/images/aoe-apple.png') center/contain no-repeat;
  opacity: .08;
  filter: saturate(.7);
  pointer-events: none;
}
.aoe-lore-hero__lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 8px 0 0;
  color: #e4c9ad;
  font-size: clamp(20px, 2.5vw, 31px);
}
.aoe-lore-index__intro {
  max-width: 920px;
  margin-bottom: 44px;
  color: #d8c2ae;
  font-size: 18px;
}
.aoe-lore-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.aoe-lore-nav-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--aoe-line);
  background: linear-gradient(145deg, rgba(13,8,9,.76), rgba(6,4,5,.74));
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
a.aoe-lore-nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224,180,108,.48);
  background: linear-gradient(145deg, rgba(24,10,12,.84), rgba(6,4,5,.82));
}
.aoe-lore-nav-card > span {
  display: block;
  color: var(--aoe-highlight);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
}
.aoe-lore-nav-card h2 {
  margin: 34px 0 12px;
  color: var(--aoe-ivory);
  font-size: clamp(28px, 3vw, 39px);
  font-weight: normal;
  line-height: 1.05;
}
.aoe-lore-nav-card p { margin: 0; color: var(--aoe-bone); font-size: 16px; }
.aoe-lore-nav-card small {
  display: block;
  margin-top: 16px;
  color: #806f64;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.aoe-lore-nav-card--mystic {
  background: radial-gradient(circle at 80% 20%, rgba(95,4,9,.24), transparent 42%), linear-gradient(145deg, rgba(13,8,9,.82), rgba(6,4,5,.76));
}
.aoe-lore-nav-card--danger {
  border-color: rgba(143,9,18,.28);
  background:
    radial-gradient(circle at 50% 120%, rgba(143,9,18,.22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.01) 0 1px, transparent 1px 13px),
    rgba(5,3,4,.9);
}
.aoe-lore-nav-card--danger h2 { color: #d8c0aa; }
.aoe-lore-index__closing {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 820px;
  margin: 72px auto 10px;
  padding-top: 36px;
  border-top: 1px solid var(--aoe-line);
}
.aoe-lore-index__closing img { width: 92px; height: 92px; object-fit: contain; flex: 0 0 auto; opacity: .88; }
.aoe-lore-index__closing blockquote { margin: 0; color: #e6ccb1; font-size: clamp(22px, 3vw, 34px); line-height: 1.25; }
.aoe-lore-chapter { max-width: 900px; }
.aoe-lore-lead {
  color: #ead2ba;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.5;
  margin: 0 0 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--aoe-line);
}
.aoe-lore-chapter h2 {
  margin-top: 56px;
  color: var(--aoe-ivory);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: normal;
}
.aoe-lore-chapter p { color: #d8c2ae; }
.aoe-lore-quote {
  margin: 52px 0 16px;
  padding: 28px 30px;
  border-left: 2px solid var(--aoe-inferno);
  background: linear-gradient(90deg, rgba(95,4,9,.14), rgba(6,4,5,.04));
  color: #f0d6ba;
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
}
.aoe-danger-teaser {
  position: relative;
  margin: 48px 0 30px;
  padding: 30px;
  border: 1px solid rgba(143,9,18,.34);
  background:
    radial-gradient(circle at 84% 15%, rgba(143,9,18,.18), transparent 40%),
    rgba(6,4,5,.72);
  box-shadow: inset 0 0 60px rgba(0,0,0,.25);
}
.aoe-danger-teaser h3 { margin: 8px 0 14px; color: #ead2ba; font-size: 32px; font-weight: normal; }
.aoe-danger-teaser p { margin-bottom: 18px; }
.aoe-danger-teaser span {
  color: #8f7b6f;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.aoe-lore-ooc {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(224,180,108,.14);
  color: #a78e7b !important;
  font-size: 14px;
}
@media (max-width: 760px) {
  .aoe-lore-nav-grid { grid-template-columns: 1fr; }
  .aoe-lore-nav-card { min-height: 0; }
  .aoe-lore-index__closing { align-items: flex-start; }
  .aoe-lore-hero::after { width: 72vw; right: -20vw; }
}


/* v0.7 Store & Rechtliches */
.aoe-store-intro { max-width: 900px; margin-bottom: 34px; }
.aoe-store-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; margin:28px 0 38px; }
.aoe-store-card { position:relative; padding:34px; min-height:320px; border:1px solid var(--aoe-line); background:linear-gradient(180deg,rgba(15,8,10,.82),rgba(7,5,6,.9)); box-shadow:0 24px 60px rgba(0,0,0,.32); overflow:hidden; }
.aoe-store-card::before { content:""; position:absolute; width:220px; height:220px; border-radius:50%; right:-70px; top:-80px; background:radial-gradient(circle,rgba(189,10,18,.24),rgba(189,10,18,0) 68%); pointer-events:none; }
.aoe-store-card h2 { margin:8px 0 14px; font-size:38px; font-weight:normal; }
.aoe-store-card p { color:var(--aoe-bone); font-size:17px; max-width:540px; }
.aoe-store-card .aoe-button { margin-top:18px; }
.aoe-store-note { padding:20px 22px; border:1px solid var(--aoe-line); background:rgba(95,4,9,.12); color:#d7c0aa; }
.aoe-store-note strong { color:var(--aoe-ivory); }
.aoe-legal { max-width:920px; }
.aoe-legal h2 { margin-top:46px; font-size:34px; }
.aoe-legal h3 { margin-top:28px; font-size:24px; }
.aoe-legal address { font-style:normal; padding:18px 20px; border-left:2px solid var(--aoe-highlight); background:rgba(7,5,6,.55); }
.aoe-legal .aoe-legal-warning { border:1px solid rgba(239,81,58,.45); background:rgba(143,9,18,.16); padding:16px 18px; margin:0 0 28px; }
.aoe-legal code { color:#f4d4a9; }
@media (max-width:780px){ .aoe-store-grid{grid-template-columns:1fr;} .aoe-store-card{min-height:0;padding:26px;} }


/* Kontaktformular */
.aoe-contact-layout { display:grid; grid-template-columns:minmax(0, 1fr) 330px; gap:48px; align-items:start; }
.aoe-contact-side { border:1px solid var(--aoe-line); background:rgba(7,5,6,.56); padding:26px; }
.aoe-contact-side h2 { margin-top:0; font-size:30px; font-weight:normal; }
.aoe-contact-side p { color:var(--aoe-bone); }
.aoe-contact-side a { color:var(--aoe-highlight); }
.aoe-form__row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.aoe-field--check label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; color:var(--aoe-bone); }
.aoe-field--check input { width:auto; margin-top:5px; flex:0 0 auto; }
.aoe-field--check a { color:var(--aoe-highlight); }
.aoe-form-note { color:var(--aoe-bone); font-size:14px; margin:0; }
.aoe-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.aoe-notice--error { border-color:rgba(239,81,58,.5); background:rgba(95,4,9,.22); }
@media (max-width: 900px) { .aoe-contact-layout { grid-template-columns:1fr; } }
@media (max-width: 640px) { .aoe-form__row { grid-template-columns:1fr; } }


/* v0.9 Social Media & Rechtliches */
.aoe-footer__right { display:flex; flex-direction:column; align-items:flex-end; gap:16px; }
.aoe-social-links { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.aoe-social-link {
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--aoe-line);
  background:rgba(255,255,255,.025);
  color:var(--aoe-bone);
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.aoe-social-link:hover,
.aoe-social-link:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(224,180,108,.55);
  color:var(--aoe-ivory);
  background:rgba(143,9,18,.16);
  outline:none;
}
.aoe-social-link svg { width:22px; height:22px; display:block; }
.aoe-social-links--contact { margin-top:18px; }
.aoe-social-links--contact .aoe-social-link { width:48px; height:48px; }
.aoe-legal-socials { display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 10px; }
.aoe-legal-socials a {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid var(--aoe-line);
  color:var(--aoe-highlight);
  text-decoration:none;
  font-family:Arial,sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.aoe-legal-socials a:hover { background:rgba(143,9,18,.14); color:var(--aoe-ivory); }
.screen-reader-text {
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute!important;
  width:1px;
  word-wrap:normal!important;
}
@media (max-width:640px) {
  .aoe-footer__right { align-items:flex-start; }
}


/* v0.13 Mystic Klassen, Leywächter & Scroll-Effekte */
.aoe-mystic-card { color: inherit; text-decoration: none; }
a.aoe-mystic-card { cursor: pointer; }
a.aoe-mystic-card:hover,
a.aoe-mystic-card:focus-visible {
  border-color: rgba(224,180,108,.55);
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  outline: none;
}
a.aoe-mystic-card .aoe-mystic-card__image { transition: transform .65s ease, filter .65s ease; }
a.aoe-mystic-card:hover .aoe-mystic-card__image,
a.aoe-mystic-card:focus-visible .aoe-mystic-card__image { transform: scale(1.035); filter: brightness(1.08); }
.aoe-mystic-card__more {
  display: inline-block;
  margin-top: 12px;
  color: var(--aoe-highlight);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.aoe-mystic-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-bottom: 1px solid var(--aoe-line);
  background: linear-gradient(110deg, rgba(6,4,5,.96), rgba(13,8,9,.84));
}
.aoe-mystic-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(143,9,18,.14), transparent 42%);
  pointer-events: none;
}
.aoe-mystic-detail-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px,.82fr) 1.18fr;
  gap: 62px;
  align-items: center;
}
.aoe-mystic-detail-hero__image {
  border: 1px solid var(--aoe-line);
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  overflow: hidden;
}
.aoe-mystic-detail-hero__image img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; }
.aoe-mystic-detail-subtitle {
  color: var(--aoe-highlight);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: -6px 0 28px;
}
.aoe-placeholder-copy {
  color: var(--aoe-bone);
  font-style: italic;
  letter-spacing: .06em;
}
.aoe-mystic-jumpbar {
  position: sticky;
  top: 78px;
  z-index: 700;
  border-bottom: 1px solid var(--aoe-line);
  background: rgba(6,4,5,.92);
  backdrop-filter: blur(14px);
}
.aoe-mystic-jumpbar__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.aoe-mystic-jumpbar__inner > span {
  color: #806f64;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-right: 10px;
  white-space: nowrap;
}
.aoe-mystic-jumpbar a {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 12px 15px;
  color: var(--aoe-bone);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}
.aoe-mystic-jumpbar a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--aoe-highlight);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.aoe-mystic-jumpbar a:hover,
.aoe-mystic-jumpbar a.is-active { color: var(--aoe-ivory); background: rgba(143,9,18,.1); }
.aoe-mystic-jumpbar a.is-active::after { transform: scaleX(1); }
.aoe-mystic-jumpbar__back { margin-left: auto; }
.aoe-mystic-detail-copy { max-width: 980px; }
.aoe-mystic-detail-section {
  scroll-margin-top: 160px;
  min-height: 360px;
  padding: 58px 0 64px;
  border-bottom: 1px solid rgba(224,180,108,.12);
}
.aoe-mystic-detail-section:first-child { padding-top: 8px; }
.aoe-mystic-detail-section h2 { margin-top: 8px; font-size: clamp(40px,5vw,58px); }
.aoe-mystic-detail-section .aoe-placeholder-copy {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid rgba(224,180,108,.18);
  background: rgba(255,255,255,.02);
}
.aoe-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.aoe-reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .aoe-mystic-detail-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .aoe-mystic-detail-hero__image { max-width: 620px; }
  .aoe-mystic-jumpbar { top: 78px; }
}
@media (max-width: 640px) {
  .aoe-mystic-detail-hero { padding: 46px 0; }
  .aoe-mystic-jumpbar__inner > span { display:none; }
  .aoe-mystic-jumpbar__back { margin-left: 0; }
  .aoe-mystic-detail-section { min-height: 300px; padding: 44px 0 50px; scroll-margin-top: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  .aoe-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  a.aoe-mystic-card .aoe-mystic-card__image { transition: none !important; }
}


/* v0.14 Team-Feedback: Typografie, Navigation, Lore & Regelwerke */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}
h1, h2, h3, h4, h5, h6,
.aoe-page-title,
.aoe-hero__tagline,
.aoe-lore-hero__lead,
.aoe-lore-lead,
.aoe-lore-quote,
.aoe-brand strong,
.aoe-footer__brand strong {
  font-family: Georgia, "Times New Roman", serif;
}

/* Landing-Monogram als einheitliches Website-Logo */
.aoe-brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,167,125,.4);
  border-radius: 50%;
  color: var(--aoe-highlight);
  background: rgba(255,255,255,.015);
  box-shadow: 0 0 20px rgba(189,10,18,.12);
  font: 400 31px/1 Georgia, "Times New Roman", serif;
}
.aoe-brand-mark > span { display:block; transform:scaleX(.86) translateY(-1px); transform-origin:center; }
.aoe-brand-mark--footer { width:54px; height:54px; flex-basis:54px; font-size:32px; }
.aoe-brand small,
.aoe-footer__brand span { font-family: Arial, Helvetica, sans-serif; }

/* Apfel-Hintergrund etwas tiefer, damit Krone/Blatt nicht unter der Navigation hängen. */
.aoe-bg__slide:nth-child(2) { background-position: center 59%; }

/* Navigation ruhiger und Pfeile optisch höher. */
.aoe-nav a { font-family: Arial, Helvetica, sans-serif; }
.aoe-nav .menu-item-has-children > a::after {
  display: inline-block;
  transform: translateY(-2px);
}

/* Startseite */
.aoe-hero__grid { align-items: stretch; }
.aoe-hero__visual { min-height: 0; height: auto; }
.aoe-hero h1 { letter-spacing: .025em; }
.aoe-hero__tagline { line-height: 1.24; }
.aoe-hero .aoe-lead { line-height: 1.5; }

/* Footer */
.aoe-footer nav { align-items: center; }
.aoe-footer-separator { color:#806f64; line-height:1; font-size:14px; }
.aoe-social-link--discord svg { width:25px; height:25px; transform: translateY(.5px); }

/* Lore: klarere Hierarchie zwischen Überschrift, Copy und den einzelnen Blöcken. */
.aoe-lore-lead { line-height: 1.32; }
.aoe-lore-chapter h2 {
  margin-top: 70px;
  margin-bottom: 12px;
  padding-top: 34px;
  border-top: 1px solid rgba(224,180,108,.13);
}
.aoe-lore-chapter .aoe-lore-lead + h2 {
  margin-top: 44px;
  padding-top: 0;
  border-top: 0;
}
.aoe-lore-chapter h2 + p { margin-top: 0; }
.aoe-lore-quote { line-height: 1.28; }
.aoe-danger-teaser h3 { margin-top: 0; }

/* Mystic */
.aoe-mystic-grid + .aoe-mystic-copy { margin-top: 112px; }
.aoe-mystic-note + .aoe-mystic-questions { margin-top: 82px; }
.aoe-mystic-apply { margin-top: 28px; }
.aoe-mystic-jumpbar__inner { padding-left: 0; }

/* Regelwerke: gleiche Luft ober- und unterhalb der Trenner, Copy in Sans-Serif. */
.aoe-rules-doc,
.aoe-rules-doc p,
.aoe-rules-lead { font-family: Arial, Helvetica, sans-serif; }
.aoe-rules-doc h2,
.aoe-rules-doc h3 { font-family: Georgia, "Times New Roman", serif; }
.aoe-rules-doc > h2:not(:first-of-type) {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid rgba(224,180,108,.13);
}
.aoe-rules-doc > h3 + p { margin-top: 5px; }

/* Neuigkeiten: Headlines klassisch, Fließtext ruhiger in Arial. */
.aoe-news-grid article,
.aoe-news-grid article p { font-family: Arial, Helvetica, sans-serif; }
.aoe-news-grid h3 { font-family: Georgia, "Times New Roman", serif; line-height:1.18; }

@media (max-width: 980px) {
  .aoe-hero__visual { min-height: 420px; height: auto; }
}
@media (max-width: 640px) {
  .aoe-brand-mark { width:44px; height:44px; flex-basis:44px; font-size:27px; }
  .aoe-footer__brand { align-items:flex-start; }
  .aoe-footer-separator { display:inline-block; }
}


/* v0.15 · Klassenkodex Inhalte */
.aoe-mystic-detail-intro {
  max-width: 660px;
  margin: 18px 0 0;
  color: #d8c2ae;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
.aoe-mystic-kodex-meta {
  max-width: 980px;
  margin: 0 0 42px;
}
.aoe-mystic-kodex-copy .aoe-mystic-detail-section {
  scroll-margin-top: 150px;
}
.aoe-mystic-kodex-copy .aoe-mystic-detail-section h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}
.aoe-mystic-kodex-copy ol,
.aoe-mystic-kodex-copy ul {
  padding-left: 1.4rem;
}
.aoe-mystic-kodex-copy li {
  margin: 0 0 16px;
  padding-left: .25rem;
}
.aoe-mystic-kodex-copy li > p {
  margin: 0;
}
.aoe-mystic-kodex-copy strong {
  color: #f0d3ae;
}


/* v0.16 footer apple mark */
.aoe-footer__apple {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 58px;
  filter: drop-shadow(0 0 14px rgba(143,9,18,.28));
}
@media (max-width: 640px) {
  .aoe-footer__apple { width: 52px; height: 52px; flex-basis: 52px; }
}
