/* RESET */
body {
  margin: 0;
  font-family: "Amarante", serif;
  color: #2e2e2e;

  background: url("images/website_allgemein/Bodetal2.png") center/cover no-repeat fixed;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  font-family: "Amarante", serif;
  font-size: 30px;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: #2e2e2e;
  font-weight: bold;
}

.menu a:hover {
  color: #3f5f3f;
}

/* GRID LAYOUT */
.layout {
  display: flex;
  justify-content: center;
  gap: 45px;
}

/* SPALTEN */
.left {
  width: 300px;
  justify-self: left;
}
.center {
  width: 800px;
  justify-self: center;
}
.right {
  width: 300px;
  justify-self: right;
}

/* BOXEN */
.box {
  background: rgba(255, 255, 255, 0.88);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* STICKY SIDEBARS */
.left .box,
.right .box {
  position: sticky;
  top: 100px;
}

/* TYPOGRAFIE */
title {
  font-size: 32px;
  color: #4a6a4a;
  font-weight: bold;
}

h1 {
  font-family: "Amarante", serif;
  font-size: 30px;
  color: #4a6a4a;
  margin-bottom: 15px;
  text-align: center;
}

h2 {
  font-family: "Amarante", serif;
  font-size: 25px;
  color: #000;
  margin-bottom: 15px;
  text-align: center;
}

h3 {
  font-family: "Amarante", serif;
  font-size: 20px;
  color: #000;
  margin-bottom: 15px;
  text-align: center;
}

p {
  line-height: 1.6;
}

.logo {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}

/* BILD */
img {
  border-radius: 4px;
}

.title-image.chapter {
  text-align: center;
}

.title-image.chapter img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.title-image.chapter figcaption {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #355e2c;
}

.title-image.overview {
  text-align: center;
}

.title-image.overview img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.title-image.overview figcaption {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #355e2c;
}

/* META */
.meta {
  font-size: 0.9em;
  color: #6a6a6a;
  text-align: right;
}

.chapter-end {
  margin-top: 40px;
  text-align: center;
}

/* Ornament */
.ornament {
  width: 350px;
  margin: 20px auto;
  display: block;
}

/* Navigation */
.chapter-nav {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

/* Buttons */
.btn.center {
  display: block;
  text-align: center;
  margin: 30px auto;
  background: #355e2c;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  width: 150px;
}

.btn {
  background: #355e2c;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: 1em;
  width: 150px;
}

.btn:hover {
  background: #4a7a3f;
  color: #000;
}

/* Tags */
.tags {
  margin-top: 20px;
  font-size: 0.9em;
}

.tags a {
  color: #3f5f3f;
  text-decoration: none;
}

.tags a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  text-align: center;
  margin: 10px auto;
  font-size: 20px;
  font-weight: bold;
}

/* ===================== */
/* RESPONSIVE (TABLET) */
/* ===================== */

@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "left right";
  }

  .center {
    grid-area: center;
  }
  .left {
    grid-area: left;
  }
  .right {
    grid-area: right;
  }

  /* Sticky aus */
  .left .box,
  .right .box {
    position: static;
  }

  .box {
    padding: 20px;
  }
}

/* ===================== */
/* RESPONSIVE (HANDY) */
/* ===================== */

@media (max-width: 600px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
  }
}

a {
  text-decoration: none;
  color: #3f5f3f;
}

a:hover {
  text-decoration: none;
  color: #000;
}

.social {
  text-align: center;
}

/* Überschrift */
.social h2 {
  font-family: "Amarante", serif;
  margin-bottom: 15px;
}

/* einzelne Elemente */
.social-item {
  margin: 15px 0;
}

/* Texte */
.social-item p {
  margin: 5px 0;
  font-size: 16px;
}

/* Icons */
.social-item img {
  width: 50px;
  height: auto;
  margin-top: 5px;
}

/* Ko-fi größer */
.social-item img[alt="Ko-fi"] {
  width: 100px;
}

/* E-Mail größer */
.social-item img[alt="E-Mail"] {
  width: 100px;
}

/* Trennlinien */
.social hr {
  border: none;
  border-top: 4px solid rgba(7, 87, 47, 0.2);
  margin: 15px 0;
}

.news hr {
  border: none;
  border-top: 4px solid rgba(7, 87, 47, 0.2);
  margin: 15px 0;
}

.center hr {
  border: none;
  border-top: 5px solid rgba(60, 90, 60, 0.5);
  width: 100%;
  margin: 25px auto;
}
/*Zitate*/
.quote {
  margin: 20px 0;
  text-align: center;
  font-style: italic;
}

/*Medien*/
.media-entry {
  margin: 30px 0;
  padding: 15px;
  }

.media-title {
  text-align: center;
  margin-bottom: 10px;
}

.media-desc {
  text-align: center;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.media-audio {
  text-align: center;
  margin-bottom: 10px;
}

.media-audio audio {
  width: 100%;
  max-width: 400px;
}

.media-links {
  text-align: center;
}

.media-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #355e2c;
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9em;
}

.media-links a:hover {
  text-decoration: underline;
}

/*Nach oben Button*/
.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.5);
  color: white;

  border-radius: 4px;
  text-decoration: none;

  font-size: 14px;

  opacity: 0;
  transition: opacity 0.3s;

  background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255,255,255,0.2);
}

.to-top.show {
  opacity: 1;
}

.to-top:hover {
  background: rgba(0, 0, 0, 0.7);
}

html {
  scroll-behavior: smooth;
}