:root {
  --primary-color: #3b82f6;
  --secondary-color: #fbbf24;
  --accent-color: #2fff00;
  --background-overlay: rgba(0, 0, 0, 0.5);
  --text-color: #000000;
  --text-secondary: #312a2a;
  --box-color: rgba(174, 172, 172, 0.815);
  --info-color: #60a5fa;
  --akquise-color: #ff0000;
}
* {
  margin: 0;
  padding: 0;
}
body {
  background-image: url(img/header-img.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
}
.header-menu {
  margin-top: 2.5%;
  display: grid;
  justify-content: center;
  align-items: center;
}
.header-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 2.5vw;
  margin: 0 3vw;
  text-shadow: #c0392b 1px 1px 2px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-weight: bold;
}
.header-menu a:hover {
  text-decoration: underline;
}
.header-menu a:active {
  color: var(--secondary-color);
}
.itm {
  max-width: 15%;
  width: auto;
  height: auto;
  margin: 0 10px;
}
header h1 {
  padding: 1%;
  font-size: 4vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
  background-color: var(--box-color);
  border-radius: 25px;
}
.header-mitte {
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1%;
}
.header-text {
  display: flex;
  flex-direction: column; /* Elemente werden vertikal gestapelt */
  justify-content: center; /* Zentriert vertikal */
  align-items: center; /* Zentriert horizontal */
  margin: 5% auto; /* Zentriert den Container selbst */
  background-color: var(--box-color);
  width: 50%; /* Breite des Containers */
  height: 50%; /* Höhe des Containers */
  border-radius: 30px; /* Abgerundete Ecken */
  padding: 4%; /* Innenabstand */
}
header h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5vw;
  color: var(--text-color);
}
header p {
  align-items: center;
  font-size: 2vw;
  text-align: center;
  margin-top: 2%;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.bilder {
  display: flex; /* Aktiviert Flexbox */
  justify-content: center; /* Zentriert die Bilder horizontal */
  gap: 2%; /* Abstand zwischen den Bildern */
  width: 100%;
  margin-top: 2.5%;
}

.bilder img {
  width: 20%; /* Jedes Bild nimmt 22% der Breite ein */
  height: auto; /* Beibehaltung des Seitenverhältnisses */
}
.bilder img:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(130%); /* Vergrößert das Bild bei Hover */
  transition: transform 0.5s ease; /* Sanfter Übergang */
}
.main-text {
  display: flex;
  flex-direction: column; /* Elemente werden vertikal gestapelt */
  justify-content: center; /* Zentriert vertikal */
  align-items: center; /* Zentriert horizontal */
  margin: 5% auto; /* Zentriert den Container selbst */
  background-color: var(--box-color);
  width: 50%; /* Breite des Containers */
  height: 50%; /* Höhe des Containers */
  border-radius: 30px; /* Abgerundete Ecken */
  padding: 4%; /* Innenabstand */
}
.main-text h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5vw;
  color: var(--text-color);
}
.main-text p {
  align-items: center;
  font-size: 2vw;
  text-align: center;
  margin-top: 2%;
  color: var(--primary-text-color);
  letter-spacing: 2px;
}
.main-text a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 2vw;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-weight: bold;
}
.main-text a:hover {
  text-decoration: underline;
  background-color: var(--accent-color);
  padding: 5px;
}

.main-text a:active {
  color: var(--secondary-color);
}
.main-text button {
  margin-top: 5%;
}

.logo-icon {
  font-size: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
footer {
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: var(--box-color);
  padding: 2%;
  margin-top: 5%;
  border-radius: 25px;
  position: relative;
}

footer a {
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9vw;
  margin: 1% 2%;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
footer a:hover {
  text-decoration: underline;
}
footer a:active {
  color: var(--secondary-color);
}

.footer-text {
  text-align: center; /* Zentriert den gesamten Text im Footer */
}

.footer-text p {
  margin: 0; /* Entfernt unnötige Abstände */
  padding: 0; /* Entfernt unnötige Innenabstände */
  color: var(--akquise-color);
  font-size: 1vw;
}
.footer-text h3{
  font-size: 1.5vw;
}
