/*
 * bastianbrexner.de · Veröffentlichungen
 * Eigener Stil — VASTIS-Familie, aber offiziell, kein Mockup.
 * Wahr ist, was trägt.
 */

:root {
  --serif: Georgia, "Times New Roman", serif;
  --paper: #f5efe0;
  --paper-2: #fbf6e9;
  --ink: #19170f;
  --muted: #6f6758;
  --gold: #a8843f;
  --gold-2: #c8a058;
  --gold-soft: #e5cf94;
  --line: rgba(25, 23, 15, 0.16);
  --dark: #0e0d09;
  --link: #5d3e0a;
  --link-hover: #8a5e15;
  --blue: #1f2d44;
  --red: #7d3320;
  --green: #2e4729;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(168, 132, 63, 0.20), transparent 35%),
    radial-gradient(circle at 85% 8%, rgba(31, 45, 68, 0.16), transparent 30%),
    linear-gradient(180deg, #fbf6e9 0%, var(--paper) 50%, #ebe2cd 100%);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

/* ====== TOPBAR ====== */
.topbar {
  background: rgba(14, 13, 9, 0.96);
  color: var(--paper);
  padding: 0 28px;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.brand a {
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.brand-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.brand-tag {
  font-size: 11.5px;
  color: #cfc5b2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topnav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topnav a {
  color: #cfc5b2;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
  text-transform: uppercase;
}
.topnav a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
.topnav a.active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, rgba(168, 132, 63, 0.08), rgba(31, 45, 68, 0.05));
  border-bottom: 1px solid var(--line);
  padding: 60px 28px 50px;
  text-align: center;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}
.hero .signet {
  font-size: 64px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: 42px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  font-weight: bold;
  color: var(--ink);
}
.hero .lede {
  font-size: 18px;
  color: #3a352b;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
  font-style: italic;
}
.hero .leitsatz {
  margin-top: 28px;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ====== LAYOUT ====== */
main.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.section {
  margin: 50px 0;
}
.section h2 {
  font-size: 28px;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  display: inline-block;
}
.section .section-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
  font-style: italic;
}

/* ====== EBENEN ====== */
.ebene {
  margin: 38px 0;
  border: 1px solid var(--line);
  background: rgba(255, 252, 242, 0.6);
  border-left: 5px solid var(--gold);
}
.ebene-head {
  padding: 18px 22px;
  background: linear-gradient(90deg, rgba(168, 132, 63, 0.10), transparent 60%);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.ebene-head .level {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: bold;
}
.ebene-head .name {
  font-size: 22px;
  color: var(--ink);
  font-weight: bold;
  letter-spacing: 0.02em;
}
.ebene-head .punkt {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  flex: 1;
  min-width: 220px;
}
.ebene-body {
  padding: 18px 22px 24px;
}

/* ====== BAND-CARD ====== */
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.band {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.band:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(25, 23, 15, 0.08);
}
.band-k {
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 6px;
}
.band-title {
  font-size: 19px;
  font-weight: bold;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.band-sub {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 10px;
}
.band-blurb {
  font-size: 14px;
  color: #2b261f;
  margin: 8px 0 14px;
  line-height: 1.55;
  flex: 1;
}
.band-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin: 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.band-meta .pair { display: inline-flex; gap: 4px; }
.band-meta .pair b { color: var(--ink); font-weight: bold; }
.band-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 12px;
}
.band-tags .tag {
  font-size: 10.5px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.band-tags .tag.gold {
  background: rgba(168, 132, 63, 0.14);
  border-color: var(--gold);
  color: var(--link);
  font-weight: bold;
}
.band-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: bold;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1510;
  text-decoration: none;
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.btn:hover {
  background: var(--gold-2);
  text-decoration: none;
}
.btn.secondary {
  background: transparent;
  color: var(--link);
}
.btn.secondary:hover {
  background: rgba(168, 132, 63, 0.10);
}
.btn.pending {
  background: rgba(168, 132, 63, 0.10);
  border-color: var(--gold-soft);
  color: var(--muted);
  cursor: default;
  font-style: italic;
}
.btn.pending:hover { background: rgba(168, 132, 63, 0.10); }
.amazon-icon {
  font-weight: bold;
  letter-spacing: -0.02em;
  margin-right: 4px;
}

/* ====== WELLE-BANNER ====== */
.welle {
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: var(--paper);
  padding: 28px 32px;
  margin: 0 0 40px;
  border-left: 5px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.welle .welle-title {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold-2);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 6px;
}
.welle .welle-name {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: -0.005em;
}
.welle .welle-desc {
  font-size: 14px;
  color: #cfc5b2;
  margin-top: 8px;
  font-style: italic;
}
.welle .welle-cta {
  text-align: right;
}
.welle .welle-cta .when {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.welle .welle-cta .count {
  font-size: 36px;
  font-weight: bold;
  color: var(--paper);
  line-height: 1;
}
.welle .welle-cta .count-label {
  font-size: 12px;
  color: #cfc5b2;
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ====== INFO/NOTICE ====== */
.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: rgba(168, 132, 63, 0.08);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  margin: 20px 0;
}
.notice.info {
  border-left-color: var(--blue);
  background: rgba(31, 45, 68, 0.06);
}

/* ====== INTRO / ARCHITEKTUR ====== */
.architektur-diagramm {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 24px;
  margin: 20px 0 30px;
  font-family: var(--serif);
}
.diag-line {
  display: grid;
  grid-template-columns: 80px 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.diag-line:first-child { border-top: 0; }
.diag-line .level-label {
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: bold;
  text-transform: uppercase;
}
.diag-line .level-name {
  font-size: 15px;
  font-weight: bold;
  color: var(--ink);
}
.diag-line .level-werke {
  color: #2b261f;
  font-size: 13.5px;
}
.diag-line .level-werke b { color: var(--link); }

/* ====== FOOTER ====== */
.footer {
  margin-top: 60px;
  padding: 40px 28px 50px;
  background: var(--dark);
  color: #cfc5b2;
  text-align: center;
}
.footer-inner {
  max-width: 920px;
  margin: 0 auto;
}
.footer .leitsatz {
  font-size: 14px;
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer p {
  font-size: 12.5px;
  margin: 4px 0;
}
.footer a { color: var(--gold-2); }

/* ====== RESPONSIVE ====== */
@media (max-width: 720px) {
  .topbar-inner { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .topnav { gap: 12px; font-size: 12px; flex-wrap: wrap; }
  .hero { padding: 40px 18px 36px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 15px; }
  .section h2 { font-size: 22px; }
  .welle { grid-template-columns: 1fr; padding: 22px; }
  .welle .welle-cta { text-align: left; }
  .ebene-head { padding: 14px 16px; }
  .ebene-body { padding: 14px 16px 18px; }
  .diag-line { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  main.container { padding: 24px 18px 60px; }
}
