/* ============================================================
   Manuale der Non-Elbow-Society
   buecher.html · manual-1.html · manual-2.html · manual-3.html
   Übernimmt die Design-Tokens von index.html (DM Sans,
   Non-Elbow-Sans, Gold #B89A55) und ergänzt die Bausteine
   der Bandseiten.
   ============================================================ */

@font-face {
  font-family: 'Non-Elbow-Sans';
  src: url('Non-Elbow-Sans-Regular-FINAL-v1.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black:       #111111;
  --white:       #FFFFFF;
  --gold:        #B89A55;
  --gold-bg:     #F5F0E8;
  --stone:       #E0E0E0;
  --taupe:       #888888;

  --font-serif:  'Non-Elbow-Sans', 'DM Sans', sans-serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;

  --h1:      clamp(36px, 4.5vw, 56px);
  --h2:      clamp(28px, 3.2vw, 42px);
  --body:    20px;
  --small:   16px;
  --caption: 14px;

  --space-section: 96px;
  --space-block:   32px;
  --max-content: 1280px;
  --max-text:    680px;
  --pad-side:    clamp(24px, 7vw, 96px);
  --radius:      14px;
  --shadow:      0 2px 14px rgba(0,0,0,0.12);
  --rule:        1.5px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.ne {
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: 64px; /* fixierte Navigation */
}

/* ── NAV (identisch mit index.html, CTA-Kontrast korrigiert) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule) solid var(--stone);
  padding: 0 var(--pad-side);
}
.nav-inner {
  max-width: var(--max-content); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: var(--small); color: var(--black);
  text-decoration: none; opacity: 0.6; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.ne .nav-cta {
  font-size: var(--small); font-weight: 500;
  color: var(--white); background: var(--black);
  border: var(--rule) solid var(--black);
  text-decoration: none; padding: 10px 24px; border-radius: 10px;
  transition: opacity 0.2s; white-space: nowrap;
}
.ne .nav-cta:hover { opacity: 0.85; }
.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-mobile-toggle span { display: block; width: 22px; height: var(--rule); background: var(--black); }

/* ── Raster ── */
.ne-wrap { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--pad-side); }
.ne-narrow { max-width: calc(var(--max-text) + 2 * var(--pad-side)); }
.ne p { max-width: var(--max-text); }

.ne h1, .ne h2, .ne h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
.ne h1 { font-size: var(--h1); letter-spacing: -0.01em; }
.ne h2 { font-size: var(--h2); }
.ne h3 { font-size: 22px; }

.ne a { color: var(--black); text-underline-offset: 0.2em; }
.ne :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ne-eyebrow {
  font-size: var(--caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.ne-sub { font-size: 22px; line-height: 1.5; color: var(--taupe); margin-top: 20px; max-width: var(--max-text); }

.ne-hero { padding: 88px 0 40px; }
.ne-section { padding: 56px 0; }
.ne-section + .ne-section { border-top: var(--rule) solid var(--stone); }

/* ── Warum / Wie / Womit ── */
.ne-path {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule) solid var(--black);
  border-bottom: var(--rule) solid var(--stone);
  margin-top: 48px;
}
.ne-path div { padding: 20px 24px 24px 0; }
.ne-path dt { font-family: var(--font-serif); font-size: 26px; margin-bottom: 6px; }
.ne-path dd { color: var(--taupe); font-size: var(--small); line-height: 1.5; }

/* ── Kartenreihe ── */
.ne-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 48px;
}
.ne-card {
  display: flex; flex-direction: column;
  border: var(--rule) solid var(--stone); border-radius: var(--radius);
  padding: 32px 28px 28px; background: var(--white);
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ne-card:hover, .ne-card:focus-visible {
  box-shadow: var(--shadow); border-color: var(--black); transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .ne-card { transition: none; }
  .ne-card:hover, .ne-card:focus-visible { transform: none; }
}
.ne-card .ne-band {
  font-family: var(--font-serif); font-size: var(--caption);
  letter-spacing: 0.16em; color: var(--gold); margin-bottom: 28px;
}
.ne-card h3 { font-size: 26px; margin-bottom: 6px; }
.ne-card .ne-role {
  font-size: var(--caption); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 20px;
}
.ne-card p { font-size: var(--small); line-height: 1.6; }
.ne-card .ne-more { margin-top: auto; padding-top: 28px; font-size: var(--small); color: var(--gold); }

/* ── Klappentext ── */
.ne-blurb { border-left: var(--rule) solid var(--black); padding-left: 32px; }
.ne-blurb p { font-size: var(--body); line-height: 1.65; margin-bottom: 20px; }
.ne-blurb p:last-child { margin-bottom: 0; }
.ne-blurb p:first-child { font-size: 24px; font-family: var(--font-serif); line-height: 1.4; }

/* ── Arbeitspunkte ── */
.ne-work { list-style: none; margin-top: 28px; max-width: var(--max-text); }
.ne-work li { border-top: var(--rule) solid var(--stone); padding: 18px 0; }
.ne-work li:last-child { border-bottom: var(--rule) solid var(--stone); }
.ne-work strong { font-family: var(--font-serif); font-weight: 400; display: block; font-size: 20px; }
.ne-work span { color: var(--taupe); font-size: var(--small); }

/* ── Inhaltsverzeichnis ── */
.ne-toc {
  border: var(--rule) solid var(--stone); border-radius: var(--radius);
  padding: 20px 28px; margin-top: 32px; background: var(--gold-bg);
  max-width: var(--max-text);
}
.ne-toc summary { cursor: pointer; font-family: var(--font-serif); font-size: 20px; list-style: none; }
.ne-toc summary::-webkit-details-marker { display: none; }
.ne-toc summary::after { content: ' +'; color: var(--gold); }
.ne-toc[open] summary::after { content: ' –'; }
.ne-toc ol, .ne-toc ul { margin: 20px 0 8px; padding-left: 20px; font-size: var(--small); line-height: 1.55; }
.ne-toc li { margin-bottom: 6px; }
.ne-toc .ne-part {
  font-family: var(--font-serif); list-style: none; margin-left: -20px;
  margin-top: 18px; color: var(--black);
}

/* ── Ausgabe ── */
.ne-meta { margin-top: 32px; font-size: var(--small); color: var(--taupe); max-width: var(--max-text); }
.ne-meta dt { float: left; clear: left; width: 140px; }
.ne-meta dd { margin: 0 0 6px 140px; }

/* ── Schaltflächen ── */
.ne-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.ne a.ne-btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  border: var(--rule) solid var(--black); background: var(--black);
  color: var(--white); text-decoration: none; font-size: var(--small); font-weight: 500;
}
.ne a.ne-btn:hover { opacity: 0.85; }
.ne a.ne-btn--ghost { background: var(--white); color: var(--black); }
.ne a.ne-btn--ghost:hover { opacity: 1; box-shadow: var(--shadow); }

/* ── Blättern ── */
.ne-pager {
  display: flex; justify-content: space-between; gap: 24px;
  border-top: var(--rule) solid var(--stone);
  padding-top: 28px; margin-top: 56px; flex-wrap: wrap;
}
.ne-pager a { text-decoration: none; }
.ne-pager span {
  display: block; color: var(--gold); font-size: var(--caption);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ne-pager strong { font-family: var(--font-serif); font-weight: 400; font-size: 20px; }
.ne-pager a:hover strong { text-decoration: underline; text-underline-offset: 0.2em; }

.ne-legal { padding: 28px 0 48px; font-size: var(--caption); color: var(--taupe); }
.ne-legal a { color: var(--taupe); }

/* ── Statement-Seite ── */
.ne-statement p { font-size: var(--body); line-height: 1.75; margin-bottom: 24px; }
.ne-statement h2 { margin: 56px 0 24px; }
.ne-statement .ne-turn {
  font-family: var(--font-serif); font-size: 28px; line-height: 1.4;
  border-top: var(--rule) solid var(--black); border-bottom: var(--rule) solid var(--black);
  padding: 32px 0; margin: 56px 0; max-width: var(--max-text);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); padding: var(--space-block) var(--pad-side);
    border-bottom: var(--rule) solid var(--stone);
    gap: var(--space-block); align-items: flex-start;
  }
  .nav-mobile-toggle { display: flex; }
  .ne-path { grid-template-columns: 1fr; }
  .ne-path div { border-bottom: var(--rule) solid var(--stone); padding-right: 0; }
  .ne-path div:last-child { border-bottom: none; }
  .ne-meta dt { float: none; width: auto; font-size: var(--caption); letter-spacing: 0.08em; text-transform: uppercase; }
  .ne-meta dd { margin-left: 0; margin-bottom: 16px; }
  .ne-hero { padding: 48px 0 32px; }
  .ne-blurb { padding-left: 20px; }
}

