:root {
  --primary-blue: #00aee5;
  --accent-orange: #f5a623;
  --deep-blue: #005f99;
  --text-dark: #21293b;
  --background-light: #f9fbff;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: url(background.jpg) center top / cover no-repeat fixed;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--deep-blue), var(--primary-blue) 62%, var(--accent-orange));
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 60px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  user-select: none;
}
.header-logo {
  height: 36px;
  width: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: background 0.25s, color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* Rahmen und Farbwechsel nur beim Hover oder Fokus */
nav ul li a:hover,
nav ul li a:focus {
  background: transparent;
  border: 2px solid white; /* oder je nach gewünschtem Farbschema */
  border-radius: 8px;
  padding: calc(0.5rem - 1px) calc(1rem - 1px); /* damit der Rahmen nicht die Größe ändert */
  color: white; /* oder passend */
  transition: all 0.25s ease;
/* Entferne den weißen Hintergrund beim aktiven Menüpunkt */
nav ul li a.active {
  background: transparent;
  color: var(--primary-blue); /* oder gewünschte Standardfarbe */
  border: none;
  padding: 0.5rem 1rem; /* gleiches Padding wie normal, damit keine Größenänderung */
}
}

/* Mobile Navigation */
.burger {
  display: none;
  font-size: 2.4rem;
  color: white;
  cursor: pointer;
  user-select: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; width: 100%;
  height: calc(100vh - 60px);
  background: var(--deep-blue);
  flex-direction: column;
  padding: 1rem 0;
  z-index: 4900;
  overflow-y: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--accent-orange);
  color: white;
}

/* Hauptbereich mit milchigem Glascontainer */
main {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,174,229,0.18);
  max-width: 920px;
  margin: 80px auto 3rem auto;
  padding: 2rem 2.5rem 3rem 2.5rem;
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Section-Layout */
section {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 2.5rem;
}

/* ---- HERO / CLAIM ---- */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.9rem;
  padding: 2.1rem 0 2.6rem 0;
}
.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: 5.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.hero-claim {
  font-family: 'Dancing Script', cursive;
  font-size: 2.25rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin: 0.8rem 0 1.2rem 0;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.hero-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.31rem;
  color: #222;
  align-items: center;     /* zentriert alle Kinder horizontal */
  text-align: center;      /* optional: Text innerhalb der Kinder zentrieren */
  margin-bottom: 0.3rem;
  max-width: 750px;
  line-height: 1.55;
}
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent-orange);
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}
.btn:hover { background: #ea9c27; }

/* Bereichsüberschriften einheitlich */
section h2, #ueberuns h2, #leistungen h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid var(--accent-orange);
  color: var(--primary-blue);
  max-width: fit-content;
}
section p, #ueberuns p, #leistungen p {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-dark);
  font-size: 1.13rem;
  margin-bottom: 1.5rem;
  line-height: 1.58;
}

/* Cards & Team */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
}
.card {
  background: rgba(255,255,255,0.96);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,174,229,0.11);
  padding: 1.9rem 2.2rem;
  border: 1.5px solid var(--primary-blue);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  cursor: default;
  font-family: 'Montserrat', Arial, sans-serif;
}
.card:hover {
  box-shadow: 0 20px 55px rgba(0,174,229,0.25);
  transform: translateY(-6px);
  border-color: var(--accent-orange);
}
.card h3 {
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 0.88rem;
  border-bottom: 3px solid var(--accent-orange);
  padding-bottom: 0.38rem;
  color: var(--deep-blue);
  max-width: fit-content;
  transition: border-color 0.25s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.card:hover h3 {
  border-color: var(--primary-blue);
}
.card p {
  flex-grow: 1;
  font-size: 1.03rem;
  color: #3d4660;
  line-height: 1.55;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Entferne alte Galerie Regel, falls vorhanden */
/* .image-gallery, .raum-img, .raum-photo { display: none !important; } */

/* Neue Praxis-Section Varianten für abwechselnde Bilder */
#ueberuns .praxis-block {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-top: 1.7rem;
}

.praxis-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.7rem;
}

.praxis-item.linkslayout { flex-direction: row; }
.praxis-item.rechtslayout { flex-direction: row-reverse; }

