body {
  font-family: Arial, sans-serif;
  background: url('background.webp') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  font-size: 2rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  text-align: center;
  position: relative;
}

h2::after {
  content: "✨";
  display: block;
  font-size: 1.2rem;
  margin-top: 8px;
  color: #ffcc70;
}

h3 {
  font-size: 1.5rem;
  color: #444;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  text-align: center;
  line-height: 1.4;
}


/* Einheitliche Box für alle Inhalte */
.content-box {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  margin: 30px auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* === Bild kleiner und zentriert === */
.general-image {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center; /* optional – wirkt nur, wenn Text im Bild-Container wäre */
}

.content-box img.general-image {
  display: block;
  margin: 30px auto 20px auto;
  text-align: center; /* optional – nur wenn innerhalb zentriert */
}

/* übergeordneten Box mit Flexbox-Layout. */
.content-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.content-row .content-box {
  flex: 1 1 45%;
  box-sizing: border-box;
}

/* Einheitliche Buttons */

.button-main {
  background: linear-gradient(to right, #b2f7ef, #3298dc);
  color: black !important;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 22px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 11px;

}

.button-main:hover {
  background: linear-gradient(to right, #3298dc, #b2f7ef);
  transform: scale(1.05);
  color: black !important;
}

/* YouTube Link */
.youtube-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 11px;
  padding: 10px 20px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.youtube-link img {
  width: 50px;
  margin-right: 11px;
}

.youtube-link span {
  font-size: 1.1em;
  color: #cc0000;
}

/* Trustpilot Link */
.trustpilot-link {
  display: inline-block;
  font-size: 1.1em;
  color: #007ACC;
  text-decoration: none;
  margin-top: 11px;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: #f0f8ff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.trustpilot-link:hover {
  text-decoration: underline;
}

/* === Header Bildbereich mit Text === */
.header-textbereich {
  position: relative;
  width: 100%;
  height: 256px;
  overflow: hidden;
  margin-bottom: 22px; /* 👈 das ist der Abstand nach unten */
}

.header-textbereich .header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.header-text-oben,
.header-text-unten {
  position: absolute;
  width: 100%;
  max-width: 90%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  z-index: 3;
  padding: 0 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.header-text-oben {
  top: 22px;
}

.header-text-unten {
  bottom: 22px;
}

/* === Menü-Buttons === */

.header-buttonsbereich {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 25px;
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-buttonsbereich button {
  background: linear-gradient(to right, #b2f7ef, #3298dc);
  color: black;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  min-width: 133px;
  height: 48px; /* Einheitliche Höhe */
}

.header-buttonsbereich button:hover {
  background: linear-gradient(to right, #3298dc, #b2f7ef);
  transform: scale(1.05);
}



/* === Kontakt Textboxen === */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.form-group {
  width: 100%;
  max-width: 700px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  resize: vertical;
}

form button {
  align-self: center;
}


/* === Testimonial-Layout === */
.testimonial-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: rgba(240, 248, 255, 0.8);
  border-left: 6px solid #00BFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Georgia', serif;
  line-height: 1.7;
  color: #333;
}

.testimonial-wrapper .quote {
  font-style: italic;
  font-size: 1.3em;
  color: #007ACC;
  margin-bottom: 15px;
  font-weight: bold;
}

.testimonial-wrapper .author {
  text-align: right;
  font-weight: bold;
  margin-top: 25px;
  font-size: 1em;
}

/* Titelbox "Stimmen von Herzen" */
.testimonial-heading {
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(to right, #e0f7ff, #c8eaff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  color: #005f87;
  font-weight: bold;
  font-family: 'Georgia', serif;
}


/* 🌙 Abendmodus aktivieren */
body.night-mode {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

.night-mode .content-box {
  background-color: rgba(40, 40, 40, 0.95);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.night-mode h2,
.night-mode h3 {
  color: #f0d9ff;
}

.night-mode a {
  color: #a3d8ff;
}

.night-mode .button-main,
.night-mode .header-buttonsbereich button {
  background: linear-gradient(to right, #444, #777);
  color: #f5f5f5 !important;
}

.night-mode .button-main:hover,
.night-mode .header-buttonsbereich button:hover {
  background: linear-gradient(to right, #777, #444);
  transform: scale(1.05);
}



/* 📱 Mobile Optimierung */
@media screen and (max-width: 600px) {
  .content-box {
    padding: 20px;
    margin: 20px 10px;
  }

  .header-buttonsbereich {
    flex-direction: column;
    gap: 12px;
    padding: 10px;
  }

  .button-main,
  .header-buttonsbereich button {
    width: 100%;
    max-width: none;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

bessere Listen-Optik
.content-box ul.termine {
  list-style-type: "🌟 ";
  padding-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  line-height: 1.6;
}
.content-box h4 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  color: #444;
}
.content-box hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2em 0;
}
