/* Grundstyles */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f3edeb;
  color: #2e4d31;
}

/* Container für Header */
.container {
  display: flex;
  width: 100vw;
  height: 80vh; /* etwas kleiner */
  overflow: visible; /* wichtig, damit Schatten sichtbar bleibt */
  position: relative;
  z-index: 1;
}

/* Linke Hälfte Text */
.left-side {
  width: 50%;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  position: relative;
}

/* Textformatierung */
.left-side h1 {
  font-size: 3rem;
  margin: 0 0 20px 0;
}

.left-side p {
  font-size: 1.2rem;
  margin: 0;
  color: #3b5a3b;
}

/* Rechte Hälfte Bild */
.right-side {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.right-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bereich mit den Boxen */
.shadow-boxes {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 80px 20px;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  min-height: 500px;

  position: relative;   /* damit z-index wirkt */
  z-index: 5;           /* höher als Bild und Header */

  /* Schatten nach oben UND unten - größer, damit er sichtbar überlappt */
  box-shadow:
    0 -20px 40px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Glasige, leicht getönte Shadow Boxen */
.shadow-box {
  flex: 1;
  width: 300px;            /* feste Breite */
  min-height: 250px;       /* Mindesthöhe */
  max-height: 550px;       /* optional, maximale Höhe */
  background-color: rgba(243, 237, 235, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  color: #2e4d31;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  padding: 45px 15px 15px;
  text-align: center;
  font-weight: 400;
  font-size: 0.9rem;

  transition: transform 0.3s ease;
  cursor: pointer;
}

.shadow-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.box-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 10px;
}

.box-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 5px 0;
  text-align: center;
  width: 100%;
}

.box-text {
  font-size: 0.9rem;       /* kleinerer Text */
  line-height: 1.3rem;
  text-align: center;
  max-height: 100px;       /* Höhe des Scrollbereichs */
  overflow-y: auto;        /* scrollbar, wenn Text zu lang */
  margin-bottom: 15px;     /* Abstand zu Buttons */
  padding: 5px;
}

/* Kundenbewertung Abschnitt mit gleichem Hintergrund wie Header */
.kundenbewertung {
  padding: 60px 40px 100px;
  background-color: #f3edeb;
  color: #2e4d31;
  text-align: center;
}

.kundenbewertung h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}


