/* ============================================================
   GRUNDRECHTE-AUSSTELLUNG · Schülermagazin-Stil
   Schriftarten: Playfair Display (Überschriften) + Source Serif 4 (Text)
   Palette: Cremeweiß · Dunkelblau-Tinte · Rot-Akzent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

:root {
  --bg:     #F5F1E8;
  --bg-2:   #EDE8DC;
  --bg-3:   #E4DDD0;
  --fg:     #1A1A2E;
  --fg-2:   #3D3D5C;
  --fg-3:   #7A7A8C;
  --akzent: #C0392B;
  --akzent2: #1A5276;
  --linie:  rgba(26,26,46,0.15);
  --linie2: rgba(26,26,46,0.25);

  --f-d: 'Playfair Display', Georgia, serif;
  --f-t: 'Source Serif 4', Georgia, serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22,1,0.36,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-t);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--f-d); line-height: 1.1; letter-spacing: -0.01em; }

/* ── Header ── */
.museum-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--fg);
  border-bottom: 3px solid var(--akzent);
  padding: 0 2.5rem;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}

.museum-logo {
  font-family: var(--f-d);
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #F5F1E8;
  display: flex; align-items: center; gap: 0.55rem;
}

.museum-logo .dot {
  width: 8px; height: 8px;
  background: var(--akzent);
  border-radius: 50%;
  flex-shrink: 0;
}

.header-nav {
  display: flex; align-items: center; gap: 2.5rem;
}

.header-nav a {
  font-family: var(--f-t);
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(245,241,232,0.7);
  position: relative;
  transition: color 0.25s;
}

.header-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--akzent);
  transition: width 0.3s var(--ease);
}

.header-nav a:hover { color: #F5F1E8; }
.header-nav a:hover::after { width: 100%; }

/* ── Container ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Footer ── */
.museum-footer {
  border-top: 2px solid var(--fg);
  background: var(--fg);
  padding: 2rem 2.5rem;
  margin-top: 6rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

.museum-footer p {
  font-size: 0.75rem; color: rgba(245,241,232,0.5);
  letter-spacing: 0.05em; font-family: var(--f-t);
}

.footer-dot {
  width: 6px; height: 6px;
  background: var(--akzent); border-radius: 50%; flex-shrink: 0;
}

/* ── Zurück-Button ── */
.btn-zurueck {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-t); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--linie2);
  padding: 0.4rem 1rem; border-radius: 3px;
  transition: all 0.25s; cursor: pointer; background: transparent;
}

.btn-zurueck:hover {
  border-color: var(--akzent);
  color: var(--akzent);
  background: rgba(192,57,43,0.05);
}

.btn-zurueck svg { width: 13px; height: 13px; transition: transform 0.25s; }
.btn-zurueck:hover svg { transform: translateX(-3px); }

/* ── Grundrecht-Chip ── */
.grundrecht-chip {
  display: inline-flex; align-items: center;
  font-family: var(--f-t);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #F5F1E8;
  background: var(--akzent2);
  padding: 0.25rem 0.7rem; border-radius: 2px;
}

/* ── Animationen ── */
@keyframes einblenden {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animiert { animation: einblenden 0.6s var(--ease) forwards; opacity: 0; }
.animiert-1 { animation-delay: 0.05s; }
.animiert-2 { animation-delay: 0.15s; }
.animiert-3 { animation-delay: 0.25s; }
.animiert-4 { animation-delay: 0.35s; }
.animiert-5 { animation-delay: 0.45s; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .museum-header { padding: 0 1.25rem; }
  .header-nav { display: none; }
  .container { padding: 0 1.25rem; }
  .museum-footer { padding: 1.5rem 1.25rem; }
}