/* Grunddesign */
body {
  margin:0;
  font-family: Arial, sans-serif;
  background:#111;
  color:white;
}

/* Navigation oben */
nav {
  position: fixed;
  top:0;
  width:100%;
  background:#1a1a1a;
  display:flex;
  justify-content:center;
  gap:30px;
  padding:15px 0;
  z-index:1000;
}

nav a {
  color:white;
  text-decoration:none;
  font-weight:bold;
}

nav a:hover {
  color:#c62828;
}

/* Hero Section */
.hero {
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:#0d0d0d url('images/autorenbild_2.jpeg') no-repeat center/cover;
  padding-top:60px; /* wegen Navigation */
}

.hero-content h1 {
  font-size:60px;
  margin-bottom:20px;
}

.hero-content p {
  font-size:22px;
  opacity:0.8;
  margin-bottom:30px;
}

/* Buttons */
.hero-buttons .btn {
  display:inline-block;
  margin:0 10px;
  padding:15px 30px;
  background:#c62828;
  color:white;
  text-decoration:none;
  border-radius:8px;
  transition:0.3s;
}

.hero-buttons .btn:hover {
  background:#ff3d3d;
  transform:translateY(-3px);
}

/* Autorentext */
.author-text {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.8;
  color: #eee;
}

.author-text h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #c62828;
}

.author-text p {
  margin-bottom: 20px;
}

/* Hervorhebungen */
.author-text .highlight {
  color: #ff3d3d;
  font-weight: bold;
}

/* Autoren-Text-Ende*/

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* einzelne Card */
.card {
  background:#1e1e1e;
  width: 300px;      /* alle gleich groß */
  padding:20px;
  border-radius:12px;
  text-align:center;
  transition:0.3s;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.card img {
  width:100%;
  border-radius:10px;
  margin-bottom:15px;
}

.card h3 {
  margin:10px 0;
  font-size:22px;
}

.card p {
  margin-bottom:15px;
  color:#ccc;
}

.card .btn {
  padding:10px 20px;
  background:#c62828;
  color:white;
  text-decoration:none;
  border-radius:8px;
  transition:0.3s;
}

.card .btn:hover {
  background:#ff3d3d;
  transform:translateY(-3px);
}

.author-photo{
  width:220px;
  border-radius:50%;
  display:block;
  margin:20px auto 40px auto;
  border:3px solid #c62828;
}

/* Buch Carousel */

.book-carousel{
  text-align:center;
  margin:80px auto;
}

.book-carousel h2{
  font-size:36px;
  margin-bottom:40px;
  color:#c62828;
}

.carousel{
  display:flex;
  gap:40px;
  overflow-x:auto;
  padding:20px;
  justify-content:center;
}

.book{
  min-width:220px;
  background:#1e1e1e;
  padding:15px;
  border-radius:12px;
  transition:0.3s;
}

.book img{
  width:100%;
  border-radius:8px;
  margin-bottom:10px;
}

.book:hover{
  transform:translateY(-5px);
}

/* Buch Carousel Ende */

/* Zitat*/
.quote{
  max-width:800px;
  margin:100px auto;
  text-align:center;
  font-style:italic;
  color:#ddd;
}

.quote-text{
  font-size:28px;
  margin-bottom:20px;
}

.quote-book{
  font-size:18px;
  color:#c62828;
}

/* ------ Zitat Ende ------- */

/* ----------------------------- Podcast-Preview ------------------------*/
.podcast-preview{
  max-width:800px;
  margin:80px auto;
  text-align:center;
}

.podcast-preview h2{
  margin-bottom:30px;
  color:#c62828;
}

/* --------------------------------- Podcast-Preview Ende ---------------------- */

/* ----------------------------footer ---------------------------*/

/* Footer */

footer{
  background:#0d0d0d;
  border-top:1px solid #222;
  margin-top:80px;
}

.footer-content{
  max-width:1200px;
  margin:auto;
  padding:40px 20px;
  text-align:center;
  color:#aaa;
  font-size:14px;
}

.footer-name{
  margin-bottom:15px;
}

.footer-links{
  margin-bottom:15px;
}

.footer-links a{
  color:#ccc;
  text-decoration:none;
  margin:0 10px;
  transition:0.3s;
}

.footer-links a:hover{
  color:#c62828;
}

.footer-note{
  font-size:13px;
  color:#777;
}

/* -------------------------- footer - quote -----------------------------*/

.footer-quote{
  max-width:700px;
  margin:80px auto 40px auto;
  text-align:center;
  font-size:20px;
  font-style:italic;
  color:#ddd;
  position:relative;
}

.footer-quote::before{
  content:"";
  display:block;
  width:80px;
  height:2px;
  background:#c62828;
  margin:0 auto 20px auto;
}

.footer-quote::after{
  content:"";
  display:block;
  width:80px;
  height:2px;
  background:#c62828;
  margin:20px auto 0 auto;
}

/* --------- Responsive für kleinere Bildschirme --------- */
@media (max-width: 1024px) {
  /* Hero */
  .hero-content h1 {
    font-size: 50px;
  }
  .hero-content p {
    font-size: 20px;
  }
  
  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 16px;
    margin: 5px;
  }

  nav{
    gap:15px;
    padding:18px 10px;
    flex-wrap:wrap;
  }

  nav a{
    font-size:16px;
  }


  /* Cards Container */
  .cards-container {
    gap: 20px;
  }

  .card {
    width: 45%; /* 2 Cards pro Reihe */
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  nav{
    gap:20px;
    padding:20px 12px;
    flex-wrap:wrap;
  }

  nav a{
    font-size:16px;
  }


  /* Autorentext */
  .author-text {
    font-size: 16px;
  }

  /* Cards Container */
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%; /* 1 Card pro Reihe */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .author-text {
    font-size: 15px;
    line-height: 1.6;
  }

  nav{
    gap:15px;
    padding:18px 10px;
    flex-wrap:wrap;
  }

  nav a{
    font-size:16px;
  }

}
