/* Thankmar: Gestaltung der Startseite */
:root {
  --night:   #121110;
  --olive:   #76764b;
  --olive-d: #5f5f3c;
  --cream:   #e9e3db;
  --paper:   #f3efe9;
  --ink:     #1a1916;
  --ink-2:   #5b554c;
  --taupe:   #6d6154;
  --line:    rgba(26, 25, 22, .18);
  --line-l:  rgba(233, 227, 219, .28);
  --ember:   #b8602c;
  --radius:  22px;
  --gap:     14px;
  --serif:   'Instrument Serif', 'Times New Roman', serif;
  --sans:    'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --ease:    cubic-bezier(0, .3, .3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body.admin-bar .menu { top: calc(var(--gap) + 32px); }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: var(--gap);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Panels ─────────────────────────────────── */
.panel {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--gap);
  position: relative;
}
.panel--olive { background: var(--olive); color: var(--cream); }
.panel--cream { background: var(--cream); }
.panel--paper { background: var(--paper); }
.panel--taupe { background: var(--taupe); color: var(--cream); }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ─── Kopfzeile ──────────────────────────────── */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 30px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
}
.tm { font-weight: 700; }
.topbar .brand { font-weight: 400; text-decoration: none; text-transform: none; }
.topbar nav { justify-self: end; display: flex; gap: 26px; }
.topbar a, .topbar button { text-decoration: none; }
.menu-btn {
  background: none; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  cursor: pointer;
}

/* ─── Hero ───────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 2 * var(--gap));
  min-height: calc(100svh - 2 * var(--gap));
}
.hero-text {
  display: flex;
  flex-direction: column;
  padding: 110px 30px 30px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 7.6vw, 8rem);
  line-height: .94;
  letter-spacing: -.015em;
  margin-top: auto;
}
.hero-foot {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 30px;
  margin-top: 22px;
}
.hero-foot p {
  max-width: 30ch;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-foot .scroll {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: right;
  line-height: 1.5;
}
.hero-foot .scroll span {
  display: inline-block;
  animation: sink 2.4s var(--ease) infinite;
}
@keyframes sink { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero-img { position: relative; }
.hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 60%;
}

/* ─── Artikel-Sektionen ──────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.split > .col-head {
  padding: 44px 30px;
  border-right: 1px solid var(--line);
}
.split > .col-body { padding: 44px 30px 60px; }
.panel--olive .split > .col-head,
.panel--taupe .split > .col-head { border-color: var(--line-l); }

.col-head .sticky { position: sticky; top: 40px; }
.col-head .label { display: block; margin-bottom: 18px; opacity: .75; }

h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.prose { max-width: 38em; }
.prose p + p { margin-top: 1.05em; }
.prose .lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  margin-bottom: 1.2em;
}
.prose .short { font-size: 1.05em; }

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin: 1.4em 0;
  padding-left: 22px;
  border-left: 1px solid currentColor;
}

.muted { color: var(--ink-2); }

.figure {
  border-radius: 14px;
  overflow: hidden;
  margin-top: 34px;
  background: #000;
}
.figure img { width: 100%; height: auto; }
.figure-caption { margin-top: 10px; opacity: .7; }

/* Zwei Quellen */
.sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin: 34px 0;
}
.source {
  background: var(--paper);
  border-radius: 14px;
  padding: 26px 24px 28px;
}
.source .num {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--ember);
  margin-bottom: 14px;
}
.source p { font-size: 15.5px; }
.source p + p { margin-top: .8em; }

/* Drei Sätze der Anerkennung */
.triad { list-style: none; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.triad li {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 18px; align-items: baseline;
}
.triad li span { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; opacity: .6; }

/* Frage-Panel */
.question {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 88vh;
}
.question-img { position: relative; background: #000; }
.question-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 44% 45%;
}
.question-img .label { position: absolute; left: 30px; bottom: 26px; color: var(--cream); opacity: .8; }
.question-text { padding: 70px 30px 60px; display: flex; flex-direction: column; justify-content: center; }
.question-text .big {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 40px;
}

/* Schluss */
.closing {
  padding: 80px 30px 90px;
  text-align: center;
}
.closing .label { opacity: .75; }
.closing .big {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6.6vw, 6.4rem);
  line-height: .96;
  margin: 28px auto 30px;
  max-width: 17ch;
}
.closing .prose { margin: 0 auto; text-align: left; }
.closing .final {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 44px;
  text-align: center;
}

/* Kurs */
.course {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.course-text { padding: 44px 30px 50px; }
.course-text .top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  margin-bottom: 46px;
}
.course-name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .92;
  letter-spacing: -.045em;
}
.course-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 34px 0;
}
.course-facts div { padding: 16px 16px 18px 0; }
.course-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.course-facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-top: 4px;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s var(--ease);
}
.btn:hover { background: var(--olive-d); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.course-img { position: relative; min-height: 420px; }
.course-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}

/* Fußzeile */
footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 26px 30px 16px;
  color: #8c857b;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
footer a { text-decoration: none; }
footer nav { display: flex; gap: 24px; }

/* Menü-Overlay */
.menu {
  position: fixed; inset: var(--gap);
  z-index: 50;
  background: var(--olive);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 30px 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu-head { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.menu ol { list-style: none; margin-top: auto; }
.menu li { border-top: 1px solid var(--line-l); }
.menu li a {
  display: flex; gap: 20px; align-items: baseline;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  text-decoration: none;
  transition: padding .3s var(--ease);
}
.menu li a:hover { padding-left: 12px; }
.menu li a span { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; opacity: .6; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-foot .scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── Mobil ──────────────────────────────────── */
@media (max-width: 860px) {
  body { padding: 8px; font-size: 16px; }
  :root { --gap: 8px; --radius: 18px; }
  .topbar { padding: 18px 20px; grid-template-columns: 1fr auto; }
  .topbar .menu-btn { order: 3; justify-self: end; }
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; height: 72svh; }
  .hero-img img { object-position: 45% 55%; }
  .hero-text { padding: 36px 20px 24px; }
  .hero-title { margin-top: 0; }
  .split, .question, .course { grid-template-columns: 1fr; }
  .split > .col-head { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 20px 24px; }
  .split > .col-body { padding: 28px 20px 44px; }
  .col-head .sticky { position: static; }
  .sources { grid-template-columns: 1fr; }
  .question { min-height: 0; }
  .question-img { height: 60svh; }
  .question-text { padding: 40px 20px 44px; }
  .closing { padding: 56px 20px 64px; }
  .course-text { padding: 32px 20px 40px; }
  .course-facts { grid-template-columns: 1fr; }
  .course-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .course-img { min-height: 320px; }
  footer { padding: 22px 20px 12px; }
}
