body {
    margin: 0;
    height: 100vh;
    padding: 1%;
    position: relative; /* wichtig für ::before */
}

body::before {
    content: "";
    position: fixed;       /* Hintergrund fixiert beim Scrollen */
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('Logo_background.png') center center no-repeat;
    background-size: 110% auto; /* Bild größer skalieren */
    opacity: 0.1;               /* Transparenz */
    z-index: -1;                 /* hinter Content */
}

/* Kopfzeile für Logo für alle Seiten der Website*/
.header {
  text-align: center;
  padding: 20px;
  height: 20%;
  position: relative; /* für absolute Positionierung */
}

.logo_container {
  display: inline-block;
  max-width: 600px;
  max-height: 400px;
  overflow: hidden;
}

.logo_container img {
  max-width: 100%;
  height: auto;
}
/* ----- Responsive Header-Anpassung ----- */

/* Tablet */
@media screen and (max-width: 992px) {
  .header {
    padding: 10px;            /* weniger Innenabstand */
  }

  .logo_container {
    max-width: 400px;         /* kleineres Logo */
    max-height: 250px;
  }
}

/* Smartphones */
@media screen and (max-width: 768px) {
  .header {
    padding: 5px;
    height: auto;             /* keine feste Höhe, wächst mit Inhalt */
  }

  .logo_container {
    max-width: 280px;
    max-height: 180px;
  }

  .logo_container img {
    width: 100%;
    height: auto;
  }
}

/* Sehr kleine Geräte (z. B. iPhone SE) */
@media screen and (max-width: 480px) {
  .header {
    padding: 3px;
  }

  .logo_container {
    max-width: 220px;
    max-height: 140px;
  }
}

/* Der Kreis */
.circle {
  position: absolute;
  top: 45%;
  right: 5%; /* Abstand vom rechten Rand */
  transform: translateY(-50%);
  
  width: 200px;          /* feste Breite und Höhe für echten Kreis */
  height: 200px;
  border-radius: 50%;
  background-color: rgb(32,149,124);
  
  display: flex;          /* Text zentrieren */
  justify-content: center;
  align-items: center;
  text-align: center;     /* Text innerhalb des <p> zentrieren */
  padding: 10px;
  
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;       /* Lesbarkeit bei Umbrüchen */
  box-sizing: border-box; /* Padding wird in Kreisgröße eingerechnet */
}

.circle p {
  margin: 0;
  white-space: normal; /* Umbrüche erlaubt */
}
.left, .right {
    flex: 1; 
    display: flex;
    align-items: center; 
    justify-content: center;
}

.center {
    flex: 4; 
    display: flex;
    align-items: center; 
    justify-content: center; 
}
.topnav { 
  overflow: hidden; 
  background-color: rgb(32,149,124); 
  position: sticky; 
  top: 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  z-index: 1000; 
  border-radius: 10px; 
  padding: 0 8px;
}

.topnav a { 
  display: block; 
  color: #f2f2f2; 
  text-align: center; 
  padding: 14px 16px; 
  text-decoration: none; 
  flex: 1; 
  white-space: nowrap; 
}

.topnav a:hover { 
  background-color: rgba(3, 91, 95, 0.951); 
  color: black; 
}

/* Icon (Hamburger / Navigation) ist standardmäßig auf großen Bildschirmen versteckt */
.topnav .icon {
  display: none;
  font-size: 18px;
  flex: none;
  cursor: pointer;
  color: #f2f2f2;
  text-decoration: none;
}

/* --- Mobile: geschlossene Ansicht --- */
@media screen and (max-width: 500px) {
  .topnav {
    flex-wrap: wrap;
  }

  /* Verstecke alle normalen Links (nicht die .icon) */
  .topnav a:not(.icon) {
    display: none;
  }

  /* Icon sichtbar, Label links, Icon links daneben (geschlossen) */
  .topnav a.icon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 14px 16px;
    font-weight: bold;
    justify-content: flex-start; /* -> "Navigation" links */
    width: 100%;
  }
  
}
/* Wenn Bildschirm klein wird (gleiches Breakpoint wie das Menü) */
@media screen and (max-width: 768px) {
  .circle {
    display: none;
  }
}

