/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: #00274d;
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --accent-color: #ffa500; /* Orange */
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

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

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: var(--black-color);
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem; /* Abstand zwischen Logo und Links */
}

.navbar__logo img {
  width: 400px;
  height: auto;
}

.navbar__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.navbar__menu li {
  margin: 0;
}

.navbar__menu a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar__menu a:hover {
  color: #007bff;
}

/* Toggle Button */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 1.5rem;
  width: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 1100;
}

.navbar__toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__menu.active {
  display: flex;
}

/* Desktop spezifische Stile */
@media (min-width: 769px) {
  .navbar__toggle {
      display: none;
  }
}

/* Mobile Stile */
@media (max-width: 768px) {
  .navbar {
      justify-content: space-between;
      padding: 0.5rem 1rem;
      flex-direction: row;
      align-items: center;
  }

  .navbar__logo {
      justify-content: center;
      align-items: center;
      display: flex;
      flex: 1;
      height: 100%;
      position: relative;
      top: 50%;
      transform: translateY(20%); /* Logo vertikal mittig ausgerichtet */
  }

  .navbar__logo img {
      width: 250px;
      height: auto;
  }

  .navbar__toggle {
      display: flex;
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);
  }

  .navbar__menu {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100vw;
      background-color: var(--black-color);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      z-index: 1000;
  }

  .navbar__menu.active {
      transform: translateY(0);
  }

  .navbar__menu li {
      margin: 1rem 0;
  }

  .navbar__toggle span {
      background-color: white;
      transition: transform 0.3s ease;
  }

  .navbar__toggle.active span {
      transform: rotate(180deg); /* Hamburger-Icon bleibt und dreht sich */
  }
}

/* FOOTER SECTION */
.footer {
  background-color: var(--black-color);
  color: var(--text-color);
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.footer__content {
  display: flex;
  justify-content: space-around; /* Gleiche Abstände zwischen den Bereichen */
  align-items: flex-start; /* Startet die Bereiche oben */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left; /* Text links ausgerichtet */
}

.footer__about, .footer__links, .footer__legal {
  flex: 1; /* Alle Bereiche haben die gleiche Breite */
  max-width: 300px; /* Feste maximale Breite */
}

.footer__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-transform: uppercase; /* Titel in Großbuchstaben */
}

.footer__text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 2;
  transition: color 0.3s ease-in-out;
}

.footer__link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer__bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer__copy {
  line-height: 1.5;
}

.footer__link--bold {
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
}

.footer__link--bold:hover {
  text-decoration: underline;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
  .footer__content {
    flex-direction: column; /* Stapelt die Bereiche auf mobilen Geräten */
    align-items: center;
    text-align: center; /* Zentriert den Text */
    gap: 1.5rem;
  }

  .footer__about, .footer__links, .footer__legal {
    max-width: 100%; /* Volle Breite auf kleineren Bildschirmen */
  }

  .footer__bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}
