@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #ffc107;
  --secondary-color-dark: #ffa000;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn a {
  color: black;
  text-decoration: none;
}

.btn:hover, .btn a:hover {
  background-color: var(--secondary-color-dark);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--text-light);
  transition: 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 1.5rem 1rem;
  display: flex;



  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1000;
}

.nav__logo {
  max-width: 250px;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  display: flex;

  align-items: center;
  gap: 2rem;
}

.link {
  position: relative;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  list-style: none;
  position: absolute;
  background-color: var(--primary-color-light);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
  left: 0;
}

.dropdown-content li {
  padding: 12px 16px;
}

.dropdown-content a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--primary-color-extra-light);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}







.profile {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #282c34;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #ffcc00;
}

.profile-header h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 10px 0;
  color: #fff;
}

.profile-header p {
  font-size: 1.2rem;
  font-style: italic;
  color: #cfd8dc;
}

.profile-content .content-block {
  margin-bottom: 20px;
  padding: 20px;
  background: #3a3f4b;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-content .content-block h3 {
  font-size: 1.4rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

.profile-content .content-block p {
  font-size: 1rem;
  color: #f4f4f9;
}

.profile-content .content-block ul {
  margin: 10px 0 0 20px;
  list-style-type: square;
  color: #ffcc00;
}

.profile-content .content-block.highlight {
  border-left: 5px solid #ffcc00;
}

.profile-content .content-block ul li {
  margin-bottom: 5px;
}



#modal-kern .modal-content {
  background-color: transparent;  /* Transparenter Hintergrund für den Inhalt */
  padding: 20px;
  border-radius: 8px;  /* Abgerundete Ecken */
  max-width: 800px;  /* Maximalbreite des Modals */
  max-height: 80vh;   /* Maximalhöhe des Modals (80% der Bildschirmhöhe) */
  width: 100%;        /* 100% der Breite (kann durch max-width begrenzt werden) */
  height: auto;       /* Höhe passt sich automatisch an den Inhalt an */
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative; /* Damit das Schließen-X relativ zum Modal positioniert wird */
  border: none;
  box-shadow: none;
}

#modal-kern .close {
  font-size: 30px;
  color: white; /* Schließen-Symbol in Weiß */
  position: absolute; /* Absolut positioniert im Modal */
  top: 60px; /* Verschiebung nach unten */
  right: 30px; /* Verschiebung nach rechts */
  cursor: pointer; /* Zeigt, dass es klickbar ist */
}



@media (max-width: 768px) {
  #modal-kern .modal-content {
    max-width: 95%;  /* Modale Breite bei kleineren Bildschirmen */
    padding: 10px;  /* Weniger Innenabstand */
  }

  #modal-kern .close {
    font-size: 25px; /* Kleinere Schriftgröße für das X bei mobilen Geräten */
    top: 15px; /* Weniger Abstand von oben */
    right: 15px; /* Weniger Abstand von rechts */
  }
}

@media (max-width: 480px) {
  #modal-kern .close {
    font-size: 20px; /* Noch kleinere Schriftgröße für das X */
    top: 60px; /* Noch weniger Abstand von oben */
    right: 30px; /* Noch weniger Abstand von rechts */
  }
}


@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 768px) {

}




.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.explore__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}





.explore__card {
  padding: 1rem;
  background-color: var(--primary-color-light);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;


}

.explore__card:hover {
  background-color: var(--primary-color-extra-light);
  border-color: var(--secondary-color);
}


.faehigkeiten-section {
  padding: 60px 20px;
  background: var(--primary-color-light);
  color: var(--text-light);
  text-align: center;
}

.faehigkeiten-title-container {
  margin-bottom: 30px;
}

.faehigkeiten-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--secondary-color);
}

.faehigkeiten-subtitle {
  font-size: 1.2em;
  color: #aaa;
  margin-bottom: 20px;
}

.faehigkeiten-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.faehigkeit-card {
  background: var(--primary-color-extra-light);
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faehigkeit-card:hover {
  background: var(--primary-color);
  border-color: var(--secondary-color);
  transform: translateY(-8px) scale(1.03);
}

.faehigkeit-card h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.faehigkeit-card p {
  font-size: 1em;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .faehigkeiten-title {
    font-size: 2em;
  }

  .faehigkeit-card h3 {
    font-size: 1.2em;
  }
}

.graduierungen-section {
  padding: 5rem 1rem;
}

.path-container {
  max-width: var(--max-width);
  margin: 3rem auto;
  position: relative;
}

.main-path {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.main-path::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-color);
}


.milestone[data-category="grossmeister"] span {
  font-size: 0.7rem; /* Kleinerer Text für Großmeistergrade */
}
.milestone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22%;
  position: relative;
}


.milestone {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}


.milestone span {
  text-align: center;
  color: var(--white);
  font-weight: bold;
}

.milestone:hover, .milestone.active {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--secondary-color);
}

.sub-path {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  padding-top: 2rem;
}

