body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #333;
    height: 100%;
}




/* Menü-Button (Hamburger Icon) */
/* Menü-Button Styling */
/* Menü-Button (Hamburger Icon) */
/* Menü-Button Styling */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 250, 240, 0.9);
    color: #333; /* Softere Farbe für den Text, nicht ganz schwarz */
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    font-size: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Textfarbe, bevor das Menü geöffnet ist */
.menu-toggle .menu-text {
    color: rgba(51, 51, 51, 0.8); /* Softer, leicht transparenter Farbton */
}

/* Rot färben, wenn das Menü geöffnet ist */
.menu-toggle.open .menu-text .highlight {
    color: #ff6b6b; /* Gleiche rote Farbe wie im Hero-Content */
}

/* Burger-Lines Styling */
.burger-lines {
    display: inline-block;
    width: 30px;
    height: 22px;
    position: relative;
}

.line {
    width: 100%;
    height: 4px;
    background-color: #333;
    display: block;
    position: absolute;
    transition: all 0.4s ease;
}

.line:nth-child(1) {
    top: 0;
}

.line:nth-child(2) {
    top: 9px;
}

.line:nth-child(3) {
    top: 18px;
}

/* Animation bei Menüöffnung - Verwandelt die Linien in ein X */
.menu-toggle.open .line:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.open .line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .line:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Textwechsel */
.menu-toggle .menu-text {
    margin-right: 10px;
    font-weight: bold;
}

.menu-toggle.open .menu-text {
    content: "HiRelax";
}

/* Navigationsmenü */
.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: rgba(255, 250, 240, 0.95);
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    padding: 60px 20px;
    z-index: 999;
    overflow-y: auto; /* Scrollbar aktivieren */
    max-height: 100vh; /* Maximale Höhe auf Bildschirmgröße beschränken */
    box-sizing: border-box; /* Vermeidet Überschreitungen der Box */
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu ul li {
    margin: 10px 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

/* Menü anzeigen, wenn aktiv */
.nav-menu.show {
    display: block;
}



/* Styling des Buchungsbuttons im Menü */
.booking-button {
    display: inline-block;
    background-color: #28a745; /* Grüner Hintergrund */
    color: #fff; /* Weißer Text */
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Abstand zum restlichen Menü */
}

.booking-button:hover {
    background-color: #218838; /* Etwas dunkleres Grün bei Hover */
}



/* Consultation Button */
/* Consultation Button */
.consultation-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(40, 167, 69, 0.65); /* Green background with 75% transparency */
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    max-width: 300px;
    white-space: nowrap; /* Keep text on one line */
}

/* Adjust the phone icon size */
.consultation-button img.phone-icon {
    width: 24px;
    margin-right: 10px;
}

/* Styling für die Hero Section */
/* Styling für die Hero Section */

.hero {
    position: relative;
    height: auto;
    background: url('IMG_3053.png') center center / cover no-repeat;
    padding-bottom: 2rem;
}

/* Sicherstellen, dass der Hero-Content im Vordergrund bleibt */
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 2vh;
    border-radius: 8px;
    width: auto;
    display: inline-block;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6); /* Hell transparenter Hintergrund */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5); /* mildert das Bild */
    z-index: 0;
}
.hero-content, .online-header-banner, #aktuelles-themen {
    position: relative;
    z-index: 1; /* damit sie über dem Hintergrund bleiben */
}


    </style>
.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}



/* Hero-Top für den oberen Bereich */
.hero-top {
    padding-top: 60px; /* Genug Platz für Menü- und Telefon-Button */
    text-align: center;
}

.hero-top h1 {
    font-size: 5rem; /* Anpassbare Schriftgröße für "HiRelax" */
    color: #ffffff;  /* Schriftfarbe */
    margin: 0;
}

/* Hero-Bottom für den unteren Bereich */
.hero-bottom {
    text-align: center;
    margin-bottom: 50px; /* Platz nach unten, damit der Text nicht zu nah am Rand ist */
}

.hero-bottom p {
    font-size: 2rem; /* Schriftgröße des restlichen Textes */
    color: #ffffff; /* Schriftfarbe */
    margin: 0;
}

/* Responsives Design */
@media (max-width: 768px) {
    .hero-top h1 {
        font-size: 3rem; /* Kleinere Schriftgröße auf mobilen Geräten */
    }

    .hero-bottom p {
        font-size: 1.5rem;
    }
}





