/* ═══════════════════════════════════════════
   DER GOLEM – Onepager
   Design: Dark/Low-Key · Gold × Kaltblau
   Typo: Times New Roman (Monument) × DejaVu Sans (Maschine)
   ═══════════════════════════════════════════ */

:root {
  --bg-deep: #0a0a0f;
  --bg-section: #0e0e16;
  --gold: #d4a853;
  --gold-dim: #8a6d2e;
  --blue-cold: #4a90d9;
  --blue-dim: #1e3a5f;
  --text-main: #e8e4dc;
  --text-dim: #9a958a;
  --sphere-gold: #f0c860;
  --sphere-blue: #5ab0ff;
  --border-subtle: rgba(212,168,83,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: 'DejaVu Sans', 'Segoe UI', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── SPHÄREN-ACHSE (vertikale Linie) ─── */
.sphere-axis {
  position: fixed;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100vh;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold-dim) 15%,
    var(--gold) 30%,
    transparent 50%,
    var(--blue-dim) 70%,
    var(--blue-cold) 85%,
    transparent 100%
  );
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.sphere-axis .sphere-top {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sphere-gold), var(--gold-dim));
  box-shadow: 0 0 20px var(--gold), 0 0 40px rgba(212,168,83,0.3);
  animation: pulse-gold 4s ease-in-out infinite;
}

.sphere-axis .sphere-bottom {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sphere-blue), var(--blue-dim));
  box-shadow: 0 0 20px var(--blue-cold), 0 0 40px rgba(74,144,217,0.3);
  animation: pulse-blue 5s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px var(--gold), 0 0 40px rgba(212,168,83,0.3); }
  50% { box-shadow: 0 0 30px var(--gold), 0 0 60px rgba(212,168,83,0.5); }
}
@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 20px var(--blue-cold), 0 0 40px rgba(74,144,217,0.3); }
  50% { box-shadow: 0 0 30px var(--blue-cold), 0 0 60px rgba(74,144,217,0.5); }
}

/* ─── SEKTIONEN ─── */
section {
  position: relative;
  padding: 100px 8%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

section:nth-child(even) { background: var(--bg-section); }

/* ─── TITEL ─── */
h1, h2, h3 {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-weight: normal;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  text-align: center;
  color: var(--text-main);
  text-shadow: 0 0 40px rgba(212,168,83,0.2);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 40px;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
}

figure {
  margin: 0; text-align:center; margin: 30px 0 84px 0; width: 640px; max-width:100%;  padding: 4px; border: 1px solid var(--border-subtle);
}

/* ─── BODY TEXT ─── */
p, li {
  font-family: 'DejaVu Sans', 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: var(--text-dim);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-cold); }

/* ═══════════════════════════════════════════
   SEKTION 1: HERO
   ═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 50% 20%, rgba(212,168,83,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(74,144,217,0.12) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(10,10,15,0.72) 0%, rgba(10,10,15,0.85) 55%, var(--bg-deep) 100%),
    url('pics/00_golem-cover-hero-bild.jpg');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center 35%;
  background-repeat: no-repeat;
}

#hero .kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 30px;
}

#hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  letter-spacing: 0.14em;
  line-height: 0.95;
}

#hero .scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  z-index: 3;
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

#hero .book-title {
  font-family: 'Times New Roman', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

#hero .hook {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--blue-cold);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

#hero .subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 50px;
}

#hero .cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: all 0.4s ease;
}

#hero .cta:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212,168,83,0.3);
  color: #fff;
}

/* ═══════════════════════════════════════════
   SEKTION 2: DAS BUCH
   ═══════════════════════════════════════════ */
#buch .chapters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

#buch .chapter {
  background: rgba(212,168,83,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 28px;
  transition: all 0.3s ease;
}

#buch .chapter:hover {
  border-color: var(--gold-dim);
  background: rgba(212,168,83,0.06);
  transform: translateY(-4px);
}

#buch .chapter .num {
  font-family: 'Times New Roman', serif;
  font-size: 2.5rem;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 8px;
}

#buch .chapter .title {
  font-family: 'Times New Roman', serif;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

#buch .chapter .core {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-dim);
}

#buch .red-thread {
  margin-top: 60px;
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

#buch .red-thread p {
  font-family: 'Times New Roman', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   SEKTION 3: DER PROZESS (Timeline)
   ═══════════════════════════════════════════ */
#prozess .timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto 0;
  padding-left: 40px;
}

#prozess .timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-dim), var(--blue-dim));
}

#prozess .timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 4px 4px 0;
}

#prozess .timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 24px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

#prozess .timeline-item .phase {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-cold);
  margin-bottom: 6px;
}

#prozess .timeline-item .desc {
  font-size: 0.95rem;
}

#prozess .timeline-item .hurdle {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--blue-dim);
}

#prozess .timeline-link {
  text-align: center;
  margin-top: 44px;
}

#prozess .timeline-link a {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  transition: all 0.4s ease;
}

#prozess .timeline-link a:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212,168,83,0.3);
  color: #fff;
}

/* ═══════════════════════════════════════════
   SEKTION 4: BILDERGESCHICHTE
   ═══════════════════════════════════════════ */
#bilder .gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 800px;
  margin: 40px auto 0;
}

#bilder .gallery-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

#bilder .gallery-item:nth-child(even) {
  flex-direction: row-reverse;
}

#bilder .gallery-item .img-placeholder {
  flex: 0 0 280px;
  height: 380px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  padding: 20px;
}

#bilder .gallery-item .img-placeholder .label {
  font-family: 'Times New Roman', serif;
  font-size: 1rem;
  color: var(--gold-dim);
}

