/* === BASIS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* === NAVIGATION === */
.navbar {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1250px;
  margin: auto;
  padding: 2rem;
}

.logo {
  font-size: 2.5rem;
  font-family: "Comic Neue", bold;
  font-weight: bold;
  color: #004d3b;
  text-decoration: none;
}

.logo:hover {
  color: rgb(140, 30, 140);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  font-size: 1.125rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 800;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: rgb(140, 30, 140);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 25px;
  background-color: #333;
  border-radius: 2px;
}

/* Navigation mobil */
@media (max-width: 950px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    z-index: 9999;
    transition: right 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .burger {
    display: flex;
  }
}

/* === HERO-BEREICH === */
.hero {
  position: relative;
  background-color: #ede6f0;
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #ede6f0 0%, rgba(237,230,240,0) 20%, rgba(237,230,240,0) 80%, #ede6f0 100%),
    url("Bilder/hero_hintergrund.jpg") center/cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  height: 80vh;
  margin: 0 auto;
  gap: 100px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 200px;
}

.hero-text h1 {
  font-family: "Comic Neue";
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #004d3b;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.hero-image {
  flex: 1 1 0px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.reveal-vertical {
  overflow: hidden;
  animation: revealFromBottom 2s ease-out 0.2s forwards;
}

@keyframes revealFromBottom {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




/* === ABSCHNITTE === */
.abschnitt {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem;
}

.abschnitt h2 {
  font-size: 2rem;
  font-family: "Comic Neue";
  color: #004d3b;
  margin-bottom: 16px;
}

.abschnitt p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

/* === KURSBLOCK (Qigong + Baum-Bild) === */
.kurs-block {
  display: flex;
  align-items: stretch; /* beide Spalten gleich hoch */
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.kurs-text {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kurs-bild {
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5rem;
}

.kurs-bild img {
  width: auto;
  height: 90%;              /* passt sich der Text-Höhe an */
  max-height: 500px;         /* Sicherheitsgrenze für große Bildschirme */
  object-fit: contain;       /* kein Zuschnitt, behält Proportionen */
  border-radius: 8px;
}

/* === FOOTER === */
.footer {
  background-color: #f4f4f4;
  border-top: 1px solid #ddd;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1250px;
  padding: 2rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer p {
  color: #666;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #007b5e;
}

.footer-links a:hover {
  color: rgb(140, 30, 140);
}

/* === Link-Button "Siehe Hausapotheke" === */
.link-fett {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background-color: #007b5e; /* Praxisgrün */
  color: #fff;
  border: 2px solid #007b5e;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.link-fett:hover {
  background-color: rgb(140, 30, 140); /* Lila Akzent */
  border-color: rgb(140, 30, 140);
  color: #fff;
  box-shadow: 0 4px 10px rgba(140, 30, 140, 0.25);
}

.link-fett:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.link-fett:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 94, 0.3);
}

/* === Notfall-Kennzeichnung (Stern im kleinen Rechteck) === */
.notfall {
  position: relative;
  padding-left: 1.2rem; /* weniger Platz, da kein Rahmen */
  font-weight: bold;
  color: #004d3b;
}

.notfall::before {
  content: "*"; /* einfacher Tastatur-Stern */
  position: absolute;
  left: 0;
  top: 70%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 900;
  color: #007b5e;
  background: none;
  border: none;
}

/* =========================================================
   MOBILE OPTIMIERUNGEN – Tablets & Handys (bis 850px)
   ========================================================= */
@media (max-width: 850px) {
  /* Allgemein etwas kompakter */
  body {
    font-size: 0.95rem;
  }

  .navbar-container {
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 2rem;
  }

  /* Hero-Bereich auf Stapel & auto-Höhe */
  .hero {
    padding: 1.5rem 1.25rem;
  }

  .hero-container {
    flex-direction: column;
    height: auto;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  /* Bild im Hero ausblenden */
  .hero-image {
    display: none;
  }

  /* Abschnitte enger */
  .abschnitt {
    padding: 1.5rem 1.25rem;
  }

  /* Kursblock: Spalten untereinander */
  .kurs-block {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .kurs-bild {
    justify-content: center;
    margin-top: 1.5rem;
    padding-right: 0;
  }

  .kurs-bild img {
    height: auto;
    max-width: 80%;
  }

  /* Footer etwas kompakter */
  .footer-container {
    padding: 1.5rem 1.25rem;
  }
}

/* =========================================================
   KLEINE HANDYS (bis 600px)
   ========================================================= */
@media (max-width: 600px) {
  .navbar-container {
    padding: 0.75rem 1rem;
  }

  .logo {
    font-size: 1.8rem;
  }

  .hero {
    padding: 1.25rem 1rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .abschnitt {
    padding: 1.25rem 1rem;
  }

  .button,
  .link-fett {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* =========================================================
   SEHR KLEINE HANDYS (bis 400px)
   ========================================================= */
@media (max-width: 400px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
  }

  .navbar-container {
    padding-inline: 0.75rem;
  }
}

/* =========================================================
   TELEFONNUMMERN / MAILS NICHT BLAU & UNTERSTRICHEN
   ========================================================= */

/* Für explizite tel:, mailto:, etc.-Links */
a[href^="tel"],
a[href^="mailto"],
a[href^="sms"],
a[href^="callto"],
a[href^="fax"],
a[href^="geo"] {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
}

/* iOS-Auto-Links (z.B. erkannte Telefonnummern) neutralisieren */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  border-bottom: none !important;
}
