/* =========================
   1) GLOBAL STYLES
========================= */
body {
  font-family: 'Lora', serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  color: #333;
  background-color: #fff;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #333;
}

/* =========================
   2) BADGE STYLES
========================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff5722;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.8em;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================
   3) HEADER (FIXED)
========================= */
header {
  position: fixed;
  top: 0;
  right: 0; 
  left: 0;
  background-color: rgba(255,255,255,0.95);
  border-bottom: 1px solid #eee;
  padding: 15px 30px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

header .logo {
  color: #ff7f50;
  font-weight: 600;
  font-size: 1.5em;
}

/* NEUIGKEITEN-BUTTON + MENÜ-BUTTON (HEADER-RIGHT) */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.news-button {
  background-color: #fff;
  border: 2px solid #ff7f50;
  color: #ff7f50;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
}
.news-button:hover {
  background-color: #ff7f50;
  color: #fff;
}
.news-badge {
  background-color: #ff7f50; 
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 50%;
  padding: 3px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.menu-toggle {
  font-size: 1.2em;
  color: #ff7f50;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #ff7f50;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s;
}
.menu-toggle:hover {
  background-color: #ff7f50;
  color: #fff;
}

/* =========================
   4) SEITENMENÜ (SLIDE-IN)
========================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.side-menu.open {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: rgba(255,127,80,0.1);
}
.menu-logo {
  color: #ff7f50;
  font-size: 1.3em;
  font-weight: 600;
}
.close-menu {
  font-size: 1.5em;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}
.close-menu:hover {
  color: #ff7f50;
}

/* Menü-Liste */
.side-menu nav ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
}
.side-menu nav ul li {
  border-bottom: 1px solid #f2f2f2;
  position: relative;
  list-style: none; 
}
.side-menu nav ul li a {
  display: block;
  padding: 15px 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.side-menu nav ul li a:hover {
  background-color: #ff7f50;
  color: #fff;
}

/* Submenu (Accordion) */
.side-menu nav ul li ul.dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.side-menu nav ul li ul.dropdown li a {
  padding-left: 40px;
  font-size: 0.95em;
}
.side-menu nav ul li ul.dropdown.open-submenu {
  max-height: 1000px;
}
.has-submenu .arrow {
  float: right;
  font-size: 0.9em;
  opacity: 0.7;
  margin-top: 2px;
}

/* Letzter Menüpunkt => Impressum & Datenschutz */
.impressum-datenschutz {
  margin-top: auto; 
}

/* SPECIAL-BUTTON (Termine) */
.special-button {
  background-color: #ff5722 !important;
  color: #fff !important;
  border-radius: 25px;
  margin: 10px 20px;
  padding: 10px 20px;
  text-align: center;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.special-button:hover {
  background-color: #ff3d00 !important;
}
/* Grundlayout des Hauptbereichs */
.news-main {
    padding: 40px 20px;
    max-width: 800px;
    margin: 60px auto 40px auto;  /* Oben Abstand, damit der Header nicht überlappt */
    text-align: left;
  }
  
  .news-main h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #ff7f50;
    margin-bottom: 30px;
    text-align: center;
  }
  
  /* News-Items als vertikal gestapelte Karten */
  .news-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .news-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #ff7f50;
    margin-bottom: 15px;
  }
  
  .news-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
  }
  
  /* Container für die Heilkarte-Bilder: nebeneinander */
  .heilkarte-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
  }
  
  .heilkarte-images img {
    width: 45%;
    max-width: 200px;
    height: auto;
    border: 2px solid #ff7f50;
    border-radius: 4px;
  }
  
  /* Preis zentriert */
  .news-detail {
    text-align: center;
    font-weight: 600;
    color: #ff5722;
    font-size: 1em;
  }
  
  /* Liste für Termine */
  .news-events {
    list-style: none;
    padding: 0;
    margin: 15px 0;
  }
  .news-events li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
  }
  
  /* Responsive Anpassungen */
  @media screen and (max-width: 480px) {
    .news-main {
      padding: 30px 10px;
      max-width: 95%;
      margin-top: 80px;
    }
    .news-main h1 {
      font-size: 2em;
    }
    .news-item {
      padding: 15px;
    }
    .news-item h2 {
      font-size: 1.6em;
    }
    .news-item p,
    .news-detail {
      font-size: 0.9em;
    }
    .heilkarte-images {
      flex-direction: column;
      gap: 10px;
    }
    .heilkarte-images img {
      width: 80%;
      max-width: 150px;
      margin: 0 auto;
    }
  }
  