/* 1. GRUNDSTELLUNG & PAPIER-HINTERGRUND */

html, body {
  margin: 0;
  padding: 0;
  /* Ein sanftes, augenschonendes BG */
  background-color: #f4f1ea;
  /* Klassische Serifenschriften, die jeder Browser installiert hat */
  font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
  
  /* FLUIDE SCHRIFTGRÖSSE: 
     Skaliert stufenlos zwischen Mobilgeräten (min. 16px) und großen Desktops (max. 19px).
     Formel: clamp(Min-Größe, Wunsch-Wert vw, Max-Größe) */
  font-size: clamp(16px, 1.25vw + 12px, 19px);
  
  line-height: 1.65;
  color: #1a1a1a; /* Ein weiches Schwarz/Dunkelgrau für weniger Kontrast-Stress */
}

/* 2. DIE BUCHSEITE (ZENTRIERTER TEXTBEREICH) */

.book-container {
  max-width: 680px; /* Verhindert zu lange, anstrengende Zeilen */
  margin: 0 auto; /* Zentriert das Buch auf dem Bildschirm */
  
  /* Fluides Padding: Äußere Abstände schrumpfen auf kleinen Bildschirmen sanft */
  padding: clamp(30px, 6vw, 60px) clamp(15px, 4vw, 20px);
  
  text-align: left; /* Grundsätzliche Linksausrichtung wie gewünscht */
}

/* 3. TITEL DES GESAMTWERKS (GANZ OBEN) */

h1 {
  /* Skaliert proportional, bleibt aber immer überschriftengroß */
  font-size: clamp(1.7rem, 2.5vw + 1rem, 2.1rem);
  font-weight: normal;
  text-align: center;
  margin-bottom: clamp(30px, 6vw, 60px);
  letter-spacing: 0.1em;
  line-height: 1.1;
}

/* Der Untertitel */
h1 .subtitle {
  display: inline-block;  
  margin-top: 2px;        
  font-size: clamp(1rem, 1vw + 0.8rem, 1.1rem);      
  color: #333;           
  letter-spacing: 0.03em;
}

h1.underline-offset {
  text-decoration: underline;
  text-underline-offset: 0.5em;
}

/* 4. KAPITELÜBERSCHRIFTEN (MITTIG) */

h2 {
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.6rem);
  font-weight: normal;
  text-align: center;
  margin-top: clamp(50px, 10vw, 100px); /* Schafft proportional Raum vor einem neuen Kapitel */
  margin-bottom: clamp(25px, 4vw, 40px); 
  letter-spacing: 0.02em;
}

/* 5. UNTERÜBERSCHRIFTEN INNERHALB DER KAPITEL (LINKS) */

h3 {
  font-size: clamp(1.1rem, 0.8vw + 0.9rem, 1.2rem);
  font-weight: bold;
  text-align: left;
  margin-top: clamp(25px, 4vw, 40px);
  margin-bottom: clamp(12px, 2vw, 20px);
}

h4 {
  font-size: clamp(1.0rem, 0.6vw + 0.85rem, 1.1rem);
  font-weight: bold;
  text-align: left;
  margin-top: clamp(25px, 4vw, 40px);
  margin-bottom: clamp(12px, 2vw, 20px);
}

h5 {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.0rem);
  font-weight: bold;
  text-align: left;
  margin-top: clamp(25px, 4vw, 40px);
  margin-bottom: clamp(12px, 2vw, 20px);
}

/* 6. TEXTPARAGRAPHEN */

p {
  margin-top: 0;
  margin-bottom: 24px; /* Sauberer Abstand zwischen den Absätzen */
  text-align: left;
  hyphens: auto; /* Erlaubt dem Browser automatische Silbentrennung */
}

/* spezielle Überschrift h2 */

.speziell-h2 {
  margin-top: clamp(30px, 5vw, 50px);
}

/* Optionaler visueller Trenner */

.separator {
  text-align: center;
  margin: 10px 0;
  font-size: 1.5rem;
  color: #706e6b;
}

.chapter-nav {
  text-align: center;
  margin-top: clamp(25px, 4vw, 40px);
  font-size: 0.95rem;
}

.chapter-nav a {
  color: #706e6b;         
  text-decoration: none;   
  font-style: italic;       
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.chapter-nav a:hover {
  color: #1a1a1a;          
}

/* 7. ZITATE IM BUCH-STIL */
blockquote.book-quote {
  margin: 40px auto;       /* Abstand nach oben/unten */
  padding: 0 20px;         /* Innenabstand an den Seiten */
  max-width: 580px;        /* Etwas schmaler als der Haupttext für einen schönen Block-Effekt */
  font-style: italic;      /* Klassischer Buch-Look für Zitate */
  text-align: left;        /* Linksausrichtung */
  color: #333;             /* Minimal dunkler oder wie der Fließtext */
  border-left: 3px solid #706e6b; /* Eine dezente vertikale Linie links */
}

hr {
  border: none !important;
  border-top: 1px solid #fff !important; /* Definiert die Linie über den oberen Rahmen */
  height: 0 !important;
  margin: 10px 0 !important;
}