/* --- Mobile: offene Ansicht (wenn .responsive gesetzt) --- */
.topnav.responsive {
  flex-direction: column;
  align-items: stretch;
}

/* alle Links untereinander */
.topnav.responsive a {
  display: block;
  width: 100%;
  text-align: left;
}

/* Toggle-Button ganz oben, Label links, X rechts */
.topnav.responsive a.icon {
  order: -1;                  /* macht den Button zum ersten Element */
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 14px 16px;
}

/* Stelle sicher, dass das Icon (Span) seine natürliche Größe behält */
.topnav.responsive .hamburger {
  flex: none;
}

/* Container, die sich über die ganze Seite erstrecken */
.fullwidth-box {
    width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.fullwidth-box_line_color {
    width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #000;
    background-color: #F1F1F1;
}
/* Nebeneinander liegende Container (Massage Seite) */
.column {
    float: left;
    text-align: center;
    width: 33.33%; 
    border: 2px solid #000;
    height: 900px;
    padding: 10px;
    box-sizing: border-box;
}
/* Strich unter den Überschriften */
hr {
    border: 0;
    border-top: 2px solid #000; 
    margin: 10px 0; 
}
/* Boxen mit Bildern und Text für die Home Seite */
.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.text_box{
    display: flex;
    width: 100%;
    padding: 2%;
    background-color: #F1F1F1;
    border: 2px solid #000;
    border-radius: 15px;
}

.bild_box {
    flex-basis: 30%; 
    flex-shrink: 0; 
    height: auto; 
    background-color: #FFF; 
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); 
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 10px; 
}

.bild_box img {
    width: 100%; 
    height: auto; 
    border-radius: 10px; 
}

.text_container{
    display: flex;
    justify-content: center; 
    align-items: center; 
    background-color: #F1F1F1;
}
.text_feld_r {
    flex: 1; 
    text-align: center;
    padding-left: 10%;
    font-size: 16px; 
    color: #333;
}

.text_feld_l {
    flex: 1; 
    text-align: center;
    padding-right: 10%;
    font-size: 16px; 
    color: #333;
}
/* Media Querries, damit die Home Seite auch auf kleineren Endgeräten angezeigt werden kann */
@media (max-width: 600px) {
    .text_box {
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
    }

    .bild_box {
        flex-basis: auto; 
        width: 100%; 
    }

    .text_feld_l {
        width: 100%; 
    }
    .text_feld_r {
        width: 100%; 
    }
}
/* Kontainer für die Gutscheinseite (Teilt die Seite in 2 Teile), in mehreren Varienten */ 
.halbe_seite {
    width: 49%;  
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 600px;
    border: 2px solid #000;
    padding: 10px;
    box-sizing: border-box;
    background-color: transparent;
}
.halbe_seite_transparent {
    width: 49%;  
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 600px;
    padding: 10px;
    box-sizing: border-box;
    background-color: transparent;
}
.halbe_seite_farbig {
    width: 40%;  
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 600px;
    border: 2px solid #000;
    padding: 10px;
    box-sizing: border-box;
    background-color: #F1F1F1;
}
.kleine_box {
    width: 75%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    background-color: #f0f0f0;
    box-sizing: border-box;
}

.kleine_box_2 {
    width: 60%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    background-color: #f0f0f0;
    box-sizing: border-box;
}
/* Bilderkarusell für die Gutschein Seite mit Pfeil zum Bild wechseln */
.karussell-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    overflow: hidden;
}

.karussell-wrapper {
    overflow: hidden;
    width: 100%;
}