/* ── Cover ─────────────────────────────────────────────── */

.ne-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.ne-cover {
  display: block; width: 100%; height: auto;
  border: var(--rule) solid var(--stone);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.ne-card-cover {
  display: block; width: 100%; height: auto;
  border: var(--rule) solid var(--stone);
  border-radius: 10px;
  margin-bottom: 24px;
  background: var(--white);
}

@media (max-width: 900px) {
  .ne-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ne-cover { max-width: 260px; }
}

/* ── Wo du gerade bist · Ein Werk, vier Orte ──────────── */

.orte {
  border-top: var(--rule) solid var(--stone);
  background: var(--gold-bg);
  padding: 88px 0 96px;
  margin-top: var(--space-section);
}
.orte-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: var(--caption); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.orte-eyebrow::before {
  content: ''; width: 40px; height: var(--rule);
  background: var(--gold); flex-shrink: 0;
}
.orte h2 { font-size: var(--h2); margin-bottom: 48px; }

.orte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.orte-karte {
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--rule) solid var(--stone);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
a.orte-karte:hover, a.orte-karte:focus-visible {
  box-shadow: var(--shadow); border-color: var(--black); transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .orte-karte { transition: none; }
  a.orte-karte:hover, a.orte-karte:focus-visible { transform: none; }
}
.orte-rolle {
  font-size: var(--caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.orte-name {
  font-family: var(--font-serif); font-size: 26px; line-height: 1.2;
  color: var(--black); margin-bottom: 14px;
}
.orte-text { font-size: var(--small); line-height: 1.55; color: var(--taupe); }

/* aktuelle Seite: nicht verlinkt, gedämpft, mit Markierung */
.orte-karte--hier { background: transparent; }
.orte-karte--hier .orte-hier {
  margin-top: 20px; padding-top: 16px;
  border-top: var(--rule) solid var(--stone);
  font-size: var(--caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--taupe);
}
/* noch nicht online */
.orte-karte--bald { background: transparent; }
.orte-karte--bald .orte-name { color: var(--taupe); }
.orte-karte--bald .orte-hier {
  margin-top: 20px; padding-top: 16px;
  border-top: var(--rule) solid var(--stone);
  font-size: var(--caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--taupe);
}

@media (max-width: 900px) {
  .orte { padding: 56px 0 64px; }
  .orte h2 { margin-bottom: 32px; }
}