/* Karussell Container */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Einzelne Bewertung */
.review {
  position: absolute;
  width: 350px;
  max-width: 80vw;
  height: 150px;
  padding: 20px;
  background: rgba(243, 237, 235, 0.8);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  color: #2e4d31;
  cursor: pointer;
  opacity: 0.5;
  transform-origin: center center;
  transition: all 0.5s ease;
  user-select: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Review Text und Author */
.review-content p {
  margin: 0 0 10px 0;
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.review-content strong {
  font-size: 0.95rem;
  color: #3b5a3b;
}

/* Positionen für die 5 Bewertungen */
.review.pos2 {
  position: relative;
  width: 400px;
  height: 160px;
  opacity: 1;
  cursor: default;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transform: translateX(0) scale(1);
  z-index: 3;
  flex-shrink: 0;  
}

.review.pos1 {
  transform: translateX(-320px) scale(0.8);
  opacity: 0.7;
  z-index: 2;
  height: 150px;
}

.review.pos3 {
  transform: translateX(320px) scale(0.8);
  opacity: 0.7;
  z-index: 2;
  height: 150px;
}

.review.pos0 {
  transform: translateX(-480px) scale(0.6);
  opacity: 0.4;
  z-index: 1;
  height: 120px;
}

.review.pos4 {
  transform: translateX(480px) scale(0.6);
  opacity: 0.4;
  z-index: 1;
  height: 120px;
}

/* Button im linken Bereich */
.cta-button {
  background-color: #2e4d31;
  color: #f3edeb;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 30px;

  display: inline-block;
  width: auto;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #3b5a3b;
}

/* Pfeile im Carousel */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  -webkit-text-stroke: 1.2px rgb(36, 36, 36); 
  font-size: 2.5rem;
  color: #f3eeeb;
  cursor: pointer;
  user-select: none;
  padding: 0 10px;
  transition: color 0.3s ease;
  z-index: 10;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Footer-Styling */
.footer {
  background-color: #2e4d31;
  color: #f3edeb;
  padding: 15px 20px;
  text-align: center;
  font-size: 0.8rem;
  user-select: none;
  position: relative;
  z-index: 10;
}

.footer-content p {
  margin: 5px 0;
}

.footer-content a {
  color: #f3edeb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #a2b48c;
}

/* Social Icons Container */
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #f3edeb;
  margin: 0 10px;
  font-size: 1.5rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #a2b48c;
  transform: scale(1.2);
}

/* Optional: Kleinere Icons auf mobilen Geräten */
@media (max-width: 480px) {
  .social-icons a {
    font-size: 1.2rem;
    margin: 0 8px;
  }
}

/* Neuer Abschnitt mit 1 langen Kästen */
.info-section {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 80px 40px;
  box-sizing: border-box;
  box-shadow:
    0 -25px 40px rgba(0, 0, 0, 0.15),
    0 25px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
}

.info-box {
  background-color: rgba(243, 237, 235, 0.7);
  padding: 40px 60px;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: center;
  color: #2e4d31;
  font-weight: 600;
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

/* Header */
.header {
  background-color: #2e4d31;
  color: #f3edeb;
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 20;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 85px;
  padding-right: 85px;
}

.header-logo {
  height: 50px;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.header-button {
  background-color: transparent;
  color: #f3edeb;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1.5px solid #f3edeb;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-button:hover {
  background-color: #f3edeb;
  color: #2e4d31;
}

/* Kopfzeile oben (z.B. Impressum/Datenschutz) */
.top-header {
  background-color: #2e4d31;
  color: #f3edeb;
  padding: 15px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100;
}

.top-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.top-logo {
  height: 40px;
  width: auto;
}

.top-button {
  background-color: transparent;
  color: #f3edeb;
  border: 2px solid #f3edeb;
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.top-button:hover {
  background-color: #f3edeb;
  color: #2e4d31;
}

/* Seiten mit rechtlichen Inhalten */
.legal-page {
  padding: 80px 40px 120px;
  background-color: #f3edeb;
  color: #2e4d31;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content {
  background-color: rgba(243, 237, 235, 0.6);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Bereich mit 2 großen Boxen – angepasst für mehr Höhe */
.alpha-section {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 80px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  box-shadow:
    0 -25px 40px rgba(0, 0, 0, 0.15),
    0 25px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 5;
}

.alpha-title {
  font-size: 2rem;
  color: #2e4d31;
  margin-bottom: 30px;
}

.alpha-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
}

.alpha-left-box {
  flex: 3;
  min-width: 400px;
  background-color: rgba(243, 237, 235, 0.7);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: #2e4d31;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  height: 550px;
  overflow-y: auto;
}

.alpha-right-boxes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 250px;
}

.alpha-small-box {
  background-color: rgba(243, 237, 235, 0.7);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  color: #2e4d31;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  height: 140px;
  overflow-y: auto;
}

/* Spezieller Footer-Schattenset für Impressum, Datenschutz, Kontakt */
.footer.shadow-footer {
  box-shadow: 0 -15px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.shadow-footer {
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.25);
}

/* Nur für Alpha-Cooling und Beckenboden */
.alpha-left-box {
  flex: 3;
  min-width: 400px;
  background-color: rgba(243, 237, 235, 0.7);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: #2e4d31;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  height: 450px;

  overflow-y: auto;
  overflow-x: hidden; /* horizontaler Overflow verhindern */

  scrollbar-width: thin;
  scrollbar-color: #a2b48c transparent;

  box-sizing: border-box; /* Wichtig, damit Padding und Scrollbar nicht „überstehen“ */
}

/* Wrapper für das Video */
.review-content {
  position: absolute;
  width: 100%;
  height: 100%;       /* füllt jetzt die gesamte Box */
  border-radius: 12px;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.review-content iframe,
.review-content img {
  position: absolute;
  width: 100%;        /* Bild/Videos füllen Box */
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;  /* füllt die Box, evtl. kleiner Beschneidung */
  border-radius: 12px;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden; /* kein horizontaler Scroll */
  }

  .container {
    flex-direction: column; /* Spalten untereinander */
    width: 100%;           /* volle Breite */
    box-sizing: border-box;
  }

  .left-side, .right-side {
    width: 100%;           /* Container füllt die Breite */
  }

  img, iframe {
    max-width: 100%;       /* Bilder/Videos passen sich an */
    height: auto;
    display: block;
  }

  .alpha-content {
    flex-direction: column; /* Boxen untereinander */
    gap: 20px;              /* kleinerer Abstand auf Handy */
    width: 100%;            /* volle Breite */
    max-width: 100%;        /* nicht breiter als Bildschirm */
    padding: 0 10px;        /* optionaler Innenabstand */
    box-sizing: border-box;
    margin: 0 auto;         /* zentrieren */
  }

  .alpha-left-box,
  .alpha-right-boxes {
    flex: none;             /* Desktop-Flex überschreiben */
    width: 100%;            /* volle Breite */
    max-width: 100%;        /* Bildschirm nicht überschreiten */
    margin: 0;              /* keine extra Margin */
    box-sizing: border-box;
  }
}

.angebot-button {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;         /* kleinerer Button */
  background-color: #2e4d31; /* Farbe */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;           /* kleinere Schrift */
  font-weight: normal;       /* nicht fett */
  transition: background 0.3s, transform 0.2s;
}

.angebot-buttons {
  display: flex;
  flex-direction: column; /* Buttons übereinander */
  gap: 3px;               /* Abstand zwischen den Buttons */
  width: 100%;
  align-items: center;    /* Buttons zentrieren */
  margin-top: auto;       /* Buttons bleiben unten in der Box */
  padding-bottom: 15px;  
}

.angebot-button:hover {
  background-color: #3b5a3b; /* dunkler beim Hover */
}

.angebot-button:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .header-content {
    padding-left: 30px;   /* mehr Abstand links */
    padding-right: 30px;  /* mehr Abstand rechts */
  }

  .header-logo {
    max-width: 120px;     /* optional: Logo kleiner machen auf Handy */
  }

  .header-button {
    padding: 6px 12px;    /* Button kompakter */
    font-size: 14px;      /* Schrift etwas kleiner */
  }
}

@media (max-width: 768px) {
  main.container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;       /* Abstand zu den Rändern */
    overflow: visible;      /* wichtig: Bild darf überlaufen */
    position: relative;
  }

  .left-side {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left-side h1 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .left-side p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .cta-button {
    display: block;
    margin: 0 auto;
  }

  .right-side img {
    width: 100%;       /* volle Breite */
    height: auto;      /* Höhe proportional */
    display: block;    /* entfernt kleine Lücken unter dem Bild */
    object-fit: contain; /* gesamtes Bild sichtbar, kein Abschneiden */
  }

  .right-side {
    width: 100%;       /* Container ebenfalls volle Breite */
    text-align: center; /* Bild zentrieren */
  }

    section.shadow-boxes {
    margin-top: -0px; /* rückt die Section nach oben */
  }

  
}

@media (max-width: 768px) {
  .shadow-boxes {
    display: flex;
    flex-direction: row;          
    overflow-x: auto;             
    -webkit-overflow-scrolling: touch;
    gap: 15px;                    
    padding: 10px 20px;           
    align-items: flex-start;       /* bisher: nach oben, ändern */
    /* ersetzen durch: */
    align-items: center;           /* vertikal zentriert */
  }

  .shadow-box {
    flex: 0 0 220px;
    max-width: 220px;
    min-width: 220px;
    height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .shadow-box .box-text {
    flex: 1;
    overflow-y: auto;
  }

  .shadow-box .box-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .info-section .info-box {
    height: 200px;        /* feste Höhe */
    overflow-y: auto;      /* Scrollen bei langen Texten */
    padding: 15px;
  }

  .info-section .info-box p {
    margin: 0;
    line-height: 1.4;
  }
}

@media screen and (max-width: 768px) {
  /* Nur auf alpha-cooling.html die Überschrift zentrieren */
  #alpha-cooling #shadowBoxes .alpha-title {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  /* Hero horizontal zentrieren */
  #alpha-cooling .container {
    display: flex;
    flex-direction: column;   /* Text über Bild */
    align-items: center;      /* alles horizontal zentriert */
    text-align: center;       /* Text in der linken Box zentrieren */
    padding-left: 20px;       /* optional: etwas Abstand zu den Rändern */
    padding-right: 20px;
  }

  #alpha-cooling .left-side,
  #alpha-cooling .right-side {
    width: 100%;              /* volle Breite */
    max-width: 500px;         /* nicht zu breit */
  }

  /* Button horizontal zentrieren */
  #alpha-cooling .cta-button {
    display: block;
    margin: 20px auto 0 auto;
  }

  /* Bild nach oben verschieben, horizontal mittig */
  #alpha-cooling .right-side img {
    display: block;
    margin: 0 auto;           /* horizontal zentrieren */
    transform: translateY(-20px);  /* nach oben */
    max-width: 80%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  #alpha-cooling .alpha-left-box {
    min-width: 0;          /* min-width aufheben */
    padding: 20px;         /* weniger Padding für Handy */
  }
}

  body { margin:0; font-family:sans-serif; }

  /* Banner */
  #cookie-banner {
    position: fixed;
    bottom:0;
    left:0;
    right:0;
    background:#222;
    color:#fff;
    padding:15px;
    text-align:center;
    z-index:10000;
  }
  #cookie-banner button {
    margin:0 5px;
    padding:5px 10px;
    cursor:pointer;
    border:none;
    border-radius:5px;
    position: relative;
    z-index:10001;
  }
  #accept-all { background:#4caf50; color:#fff; }
  #accept-necessary { background:#f44336; color:#fff; }
  #custom-settings { background:#555; color:#fff; }

  /* Icon */
#cookie-button:hover {
  opacity: 0.8; /* leicht transparent beim drüberfahren */
}


  /* Panel */
  #cookie-settings-panel {
    display:none;
    position: fixed;
    bottom:70px;
    right:20px;
    background:#333;
    color:#fff;
    padding:15px;
    border-radius:10px;
    z-index:10002;
    width:250px;
  }

  /* YouTube Container */
  .youtube-container {
    background:#eee;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#888;
    font-style:italic;
  }

  .review-content { text-align:center; }

  @media (max-width: 768px) {
  .left-side {
    margin-bottom: -20px; /* Text rückt etwas nach oben, Bild kommt näher dran */
  }

  .right-side img {
    margin-top: 0; /* Kein Abschneiden */
  }
}

/* Neuer Button: grüner Outline-Style */
.outline-button {
  background-color: #f3edeb;
  border: 2px solid #2e4d31;
  color: #2e4d31;
  padding: 11px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 30px;

  display: inline-block;
  width: auto;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.outline-button:hover {
  background-color: #3b5a3b;
  color: #f3edeb;
}