/* === MOBILE FIX: Praxis-Bilder untereinander === */
@media (max-width: 900px) {
  .praxis-item {
    flex-direction: column !important;  /* IMMER untereinander */
    align-items: center !important;    /* Zentriert */
    text-align: center;                /* Text zentriert */
    gap: 1.5rem !important;           /* Abstand zwischen Bild+Text */
  }
  
  .praxis-bild {
    width: 100% !important;           /* Vollbreite */
    max-width: 320px;                 /* Max Breite */
    height: 200px !important;         /* Kleinere Höhe */
    order: 1;                         /* Bild immer zuerst */
  }
  
  .praxis-text {
    width: 100% !important;           /* Volle Breite */
    order: 2;                         /* Text immer nach Bild */
    padding: 1rem 1.5rem !important;
  }
}

@media (max-width: 500px) {
  .praxis-bild {
    height: 180px !important;         /* Noch kleiner auf XS */
  }
  
  .praxis-text {
    padding: 1rem !important;
    font-size: 1rem;
  }
}

.praxis-bild {
  width: 390px;
  height: 240px;
  border-radius: 22px;
  border: 5px solid var(--accent-orange);
  box-shadow: 0 10px 36px rgba(245,166,35,0.18);
  background-color: #eaf8fc;
  object-fit: cover;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
}

.praxis-bild:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 18px 38px rgba(0,174,229,0.20);
}

.praxis-text {
  flex: 1;
  font-size: 1.13rem;
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,174,229,0.05);
}

/* Team Section */
.team-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.8rem;
}
@media (max-width: 600px) {
  .team-container {
    grid-template-columns: 1fr;
  }
}
.team-card {
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 1.5rem 1.8rem 2rem 1.8rem;
  box-shadow: 0 4px 26px rgba(0,174,229,0.14);
  border: 2px solid var(--accent-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
.team-card:hover {
  box-shadow: 0 14px 48px rgba(0,174,229,0.27);
  border-color: var(--primary-blue);
}
.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-orange);
  box-shadow: 0 7px 24px rgba(245,166,35,0.35);
  background-color: #eaf8fc;
  margin-bottom: 1rem;
  transition: border-color 0.28s, box-shadow 0.28s;
}
.team-photo:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 36px rgba(0,174,229,0.32);
}
.team-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.team-position {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.team-description {
  font-size: 0.93rem;
  color: #444;
  text-align: center;
  line-height: 1.4;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Kontaktbereich */
#kontakt {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 2.4rem 2.6rem;
  box-shadow: 0 8px 36px rgba(0, 174, 229, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 920px;
  margin: 0 auto 3rem auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

.kontakt-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: nowrap; /* kein umbrechen */
  justify-content: flex-start;
  align-items: stretch; /* Eltern und Karte sollen gleich hoch sein */
  max-width: 920px;
  margin: 0 auto; /* zentriert */
}

.contact-info {
  flex: 0 0 420px; /* feste max Breite */
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 1rem;
}

.contact-info p {
  line-height: 1.5;
}

.contact-info a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.25s;
}

.contact-info a:hover {
  color: var(--accent-orange);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 1rem;
}

.instagram-link:hover {
  color: var(--accent-orange);
}

.instagram-logo {
  height: 24px;
  width: 24px;
  display: block;
}

.map-container {
  flex: 1 1 auto;  /* flexible Breite */
  height: auto;
  min-height: 350px; /* Mindesthöhe */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,174,229,0.12);
  border: 3px solid var(--primary-blue);
  background: #fff;
  display: flex;
}
.map-container iframe {
  flex-grow: 1;
  height: 100%;
  border: none;
}

/* Kontaktformular */
.mail-headline {
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  border-left: (--accent-orange);
  padding-left: 0.8rem;
  max-width: fit-content;
}

