/* v1.2 vom 19.11.2025 */

/* =====================================
   Basis-Layout & Typografie
   ===================================== */

main, section {
  margin: 0;
  padding: 0;
}
  
body {
  font-family: monospace;
  max-width: 700px;
  margin: 2rem auto;
  line-height: 1.6;
  padding: 0 1rem;
  background-color: #fff;
  color: #000;
}

p {
  margin-bottom: 1rem;
}

.home-hero { margin-bottom: 2rem; }
.home-papers, .home-whatsapp, .home-episodes { margin-top: 2.5rem; }

/* Logo: klickbarer Link, kein H1 notwendig */
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}

/* Logo soll nie blau/lila werden – immer wie normaler Text */
.logo,
.logo:visited,
.logo:hover {
  color: inherit !important;
  text-decoration: none;
}

/* =====================================
   Headings – global (inkl. Paper)
   ===================================== */

h1 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Paper-Titel: nutzt globale H1-Definition, bekommt nur eine andere Schrift */
.paper-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* Abschnittstrenner */
hr {
  border: 0;
  border-top: 1px solid #d9d9d9;
  margin: 1.5rem 0;
}

.footer-line {
  margin: 2rem 0 1rem;
}

/* =====================================
   Episoden / Audio (Startseite)
   ===================================== */

.episode {
  margin-bottom: 2rem;
}

.episode p {
  margin-bottom: 0.5rem;
}

audio {
  display: block;
  margin-top: 0.25rem;
  width: 100%;
  max-width: 500px;
}

/* Transkript */
summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95em;
  color: #222;
  margin-top: 0.5rem;
}

details p {
  background-color: #f8f8f8;
  padding: 0.8em;
  margin-top: 0.5em;
  border-radius: 4px;
  white-space: pre-line;
  font-style: italic;
}

/* =====================================
   Paper – leichte Essay-Optik
   ===================================== */

.paper-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.paper-meta {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 0.8rem;
}

.paper {
  border-left: 1px solid #e0e0e0;     /* feine Linie links */
  padding-left: 1rem;                 /* angenehmer Satzspiegel */
}


/* Fließtext & Listen im Paper: minimal mehr Luft als global */
.paper p,
.paper ol,
.paper ul {
  margin-bottom: 1.1rem;
}

/* =====================================
   Links – global & Paper-spezifisch
   ===================================== */

/* Global: Standard-Web-Links (Startseite, Footer etc.) */
a {
  color: blue;
  text-decoration: underline;
}

a:visited {
  color: purple;
}

a:hover {
  text-decoration: none;
}

/* Im Paper & in Fußnoten: neutral (grau), wie Fließtext */
.paper a,
.footnotes a {
  color: inherit;
  text-decoration: none;
}

.paper a:hover,
.footnotes a:hover {
  text-decoration: underline;
}

/* =====================================
   Fußnoten
   ===================================== */

/* Trennlinie zu den Fußnoten (optional genutzt) */
.footnotes-separator {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border: none;
  border-top: 1px solid #ddd;
}

/* Fußnotencontainer – kleiner, dezenter Text */
.footnotes {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #555;
  margin-top: 2.5rem;
}

.footnotes ol {
  padding-left: 1.2rem;
  margin: 0;
}

.footnotes li {
  overflow-wrap: anywhere;
  word-break: break-word;    /* Fallback für ältere Browser */
}

.footnotes li + li {
  margin-top: 0.35rem;
}

/* =====================================
   Footer
   ===================================== */

footer {
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  color: #888;
}

footer p {
  margin: 0.2rem 0;
}

.copyright {
  font-size: 0.7rem;
  color: #666;
}

.about-author {
  font-size: 0.7rem;
  color: #666;
}