/* ============================================================
   Kalphabibel – Gemeinsames Stylesheet
   style.css · wird von allen Seiten eingebunden
   ============================================================ */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8D08A;
  --black: #0A0A0A;
  --dark: #111111;
  --text: #E8E8E0;
  --text-muted: #888880;
  --max-width: 760px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.8;
}

/* Globale Link-Farbe */
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); text-decoration: underline; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Arial', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  padding: 1.1rem 0;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links > li > a,
.nav-links > li > span {
  display: block;
  padding: 1.1rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links > li > a:hover { color: var(--gold); }

.nav-sep {
  width: 1px;
  height: 16px;
  background: rgba(201,168,76,0.2);
  margin: 0 0.3rem;
  flex-shrink: 0;
}

.nav-back {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 0;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--gold); }

.nav-links .nav-presse a { color: rgba(201,168,76,0.65); }
.nav-links .nav-presse a:hover { color: var(--gold-light); }

.has-dropdown { position: relative; }

.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.55rem;
  opacity: 0.55;
  letter-spacing: 0;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 210px;
  background: rgba(12, 12, 12, 0.99);
  border: 1px solid rgba(201, 168, 76, 0.2);
  list-style: none;
  z-index: 200;
}

.dropdown li a {
  display: block;
  padding: 0.8rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
  color: var(--gold-light);
  background: rgba(201,168,76,0.06);
}

.has-dropdown:hover .dropdown { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
  line-height: 1;
}
.nav-toggle:hover { color: var(--gold); }

/* ── GEMEINSAME LAYOUT-ELEMENTE ──────────────────────────── */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.25);
}

h1 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

h2 {
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

h3 {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.8rem;
}

p, address, li { color: var(--text); margin-bottom: 0.9rem; }

ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

.lead { font-size: 1.05rem; }
.stark { color: var(--gold-light); font-style: italic; }

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 0 2.5rem;
}

section { margin-bottom: 2.5rem; }

.hero-tagline {
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

/* ── KOMPONENTEN ─────────────────────────────────────────── */
.note {
  background: var(--dark);
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.kurz-box {
  background: var(--dark);
  border-left: 2px solid var(--gold);
  padding: 1.5rem 1.75rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.merkmal {
  border-top: 1px solid rgba(201,168,76,0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.merkmal:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.stand {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Presse */
.kontakt-box {
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 1.75rem;
  font-family: 'Arial', sans-serif;
}
.kontakt-box strong {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.kontakt-box .rolle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.kontakt-box p { margin-bottom: 0.4rem; }

/* Datenschutz */
.legal-text {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.legal-text a { color: var(--gold); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── INDEX-SPEZIFISCH ────────────────────────────────────── */
body.page-index {
  min-height: unset;
  display: block;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-k {
  width: min(280px, 55vw);
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary { background: var(--gold); color: var(--black); font-weight: bold; }
.btn-primary:hover { background: var(--gold-light); color: var(--black); box-shadow: 0 0 20px rgba(201,168,76,0.3); text-decoration: none; }

.btn-secondary { border: 1px solid rgba(201,168,76,0.4); color: var(--gold); }
.btn-secondary:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); text-decoration: none; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse { 0%,100% { opacity: 0.4 } 50% { opacity: 1 } }

section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

.page-index h2 {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.page-index p { margin-bottom: 1.4rem; }

.page-index .divider {
  margin: 1.5rem 0;
}

.auszug {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: rgba(201,168,76,0.04);
  border-radius: 0 2px 2px 0;
}
.auszug p { font-style: italic; color: var(--text-muted); margin-bottom: 0.8rem; font-size: 1.05rem; }
.auszug p:last-child { margin-bottom: 0; }
.auszug-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
}
.download-info { font-family: 'Arial', sans-serif; }
.download-info span { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

.music-link-box {
  margin-top: 1.8rem;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  font-family: 'Arial', sans-serif;
  text-align: center;
}
.music-link-box strong { display: block; color: var(--gold); }
.music-link-box span { display: block; color: var(--gold); opacity: 0.75; font-size: 0.85rem; margin-top: 0.3rem; margin-bottom: 1rem; }

.song-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.song-card {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 1.2rem 1.5rem;
  font-family: 'Arial', sans-serif;
  text-align: left;
}
.song-card-title {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.song-card audio {
  width: 100%;
  height: 40px;
  display: block;
}
.song-card-download {
  display: inline-block;
  margin-top: 0.9rem;
}

.k-symbol {
  font-size: 8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.15;
  font-family: 'Georgia', serif;
  user-select: none;
}

.kalphabet-open {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.kalphabet-open span { border: 1px solid rgba(201,168,76,0.2); padding: 0.3rem 0.7rem; border-radius: 1px; }
.kalphabet-open span.k-active { border-color: var(--gold); color: var(--gold); }
.kalphabet-open span.k-open { opacity: 0.3; font-style: italic; }

.charta-kreislauf { display: flex; flex-direction: column; gap: 0; margin: 2.5rem 0; }
.charta-item {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.charta-item:last-child { border-bottom: none; }
.charta-nr {
  font-family: 'Arial', sans-serif; font-size: 0.7rem;
  color: var(--gold); opacity: 0.5; min-width: 2rem;
  padding-top: 0.3rem; letter-spacing: 0.1em;
}
.charta-text strong {
  display: block; color: var(--text); margin-bottom: 0.2rem;
  font-family: 'Arial', sans-serif; font-size: 1rem; font-weight: 400;
}
.charta-text span { font-size: 0.9rem; color: var(--text-muted); }
.charta-arrow { text-align: center; color: rgba(201,168,76,0.3); font-size: 1rem; padding: 0.2rem 0 0.2rem 3.5rem; }

.autor-box { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.autor-meta { font-family: 'Arial', sans-serif; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.05em; }

.lizenz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.lizenz-item {
  padding: 1.2rem; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px; font-family: 'Arial', sans-serif; font-size: 0.85rem;
}
.lizenz-item .icon { font-size: 1.4rem; margin-bottom: 0.5rem; display: block; }
.lizenz-item.ok { border-color: rgba(100,180,100,0.25); }
.lizenz-item.nok { border-color: rgba(180,80,80,0.25); }
.lizenz-item.ok .icon::after { content: ' ✓'; color: #6bb56b; font-size: 0.85rem; }
.lizenz-item.nok .icon::after { content: ' ✕'; color: #c06060; font-size: 0.85rem; }

.impressum-text { font-family: 'Arial', sans-serif; font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
  }

  nav.open .nav-links { display: flex; }

  .nav-links > li > a,
  .nav-links > li > span { padding: 0.75rem 2rem; font-size: 0.75rem; }

  .nav-sep { display: none; }

  .has-dropdown > a::after { content: ''; }

  .dropdown {
    display: block; position: static; border: none;
    border-left: 2px solid rgba(201,168,76,0.2);
    margin-left: 2.5rem; min-width: 0;
  }

  .dropdown li a { padding: 0.55rem 1rem; font-size: 0.7rem; border-bottom: none; }
}

@media (max-width: 600px) {
  main { padding: 2.5rem 1.25rem; }
  .download-box { flex-direction: column; align-items: flex-start; }
  .lizenz-grid { grid-template-columns: 1fr; }
}
