:root {
  --bg: #0b1020;
  --bg-alt: #141a30;
  --accent: #f0b429;
  --accent-soft: rgba(240,180,41,0.12);
  --text: #f7f7ff;
  --muted: #c1c4d6;
  --border: #262b45;
  --error: #ff7676;
  --success: #8be68b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: radial-gradient(circle at top, #1b2340 0, #050713 45%, #010109 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,7,19,0.95), rgba(5,7,19,0.7));
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fff 0, #f0b429 40%, #d47e20 70%, #46220b 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #120a02;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 12px 30px rgba(0,0,0,0.5);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
}
.nav-links a {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.nav-links a:hover {
  border-color: var(--accent-soft);
  background: rgba(8,12,30,0.7);
  color: var(--text);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1.5rem 2.5rem;
  margin-top: 0.5rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(240,180,41,0.25) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(45,206,255,0.16) 0, transparent 55%),
    linear-gradient(135deg,#080b19,#050611);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.03);
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
    padding: 1.6rem 1.2rem 2rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(3,8,31,0.9);
  border: 1px solid rgba(135,158,255,0.4);
  color: var(--muted);
}
.hero-kicker span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61e7ff;
  box-shadow: 0 0 12px rgba(128,222,255,0.9);
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0.9rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.hero h1 span.highlight {
  background: linear-gradient(120deg,#ffe4a3,#f0b429,#ffdf95);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin: 0.3rem 0 1.1rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  color: var(--text);
  transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg,#f7c96c,#f0b429,#d07b1d);
  color: #111;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0,0,0,0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.7);
}
.btn-ghost {
  border-color: rgba(151,164,255,0.35);
  color: var(--muted);
  background: rgba(5,9,35,0.85);
}
.btn-ghost:hover {
  border-color: rgba(151,164,255,0.7);
  color: var(--text);
  background: rgba(12,18,50,0.95);
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.hero-meta span::before {
  content: "•";
  color: var(--accent);
}

.hero-aside {
  position: relative;
}
.hero-card {
  position: relative;
  border-radius: 24px;
  padding: 1rem 1.1rem 1.2rem;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08) 0, rgba(9,10,25,0.95) 40%, #050713 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -10% 0, rgba(255,255,255,0.14), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}
.hero-portrait {
  aspect-ratio: 4/3;
  border-radius: 18px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Georg_Büchner_drawing.jpg/640px-Georg_Büchner_drawing.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}
.hero-portrait::after {
  content: "Georg Büchner (1813–1837)";
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(7,9,29,0.9);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.hero-quote {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  padding-left: 1rem;
}
.hero-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.4rem;
  font-size: 2rem;
  color: rgba(255,255,255,0.15);
}

/* Sections */
section {
  margin-top: 2.6rem;
}
section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}
.section-kicker {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.45rem;
}
.section-intro {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42rem;
  margin-bottom: 1.2rem;
}

/* Biografie & Cards */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1.1fr);
  gap: 1.6rem;
}
@media (max-width: 800px) {
  .bio-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
.card {
  background: radial-gradient(circle at top, rgba(255,255,255,0.03) 0, rgba(6,8,26,0.98) 40%, #050713 100%);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
}
.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.bio-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}
.pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  background: rgba(7,9,29,0.9);
}
.pill-accent {
  border-color: rgba(240,180,41,0.7);
  background: var(--accent-soft);
  color: #ffe7ad;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 0.8rem;
  padding-left: 0.4rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(240,180,41,0.8), rgba(90,103,255,0.4));
  border-radius: 999px;
}
.timeline-item {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.8);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(240,180,41,0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(240,180,41,0.28);
}
.timeline-year {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fcd994;
  margin-bottom: 0.05rem;
}
.timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.timeline-text {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Werke */
.works-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.filter-chip {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(151,164,255,0.35);
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  background: rgba(4,8,28,0.9);
  transition: all 0.16s ease;
}
.filter-chip.active {
  background: linear-gradient(135deg,#f0b429,#f9d97f);
  color: #221003;
  border-color: transparent;
  font-weight: 600;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 0.9rem;
}
.work-item {
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  background: rgba(7,11,37,0.95);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.work-title {
  font-weight: 600;
}
.work-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.work-tag {
  margin-top: 0.25rem;
  align-self: flex-start;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(151,164,255,0.4);
  color: #c3c8ff;
}

/* Zitate Slider */
.quote-slider {
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.quote {
  display: none;
  font-size: 1rem;
  max-width: 40rem;
}
.quote.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}
.quote-text {
  font-style: italic;
}
.quote-source {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.quote-controls {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.quote-dots {
  display: flex;
  gap: 0.35rem;
}
.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  opacity: 0.5;
}
.quote-dot.active {
  background: #fff;
  opacity: 1;
}
.quote-btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quiz */
.quiz {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.1fr);
  gap: 1.4rem;
  align-items: flex-start;
}
@media (max-width: 800px) {
  .quiz {
    grid-template-columns: minmax(0,1fr);
  }
}
.quiz-question {
  margin-bottom: 0.9rem;
}
.quiz-question h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s ease;
}
.quiz-options input[type="radio"] {
  accent-color: var(--accent);
}
.quiz-options label:hover {
  background: rgba(15,20,55,0.85);
}
.quiz-feedback {
  font-size: 0.9rem;
  margin-top: 0.4rem;
  min-height: 1.2em;
}
.quiz-feedback.ok {
  color: var(--success);
}
.quiz-feedback.err {
  color: var(--error);
}

.quiz-side {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 1rem;
}
@media (max-width: 800px) {
  .quiz-side {
    border-left: none;
    border-top: 1px dashed rgba(255,255,255,0.08);
    padding-left: 0;
    padding-top: 0.8rem;
  }
}
.quiz-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 1.25rem 2rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 1080px;
  margin: 0 auto;
}
footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Zusatz: einfache Layout-Helfer für Unterseiten */
.page-hero-mini {
  margin-top: 1.5rem;
  padding: 1.5rem 1.5rem 1.8rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(240,180,41,0.18) 0, transparent 55%),
    linear-gradient(135deg,#080b19,#050611);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.05);
}
.page-hero-mini h1 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1.1fr);
  gap: 1.6rem;
  margin-top: 1.8rem;
}
@media (max-width: 800px) {
  .page-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
.page-box {
  background: rgba(7,11,37,0.9);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}
.page-box h2,
.page-box h3 {
  margin-top: 0;
}

/* Kleine Tabelle */
.table-like {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.table-like th,
.table-like td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.table-like th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}