/* Styling für das HiRelax-Logo auf der Startseite */
.home-hero h1 {
    font-size: 5em; /* Große Schriftgröße für den markanten Look */
    font-weight: 600; /* Deutliches Schriftbild */
    color: #28a745; /* Beruhigende grüne Farbe */
    margin: 0;
    letter-spacing: 1px; /* Leichter Buchstabenabstand */
    font-family: 'Poppins', sans-serif; /* Moderne und freundliche Schrift */
}

/* Besonderes Styling für "Hi" */
.home-hero h1 .highlight {
    color: #28a745; /* Warmes, einladendes Rot für "Hi" */
    font-weight: 700; /* Etwas fetter für Hervorhebung */
}

/* Styling für den einladenden Untertitel */
.home-hero p {
    font-size: 1.8em;
    color: #333;
    margin-top: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    font-style: italic; /* Leicht kursiv für einen entspannten und freundlichen Ton */
}


/* Hero Section */
header.hero, #services {
    position: relative;
    background: url('IMG_3053.png') repeat-y center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    overflow: visible;
}



.hero h1 {
    font-size: 3em; /* Standardgröße für größere Bildschirme */
    margin: 0;
    color: #333;
}

.hero p {
    font-size: 1.5em;
    margin-top: 10px;
    color: #333;
}


    



/* Anpassung für Tablets und kleinere Bildschirme */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em; /* Verkleinert die Schriftgröße */
    }

    .hero p {
        font-size: 1.2em; /* Verkleinert die Paragraphengröße */
    }
}

/* Anpassung für Smartphones und sehr kleine Bildschirme */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em; /* Noch kleinere Schriftgröße für Smartphones */
    }

    .hero p {
        font-size: 1em; /* Verkleinert den Text für sehr kleine Bildschirme */
    }
}


    
        

    .hero img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fade 9s infinite;
    }

    
    @keyframes fade {
        0% {
            opacity: 0;
        }
        33% {
            opacity: 1;
        }
        66% {
            opacity: 0;
        }
        100% {
            opacity: 0;
        }
    }
    
    
        /* Hier wird sichergestellt, dass der Hero-Content im Vordergrund bleibt */
    .hero-content {
        position: relative;
        z-index: 1; /* Höher als die z-index der Bilder */
    
        text-align: center;
    
    }




/* Address and Footer */
.address, footer {
    text-align: center;
    padding: 20px;
    background: transparent;
}

.address-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
}

.address-content h2 {
    margin-top: 0;
    color: #333;
}

.address-content img {
    max-width: 100%;
    border-radius: 10px;
}

.contact-info {
    margin-top: 20px;
    text-align: left;
}

.contact-info p {
    margin: 5px 0;
}