.karussell {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.karussell-bild {
    width: 100%;
    flex-shrink: 0;
    display: block;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.row:after {  
    content: "";  
    display: table;  
    clear: both;  
}
/* Fußzeilencontainer */
.footer {  
    background-color: #F1F1F1;  
    text-align: center;  
    padding: 10px;  
}
/* Kontaktformular und Media Queries, damit das Kontaktformular auch auf kleineren Geräten anzeigt werden kann */
.contact-form {
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px; 
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; 
}

.contact-form button {
    width: 100%;
    padding: 12px; 
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box; 
}

.contact-form button:hover {
    background-color: #45a049;
}

.response-message {
    margin-top: 15px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 15px; 
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        padding: 10px;
    }
}
/* Media Querris, damit alle Container etc. auch auf kleineren Geräten Sinnvoll angezeigt werden können */
@media screen and (max-width: 600px) {
    .column,
    .halbe_seite,
    .box_2,
    .header_klein,
    .fullwidth-box {
        width: 100%; 
        height: auto; 
        margin-bottom: 20px; 
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .karussell-container {
        width: 100%; 
    }
}
/* Body und Box 2 für Versuche zum ändern des Aussehens der Seite */
body.body2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.box_2 {
    width: 90%; 
    height: auto;
    padding: 20px;
    background-color: #188c1c;
    color: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Popup-Fenster für die Massagen Seite */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 400px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}


.popup-overlay:target {
    display: block; 
}
/* weitere Anpassungen, damit die Container/ Elemente auch auf kleineren Geräten angezeigt werden können und schöner aussehen */
@media screen and (max-width: 600px) {
    .halbe_seite_transparent, .halbe_seite, .halbe_seite_farbig {
        width: 100%;
        height: auto; 
        margin-bottom: 20px; 
    }
}
@media screen and (max-width: 600px) {
    .karussell-container {
        width: 100%; 
    }

    .karussell-bild {
        width: 100%;
        height: auto; 
    }

    .pfeil {
        font-size: 18px; 
        padding: 5px;
    }
}
@media screen and (max-width: 600px) {
    .container {
        flex-direction: column;
        gap: 20px; 
        align-items: center; 
    }

    .text_box, .bild_box {
        width: 100%; 
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 600px) {
    h2, h3 {
        font-size: 1.5rem; 
    }

    p {
        font-size: 1rem;
        line-height: 1.5; 
    }
}
@media screen and (max-width: 600px) {
    .popup-content {
        width: 90%; 
    }

    .contact-form {
        padding: 10px; 
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px; 
    }
}
@media screen and (max-width: 600px) {
    .footer {
        padding: 15px; 
        font-size: 14px; 
    }
}
h1{
    font-weight: normal;
    color: rgb(32,149,124);
}
h2 {
	font-weight: normal;
    color: rgb(32,149,124);
}
.container_1 {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 10px auto;
    gap: 20px;
    align-items: stretch;  /* gleiche Höhe */
}

.bild_1 {
    flex: 0 0 35%;               /* Bild nimmt 35% der Breite */
    max-width: 400px;            /* begrenzt die maximale Breite */
    border-radius: 20px;
    border: 5px solid rgb(32,149,124);
    object-fit: cover;           /* skaliert das Bild sauber */
}

.textkasten_1 {
    flex: 1;                     /* Textfeld nimmt restlichen Platz */
    background-color: rgb(246,249,237);
    padding: 20px;
    border: 5px solid rgb(32,149,124);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.massage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    align-items: stretch;
  }
.massage-grid-home{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
  
    max-width: 1200px;   /* maximale Breite */
    margin: 0 auto;      /* zentriert das Grid */
    align-items: stretch;
  }
  
  .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    border: 5px solid rgb(32,149,124);
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 10px;
    text-align: center;
  }
  
  .card-content h2 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #444;
  }
  
  .card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
  }
  .container_home_1 {
    display: flex;
    margin: 40px auto;
    gap: 3rem;
    max-width: 1200px;
    max-height: 400px;
    align-items: stretch; /* gleiche Höhe */
}

