:root {
  --primary-color: #007bff;
  --primary-hover: #0056b3;
  --primary-border-hover: #004085;
  --purple: #6a1b9a;
  --light-gray: #f4f4f4;
  --dark-gray: #333;
  --mid-gray: #555;
  --alert-bg: #f8d7da;
  --alert-text: #721c24;
}

/* Top Bereich */
.top {
  background-image: url('../img/feuer.png');
  background-size: cover;
  background-position: center;
  height: 400px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 40px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.top-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.top-subtitle {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0;
  max-width: 70%;
  text-align: center;
}

/* Hamburger */
.hamburger {
  position: fixed;
  top: 15px;
  right: 20px;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 4px;
  background: white;
  border-radius: 2px;
  width: 100%;
}

/* Seitenmenü */
.sidemenu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  padding-top: 60px;
  z-index: 1000;
}

.sidemenu.open {
  right: 0;
}

.sidemenu a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  color: #000;
}

.sidemenu a:hover {
  background-color: #f0f0f0;
}

.sidemenu .fw-bold {
  background-color: #f8f9fa;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
}

.overlay.show {
  display: block;
}

/* Kompaktes Filterformular */
.input-group {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.input-group select,
.input-group input,
.input-group button {
  border-radius: 0;
}

.input-group select:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.input-group input {
  max-width: 100px;
}

.input-group button {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.input-group button:hover {
  background-color: #004080;
}

form .form-control:focus {
  box-shadow: none;
  border-color: #86b7fe;
}

label.form-label {
  margin-bottom: 4px;
}

/* Über uns Block */
.ueber-uns-block {
  background-color: var(--purple);
  color: white;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Buttons */
.btn-lg {
  padding: 15px 25px;
  font-size: 18px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-border-hover);
}

.btn-close {
  color: var(--alert-text);
}

/* Alerts */
.alert-warning {
  background-color: var(--alert-bg);
  color: var(--alert-text);
}

/* Form Focus innerhalb Cards */
.card .form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 0.2rem rgba(106, 27, 154, 0.25);
}

/* Popup */
.popup-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-message.show {
  display: block;
  opacity: 1;
}

.popup-content {
  text-align: center;
}

.popup-content button {
  margin-top: 10px;
}

/* Kontaktkarte */
.contact-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 450px;
  left: 50%;
  transform: translateX(-50%);
}

.contact-card h4 {
  color: var(--purple);
  font-size: 1.75rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--purple);
  font-size: 1.5rem;
  margin-right: 15px;
}

.contact-info strong {
  color: var(--dark-gray);
  margin-right: 5px;
}

.contact-info span {
  color: var(--mid-gray);
}

/* Seitenbalken */
.side-bar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 80px;
  background-color: hsla(280, 70%, 36%, 0.8);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: -1;
}

.side-bar.left {
  left: 0;
}

.side-bar.right {
  right: 0;
}

/* Registrierung */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-container {
  display: none;
  margin-top: 10px;
  background-color: var(--light-gray);
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

.dropdown-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  margin-top: 10px;
}

.dropdown-container label {
  display: block;
  margin-bottom: 8px;
}

/* Impressum Styles */
body.impressum-page {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: var(--dark-gray);
  line-height: 1.6;
}

.impressum-container {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.impressum-container h1 {
  color: var(--purple);
  margin-bottom: 20px;
}

.impressum-container h2 {
  color: #4b0e6f;
  margin-top: 30px;
  margin-bottom: 10px;
}

.impressum-container a {
  color: var(--purple);
  text-decoration: none;
}

.impressum-container a:hover {
  text-decoration: underline;
}

.impressum-container address {
  font-style: normal;
  margin-bottom: 20px;
}
/* Hintergrund für das Overlay */
.popup, .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

/* Hintergrund überlagern */
.overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Popup-Inhalt */
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 500px;
}

/* Styling der Eingabefelder */
.popup-content input, .popup-content select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}

/* Styling für Buttons */
#saveBtn, #cancelBtn {
    padding: 10px;
    margin: 10px;
    cursor: pointer;
}

#saveBtn {
    background-color: #28a745;
    color: white;
}

#cancelBtn {
    background-color: #dc3545;
    color: white;
}