#bilder .gallery-item .narrative {
  flex: 1;
}

#bilder .gallery-item .narrative h3 {
  font-size: 1.2rem;
}

#bilder .gallery-item .narrative p {
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   SEKTION 5: DAS TEAM
   ═══════════════════════════════════════════ */
#team .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#team .member {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s ease;
}

#team .member:hover {
  border-color: var(--gold-dim);
  transform: translateY(-6px);
}

#team .member .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

#team .member:nth-child(1) .avatar {
  background: radial-gradient(circle, rgba(212,168,83,0.2), transparent);
  border: 1px solid var(--gold-dim);
}
#team .member:nth-child(2) .avatar {
  background: radial-gradient(circle, rgba(212,168,83,0.15), transparent);
  border: 1px solid var(--gold-dim);
}
#team .member:nth-child(3) .avatar {
  background: radial-gradient(circle, rgba(74,144,217,0.15), transparent);
  border: 1px solid var(--blue-dim);
}

#team .member .name {
  font-family: 'Times New Roman', serif;
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

#team .member .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-cold);
  margin-bottom: 16px;
}

#team .member .bio {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   SEKTION 6: DAS LABOR
   ═══════════════════════════════════════════ */
#labor .lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#labor .lab-item {
  padding: 24px;
  background: rgba(74,144,217,0.03);
  border: 1px solid rgba(74,144,217,0.15);
  border-radius: 4px;
  text-align: center;
}

#labor .lab-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

#labor .lab-item .label {
  font-family: 'Times New Roman', serif;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

#labor .lab-item .detail {
  font-size: 0.85rem;
  color: var(--text-dim);
}

#labor .lab-quote {
  text-align: center;
  margin-top: 50px;
  font-family: 'Times New Roman', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--blue-cold);
}

/* ═══════════════════════════════════════════
   BILDERGESCHICHTE: ECHTE BILDER + LIGHTBOX
   ═══════════════════════════════════════════ */
#bilder .book-img {
  flex: 0 0 280px;
  height: 380px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  cursor: zoom-in;
  transition: all 0.3s ease;
  margin: 0;
}
#bilder .book-img:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 30px rgba(212,168,83,0.2);
  transform: translateY(-4px);
}
#bilder .book-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#bilder .book-img .img-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10,10,15,0.85), transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
#bilder .book-img .img-caption .label {
  font-family: 'Times New Roman', serif;
  color: var(--gold-dim);
  font-size: 0.9rem;
}

/* ─── LIGHTBOX ─── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,10,0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(212,168,83,0.15);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: 'DejaVu Sans', sans-serif;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Times New Roman', serif;
  color: var(--text-dim);
  font-size: 0.95rem;
  text-align: center;
}
@media (max-width: 768px) {
  #bilder .book-img { flex: none; width: 100%; height: 280px; }
}

/* ─── MOBILE FINE-TUNING (Pi-Display / Handy) ─── */
@media (max-width: 480px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 12px; right: 16px; font-size: 2rem; }
  .lightbox-caption { bottom: 12px; font-size: 0.8rem; }
  #hero .kicker { letter-spacing: 0.2em; }
  #hero .cta { padding: 12px 28px; }
  #hero .book-title { font-size: 1rem; }
  /* Timeline: enger rücken */
  #prozess .timeline { padding-left: 24px; }
  #prozess .timeline::before { left: 6px; }
  #prozess .timeline-item::before { left: -22px; }
  #prozess .timeline-item { padding: 14px; }
  /* Kapitel-Grid: nie breiter als Viewport */
  #buch .chapters { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
  #kulis .excerpt { padding: 0 14px 14px; }
  #kulis .excerpt p { padding-left: 10px; }
}

/* ─── FOOTER ─── */
footer {
  text-align: center;
  padding: 60px 8%;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
}

footer .footer-title {
  font-family: 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  section { padding: 60px 5%; min-height: auto; }
  #hero { min-height: 100svh; }
  #bilder .gallery-item { flex-direction: column !important; }
  #bilder .gallery-item .img-placeholder { flex: none; width: 100%; height: 280px; }
  .sphere-axis { display: none; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   SEKTION 7: HINTER DEN KULISSEN (CHAT-EXCERPTS)
   ═══════════════════════════════════════════ */
#kulis .chat-excerpts {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#kulis details {
  background: rgba(212,168,83,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

#kulis details[open] {
  border-color: var(--gold-dim);
  background: rgba(212,168,83,0.05);
}

#kulis summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: 'Times New Roman', serif;
  font-size: 1.05rem;
  color: var(--text-main);
  list-style: none;
  position: relative;
  transition: color 0.3s ease;
}

#kulis summary::-webkit-details-marker { display: none; }

#kulis summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold-dim);
  transition: transform 0.3s ease;
}

#kulis details[open] summary::after {
  content: '−';
  color: var(--gold);
}

#kulis summary:hover { color: var(--gold); }

#kulis .excerpt {
  padding: 0 22px 22px;
}

#kulis .excerpt p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-style: italic;
  border-left: 2px solid var(--gold-dim);
  padding-left: 16px;
  margin-bottom: 12px;
}

#kulis .source {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-cold);
}

#kulis .download-link {
  text-align: center;
  margin-top: 44px;
}

#kulis .download-link a {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  transition: all 0.4s ease;
}

#kulis .download-link a:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212,168,83,0.3);
  color: #fff;
}

/* ─── BARRIEREFREIHEIT: REDUZIERTE BEWEGUNG ─── */
@media (prefers-reduced-motion: reduce) {
  .sphere-axis .sphere-top,
  .sphere-axis .sphere-bottom { animation: none; }
  #hero .scroll-hint { animation: none; opacity: 0.7; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}