/* Reset für Standard-Stile */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ubuntu-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/ubuntu-v21-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ubuntu-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/ubuntu-v21-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ubuntu-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/ubuntu-v21-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Layout für den gesamten Body */
body {
  font-family: "Ubuntu", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Hintergrundbild für den Body (inkl. Header) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/hintergrund-hell.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

/* Abdunkelungseffekt für bessere Lesbarkeit (außer Header) */
body > *:not(header)::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

/* Hauptinhalt nimmt so viel Platz wie möglich ein */
main {
  flex: 1;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
  width: 100%;
}

/* Header-Stile */
header {
  background-color: transparent; /* Hintergrund des Headers transparent */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1; /* Header soll über dem Abdunkelungseffekt liegen */
}

.logo-container {
  margin-bottom: 1rem;
}

.logo {
  width: 300px;
  height: auto;
}

/* Section-Stile */
section {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 5px;
}
.space-top {
  margin-top: 2rem;
}
.space-bottom {
  margin-bottom: 2rem;
}
/* Überschriften-Stile */
h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  font-family: "Ubuntu", Arial, sans-serif;
}

h1 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

h2 {
  font-size: 1.5rem;
  color: #222222;
  font-weight: 400;
}
h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 300;
}
h4 {
  font-size: 1.1rem;
  font-weight: 400;
}
p {
  padding: 0.5rem 0;
}
ul {
  list-style: none; /* Entfernt die Aufzählungspunkte */
  padding-left: 0; /* Entfernt den Standard-Padding der Liste */
}
strong {
  font-weight: 500;
}
/* Footer-Stile */
footer {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  margin-top: 2rem;
  padding: 3rem 1rem;
  font-weight: 300;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
  /*  padding-left: 0.5rem;  Optional: Einrückung für bessere Lesbarkeit */
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
}
