
:root{
  --bg:#050505;--bg2:#090806;--panel:rgba(13,12,10,.88);--panel2:rgba(18,15,10,.82);
  --text:#eee9de;--muted:#a59d8e;--gold:#d7b36a;--gold2:#a77b37;--gold3:#705226;
  --line:rgba(215,179,106,.25);--line2:rgba(215,179,106,.10);--shadow:rgba(0,0,0,.55);
  --max:1180px;--radius:20px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% -10%,rgba(142,98,30,.13),transparent 32%),linear-gradient(180deg,#060504,#030303 58%,#050403);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;min-height:100vh}
body:before{content:"";position:fixed;inset:0;z-index:9999;pointer-events:none;border:1px solid rgba(215,179,106,.60);box-shadow:inset 0 0 0 1px rgba(215,179,106,.055),inset 0 0 80px rgba(123,83,25,.035)}
a{color:inherit}.wrap{width:min(var(--max),calc(100% - 36px));margin:0 auto}
.lore-head{position:sticky;top:0;z-index:50;background:rgba(5,5,4,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);box-shadow:0 12px 35px rgba(0,0,0,.25)}
.head-row{min-height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.back{justify-self:start;display:inline-flex;align-items:center;gap:9px;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:#d4c5a5;background:rgba(215,179,106,.045);font-size:.82rem;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}.back:hover{border-color:rgba(215,179,106,.6);background:rgba(215,179,106,.09);color:#fff5dc}.back svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.lore-brand{text-align:center;text-decoration:none}.lore-brand span{display:block;color:var(--gold);font-family:Georgia,"Times New Roman",serif;letter-spacing:.24em;font-size:1.05rem}.lore-brand small{display:block;color:#7e725e;letter-spacing:.28em;font-size:.58rem;text-transform:uppercase;margin-top:1px}
.inner-nav{justify-self:end;display:flex;align-items:center;gap:5px}.inner-nav a{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;text-decoration:none;color:#897b62;border:1px solid transparent}.inner-nav a:hover,.inner-nav a.active{color:var(--gold);border-color:var(--line);background:rgba(215,179,106,.055)}.inner-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.55}
.hero{position:relative;min-height:520px;display:flex;align-items:flex-end;overflow:hidden;border-bottom:1px solid var(--line)}.hero-bg{position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(3,3,3,.12),rgba(4,3,2,.50) 55%,#050403 100%),var(--hero);background-size:cover;background-position:center}.hero-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,transparent 20%,rgba(0,0,0,.42) 100%)}.hero-content{position:relative;z-index:2;padding:95px 0 58px;max-width:830px}.eyebrow{color:var(--gold);letter-spacing:.22em;text-transform:uppercase;font-size:.73rem;font-weight:650}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,8vw,6.5rem);font-weight:500;letter-spacing:.025em;line-height:.95;margin:14px 0 22px;text-shadow:0 4px 30px #000}.hero p{max-width:760px;color:#c9c0b0;font-size:1.08rem;margin:0}.gold-rule{height:1px;background:linear-gradient(90deg,transparent,var(--gold2),transparent);opacity:.6}
main{padding:54px 0 80px}.section{margin:0 0 58px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.section-head h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.2rem);font-weight:500;margin:5px 0 0}.section-head p{color:var(--muted);max-width:590px;margin:0}.micro{font-size:.67rem;letter-spacing:.20em;text-transform:uppercase;color:#8e7c5b}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid.two{grid-template-columns:repeat(2,1fr)}.card{position:relative;background:linear-gradient(145deg,rgba(21,18,13,.83),rgba(8,8,7,.92));border:1px solid var(--line);border-radius:var(--radius);padding:24px;text-decoration:none;overflow:hidden;min-height:190px;box-shadow:0 18px 45px rgba(0,0,0,.18)}.card:before{content:"";position:absolute;left:0;top:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,rgba(215,179,106,.55),transparent);opacity:.45}.card:hover{border-color:rgba(215,179,106,.48);transform:translateY(-2px);transition:.18s ease}.card .num{font-family:Georgia,"Times New Roman",serif;color:rgba(215,179,106,.28);font-size:2.1rem;line-height:1}.card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;margin:14px 0 8px;font-weight:500;color:#f3ead8}.card p{margin:0;color:var(--muted);font-size:.94rem}.arrow{position:absolute;right:20px;top:20px;color:var(--gold);opacity:.72}.tagrow{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.tag{border:1px solid var(--line2);background:rgba(215,179,106,.035);border-radius:999px;padding:4px 9px;font-size:.68rem;letter-spacing:.07em;color:#a89775;text-transform:uppercase}
.story{display:grid;grid-template-columns:170px 1fr;gap:30px;padding:26px 0;border-top:1px solid var(--line2)}.story:last-child{border-bottom:1px solid var(--line2)}.story .year{color:var(--gold);font-family:Georgia,"Times New Roman",serif;font-size:1.15rem}.story h3{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;font-weight:500}.story p{margin:0;color:var(--muted)}
.quote{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:radial-gradient(circle at 50% 0,rgba(170,117,36,.12),transparent 60%),rgba(10,9,7,.84);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.4rem,3vw,2.15rem);text-align:center;color:#ead9b8;letter-spacing:.02em}.quote small{display:block;margin-top:12px;font-family:Inter,system-ui,sans-serif;font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;color:#8c7a59}
.char-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.char{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(160deg,rgba(23,19,12,.87),rgba(7,7,7,.94));padding:25px;min-height:270px}.sigil{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(215,179,106,.42);box-shadow:inset 0 0 24px rgba(215,179,106,.06);font-family:Georgia,"Times New Roman",serif;color:var(--gold);font-size:1.2rem;letter-spacing:.06em}.char h3{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;font-weight:500;margin:17px 0 4px}.role{font-size:.69rem;text-transform:uppercase;letter-spacing:.17em;color:#a88e5e}.char p{color:var(--muted);font-size:.92rem}.char .more{display:inline-block;margin-top:8px;color:#cab27f;text-decoration:none;font-size:.8rem;border-bottom:1px solid rgba(215,179,106,.25)}
.place{min-height:310px;display:flex;align-items:flex-end;background-size:cover;background-position:center;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);position:relative}.place:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.87))}.place>div{position:relative;padding:25px}.place h3{font-family:Georgia,"Times New Roman",serif;font-size:1.7rem;font-weight:500;margin:5px 0}.place p{color:#bbb09e;margin:0}
.dictionary-tools{display:flex;gap:12px;margin:0 0 20px}.search{width:100%;background:rgba(9,8,6,.9);border:1px solid var(--line);border-radius:15px;padding:14px 16px;color:var(--text);outline:none;font:inherit}.search:focus{border-color:rgba(215,179,106,.62);box-shadow:0 0 0 3px rgba(215,179,106,.06)}.dict{display:grid;gap:10px}.term{border:1px solid var(--line2);background:rgba(11,10,8,.8);border-radius:16px;padding:18px 20px;display:grid;grid-template-columns:190px 1fr;gap:22px;scroll-margin-top:100px}.term strong{font-family:Georgia,"Times New Roman",serif;color:#e8d3a7;font-size:1.14rem}.term p{margin:0;color:var(--muted)}.term .kind{display:block;font-family:Inter,system-ui,sans-serif;font-size:.61rem;text-transform:uppercase;letter-spacing:.14em;color:#806e50;margin-top:3px}
.details{display:grid;gap:10px}details{border:1px solid var(--line);border-radius:16px;background:rgba(11,10,8,.82);overflow:hidden}summary{cursor:pointer;list-style:none;padding:18px 20px;font-family:Georgia,"Times New Roman",serif;font-size:1.16rem;color:#e7d5b0;display:flex;align-items:center;justify-content:space-between;gap:12px}summary::-webkit-details-marker{display:none}summary:after{content:"+";font-family:Inter,system-ui,sans-serif;color:var(--gold);font-size:1.15rem}details[open] summary:after{content:"–"}.detail-body{padding:0 20px 20px;color:var(--muted);border-top:1px solid var(--line2)}.detail-body p:last-child{margin-bottom:0}
.lore-foot{border-top:1px solid var(--line);padding:28px 0 34px;color:#776d5b;font-size:.76rem}.footrow{display:flex;justify-content:space-between;gap:20px;align-items:center}.footrow a{color:#9d8964;text-decoration:none}.footrow a:hover{color:var(--gold)}
@media(max-width:900px){.grid,.char-grid{grid-template-columns:repeat(2,1fr)}.head-row{grid-template-columns:auto 1fr auto}.lore-brand span{font-size:.9rem}.inner-nav a:nth-child(n+5){display:none}.story{grid-template-columns:1fr;gap:8px}.term{grid-template-columns:1fr;gap:6px}}
@media(max-width:620px){.wrap{width:min(100% - 24px,var(--max))}.head-row{min-height:68px}.back{padding:8px 10px}.back span{display:none}.lore-brand small{display:none}.inner-nav{gap:0}.inner-nav a{width:33px;height:33px}.hero{min-height:430px}.hero-content{padding-bottom:40px}.grid,.grid.two,.char-grid{grid-template-columns:1fr}.section{margin-bottom:44px}.section-head{display:block}.section-head p{margin-top:8px}.card{min-height:155px}.footrow{display:block}.footrow>*{display:block;margin:5px 0}}


/* ==========================================================
   AETHRATH · robustes autonomes Gefüge
   Progressive Enhancement: der Grundaufbau bleibt IMMER sichtbar.
   JavaScript verändert nur Zeitcode, Fragmente und subtile Zustände.
   ========================================================== */
:root{--aeth-glow:.08}
.aeth-inline-code,.aeth-foot-code,.threshold-code{font-family:"Courier New",ui-monospace,monospace;letter-spacing:.14em;color:#8e7853;word-break:break-all}
.aeth-inline-code{margin:12px 0 0;font-size:.68rem;color:rgba(215,179,106,.62)}
.aeth-foot-code{font-size:.66rem;color:#6f6047}
.hero-threshold{min-height:590px;align-items:center}
.hero-threshold .hero-bg{background-image:linear-gradient(180deg,rgba(3,3,3,.28),rgba(4,3,2,.62) 58%,#050403 100%),var(--hero);filter:saturate(.72) contrast(1.04)}
.hero-threshold .hero-content{padding:112px 0 80px;text-align:center;max-width:920px;margin:auto}
.hero-threshold .eyebrow,.hero-threshold .aeth-inline-code{margin-left:auto;margin-right:auto}
.hero-threshold h1{font-size:clamp(4rem,11vw,8.6rem);letter-spacing:.06em;margin-top:22px}
.hero-threshold p{margin:0 auto;max-width:650px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.1rem,2.3vw,1.55rem);color:#d0c3ac}
.threshold-hint{display:block;margin:18px auto 0;max-width:650px;color:#766b59;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase}
.threshold-section{margin-top:8px}
.threshold-intro{text-align:center;max-width:760px;margin:0 auto 28px}
.threshold-intro h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(1.8rem,3.8vw,3rem);margin:7px 0;color:#e8ddca}
.threshold-intro p{margin:0;color:#776d5c;font-size:.83rem;letter-spacing:.08em}

/* Das Portal ist vollständig statisch nutzbar; JS darf nur die Reihenfolge ändern. */
.portal-grid{position:relative;max-width:980px;margin:30px auto 0;padding:54px 0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.portal-grid:before{content:"";position:absolute;left:50%;top:0;width:min(560px,72vw);height:min(560px,72vw);transform:translateX(-50%);border-radius:50%;border:1px solid rgba(215,179,106,.09);box-shadow:0 0 0 32px rgba(215,179,106,.016),0 0 0 33px rgba(215,179,106,.05),inset 0 0 90px rgba(158,106,31,.025);pointer-events:none}
.aeth-core{grid-column:1/-1;position:relative;z-index:2;margin:0 auto 34px;width:174px;height:174px;border-radius:50%;border:1px solid rgba(215,179,106,.48);background:radial-gradient(circle,rgba(215,179,106,.08),rgba(5,5,4,.97) 66%);display:grid;place-items:center;align-content:center;gap:6px;color:var(--gold);box-shadow:0 0 0 18px rgba(215,179,106,.018),0 0 0 19px rgba(215,179,106,.07),0 0 70px rgba(137,92,28,.12);cursor:pointer}
.aeth-core:before,.aeth-core:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(215,179,106,.08);inset:-32px;pointer-events:none}.aeth-core:after{inset:-54px;border-style:dashed;opacity:.65}
.aeth-core-glyph{font-family:Georgia,"Times New Roman",serif;font-size:2.25rem;line-height:1}.aeth-core small{letter-spacing:.36em;font-size:.58rem;margin-left:.36em;color:#88744f}.aeth-core:hover,.aeth-core:focus-visible{border-color:rgba(215,179,106,.8);outline:none;box-shadow:0 0 0 18px rgba(215,179,106,.025),0 0 0 19px rgba(215,179,106,.13),0 0 80px rgba(137,92,28,.2)}
.gate-card{position:relative;z-index:2;min-height:178px;border:1px solid rgba(215,179,106,.16);border-radius:18px;padding:22px;background:linear-gradient(150deg,rgba(18,15,11,.86),rgba(7,7,6,.94));text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;overflow:hidden;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.gate-card:before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;border:1px solid rgba(215,179,106,.07);right:-42px;top:-42px}.gate-card:hover,.gate-card:focus-visible{transform:translateY(-3px);border-color:rgba(215,179,106,.46);outline:none;background:linear-gradient(150deg,rgba(24,19,12,.92),rgba(8,8,7,.96))}.gate-symbol{font-family:Georgia,"Times New Roman",serif;font-size:1.7rem;color:#9c865f;margin-bottom:18px}.gate-card h3{margin:0;color:#e6d5b6;font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:1.28rem}.gate-card p{margin:5px 0 0;color:#776d5c;font-size:.78rem}.gate-card[data-aeth-active="1"]{border-color:rgba(215,179,106,.36);box-shadow:inset 0 0 35px rgba(215,179,106,.025)}
.threshold-note{max-width:780px;margin:32px auto 0;border-top:1px solid rgba(215,179,106,.10);padding-top:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;color:#6e6453;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase}.threshold-note i{height:1px;background:linear-gradient(90deg,rgba(215,179,106,.04),rgba(215,179,106,.3),rgba(215,179,106,.04))}.threshold-note p{margin:0;text-align:right}.threshold-code{font-size:.63rem;white-space:nowrap}
.aeth-fragment{max-width:760px;margin:36px auto 0;padding:24px 20px;border-top:1px solid rgba(215,179,106,.11);border-bottom:1px solid rgba(215,179,106,.11);text-align:center;color:#9c8f78}.aeth-fragment[hidden]{display:none}.aeth-fragment .mark{display:block;color:#806b48;font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;margin-bottom:4px}.aeth-fragment p{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:1rem}.aeth-fragment small{display:block;margin-top:7px;color:#625846;font-family:"Courier New",ui-monospace,monospace;font-size:.58rem;letter-spacing:.12em;word-break:break-all}
body.aeth-night .hero-threshold .hero-bg{filter:saturate(.58) contrast(1.08) brightness(.86)}
body.aeth-rare .aeth-core{border-color:rgba(226,194,129,.84);box-shadow:0 0 0 18px rgba(215,179,106,.035),0 0 0 19px rgba(215,179,106,.18),0 0 90px rgba(137,92,28,.22)}
body.aeth-null-day .gold-rule{opacity:1;box-shadow:0 0 30px rgba(215,179,106,.2)}
@media(max-width:860px){.portal-grid{grid-template-columns:repeat(2,1fr);max-width:720px}.aeth-core{grid-column:1/-1}.threshold-note{grid-template-columns:1fr;text-align:center}.threshold-note i{display:none}.threshold-note p{text-align:center}.threshold-code{white-space:normal}}
@media(max-width:560px){.hero-threshold{min-height:500px}.hero-threshold .hero-content{padding:88px 0 62px}.hero-threshold h1{font-size:clamp(3.2rem,18vw,5.5rem)}.portal-grid{grid-template-columns:1fr;padding-top:28px}.portal-grid:before{width:270px;height:270px}.aeth-core{width:124px;height:124px;margin-bottom:24px}.aeth-core:before{inset:-20px}.aeth-core:after{inset:-34px}.gate-card{min-height:138px}.aeth-inline-code,.threshold-code,.aeth-foot-code{font-size:.55rem;letter-spacing:.08em}}
@media(prefers-reduced-motion:reduce){.gate-card,.aeth-core,.hero-bg{transition:none!important}}
