/* =========================
   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;
}

/* =========================
   5) HAUPTSEKTION 
========================= */
section {
  padding: 100px 20px;
  text-align: center;
}

/* =========================
   HERO SECTION
========================= */
#hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px); 
  background: url('images/start.jpg') center 40% no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
}
#hero .hero-text-box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 15px;
  max-width: 500px;
  width: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-left: 0; 
  margin-right: auto;
  margin-top: 0;   
  margin-bottom: 0; 
  text-align: left; 
}
#hero h1 {
  font-size: 3em; 
  margin-bottom: 20px;
  font-weight: 600;
}
#hero p {
  font-size: 1.2em;
  margin-bottom: 40px;
}
#hero button {
  background-color: #ff7f50;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#hero button:hover {
  background-color: #ff5722;
}

/* =========================
   ABOUT SECTION
========================= */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 50px 20px;
}
.about-image {
  max-width: 45%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  height: auto;
}
.about-text {
  max-width: 45%;
  font-size: 1.2em;
  line-height: 1.6;
  color: #555;
}

/* =========================
   CONTACT
========================= */
#contact {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}
.contact-title {
  font-size: 2.5em;
  color: #ff7f50;
  margin-bottom: 20px;
}
.contact-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.8;
}

/* Button "Zur Anmeldung" */
.registration-button {
  margin-bottom: 20px;
}
.contact-info {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #333;
}
.contact-info a {
  color: #ff7f50;
  text-decoration: none;
  font-weight: bold;
}
.contact-info a:hover {
  text-decoration: underline;
}
.map-container-wide {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* =========================
   SOCIAL MEDIA
========================= */
.social-media {
  margin-top: 40px;
  text-align: center;
}
.social-media h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-icons a {
  width: 50px;
  height: 50px;
}
.social-icons img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.2);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #333;
  color: #fff;
}

/* =========================
   6) MEDIA QUERIES / RESPONSIVE
========================= */

/* <= 992px (Tablet / kleiner Desktop) */
@media screen and (max-width: 992px) {
  #hero h1 {
    font-size: 2.3em;
  }
  #hero {
    padding-top: 90px;
    scroll-margin-top: 90px;
  }
  .about-container {
    padding: 40px 15px;
  }
  .about-image, .about-text {
    max-width: 100%; 
  }
}

/* <= 768px (Hochformat Tablet / großes Smartphone) */
@media screen and (max-width: 768px) {
  #hero {
    padding-top: 80px; 
    scroll-margin-top: 80px;
  }
  #hero h1 {
    font-size: 2em;
  }
  #hero p {
    font-size: 1.1em;
    margin-bottom: 28px; 
  }
  #hero button {
    padding: 12px 24px;
    font-size: 1.05em; 
  }
  .about-text {
    font-size: 1.05em; 
  }
}

/* <= 480px (Smartphone) */
@media screen and (max-width: 480px) {
  body {
    font-size: 0.9em;
  }

  header {
    position: sticky !important; 
    top: 0;
    z-index: 9999;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 10px;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
  }
  .header-right {
    align-self: flex-end;
  }
  .menu-toggle {
    font-size: 0.75em !important;
    padding: 3px 8px !important; 
    border-radius: 20px !important;
    background-color: #ff7f50;
    color: #fff;
    border: 2px solid #ff7f50;
  }
  .side-menu {
    width: 280px !important; 
    right: -280px;          
  }
  .side-menu.open {
    right: 0;
  }

  #hero {
    min-height: 70vh;
    background: url("images/start.jpg") center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    margin-top: 0;
  }

  .hero-text-box {
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .hero-text-box h1 {
    font-size: 1.2em;
    color: #ff7f50;
    margin-bottom: 10px;
  }

  .hero-text-box p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
  }

  .hero-text-box button {
    padding: 8px 16px;
    background: #ff7f50;
    color: white;
    font-size: 0.8em;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }

  .about-container {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  .about-image {
    width: 90%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .about-text {
    width: 90%;
    font-size: 1em;
    line-height: 1.5;
  }

  #contact {
    padding: 30px 15px;
    background: #f9f9f9;
  }

  .contact-title {
    font-size: 1.5em;
    color: #ff7f50;
    margin-bottom: 15px;
  }

  .contact-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
  }

  footer {
    padding: 20px 10px;
    font-size: 0.9em;
  }
}
