/* =========================================================================
   Akademie der Vernunft — Design-System
   Dunkel-Gold, archivwuerdig. Georgia-Serif, verhaltene Feierlichkeit.
   Marken-Tokens aus der Brand-Pipeline (Gold 190,160,90 / dunkles Blaugrau).
   ========================================================================= */

:root {
  --bg:        #0d0e11;
  --bg-2:      #121318;
  --surface:   #16181e;
  --surface-2: #1c1f26;
  --border:    #2a2d36;
  --border-2:  #363a45;
  --text:      #e9e7e1;
  --text-dim:  #a7a299;
  --text-faint:#8d887e;  /* WCAG AA: >=4.5:1 auf allen dunklen Flaechen */
  --gold:      #d4a55a;
  --gold-soft: #e3c189;
  --gold-dim:  #a8854a;
  --gold-line: rgba(212,165,90,.28);
  --maxw:      1080px;
  --measure:   68ch;
  --radius:    10px;
  --shadow:    0 10px 40px rgba(0,0,0,.45);
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -200px, #1a1c24 0%, transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

/* ---- Layout ----------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.3rem; }
.narrow { max-width: 760px; }
section { padding: 3.2rem 0; }
.section-line { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ---- Kicker / labels -------------------------------------------------- */
.kicker {
  display: inline-block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-family: var(--serif);
  margin: 0 0 .9rem 0;
}
h1, h2, h3 { font-weight: normal; color: #fff; letter-spacing: .3px; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.lead { font-size: 1.18rem; color: var(--text); }
.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.motto { font-style: italic; color: var(--gold-soft); letter-spacing: .04em; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,14,17,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.2rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 6px; }
.brand b { font-weight: normal; letter-spacing: .3px; }
.nav { margin-left: auto; display: flex; gap: 1.35rem; align-items: center; }
.nav a { color: var(--text-dim); font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .68rem 1.25rem; border-radius: 8px;
  font-family: var(--serif); font-size: 1rem; cursor: pointer;
  border: 1px solid var(--border-2); color: var(--text); background: var(--surface-2);
  transition: border-color .15s, color .15s, background .15s;
}
.btn:hover { border-color: var(--gold-dim); color: var(--gold-soft); }
.btn-gold { background: linear-gradient(180deg, #e0b463, #c9963f); color: #1a1407; border-color: #b88a3a; font-weight: bold; }
.btn-gold:hover { color: #000; filter: brightness(1.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: 4.2rem 0 2.6rem; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: center; }
.hero-seal { justify-self: center; }
.hero-seal img {
  width: min(280px, 70vw); border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--gold-line);
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-seal { order: -1; }
}

/* ---- Cards / grids ---------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s, transform .18s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.card .thumb { aspect-ratio: 16/9; width: 100%; object-fit: cover; background: var(--bg-2); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card .eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.card h3 { font-size: 1.08rem; margin: 0 0 .35rem; color: #fff; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--gold-soft); }
.card .sub { color: var(--text-dim); font-size: .96rem; margin: 0 0 .6rem; }
.card .meta { margin-top: auto; color: var(--text-faint); font-size: .82rem; letter-spacing: .03em; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---- Kreis sections --------------------------------------------------- */
.kreis-head { display: flex; align-items: baseline; gap: 1rem; margin: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--border); padding-bottom: .7rem; }
.kreis-head h2 { margin: 0; }
.kreis-head .count { color: var(--gold); font-size: .9rem; letter-spacing: .1em; }
.kreis-blurb { color: var(--text-dim); max-width: var(--measure); margin: -.4rem 0 1.4rem; }

/* ---- Video facade (klick-zum-laden, ohne Tracking bis Interaktion) ---- */
.video-facade {
  position: relative; aspect-ratio: 16/9; width: 100%;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: #000 center/cover no-repeat; border: 1px solid var(--border);
}
.video-facade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.video-facade .play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(212,165,90,.92); display: grid; place-items: center;
  transition: transform .15s, background .15s;
}
.video-facade:hover .play { transform: translate(-50%,-50%) scale(1.07); background: var(--gold); }
.video-facade .play svg { width: 30px; height: 30px; fill: #1a1407; margin-left: 4px; }
.video-facade .cc-badge {
  position: absolute; z-index: 2; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.7); color: var(--gold-soft); font-size: .72rem;
  letter-spacing: .1em; padding: .3rem .55rem; border-radius: 5px; border: 1px solid var(--gold-line);
}
.video-facade iframe, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Audio ------------------------------------------------------------ */
.audio-block { margin: 1.4rem 0; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.audio-block .label { color: var(--gold); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: .6rem; }
audio { width: 100%; height: 40px; }

/* ---- Chapters --------------------------------------------------------- */
.chapters { list-style: none; padding: 0; margin: 1rem 0; columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .chapters { columns: 1; } }
.chapters li { break-inside: avoid; margin: .25rem 0; font-size: .96rem; color: var(--text-dim); }
.chapters .ts { color: var(--gold); font-variant-numeric: tabular-nums; margin-right: .6rem; font-size: .88rem; }
.chapters a { color: var(--text-dim); }
.chapters a:hover { color: var(--gold-soft); }

/* ---- Info box --------------------------------------------------------- */
.box {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); padding: 1.1rem 1.3rem;
  border-radius: var(--radius); margin: 1.6rem 0;
}
.box .box-label { color: var(--gold); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: .5rem; }
.copy-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.copy-row code { font-family: Consolas, "SF Mono", monospace; font-size: .92rem; color: var(--gold-soft); background: var(--bg-2); padding: .45rem .7rem; border-radius: 6px; border: 1px solid var(--border); word-break: break-all; flex: 1; min-width: 220px; }

/* ---- Platforms -------------------------------------------------------- */
.platform-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (max-width: 600px) { .platform-grid { grid-template-columns: 1fr; } }
.platform {
  display: flex; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; transition: border-color .16s, transform .16s;
}
.platform:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.platform .pico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--gold); }
.platform .pico svg { width: 30px; height: 30px; fill: currentColor; }
.platform .pt { font-size: 1.05rem; color: #fff; }
.platform .pd { font-size: .85rem; color: var(--text-dim); }

/* ---- Shorts grid ------------------------------------------------------ */
.shorts-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 880px) { .shorts-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .shorts-grid { grid-template-columns: repeat(2,1fr); } }
.short {
  position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--border); display: block;
}
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.short:hover img { transform: scale(1.05); }
.short .ov { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.85)); }
.short .stitle { position: absolute; left: .6rem; right: .6rem; bottom: .55rem; z-index: 2; font-size: .82rem; line-height: 1.3; color: #fff; }
.short .views { position: absolute; top: .5rem; right: .5rem; z-index: 2; font-size: .72rem; color: var(--gold-soft); background: rgba(0,0,0,.6); padding: .15rem .4rem; border-radius: 4px; }

/* ---- Prose (about / wissen) ------------------------------------------- */
.prose { max-width: var(--measure); }
.prose p { margin: 1.1rem 0; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; color: var(--gold-soft); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .45rem 0; }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 3px solid var(--gold); color: var(--text-dim); font-style: italic; }
.people { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin: 1.6rem 0; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.person .role { color: var(--gold); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.person h3 { margin: .3rem 0 .5rem; }

/* ---- Breadcrumb / pager ----------------------------------------------- */
.crumb { font-size: .85rem; color: var(--text-faint); margin: 1.6rem 0 .4rem; }
.crumb a { color: var(--text-dim); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.pager a { max-width: 46%; }
.pager .nl { color: var(--text-faint); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: block; }

/* ---- Tag chips -------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip { font-size: .8rem; color: var(--gold-soft); background: var(--bg-2); border: 1px solid var(--gold-line); padding: .25rem .65rem; border-radius: 20px; }

/* ---- Meta row --------------------------------------------------------- */
.meta-row { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--text-dim); font-size: .92rem; margin: .8rem 0 1.4rem; }
.meta-row b { color: var(--text); font-weight: normal; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 2rem; }
.site-footer .fband { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.7rem 1.3rem; border-bottom: 1px solid var(--border); }
.site-footer .fband h4 { margin: 0 0 .35rem; }
.site-footer .fband p { margin: 0; max-width: 38rem; }
.site-footer .fband .btn { flex-shrink: 0; }
.site-footer .fcols { padding: 2.6rem 1.3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .site-footer .fcols { grid-template-columns: 1fr; gap: 1.4rem; } }
.site-footer h4 { color: var(--gold); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .8rem; font-weight: normal; }
.site-footer a:not(.btn) { color: var(--text-dim); font-size: .95rem; }
.site-footer p a { font-size: inherit; text-decoration: underline; text-decoration-color: var(--gold-dim); text-underline-offset: 3px; }
.site-footer .fcol a { display: block; padding: .18rem 0; }
.site-footer a:not(.btn):hover { color: var(--gold-soft); }
.site-footer .fmotto { color: var(--text-faint); font-style: italic; font-size: .92rem; }
.copyline .fmotto { display: block; margin: 0 0 .4rem; }
.copyline { text-align: center; color: var(--text-faint); font-size: .82rem; padding: 1.2rem; border-top: 1px solid var(--border); }

/* ---- Pills / counts on landing kreise --------------------------------- */
.kreis-cards { align-items: start; }
.kreis-cards .card-body { gap: .4rem; }
.kreis-cards .count { color: var(--gold); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* Typografische Kreis-Panels (bildunabhaengig, gegen Thumbnail-Helligkeit immun) */
.kreis-panel {
  display: block; position: relative; color: var(--text);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem 1.6rem 1.3rem;
  transition: border-color .18s, transform .18s;
}
.kreis-panel:hover { transform: translateY(-3px); border-color: var(--gold-line); border-left-color: var(--gold); }
.kreis-panel .kp-count { color: var(--gold); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.kreis-panel h3 { margin: .4rem 0 .5rem; font-size: 1.55rem; color: #fff; }
.kreis-panel p { margin: 0 0 1rem; color: var(--text-dim); font-size: .98rem; }
.kreis-panel .kp-go { color: var(--gold-soft); font-size: .92rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--gold); color: #000; padding: .5rem 1rem; border-radius: 6px; }

/* ---- Mobile nav ------------------------------------------------------- */
@media (max-width: 720px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: .5rem 1.3rem 1rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 8px; color: var(--gold); cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
}