.sub-path::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.sub-milestone {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.sub-milestone::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  height: 1rem;
  width: 4px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.sub-milestone:first-child::before {
  display: none;
}

.sub-milestone span {
  color: var(--white);
  font-size: 0.8rem;
}

.sub-milestone:hover {
  z-index: 11;
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--secondary-color);
}

.grade-details {
  display: none;
  position: absolute;
  top: 50%;
  left: 120%;
z-index: 10;
  transform: translateY(-50%);
  width: 250px;
  background: var(--primary-color-extra-light);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.sub-milestone:hover .grade-details {
  display: block;
}

.formen-wt{
  color: white;
  font-size: 2.7rem;
}

@media (max-width: 768px) {
  .main-path {
    flex-direction: column;
    align-items: center;
  }

  .milestone-container {
    width: 100%;
    margin-bottom: 2rem;
  }

  .main-path::before {
    display: none;
  }

  .sub-path {
    width: 100%;
  }

  .sub-path::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .sub-milestone {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 1rem;
    margin: 0.5rem 0;
    flex-direction: column;
    align-items: center;
  }

  .sub-milestone span {
    margin-bottom: 0.5rem;
    font-weight: bold;
  }

  .grade-details {
    position: static;
    display: none;
    width: 100%;
    transform: none;
    margin-top: 1rem;
    background: var(--primary-color-light);
    box-shadow: none;
    border: 1px solid var(--secondary-color);
  }

  .sub-milestone.active .grade-details {
    display: block;
  }

  .sub-milestone.active span {
    display: none;
  }

  .sub-milestone:hover {
    transform: none;
    box-shadow: none;
  }
}


.faehigkeiten-pyramide {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pyramide-reihe {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.pyramide-reihe .faehigkeit-card {
  flex: 1;
  max-width: 300px;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .pyramide-reihe {
    flex-direction: column;
    align-items: center;
  }
  
  .pyramide-reihe .faehigkeit-card {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
  }
}


.philosophies__container {
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.philosophies__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.more-info{

  color: #ffa000;

}

.philosophy__card {
  background: var(--primary-color-extra-light);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.philosophy__card h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}


.triforce { 
  position: relative;
  width: 400px;
  height: 346.4px;
  margin: 0 auto;
}

.triangle {
  width: 0;
  
  
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text {
  color: rgb(0, 0, 0);
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 280%);
}



.triangle.top {
  border-bottom: 173.2px solid gold;
  top: 0;
  left: 100px;
}

.triangle.left {
  border-bottom: 173.2px solid gold;
  top: 173.2px;
  left: 0;
}

.triangle.right {
  border-bottom: 173.2px solid gold;
  top: 173.2px;
  left: 200px;
}

.triangle.center {


  top: calc(86.6px + (173.2px /2));
  left: calc(100px + (100px /2));
  border-left-width: calc(100px /2); 
  border-right-width: calc(100px /2);

}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.form {
  background-color: #111317; /* Weißer Hintergrund für jedes Formular */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.form:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.form-title {
  font-size: 20px;
  font-weight: 500;
  color: #2980b9; /* Blauer Titel für die Form */
  margin-bottom: 15px;
}

.form-description {
  font-size: 16px;
  color: white; /* #topM Text für die Beschreibung */
  line-height: 1.6;
}

.form-title, .form-description {
  transition: color 0.3s ease;
}

.form-title:hover {
  color: #1abc9c; /* Helles Grün bei Hover über den Titel */
}



@media screen and (max-width: 768px) {
  .form-container {
      grid-template-columns: 1fr;
  }
}



/* Stil für das gesamte Modal */
#topModal {
  display: none; /* Modal ist standardmäßig nicht sichtbar */
  position: fixed;
  z-index: 10; /* Sicherstellen, dass das Modal über anderen Inhalten liegt */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Hintergrund komplett transparent */
}

/* Stil für den inneren Bereich des Modals */
#topModal .modal-content {
 
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #ccc; /* Optionaler Rand um den Inhalt */
  width: 100%; /* Oder eine feste Breite */
  max-width: 1200px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Optionaler Schatten für den Inhalt, um es hervorzuheben */
  z-index: 20; /* Sicherstellen, dass der Inhalt über dem Hintergrund des Modals liegt */
  position: relative; /* Damit das Box-Shading und andere Effekte im Inhalt korrekt angezeigt werden */
}

/* Schließen-Button */
#topModal .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
}

#topModal .close:hover,
#topModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}





.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.main-title {
  font-size: 2rem;
  color: #ffffff; /* oder eine andere Farbe Ihrer Wahl */
  margin-bottom: 20px;
  text-align: center;
}


.philosophy__card p {
  font-size: 1em;
  color: var(--text-light);
}

.philosophy__card:hover {
  transform: translateY(-8px);
  background: var(--primary-color);
}

/* Modal Container */
.modal {
  display: none; /* Standardmäßig ausgeblendet */
  position: fixed; /* Bleibt an Ort und Stelle */
  z-index: 1000; /* Sitzt über anderen Inhalten */
  left: 0;
  top: 0;
  width: 100%; /* Breite des Bildschirms */
  height: 100%; /* Höhe des Bildschirms */
  overflow: auto; /* Aktiviert Scrollen, falls nötig */
  background-color: rgba(0, 0, 0, 0.7); /* Halbdurchsichtiges Schwarz */
}

/* Modal-Inhalt */
.modal-content {
  background-color: #35373b; /* Hintergrundfarbe des Modal-Inhalts */
  margin: 15% auto; /* Zentriert das Modal mit einem Abstand */
  padding: 20px;

  border: 1px solid #888;
  width: 80%; /* Breite des Modal-Inhalts */
  text-align: center; /* Text zentrieren */
}

/* Schließen Button */
.close {
  color: #aaa; /* Farbe des Schließen-Buttons */
  float: right;
  font-size: 28px;
  font-weight: bold;
}



.close:hover,
.close:focus {
  color: black; /* Farbe des Schließen-Buttons bei Hover */
  text-decoration: none;
  cursor: pointer;
}

#wingtsun-history{
  border: 2px solid #ffa000; /* Blauer Rahmen */
  border-radius: 10px; /* Abgerundete Ecken */

  text-align: center;
  padding: 20px; /* Innenabstand */
  margin: 20px auto; /* Außenabstand oben und unten, zentriert */
  width: 80%; /* Breite des Containers auf 80% der Elternbreite */
  max-width: 800px; /* Maximalbreite */
}