.bild_home {
    flex: 1; /* nimmt weniger Platz */
    min-width: 250px;
}
@media screen and (max-width: 600px) {
  .container_home_1 {
    flex-direction: column;   /* Bild über Text */
    align-items: center;
    text-align: center;
    max-height: none;         /* verhindert, dass Text abgeschnitten wird */
    gap: 1.5rem;
    padding: 1rem;
  }

  .bild_home {
    width: 100%;
    max-width: 400px;         /* Bildgröße begrenzen */
  }

  .bild_home img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .text_box_img {
    width: 100%;
    max-width: 600px;
  }
}

.bild_home img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Bild füllt den Kasten proportional */
    border-radius: 15px;
    border: 4px solid rgb(32,149,124);
}

.textkasten_home {
    flex: 2; /* Textkasten ist breiter */
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 4px solid rgb(246,249,237);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Text vertikal mittig */
    /* min-height: 250px;        verhindert, dass der Kasten zu klein wird */
    border: 4px solid rgb(32,149,124);
}
.carousel {
    position: relative;
    flex: 1;
    max-width: 500px;
    overflow: hidden;
    border-radius: 15px;
    border: 4px solid rgb(32,149,124);
  }
  
  .carousel .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
  }
  
  .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .carousel .prev { left: 10px; }
  .carousel .next { right: 10px; }
  
  .hero-slider {
    position: relative;
    max-width: 1200px;                 /* so breit wie deine Navbar/Seite */
    height: 500px;               /* Höhe anpassen */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Text links im Bild */
    background-size: cover;
    background-position: center;
    border-radius: 0;            /* wenn du es abrunden willst: border-radius: 15px; */
    transition: background-image 1s ease-in-out;
    border-radius: 10px;
    margin: 0 auto;  
  }
  
  .slide-text {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4); /* halbtransparenter Hintergrund für bessere Lesbarkeit */
    border-radius: 10px;
  }
  
  .slide-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .slide-text p {
    font-size: 1.2rem;
  }
  .card-link {
    text-decoration: none; /* keine Unterstreichung */
    color: inherit;        /* Textfarbe bleibt */
    /*display: block;        /* macht den <a>-Tag blockig */
  }
  /* ----- Kartenabschnitt ----- */
.map-section {
  text-align: center;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Zwei Boxen nebeneinander auf großen Bildschirmen */
.map-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.map-box {
  flex: 1;
  text-align: center;
}

/* Kartencontainer-Styling */
.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 5px solid rgb(32,149,124);
}

/* ----- Responsive Anpassung für kleinere Bildschirme ----- */
@media screen and (max-width: 768px) {
  .map-wrapper {
    flex-direction: column;   /* Karten untereinander statt nebeneinander */
    gap: 2rem;                /* Etwas mehr Abstand zwischen den Boxen */
  }

  .map-box {
    width: 100%;              /* Jede Box nutzt volle Breite */
  }

  .map-container {
    height: 300px;            /* Kleinere Höhe für Mobile */
  }

  .map-section h2 {
    font-size: 1.1rem;        /* Überschrift etwas kleiner */
    padding: 0 1rem;          /* Etwas Rand links/rechts, damit Text nicht am Rand klebt */
  }
}

  .map-container-Yoga-Workshop {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 5px solid rgb(32,149,124);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
  }
  
  .map-container-Yoga-Workshop p {
    color: #555;
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }  
  .container_home {
    display: flex;
    align-items: center;          /* vertikal zentrieren */
    justify-content: space-between;
    border: 5px solid rgb(32,149,124); /* grüner Rand */
    border-radius: 15px;
    overflow: hidden;             /* damit das Bild abgerundet wird */
    max-width: 1000px;            /* Begrenzung für große Screens */
    margin: 2rem auto;
    background: white;            /* sauberer Hintergrund */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .container_über_mich {
    display: flex;
    align-items: center;          
    border: 5px solid rgb(32,149,124);
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem auto;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 100%;              
    max-height: 420px;            /* maximale Höhe des Containers */
  }
  
  .image_box {
    flex: 0 0 40%;                
    max-height: 100%;             /* Bild darf Containerhöhe nicht überschreiten */
    overflow: hidden;
  }
  
  .image_box img {
    width: 100%;
    height: 100%;                 /* füllt die Box, aber object-fit sorgt für korrektes Seitenverhältnis */
    object-fit: cover;            /* Bild füllt Box ohne Verzerrung */
    display: block;
  }
  
  .text_box_img {
    flex: 1;                      
    padding: 1.5rem;
    text-align: left;
    overflow: auto;               /* falls Text zu lang ist, Scrollbar im Container */
  }
  .center {
    text-align: center;
  }
  
  /* Infokasten mit Bild + Text */
  .info-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    border: solid 4px rgb(32,149,124);
  }
  .info-box img {
    flex: 0 0 300px;   /* Bild bekommt fixen Platz von 300px Breite */
    height: 250px;     /* feste Höhe */
    object-fit: cover; /* passt das Bild an, ohne Verzerrung */
    border-radius: 0;  /* optional, falls du abgerundete Ecken willst */
  }
  
  .info-text {
    flex: 1 1 400px;
    padding: 2rem;
  }
  .info-text h2 {
    margin-top: 0;
    color: rgb(32,149,124);
  }
  /* Text soll umbrechen und nicht aus dem Container laufen */
