/* Gemeinsame Gestaltung für path.teamx.cc und plan.teamx.cc.
   Diese Datei liegt identisch in beiden Verzeichnissen. */

:root {
  color-scheme: dark;
  --bg:      #0e0d0b;
  --text:    #ddd6c9;
  --bright:  #f4efe4;
  --dim:     #a9a094;
  --faint:   #746c61;
  --gold:    #c9a227;
  --goldsoft:#8a6f1c;
  --line:    #26231e;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.85 ui-serif, Georgia, "Times New Roman", serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14,13,11,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.kopf-innen {
  max-width: 52rem;
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  /* Sechs Punkte passen bei 1.5rem Abstand nicht mehr in 52rem — der
     letzte (Das Ziel) wurde rechts abgeschnitten. Engerer Abstand und
     etwas weniger Sperrung schaffen den nötigen Platz. */
  gap: 1.15rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Jeder Punkt bleibt einzeilig; wird es zu eng, schiebt sich die
     Leiste seitlich statt in eine zweite Zeile umzubrechen. */
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.kopf-innen::-webkit-scrollbar { display: none; }
@media (max-width: 40rem) {
  .kopf-innen { gap: 1rem; letter-spacing: .1em; font-size: .66rem; }
}
.kopf a { color: var(--faint); text-decoration: none; }
.kopf a:hover { color: var(--gold); }
.kopf a.hier { color: var(--gold); }
.kopf .rechts { margin-left: auto; }

/* ---------- Titelbild ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 46vh;
  min-height: 240px;
  max-height: 520px;
  overflow: hidden;
}
.hero.klein { height: 20vh; min-height: 120px; max-height: 220px; }
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 65%;
  background: linear-gradient(to bottom, rgba(14,13,11,0), var(--bg));
  pointer-events: none;
}

/* ---------- Grundraster ---------- */

main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.5rem 7rem;
}

.titel {
  margin-top: -3rem;
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.3rem, 7.5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .012em;
  margin: 0 0 1.2rem;
  color: var(--bright);
}

h2 {
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: .015em;
  margin: 5rem 0 1.4rem;
  color: var(--bright);
}

h3 {
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 400;
  margin: 2.6rem 0 .7rem;
  color: var(--gold);
}

p { margin: 0 0 1.5rem; }

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--dim);
  margin-bottom: 2.4rem;
}

.kicker {
  font-size: .7rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.3rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.kicker a { color: var(--gold); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

/* ---------- Zitate ---------- */

blockquote {
  margin: 1.6rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--goldsoft);
  color: var(--bright);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
}
blockquote p { margin: 0 0 .6rem; }

cite {
  display: block;
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--faint);
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}
cite a { color: var(--faint); }
cite a:hover { color: var(--gold); }

.sinn {
  margin: 1.6rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px dotted var(--line);
  color: var(--dim);
}
.sinn p { margin: 0 0 .6rem; }

/* ---------- Elemente ---------- */

hr {
  border: 0;
  height: 1px;
  width: 5rem;
  background: var(--goldsoft);
  opacity: .5;
  margin: 4.5rem 0;
}

ul { padding-left: 1.3rem; margin: 0 0 1.5rem; }
li { margin-bottom: .8rem; }
li::marker { color: var(--faint); }

.gross {
  font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  line-height: 1.5;
  color: var(--bright);
  margin: 3rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}
.big { /* Altbestand, gleiche Wirkung */
  font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  line-height: 1.5;
  color: var(--bright);
  margin: 3rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}
.merker { color: var(--bright); font-size: 1.08rem; }