.custom-modal {
  display: none; /* Standardmäßig versteckt */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center; /* Zentriert den Inhalt horizontal */
  align-items: center; /* Zentriert den Inhalt vertikal */
}
.explore__card span {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--secondary-color);
  background-color: var(--primary-color-extra-light);
  border-radius: 5px;
}

.explore__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.explore__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.philosophy__content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.philosophy__image {
  flex: 1;
}

.philosophy__text {
  flex: 1;
}

.philosophy__text ul {
  list-style: none;
  margin-top: 1rem;
}

.philosophy__text li {
  margin-bottom: 0.5rem;
}

.philosophy__text li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.history__timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.history__timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline__item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline__item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--primary-color);
  border: 4px solid var(--secondary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline__item:nth-child(odd) {
  left: 0;
}

.timeline__item:nth-child(even) {
  left: 50%;
}

.timeline__item:nth-child(even)::after {
  left: -10px;
}

.timeline__content {
  padding: 20px 30px;
  background-color: var(--primary-color-light);
  position: relative;
  border-radius: 6px;
}

.footer__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}
.principles-container {
  padding: 5rem 1rem;
  text-align: center;
}

.principles-wrapper {
  display: flex;
  gap: 3rem; /* Abstand zwischen den beiden Gruppen */
  justify-content: center;
  flex-wrap: wrap; /* Passt die Ansicht bei schmaleren Bildschirmen an */
}

.principles-group {
  flex: 1;
  max-width: 500px;
}

.principles-group h3 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.principles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.line-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.line-with-text::before,
.line-with-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ffffff;
  margin: 0 10px;
}

.line-with-text span {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

.principle-step {
  width: 100%;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.7; /* Anfangszustand inaktiv */
  transform: scale(0.95); /* Anfangszustand verkleinert */
}

.principle-step.active {
  opacity: 1;
  transform: scale(1); /* Vergrößern bei Aktivierung */
}

.principle-button {
  background-color: var(--primary-color-light);
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
  padding: 1rem;
  border: none;
  cursor: pointer;
  text-align: left;
}

.principle-button[disabled] {
  cursor: not-allowed;
  background-color: var(--primary-color-light);
  opacity: 0.6;
}

.principle-content {
  display: none;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-light);
  background-color: var(--primary-color-dark);
  text-align: left;
}

.principle-content p {
  margin: 0;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  background-color: var(--primary-color-extra-light);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 1024px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }
  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    position: static;
  }
  .nav__toggle {
    display: block;
  }

  .footer__logo {
    display: flex;            /* Flexbox aktivieren */
    justify-content: center;  /* Inhalt zentrieren */
    align-items: center;      /* Vertikal zentrieren */
    margin: 0 auto;  
    margin-bottom: 30px;  
    margin-top: -40px;       /* Automatische horizontale Zentrierung */
}
.footer__logo img {
  max-width: 160px; /* Verkleinere das Logo */
  height: auto;     /* Seitenverhältnis beibehalten */
}


  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    display: none;
    z-index: 1000;
  }
  .nav__links.show {
    display: flex;
  }
  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: none;
  }
  .dropdown:hover .dropdown-content {
    display: none;
  }
  .nav__links.show .dropdown-content {
    display: block;
  }
  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .header__image {
    grid-area: 1/1/2/2;
  }
  .header__content h1 {
    font-size: 3rem;
    line-height: 4rem;
  }
  .philosophy__content {
    flex-direction: column;
  }
  .history__timeline::after {
    left: 31px;
  }
  .timeline__item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline__item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  .timeline__item::after {
    left: 21px;
  }
  .timeline__item:nth-child(even) {
    left: 0%;
  }
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__col {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  .explore__grid {
    grid-template-columns: 1fr;
  }
}