/* skaja.de – gemeinsame Gestaltung „Weltentor“
   Nachthimmel, Gold und Silber; Italiana für Überschriften, Lora für Text.
   Gilt für Startseite, Inhaltsseiten (Rollenspiel, Impressum, Datenschutz) und die Kopfleiste. */

:root {
  --tiefe: #070a1e;
  --nacht: #141b45;
  --gold: #d9b56c;
  --gold-hell: #f1dca6;
  --silber: #d6daef;
  --dunst: #969cc4;
  --moos: #a9c79b;
  --linie: rgba(217, 181, 108, 0.22);
  --schrift-zier: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --schrift-text: "Lora", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

@font-face { font-family: "Italiana"; src: url("italiana.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Lora"; src: url("lora-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("lora-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--tiefe); }
body {
  margin: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 36%, var(--nacht) 0%, var(--tiefe) 72%) fixed, var(--tiefe);
  color: var(--silber);
  font-family: var(--schrift-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
#sterne { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.seite {
  position: relative; z-index: 1; overflow-x: clip;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; border-radius: 2px; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopf */
.kopf {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px;
  max-width: 1320px; margin-inline: auto; padding-block: 18px 0;
}
.kopf-marke { font-family: var(--schrift-zier); font-size: 26px; letter-spacing: 0.14em; color: var(--gold-hell); text-decoration: none; }
.kopf .frage { font-style: italic; color: var(--dunst); text-decoration: none; border-bottom: 1px solid rgba(217, 181, 108, 0.35); }
.kopf .frage:hover { color: var(--gold-hell); }
.kopf .frage[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* Fuß */
.fuss {
  max-width: 1040px; margin: clamp(48px, 8vw, 96px) auto 0; padding-block: 22px 30px;
  border-top: 1px solid var(--linie);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  font-size: 15px; color: var(--dunst);
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--gold-hell); }
.fuss a[aria-current="page"] { color: var(--gold); }

/* Inhaltsseiten */
.inhalt { max-width: 46rem; margin: clamp(32px, 6vw, 72px) auto 0; }
.inhalt-kopf { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.zier { display: block; width: 76px; height: 76px; margin: 0 auto 18px; color: var(--gold); overflow: visible; }
.zier .ring { fill: none; stroke: currentColor; stroke-width: 1.1; }
.zier .fein { fill: none; stroke: currentColor; stroke-width: 0.8; opacity: 0.6; }
.zier .stern { fill: none; stroke: currentColor; stroke-width: 0.9; opacity: 0.65; }
.zier .punkt { fill: var(--gold-hell); }
.inhalt h1 {
  margin: 0; font-family: var(--schrift-zier); font-weight: 400;
  font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: 0.02em; color: var(--gold-hell); text-wrap: balance;
}
.inhalt h2 {
  margin: 2.1em 0 0.6em; font-family: var(--schrift-zier); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; color: var(--gold-hell); text-wrap: balance;
}
.inhalt-kopf + h2, .inhalt-kopf + section > h2:first-child { margin-top: 0; }
.inhalt p { margin: 0 0 1.05em; hyphens: auto; -webkit-hyphens: auto; }
.inhalt a { color: var(--gold-hell); text-decoration-color: rgba(217, 181, 108, 0.55); text-underline-offset: 0.2em; }
.inhalt a:hover { text-decoration-color: var(--gold-hell); }
.inhalt address { font-style: normal; }

/* Liste der Regelwerke auf der Rollenspiel-Seite */
.systeme { margin: 1.6em 0 2em; display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); border-top: 1px solid var(--linie); }
.systeme dt, .systeme dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.systeme dt { padding-right: 24px; font-family: var(--schrift-zier); font-size: 24px; line-height: 1.25; color: var(--gold-hell); }
.systeme dd { min-width: 0; }
.systeme .und { font-family: var(--schrift-text); font-size: 0.8em; }

/* Abschnitte im Impressum */
.angaben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; padding: 26px 0; border-block: 1px solid var(--linie); }
.angaben h2 { margin: 0 0 0.5em; font-family: var(--schrift-text); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--gold); }
.angaben p, .angaben address { margin: 0; }

.inhalt > section > h2 { margin-top: 1.9em; }
.inhalt > .inhalt-kopf + section > h2 { margin-top: 0; }
.inhalt strong { font-weight: 400; color: var(--gold-hell); }
.inhalt h2 .nr { font-family: var(--schrift-text); font-size: 0.78em; color: var(--gold); }
.stand { margin-top: 2.4em !important; text-align: center; font-size: 15px; color: var(--dunst); }
.zurueck { margin: clamp(40px, 6vw, 64px) 0 0; text-align: center; font-style: italic; }

@keyframes einblenden { from { opacity: 0; } }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .systeme { grid-template-columns: minmax(0, 1fr); }
  .systeme dt { padding-bottom: 2px; border-bottom: 0; }
  .systeme dd { padding-top: 4px; }
  .angaben { grid-template-columns: minmax(0, 1fr); }
}

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