@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  /* Standardwerte für den Lightmode */
  --primary-color-light: #B35A1F;
  --secondary-color-light: #2B655C;
  --secondary-color-lightButton: #2B655C;
  --primary-hover-color: #D17342; /* Hellerer Rot-Braun für Hover */
  --secondary-hover-color: #3c907a; /* Helleres Grün für Hover */
  --background-color-light: #F5E8C7;
  --text-color-light: #4A2C2A;
  --overlay-bg: rgba(206, 190, 155, 0.8);
  --header-background-light: #B35A1F;
  --nav-link-bg: transparent;
  --nav-link-hover-bg: rgba(236, 240, 241, 0.1);
  --nav-link-hover-color: #ecf0f1;
  --nav-logo-bg: rgba(236, 240, 241, 0.1);
  --nav-logo-hover-bg: rgba(236, 240, 241, 0.2);

  /* Farben für den Arrow */
  --arrow-color-light: #4A2C2A; /* Standardfarbe im Lightmode */
  --arrow-hover-color-light: #B35A1F; /* Hover-Farbe im Lightmode */
}

/* Darkmode-Variablen */
.dark-mode {
  --primary-color-light: #701d1d;
  --secondary-color-light: #ffffff;
  --secondary-color-lightButton: #184A45;
  --primary-hover-color: #9b2d2d; /* Intensiveres Rot-Braun */
  --secondary-hover-color: #236d6d; /* Intensiveres Grün */
  --background-color-light: #1A1A1A;
  --text-color-light: #FAF3E0;
  --overlay-bg: rgba(0, 0, 0, 0.7);
  --secondary-color-dark: #FAF3E0;
  --background-color-dark: #1A1A1A;

  /* Farben für den Arrow */
  --arrow-color-light: #FAF3E0; /* Standardfarbe im Darkmode */
  --arrow-hover-color-light: #701d1d; /* Hover-Farbe im Darkmode */
}
::-webkit-scrollbar {
  width: 0; /* Entfernt die Scrollbar */
}
/* Allgemeine Stile */
body, html {
  font-family: 'Cinzel', serif;
  background-color: var(--background-color-light);
  color: var(--text-color-light);
  margin: 0;
  padding: 0;
  line-height: 1.8; /* Angenehme Zeilenhöhe */
  overflow-x: hidden;
}
body {
  padding-top: 120px; /* Platz für den fixierten Header */
  padding-bottom: 100px;
}

h1, h2 {
  color: #B35A1F;
}

a {
  text-decoration: none;
  color: #2B655C;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 10%;
  background-color: var(--primary-color-light);
  padding: 15px 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Dark/Light Mode Switch */
.header-switch {
  position: absolute;
  right: 20px;
}

.mode-toggle {
  border: none;
  background: none;
  cursor: pointer;
}

.mode-toggle img {
  width: 30px;
  height: 30px;
}

.navMenu {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.navMenu a {
  color: #f6f4e6;
  text-decoration: none;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  width: 80px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.navMenu a:hover {
  color: var(--secondary-color-light);
}

.navMenu .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary-color-light);
  border-radius: 50%;
  opacity: 0;
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.navMenu a:nth-child(1):hover ~ .dot {
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

.navMenu a:nth-child(2):hover ~ .dot {
  -webkit-transform: translateX(110px);
  transform: translateX(110px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

.navMenu a:nth-child(3):hover ~ .dot {
  -webkit-transform: translateX(200px);
  transform: translateX(200px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

.navMenu a:nth-child(4):hover ~ .dot {
  -webkit-transform: translateX(285px);
  transform: translateX(285px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}
.navMenu a:nth-child(5):hover ~ .dot {
  -webkit-transform: translateX(358px);
  transform: translateX(358px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

/* Hamburger-Menü */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  border: none;
  background: none;
  color: var(--text-color-light);
  cursor: pointer;
}


@media (max-width: 830px) {
  .menu-toggle {
    display: flex; /* Zeigt das Hamburger-Menü */
    right: -100px;
  }

  .nav-links {
    display: none; /* Versteckt die Links */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color-light);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex; /* Links einblenden */
  }

  .nav-links a {
    margin: 10px -100%;
  }
  .navMenu .dot {
    display: none; /* Versteckt den Punkt-Indikator im mobilen Menü */
  }
}


/* Dark/Light Mode Switch */
.header-switch {
  position: absolute;
  right: 20px; /* Switch weiter nach links */
  display: flex;
  align-items: center;
}

.mode-toggle {
  border: none;
  background: none;
  cursor: pointer;
}

.mode-toggle img {
  width: 25px;
  height: 25px;
}


/* Impressum */
.impressum-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.highlight {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.impressum-content section {
  margin-bottom: 20px;
}

.impressum-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.impressum-content p {
  line-height: 1.6;
  font-size: 1rem;
  color: #444;
}


/* Footer */
footer {
  background-color: var(--primary-color-light);
  color: var(--text-color-light);
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-links a {
  color: var(--secondary-color-light);
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--secondary-color-dark);
}