.info-text p {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

/* Wenn der Bildschirm kleiner wird, Box stapelt sich statt nebeneinander */
@media screen and (max-width: 768px) {
  .info-box {
    flex-direction: column;   /* Bild und Text untereinander */
    align-items: center;      /* zentrieren */
    margin: 2rem 1rem;        /* etwas kleinerer Außenabstand */
  }

  .info-box img {
    width: 100%;              /* Bild passt sich der Breite an */
    height: auto;             /* Höhe automatisch */
    max-width: 400px;         /* optional: maximale Bildbreite */
  }

  .info-text {
    flex: 1 1 auto;
    width: 100%;              /* Text nutzt volle Breite */
    padding: 1.5rem;          /* etwas weniger Innenabstand */
    box-sizing: border-box;
  }
}

  /* Kurskästen */
  .courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
  }
  .course-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    border: solid 4px rgb(32,149,124);
  }
  .course-card:hover {
    transform: translateY(-5px);
  }
  .course-card h3 {
    margin-top: 0;
    color: #4a6b57;
  }
  .price {
    font-weight: bold;
    color: #2e5d44;
    margin-top: 0.5rem;
  }
  .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.3rem;
    background: #4a6b57;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn:hover {
    background: #3b5546;
  }
  .workshop-box {
    display: flex;
    gap: 20px;
    background-color: white;
    /* rgb(182,154,102) */
    border: 4px solid rgb(32,149,124);
    border-radius: 20px;
    padding: 20px;
    max-width: 1150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 40px; 
  }

  .workshop-text {
    flex: 1;
    padding-right: 20px;
  }

  .workshop-text h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
  }

  .workshop-text h2 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
  }

  .workshop-text a {
    color: black;
    font-weight: 600;
  }

  .workshop-text p {
    margin: 8px 0;
    font-size: 16px;
  }

  .workshop-text button {
    margin-top: 20px;
    padding: 12px 20px;
    border: 2px solid black;
    border-radius: 12px;
    font-weight: 900;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .workshop-text button:hover {
    background-color: black;
    color: white;
  }

  .workshop-image {
    flex: 1;
    max-height: 450px;
  }

  .workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }
  .workshop-box.reverse {
    flex-direction: row-reverse;
  }
/* ---------- Responsive Anpassung für Workshops ---------- */
@media screen and (max-width: 500px) {
  .workshop-box {
    flex-direction: column;         /* Text und Bild untereinander */
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;               /* Bild kann nicht mehr herausragen */
  }

  /* Bei "reverse" Boxen bleibt Bild unten */
  .workshop-box.reverse {
    flex-direction: column;
  }

  .workshop-text {
    padding: 0;
    width: 100%;
  }

  .workshop-text h1 {
    font-size: 22px;
  }

  .workshop-text h2 {
    font-size: 18px;
  }

  .workshop-text p {
    font-size: 15px;
  }

  .workshop-image {
    width: 100%;
    max-height: 250px;             /* fixe, gleichmäßige Höhe */
    overflow: hidden;              /* schneidet überstehendes Bild ab */
    border-radius: 12px;
  }

  .workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* skaliert ohne Verzerrung */
    display: block;
    border-radius: 12px;
  }

  .workshop-text button {
    width: auto;
    margin: 1rem auto 0 auto;
    display: inline-block;
  }
}