.contact-form {
  max-width: 100%;
  margin: 0 auto 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem 2.4rem;
  border-radius: 22px;
  border: 1.5px solid var(--primary-blue);
  box-shadow: 0 10px 40px rgba(0, 174, 229, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.contact-form label {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 1; /* für bessere Lesbarkeit in allen Browsern */
}

.contact-form input,
.contact-form textarea {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #d6dcea;
  color: var(--text-dark);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-blue);
  border-color: var(--primary-blue);
}


.contact-form button[type="submit"] {
  padding: 1rem 2rem;
  border-radius: 40px;
  border: none;
  background: var(--accent-orange);
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.26s;
}

.contact-form button[type="submit"]:hover {
  background: #dc9319;
}

/* Responsive */
@media (max-width: 900px) {
  .kontakt-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .contact-info,
  .map-container {
    max-width: 100%;
    flex-basis: 100%;
  }
}


/* Footer */
footer {
  text-align: center;
  margin: 3rem auto 2rem;
  color: var(--primary-blue);
  font-size: 1rem;
  border-top: 1px solid #e4f5fb;
  padding-top: 1rem;
  background: var(--background-light);
  font-family: 'Montserrat', Arial, sans-serif;
}
footer a.footer-link {
  color: var(--accent-orange);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer a.footer-link:hover {
  color: var(--primary-blue);
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
  main {
    padding: 1.2rem 0.6rem 2rem 0.6rem;
  }
  .hero-content {
    gap: 1.3rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 0.45rem;
  }
  .hero-claim {
    font-size: 1.4rem;
    margin: 0.6rem 0 1rem 0;
  }
  .hero-text {
    font-size: 1rem;
  }
  section h2, #ueberuns h2, #leistungen h2 {
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
  }
  section p, #ueberuns p, #leistungen p {
    font-size: 1rem;
  }
  .burger {
    display: block;
  }
  nav ul {
    display: none;
  }
  .kontakt-wrapper {
    flex-wrap: wrap;
  }
  .contact-info,
  .map-container {
    max-width: 100%;
    flex-basis: 100%;
    height: auto;
  }
}
@media (max-width: 600px) {
  .team-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .hero-title { font-size: 1.4rem; }
  .hero-claim { font-size: 1.06rem; }
  .hero-content { gap: 1rem; }
}
/* Platz zwischen den Bereich Willkommen und unsere Praxis */
.hero-spacer {
  width: 100%;
  height: 26vh; /* je nach gewünschtem Abstand anpassen, z.B. 26% der sichtbaren Höhe */
  display: block;
}
.praeventionskurse-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.4rem;
  color: var(--deep-blue);
  border-bottom: 3px solid var(--primary-blue);
  max-width: fit-content;
}

/* Container für Präventionskurse etwas anders gestalten */
.praeventionskurse-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
}

/* Optional: leicht andere Karte, z.B. Rahmenfarbe */
.präventionskurse-card {
  border: 2.5px solid var(--accent-orange);
  background: rgba(255 255 255 / 0.97);
  box-shadow: 0 8px 28px rgba(245,166,35,0.18);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.präventionskurse-card:hover {
  box-shadow: 0 20px 55px rgba(245,166,35,0.35);
  border-color: var(--primary-blue);
}
.instagram-logo {
  height: 24px;  /* kleinere Höhe */
  width: 24px;   /* Breite entsprechend anpassen */
  display: block;
}
.oeffnungszeiten-liste {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.52;
}

.oeffnungszeiten-liste li {
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.oeffnungszeiten-liste li em {
  font-style: italic;
  color: var(--primary-blue);
}

.oeffnungszeiten-list-grid {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.52;
  display: grid;
  grid-template-columns: max-content auto;
  column-gap: 1.6rem;
  margin-bottom: 0.3rem; /* verkleinerter Abstand nach der Liste */
   margin-top: 0;
}

.oeffnungszeiten-list-grid li {
  margin-bottom: 0.3rem;
  display: contents;
}

.tag {
  font-weight: normal;
  color: var(--text-dark);
}

.zeit em {
  font-style: italic;
  color: var(--primary-blue);
}
.termine-hinweis {
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-style: italic;
  margin: 0.3rem 0 1.2rem 0;
  margin-top: 0.4rem;  /* kleiner Abstand oberhalb */
  grid-column: 1 / -1; /* Damit der Hinweis über alle Spalten der Liste geht, falls im Grid */
  font-family: 'Montserrat', Arial, sans-serif;
}

#kontakt p strong {
  color: black;
  font-weight: normal; /* nicht fett */
  font-family: 'Montserrat', Arial, sans-serif; /* gleiche Schrift wie andere Texte */
}

/* Team Section – Gruppenfoto */
#team {
  margin-top: 2rem;
}

.team-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.8rem;
  width: 100%;
}

.team-photo-group {
  display: block;
  width: 100%;        /* füllt die gesamte Breite des Team-Abschnitts */
  max-width: 100%;    /* nicht breiter als der Main-Container */
  height: auto;       /* Seitenverhältnis erhalten */
  border-radius: 22px;
  border: 5px solid var(--accent-orange);
  box-shadow: 0 10px 36px rgba(245,166,35,0.25);
  object-fit: cover;
  background-color: #eaf8fc;
  margin-bottom: 1.4rem;
}

.team-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  max-width: 680px;
  line-height: 1.55;
}