.note {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 0;
  margin: 4rem 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--dim);
}
.note strong { color: var(--bright); font-weight: 400; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Die sieben Schlüssel ---------- */

.sieben { list-style: none; padding: 0; margin: 2.5rem 0; }
.sieben li { margin: 0; border-top: 1px solid var(--line); }
.sieben li:last-child { border-bottom: 1px solid var(--line); }
.sieben a {
  display: block;
  padding: 1.25rem .2rem;
  text-decoration: none;
  color: var(--text);
  transition: color .15s;
}
.sieben a:hover { color: var(--gold); }
.sieben .nr {
  display: block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .66rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .35rem;
}
/* Der Satz, der sagt, was der Schlüssel aufsperrt. */
.sieben .satz {
  display: block;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--bright);
  margin-bottom: .5rem;
}
.sieben .oeffnet {
  display: block;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--dim);
}
.sieben .oeffnet b {
  font-weight: 400;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--goldsoft);
  margin-right: .5rem;
}

/* ---------- Exponat: drei Fassungen nebeneinander ---------- */

.dreisatz {
  margin: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.dreisatz > div {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.dreisatz .wer {
  display: block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .6rem;
}
.dreisatz .frage { color: var(--dim); margin: 0 0 .5rem; font-size: .97rem; }
.dreisatz .antwort {
  color: var(--bright);
  font-style: italic;
  margin: 0 0 .5rem;
  font-size: 1.03rem;
  line-height: 1.7;
}
.dreisatz cite { margin-top: .3rem; }

/* ---------- Aufklapper ---------- */

.quellen { margin: 2.5rem 0 0; }
.quellen > p.hinweis {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .84rem;
  color: var(--faint);
  margin-bottom: 1.4rem;
}

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }

details > summary {
  cursor: pointer;
  padding: 1rem .2rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .92rem;
  letter-spacing: .03em;
  color: var(--text);
  list-style: none;
  transition: color .15s;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::before {
  content: "+";
  display: inline-block;
  width: 1.5rem;
  color: var(--gold);
  font-size: 1rem;
}
details[open] > summary::before { content: "\2212"; }
details > summary:hover { color: var(--gold); }
details > summary .phase {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-left: .7rem;
}

details .inhalt { padding: .3rem 0 1.8rem 1.5rem; }
details .inhalt > *:last-child { margin-bottom: 0; }
details .inhalt blockquote { margin-top: .7rem; }
details .inhalt h3 { margin-top: 1.8rem; }
details .inhalt h3:first-child { margin-top: .5rem; }
details .inhalt p { margin-bottom: .9rem; }

/* ---------- Zahlen ---------- */

.zahl {
  margin: 2.8rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
}
.zahl .wert {
  display: block;
  font-size: clamp(2rem, 8vw, 2.9rem);
  line-height: 1.1;
  color: var(--bright);
  margin-bottom: .4rem;
}
.zahl .was {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--dim);
  display: block;
}
.zahl .quelle {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .75rem;
  color: var(--faint);
  display: block;
  margin-top: .5rem;
}

/* ---------- Blättern ---------- */

.blaettern {
  margin: 5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .84rem;
  line-height: 2.1;
}
.blaettern a { display: block; }

/* ---------- Fuß ---------- */

footer {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .8rem;
  line-height: 1.85;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
footer p { margin: 0 0 .7rem; }

a { color: var(--gold); text-underline-offset: .22em; }

/* ---------- Einzelfall gegen Fläche ---------- */

.paar {
  margin: 2.6rem 0;
  padding: 1.5rem 0 1.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.paar > .fall {
  margin: 0 0 1.3rem;
  color: var(--bright);
  font-size: 1.06rem;
  line-height: 1.55;
}
.paar .seite {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.paar .seite:last-child { margin-bottom: 0; }
.paar .seite.flaeche { border-left-color: var(--goldsoft); }
.paar .marke {
  display: block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .5rem;
}
.paar .seite.flaeche .marke { color: var(--goldsoft); }
.paar .seite p { margin: 0 0 .7rem; font-size: 1rem; line-height: 1.75; }
.paar .seite p:last-child { margin-bottom: 0; }
.paar .seite cite { margin-top: .2rem; }
/* Zwei aufeinanderfolgende Paare ergaben sonst eine Doppellinie. */
.paar + .paar { border-top: 0; margin-top: 0; padding-top: 0; }