/* Extra Optimierung für sehr kleine Geräte */
@media screen and (max-width: 480px) {
  .workshop-box {
    padding: 0.8rem;
  }

  .workshop-text h1 {
    font-size: 20px;
  }

  .workshop-text h2 {
    font-size: 16px;
  }

  .workshop-text p {
    font-size: 14px;
  }

  .workshop-image {
    max-height: 200px;             /* kleinere Höhe auf ganz kleinen Screens */
  }
}


  /* ============================= */
/*   Ab ~1024px (kleine Laptops) */
/* ============================= */
@media screen and (max-width: 1024px) {
    .container_home,
    .container_über_mich,
    .container_1 {
      max-width: 95%;
      gap: 1.5rem;
    }
    .massage-grid,
    .massage-grid-home,
    .courses {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1rem;
    }
  }
  
  /* ============================= */
  /*   Ab ~768px (Tablets/Hochformat) */
  /* ============================= */
  @media screen and (max-width: 768px) {
  
    /* generelles Layout */
    body {
      padding: 2%;
    }
  
    /* Flex-Container untereinander stapeln */
    .container_home,
    .container_über_mich,
    .container_1,
  
    .bild_home,
    .image_box,
    .bild_1,
    .info-box img {
      width: 100%;
      max-width: none;
      height: auto;
    }
  
    .textkasten_home,
    .text_box_img,
    .textkasten_1,
  
    /* Massage- und Kurs-Grids enger setzen */
    .massage-grid,
    .massage-grid-home,
    .courses {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      padding: 0.5rem;
    }
  
    /* Bilderkarussell */
    .carousel {
      max-width: 100%;
    }
  
    /* Kontaktformular */
    .contact-form {
      padding: 15px;
    }
  }
  
  /* ============================= */
  /*   Ab ~480px (Smartphones)     */
  /* ============================= */
  @media screen and (max-width: 480px) {
  
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
    p  { font-size: 0.95rem; line-height: 1.4; }
  
    /* Buttons und Formulare */
    .workshop-text button,
    .contact-form button,
    .btn {
      width: 100%;
      padding: 10px;
      font-size: 0.9rem;
    }
  
    /* Bilder in Karten */
    .card img,
    .karussell-bild {
      height: auto;
    }
  
    /* kleinere Abstände */
    .container_home,
    .container_über_mich,
    .container_home_1 {
      margin: 1rem auto;
      gap: 1rem;
    }
  }
  #cookie-banner {
    background: white;
    border: 4px solid rgb(32,149,124);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 15px 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    margin: 20px auto;
    z-index: 1000;
    box-sizing: border-box; /* verhindert, dass Border + Padding die Gesamtbreite sprengen */
  }
  
  /* Buttons */
  #cookie-banner button {
    margin: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  #accept-cookies {
    background-color: rgb(32,149,124);
    color: white;
  }
  
  #decline-cookies {
    background-color: #ccc;
  }
  
  /* -------- RESPONSIVE OPTIMIERUNGEN -------- */
  @media (max-width: 600px) {
    #cookie-banner {
      width: 95%;
      max-width: none;  /* entfernt das feste Limit */
      margin: 10px auto;
      padding: 12px 14px;
    }
  
    #cookie-banner button {
      display: block;
      width: 100%;
      margin: 8px 0;
    }
  }
  
  @media (max-width: 350px) {
    #cookie-banner {
      font-size: 0.9rem;
      padding: 10px 12px;
    }
  }
  
  
  #map-container {
    display: none; /* wird erst sichtbar, wenn akzeptiert */
  }

  .impressum{
    text-align: center;
  }