/* Allgemeine Einstellungen */
html {
  scroll-behavior: smooth;
}


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0; 
  padding: 0;
  background-color: #f9f9f9;
}

/* Spezifische Anpassung für #red-x */
        /* Spezifische Anpassung für #dominik-peters */
        #dominik-peters {
          position: absolute;
          background: #000000 url('logos/red-x-marketing.png') center/contain no-repeat;
          cursor: pointer;
      }

      #dominik-peters a {
          display: block;
          width: 100%;
          height: 100%;
          text-decoration: none;
      }

      #dominik-peters span {
          display: none;
      }




header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url('header.jpg') center/cover no-repeat;
  color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ddd;
  min-height: 400px;
}

header h1 {
  font-size: 48px;
  margin: 0;
  color: #ffffff; /* Primärfarbe */
  margin-top: 1em;
}

header p {
  font-size: 26px;
  margin-top: 20px;
  color: #fff;
}

main, #booking-text-wrapper, footer {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}

/* Setzt das Boxmodell für alle Elemente */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Buttons für Links */
a.button {
  display: inline-block;
  background-color: #6B0931; /* Primärfarbe */
  color: #fff; /* Weißer Text */
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

a {
  color: #6B0931;
}

a:hover {
  color: #8C0B3F; /* Etwas hellerer Farbton */
}

a:active {
  color: #5A0728; /* Etwas dunklerer Farbton */
}

a.button:hover {
  background-color: #8C0B3F; /* Etwas hellerer Farbton */
}

a.button:active {
  background-color: #5A0728; /* Etwas dunklerer Farbton */
}

/* Hervorgehobener booking-section */
#booking-section {
  width: 100%;
  background-color: #EBE6DE; /* Flächenfarbe */
  color: #6B0931; /* Primärfarbe für Text */
  padding: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}

#booking-section h2 {
  text-align: center;
  color: #6B0931; /* Primärfarbe */
  margin-bottom: 20px;
  text-transform: uppercase;
}

#booking-section p {
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
  color: #6B0931;
  font-size: 19px;
}

/* Canvas-Wrapper */
#canvas-wrapper {
  width: 100%;
  height: 650px;
  overflow: auto;
  border: 0px solid #6B0931; /* Primärfarbe */
  background: #EBE6DE; /* Flächenfarbe */
  margin: 2em 0;
}

#canvas {
  position: relative;
  width: 1000px;
  height: 650px;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 20px;
}

/* Logos */
.logo {
  position: absolute;
  background-color: #ffcccb;
  padding: 5px;
  border-radius: 5px;
}

/* Tooltip */
.tooltip {
  position: absolute;
  background-color: #6B0931; /* Primärfarbe */
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
  font-size: 12px;
  pointer-events: none;
}

/* Kosten-Tooltip */
.cost-tooltip {
  position: absolute;
  background: #6B0931; /* Primärfarbe */
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap; /* Kein Zeilenumbruch */
  pointer-events: none; /* Maus ignoriert Tooltip */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}


/* Rechtecke */
.rectangle {
  position: absolute;
  border: 2px solid #6B0931; /* Primärfarbe */
  background: rgba(107, 9, 49, 0.3); /* Transparente Primärfarbe */
  border-radius: 4px;
  pointer-events: none;
}

/* So funktioniert's Abschnitt */
#how-it-works {
  margin: 20px auto;
  background-color: #fafafa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

#how-it-works h3 {
  margin-top: 0;
  color: #6B0931; /* Primärfarbe */
}

#how-it-works ol {
  margin: 0;
  padding-left: 20px;
  color: #6B0931;
}

#how-it-works li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

/* Modal */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #EBE6DE;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  color: #6B0931;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-terms-content {
  max-height: 300px; /* Begrenzte Höhe */
  overflow-y: auto; /* Scrollbar bei Überlänge */
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  color: #6B0931;
  cursor: pointer;
}


/* Formular */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.form-group input {
  padding: 10px;
  border: 1px solid #6B0931; /* Primärfarbe */
  border-radius: 5px;
  font-size: 14px;
  color: #6B0931;
}

/* Checkbox und Label Styling */
.form-group input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
}

.form-group label {
  font-size: 14px;
  color: #6B0931; /* Primärfarbe */
}

.form-group a {
  color: #6B0931; /* Primärfarbe für den Link */
  text-decoration: underline;
}

.form-group a:hover {
  text-decoration: none;
  color: #8C0B3F; /* Hellere Primärfarbe beim Hover */
}

/* Container für Checkbox und Label */
.terms-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  margin-top: 10px;
}

/* Checkbox Styling */
.terms-group input[type="checkbox"] {
  margin: 0; /* Entfernt Standard-Margin */
  width: 20px; /* Größe der Checkbox */
  height: 20px; /* Größe der Checkbox */
  cursor: pointer; /* Zeigt an, dass die Checkbox klickbar ist */
}

/* Label Styling */
.terms-group label {
  font-size: 14px;
  color: #6B0931; /* Primärfarbe */
}

/* Link im Label */
.terms-group label a {
  color: #6B0931; /* Primärfarbe für den Link */
  text-decoration: underline;
}

.terms-group label a:hover {
  text-decoration: none;
  color: #8C0B3F; /* Hellere Primärfarbe beim Hover */
}


.button-primary {
  padding: 10px 20px;
  background-color: #6B0931; /* Primärfarbe */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.button-primary:hover {
  background-color: #8C0B3F; /* Etwas hellerer Farbton */
}


/* Notification */
.notification {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #6B0931; /* Primärfarbe */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  z-index: 2000;
  text-align: center;
  animation: fadein 0.5s, fadeout 0.5s 2.5s; /* Fades für Ein-/Ausblenden */
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
