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

a,
a:visited,
a:active,
a:focus {
   color: #796251;
   font-style: italic;
}

a:hover {
   color: bisque;
   text-decoration: none;
   text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.section {
   font-family: "Roboto", sans-serif;
   font-size: 48px;
   background-color: #BDA694;
   padding: 48px;
   min-height: 100vh;
}

.grid-container {
   display: grid;
   grid-template-columns: 1fr;
   grid-template-rows: auto;
   gap: 20px;
   width: 100%;
   justify-content: center;
}

.title-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-left: 1%;
   /* text-wrap: nowrap; */
   text-shadow: 0 0 6px rgba(67, 56, 26, 0.3);
   border-bottom: 2px solid #403313;
}

.section h1 {
   font-weight: 400;
   font-size: 1em;
   text-transform: uppercase;
   color: #8E3F2D;
}

/* Nur fuer das i hinter der 16 auf der Tagwerk-Seite */
.lowercase {
   text-transform: lowercase;
}

.back-link {
   text-align: right;
   margin-right: 10%;
   font-size: 0.4em;
   color: #8E3F2D;
   text-decoration: none;
}

.back-link:hover {
   text-shadow: 0px 0px 10px #90244E;
}

.content {
   width: 60%;
   margin: 0 auto;
   display: block;
   text-align: left;
   font-size: 0.4em;
   line-height: 1.8;
   color: #4C494A;
   padding: 1.5em;
   background-color: rgba(237, 221, 207, 0.5);
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
   border-radius: 8px;
}

.content h2,
.content h3 {
   color: #8E3F2D;
   margin: 1em 0 0.1em;
   text-align: left;
}

.text-block {
   margin: 32px;
   text-align: justify;
}

.content p {
   color: #4C494A;
   margin-bottom: 10px;
   line-height: 1.4;
}

.content ul {
   margin-left: 84px;
}

.content img {
   width: 100%;
   height: auto;
   border-radius: 16px;
}

/* Responsive Anpassung */
@media (max-width:1024px) {
   .content {
      width: 100%;
      font-size: 0.3em;
      line-height: 1.8;
      padding: 1.5em;
   }

   .back-link {
      margin-right: 0;
      text-align: center;
   }
}

@media (max-width: 768px) {
   .grid-container {
      grid-template-columns: 1fr;
   }

   .section h1 {
      font-size: 0.7em;
   }

   .back-link {
      font-size: 0.35em;
   }

   .text-block {
      font-size: 16px;
      margin: 32px 16px;
   }

   .text-block h2 {
      font-size: 18px;
   }

}

@media (max-width: 640px) {
   .section {
      padding: 24px;
   }

   .section h1 {
      font-size: 0.55em;
   }

   .back-link {
      font-size: 0.3em;
   }

   .text-block {
      font-size: 14px;
      margin: 32px 16px;
   }

   .text-block h2 {
      font-size: 16px;
   }

   .content ul {
      margin-left: 14px;
   }
}

@media (max-width: 360px) {
   .section {
      padding: 16px;
   }

   .section h1 {
      font-size: 0.3em;
   }

   .back-link {
      font-size: 0.2em;
   }

   .text-block {
      font-size: 10px;
      margin: 12px 0px;
   }

   .text-block h2 {
      font-size: 12px;
   }

}