/* Service Box Styling */
.service {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Mobile Optimierungen für die Service Boxen */
@media (max-width: 768px) {
    .service {
        max-width: 90%; /* Reduziere die maximale Breite für Mobilgeräte */
        padding: 15px; /* Weniger Padding auf kleinen Bildschirmen */
        margin: 15px auto; /* Kleinere Abstände auf Mobilgeräten */
    }
}


.service.show {
    opacity: 1;
    transform: translateY(0);
}

.service p {
    margin-bottom: 1em;
}

.service.expanded {
    max-height: none;
    height: auto;
    overflow: visible;
    margin-bottom: 20px;
}

/* Zeigt die versteckten Inhalte an */
.service .more-info, .service .service-image {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.service.expanded .more-info, .service.expanded .service-image {
    display: block;
    opacity: 1;
}

/* Styling der Service-Bilder */
.service-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    margin: 10px auto;
    display: block;
}

/* Footer */
footer {
    padding: 20px;
    background: transparent;
    color: #333;
}

/* Buchungsinfo */
.appointment-section {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin-top: 50px;
}

.appointment-text-box {
    position: relative;
    background: rgba(173, 216, 230, 0.85);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
}

.appointment-text-box h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.appointment-text-box p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.appointment-text-box .back-to-booking {
    font-size: 1.2em;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #4CAF50;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.appointment-text-box .back-to-booking:hover {
    background-color: #4CAF50;
    color: white;
}

/* Themes Styling */
/* Standardmäßig unsichtbar (für Animation) */
.theme h2, .theme-image, .theme-text {
    opacity: 0;
    transform: translateY(50px); /* Beginnt weiter unten */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Sanftes Einblenden */
}

/* Wenn sichtbar, wird die Klasse .show hinzugefügt */
.theme.show h2, .theme.show .theme-image, .theme.show .theme-text {
    opacity: 1;
    transform: translateY(0); /* Verschiebt sich an den normalen Platz */
}

/* Themes stilisieren */
.theme {
    background-color: #f0f8ff; /* Sanfte Hintergrundfarbe, die beruhigend wirkt */
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Weicher Schatten für mehr Tiefe */
    max-width: 1100px; /* Begrenzte Breite für große Bildschirme */
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.theme:hover {
    transform: translateY(-5px); /* Hebt die Box leicht an */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Erhöht den Schatten bei Hover */
}

/* Stil für Bilder */
.theme-image {
    width: 100%;
    max-width: 700px; /* Begrenzung der Bildbreite */
    border-radius: 8px;
    margin-bottom: 15px; /* Abstand zum Text */
}

/* Stil für die Überschriften */
.theme h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Stil für den Text */
.theme-text {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6; /* Verbesserte Lesbarkeit */
    margin-bottom: 20px;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .theme {
        padding: 15px;
        margin: 15px auto;
        max-width: 100%; /* Vollbreite auf Mobilgeräten */
    }

    .theme h2 {
        font-size: 1.6em;
    }

    .theme-text {
        font-size: 1em;
    }

    .theme-image {
        max-width: 600px;
    }
}

/* Größere Bildgröße für Desktops */
@media (min-width: 769px) {
    .theme-image {
        max-width: 600px;  /* Größeres Bild für Desktops */
        margin-bottom: 20px;
    }
}



/* Animationen für Text und Bild */
.theme h2, .theme-image, .theme-text {
    opacity: 0;
    transform: translateY(50px); /* Startet weiter unten */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.theme.show h2, .theme.show .theme-image, .theme.show .theme-text {
    opacity: 1;
    transform: translateY(0); /* Verschiebt sich an den normalen Platz */
}

/* Vorteile-Animationen */
.highlights {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.highlight-item {
    opacity: 0;
    transition: opacity 1s ease-out; /* Einfache Einblendung */
}

.theme.show .highlight-item {
    opacity: 1;
}

/* Styling für den Phytotherapie-Hero */
.phytotherapy-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f5f5f5; 
    background: url('hero-bg.jpg') center center / cover no-repeat fixed; /* Parallax für Phyto-Hero */
}

/* Größeres, auffälliges Logo und Untertitel */
.phytotherapy-content h1 {
    font-size: 4em;
    color: #28a745; /* Grün für HiRelax */
}

.phytotherapy-content h1 .highlight {
    color: #ff6b6b; /* Rotes Hi */
}

.phytotherapy-content p h2 {
    font-size: 2em;
    color: #333;
}

/* Phytotherapie Highlights Animation */
.phytotherapy-content .highlights {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.phytotherapy-content .highlight-item {
    font-size: 1.5em;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.phytotherapy-content.show .highlights {
    opacity: 1;
    transform: translateY(0);
}

.phytotherapy-content.show .highlight-item {
    opacity: 1;
    transform: translateY(0);
}


#aktuelles-themen {
  padding: 2rem 1rem;
  background: #f4f4f4;
}

.aktuelles-headline {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.aktuelles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "a b"
    "c c";
  gap: 2rem;
}

.aktuelles-box:nth-child(1) { grid-area: a; }
.aktuelles-box:nth-child(2) { grid-area: b; }
.aktuelles-box:nth-child(3) {
  grid-area: c;
  max-width: 100%; /* breite Box unten */
}

@media (min-width: 768px) {
  .aktuelles-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  
}

.aktuelles-box {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aktuelles-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1 / 1; /* quadratisch für normale Boxen */
}

.aktuelles-box.wide img {
  aspect-ratio: 2 / 1; /* rechteckig für breite Box */
}

.toggle-link {
  margin-top: 0.5rem;
  display: inline-block;
  color: green;
  font-weight: bold;
}

.full-text {
  display: none;
  margin-top: 1rem;
}

.aktuelles-box.open .full-text {
  display: block;
}


.hero img {
    z-index: 0; /* Bilder ganz unten stapeln */
}

.hero-content {
    z-index: 2;
    position: relative;
}

#aktuelles-themen {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  margin-top: -10vh; /* zieht den Block höher */
}