/* Optional: leicht kleinere Ränder auf kleinen Geräten */
@media (max-width: 600px) {
  .team-photo-group {
    border-width: 4px;
    border-radius: 18px;
  }
}
/* Bildergalerie nach Leistungen – 3 Bilder nebeneinander */
.leistungen-bilder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.leistung-foto {
  width: 100%;
  height: 240px;
  border-radius: 18px;
  border: 4px solid var(--accent-orange);
  box-shadow: 0 8px 28px rgba(245,166,35,0.18);
  background-color: #eaf8fc;
  object-fit: cover;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  display: block;
}

.leistung-foto:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 14px 40px rgba(0,174,229,0.28);
  transform: translateY(-4px);
}

/* Responsive: auf mittleren Bildschirmen 2 Spalten */
@media (max-width: 768px) {
  .leistungen-bilder {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .leistung-foto {
    height: 200px;
  }
}

/* Responsive: auf kleinen Bildschirmen 1 Spalte */
@media (max-width: 500px) {
  .leistungen-bilder {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .leistung-foto {
    height: 220px;
  }
}
/* --- Neuer Rundbanner für Neuerungen (z. B. Venenengel) --- */
.neuheit-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245,166,35,0.25);
  margin: 1rem 0 2rem 0;
  animation: pulseGlow 3s infinite ease-in-out;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: default;
}

.neuheit-badge .badge-text {
  line-height: 1.3;
  padding: 0 0.6rem;
}

.neuheit-badge strong {
  color: var(--deep-blue);
}

/* Optional: feine Glüh-Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(245,166,35,0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 10px 32px rgba(245,166,35,0.45);
    transform: scale(1.05);
  }
}

/* Responsive kleinere Darstellung */
@media (max-width: 600px) {
  .neuheit-badge {
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
  }
}
/* Wellness-Karte mit Venenengel-Banner */
.wellness-card {
  position: relative; /* Wichtig für absolute Positionierung des Banners */
  padding-top: 3.2rem; /* Platz für das Banner oben schaffen */
}

.neuheit-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--accent-orange);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
  z-index: 10;
  animation: pulseGlow 2.5s infinite ease-in-out;
  font-family: 'Montserrat', Arial, sans-serif;
  white-space: nowrap;
  border: 2px solid white;
}

@keyframes pulseGlow {
  0%, 100% { 
    box-shadow: 0 4px 16px rgba(245,166,35,0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(245,166,35,0.6);
    transform: scale(1.05);
  }
}

/* Hover-Effekt für Wellness-Karte */
.wellness-card:hover .neuheit-badge {
  background: var(--primary-blue);
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 600px) {
  .neuheit-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    top: -6px;
    right: 8px;
  }
}
/* === LAESSIGER Rund-Button "NEU: Venenengel" === */
.wellness-card {
  position: relative; /* Ermöglicht absolutes Positionieren des Buttons */
}

.venenengel-badge {
  position: absolute;
  top: -18px;      /* Hält über dem Kartenrand */
  right: -10px;    /* Hängt leicht über rechts */
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, var(--accent-orange), #ff9f1c);
  border: 3px solid white;
  border-radius: 50%; /* Perfekt rund */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: white;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 
    0 8px 25px rgba(245,166,35,0.45),
    inset 0 2px 4px rgba(255,255,255,0.3);
  z-index: 20;
  animation: floatGlow 3s ease-in-out infinite;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.1;
  cursor: default;
}

/* Lässiger schwebender Glow-Effekt */
@keyframes floatGlow {
  0%, 100% { 
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 25px rgba(245,166,35,0.45);
  }
  50% { 
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(245,166,35,0.65);
  }
}

/* Hover-Effekt */
.wellness-card:hover .venenengel-badge {
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  animation-play-state: paused;
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 600px) {
  .venenengel-badge {
    width: 70px;
    height: 70px;
    font-size: 0.62rem;
    top: -15px;
    right: -8px;
  }
}
/* === KURS-BUTTONS (wie Venenengel, aber angepasst) === */
.kurs-card {
  position: relative;
  padding-top: 3.5rem; /* Platz für Button */
}

.kurs-badge {
  position: absolute;
  top: -20px;
  right: -12px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 
    0 10px 28px rgba(0,174,229,0.45),
    inset 0 2px 4px rgba(255,255,255,0.3);
  z-index: 20;
  animation: floatGlow 3s ease-in-out infinite;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.15;
  cursor: default;
}

