/* Standard-Stile für Dark Mode */
:root {
  --bg-color: #121212;
  --text-color: #f0f0f0;
  --header-bg: #030d2c;
  --header-text: #ffffff;
  --card-bg: #1e1e1e;
  --card-text: #f0f0f0;
  --accent-color: #14376b;
  --accent-hover: #1565c0;
}

/* White Mode Stile */
:root.light-mode {
  --bg-color: #ffffff;
  --text-color: #333333;
  --header-bg: #eeeeee;
  --header-text: #333333;
  --card-bg: #f9f9f9;
  --card-text: #333333;
  --accent-color: #1e88e5;
  --accent-hover: #0044cc;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Smooth theme transition (respektiert Reduced Motion) */
.theme-transition,
.theme-transition * {
  transition:
    background-color 500ms ease,
    color 500ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease,
    filter 500ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .theme-transition,
  .theme-transition * {
    transition: none !important;
  }
}


/* Body */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Header Styling */
header {
  background: linear-gradient(135deg, var(--header-bg), var(--accent-color));
  color: var(--header-text);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  margin: 5px 0 0;
  color: var(--header-text);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}


/* Mode Switch */
.mode-switch {
  cursor: pointer;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--header-text);
  transition: opacity 0.3s;
}

.mode-switch:hover {
  opacity: 0.8;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

section {
  margin-bottom: 60px;
  text-align: center;
}

h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  text-align: center; /* Überschriften zentrieren */
}

h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-align: center; /* Zentrierte Ausrichtung */
}

ul {
  list-style-position: inside; /* Punkte innerhalb des Containers */
  text-align: center; /* Zentriere den Text und die Punkte */
  padding: 0; /* Entferne Standard-Einrückung */
  margin: 0 auto; /* Zentriere die gesamte Liste */
  display: inline-block; /* Mache die Liste inline-block, um Zentrierung zu ermöglichen */
}

ul li {
  margin: 5px 0; /* Vertikaler Abstand zwischen Listenelementen */
  font-size: 1rem; /* Konsistente Schriftgröße */
  color: var(--text-color); /* Textfarbe anpassen */
}

p,
li {
  line-height: 1.8;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Call-to-Action */
.cta {
  text-align: center;
  margin: 40px 0;
}

.cta a {
  text-decoration: none;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.cta a:hover {
  background-color: var(--accent-hover);
}

/* Datenblöcke */
.data-blocks {
  display: flex;
  justify-content: center; /* Zentriere die Boxen */
  gap: 15px; /* Abstand zwischen den Boxen reduzieren */
  flex-wrap: wrap; /* Erlaubt mehrere Zeilen bei schmalen Bildschirmen */
  margin-top: 20px; /* Optional: Reduziere den oberen Abstand */
}

.data-block-wrapper {
  perspective: 1000px; /* Für AOS-Animationen nützlich */
  margin: 0; /* Entferne zusätzliche Außenabstände */
  padding: 0; /* Entferne zusätzliche Innenabstände */
}

.data-block {
  flex: 1;
  max-width: 300px; /* Maximale Breite der Boxen */
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  text-decoration: none; /* Entfernt die Standard-Link-Unterstreichung */
  color: inherit; /* Erbt die Textfarbe */
  display: block; /* Macht den gesamten Block anklickbar */
  cursor: pointer; /* Zeigt den Mauszeiger für Links */
}

.data-block:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none; /* Entfernt die Standard-Link-Unterstreichung */
}

.data-block h3 {
  font-size: 1.8rem;
  margin: 10px 0;
  color: var(--card-text);
}

.data-block p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--card-text);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--header-bg);
  color: var(--text-color);
  margin-top: 40px;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  color: var(--accent-hover);
}

/* Anpassung für White Mode */
:root.light-mode footer {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Anpassung für White Mode */
:root.light-mode footer a {
  background-color: var(--card-bg);
  color: black;
}

/* Team Sektion */
#team {
  margin: 40px 0;
  text-align: center;
}

#team h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

#team p {
  margin: 0 0 20px;
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Team Bild */
.team-image-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.team-image-container:hover {
  transform: scale(1.02);
}

.team-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(30%);
}

.team-image-container:hover .team-image {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Team Namen */
.team-names {
  margin-top: 15px;
  font-size: 1rem;
  color: var(--text-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.team-names span {
  margin: 5px;
}

#hero {
  background: url("/images/hero-banner.webp") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  min-height: 150px;
  max-width: 1400px;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-content {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.links-section {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

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

.links-list li {
  margin: 10px 0;
}

.links-list a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.links-list a:hover {
  color: #0073e6;
}

/* Logo Styling */
.logo {
  text-decoration: none; /* Entfernt Unterstreichung */
  display: flex;
  align-items: center;
}

.logo-image {
  max-height: 50px; /* Höhe des Logos anpassen */
  width: auto; /* Automatische Breite */
}

.title {
  margin-left: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.title-image {
  max-height: 50px; /* Höhe des Logos anpassen */
  width: auto; /* Automatische Breite */
}

/* Navigationsleiste */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px; /* Abstand zwischen den Elementen */
  margin-left: auto; /* Schiebt die Navigation nach rechts */
}

.navbar-links {
  list-style: none; /* Entfernt die Bullet Points */
  display: flex;
  gap: 15px; /* Abstand zwischen den Links */
  padding: 0;
  margin: 0;
}

.navbar-links li {
  font-size: 1rem;
}

.navbar-links a {
  text-decoration: none;
  color: var(--header-text); /* Nutzt die Header-Textfarbe */
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: var(--accent-color); /* Wechselt die Farbe beim Hover */
}

@media (max-width: 768px) {
  .title {
    display: none;
  }

  .logo-image {
    max-width: 120px;
    height: auto;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  .navbar-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  header {
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }
}

/* Fix für zu breite .data-blocks */
@media (max-width: 480px) {
  .data-block {
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* Fix für zu breite Links in der Liste */
.links-list a {
  flex-wrap: wrap;
  word-break: break-word;
}



#transition {
  position: relative;
  height: 20px;
  overflow: hidden;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