/* Gleiche Animation wie Venenengel */
@keyframes floatGlow {
  0%, 100% { 
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 28px rgba(0,174,229,0.45);
  }
  50% { 
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 38px rgba(0,174,229,0.65);
  }
}

/* Hover-Effekt für Kurskarten */
.kurs-card:hover .kurs-badge {
  background: linear-gradient(135deg, var(--accent-orange), #ff9f1c);
  transform: scale(1.1);
  animation-play-state: paused;
}

/* Wellness-Button behält seine orange Farbe */
.wellness-card:hover .venenengel-badge {
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
}

/* Responsive */
@media (max-width: 600px) {
  .kurs-badge {
    width: 75px;
    height: 75px;
    font-size: 0.6rem;
    top: -16px;
    right: -10px;
  }
  .kurs-card {
    padding-top: 3rem;
  }
}
/* Zwischentitel Präventionskurse */
.praeventions-zwischentitel {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin: 3rem 0 2rem 0;
  color: var(--primary-blue);
  border-bottom: 4px solid var(--accent-orange);
  max-width: fit-content;
  text-align: center;
  width: 100%;
}

/* === MODERNE IMPRESSUM-STRUKTUR (im milchigen main-Rahmen) === */
#impressum {
  padding: 1rem 0;
}

#impressum h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0 0 3rem 0;
  text-align: center;
  position: relative;
  letter-spacing: 1px;
}

#impressum h1::after {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-orange);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Moderne Sektionstrennung */
.impressum-section {
  position: relative;
  padding: 2rem 0;
  margin-bottom: 1.5rem;
}

.impressum-section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
  opacity: 0.4;
}

.impressum-section h2 {
  font-size: 1.45rem;
  color: var(--deep-blue);
  margin-bottom: 1.2rem;
  padding: 1rem 0 0.5rem 1.5rem;
  background: linear-gradient(90deg, transparent 0%, rgba(245,166,35,0.12) 50%, transparent 100%);
  border-left: 5px solid var(--accent-orange);
  border-radius: 0 8px 8px 0;
  font-weight: 700;
}

.impressum-section p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Hauptinfo hervorheben */
.hauptinfo {
  background: rgba(255, 250, 240, 0.6);
  border-radius: 20px;
  padding: 2rem;
  border-left: 6px solid var(--accent-orange);
  margin-bottom: 2rem;
}

.hauptinfo h2 {
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
  background: rgba(0,174,229,0.08);
}

.hauptinfo p strong {
  color: var(--deep-blue);
}

/* Links */
#impressum a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all 0.2s;
}

#impressum a:hover {
  background: rgba(0,174,229,0.1);
  color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 700px) {
  #impressum h1 {
    font-size: 2.2rem;
  }
  .impressum-section {
    padding: 1.5rem 0;
  }
}
/* === MOBILE OPTIMIERUNG: Impressum & Datenschutz === */
@media (max-width: 900px) {
  /* Main Container anpassen */
  main {
    margin: 70px auto 2rem !important;
    padding: 1.5rem 1rem 2rem !important;
  }
  
  /* Impressum spezifisch */
  #impressum {
    padding: 0 !important;
  }
  
  #impressum h1 {
    font-size: 2.2rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Sektionen vollbreite */
  .impressum-section,
  .hauptinfo {
    padding: 1.5rem 1rem !important;
    margin: 0 !important;
  }
  
  .impressum-section h2 {
    font-size: 1.3rem !important;
    padding: 0.8rem 1rem !important;
  }
  
  .impressum-section p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  /* Links besser anklickbar */
  #impressum a {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin: 0.2rem 0;
    border-radius: 6px;
  }
}

@media (max-width: 500px) {
  main {
    padding: 1rem 0.8rem 1.5rem !important;
    margin: 60px auto 1.5rem !important;
  }
  
  #impressum h1 {
    font-size: 1.9rem !important;
  }
  
  .impressum-section,
  .hauptinfo {
    padding: 1.2rem 0.8rem !important;
  }
}
/* Gleiches gilt für Datenschutz-Seite */
#datenschutz {
  padding: 1rem 0;
}

/* Mobile für Datenschutz */
@media (max-width: 900px) {
  #datenschutz h1,
  #datenschutz h2 {
    font-size: 1.3rem !important;
  }
  
  #datenschutz p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}
/* Logo als Link */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover .header-logo {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.logo-link:hover .logo-text {
  color: var(--accent-orange);
  transition: color 0.2s ease;
}
