/* =========================================
   Reset & Basiselemente
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  /*overflow-x: hidden;*/
}

.no-style {
  all: unset;
  display: block;
  margin: 0 auto;
}

.bodyGlobal {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.headerGlobal {
  margin-top: 60px;
}

.mainGlobal {
  margin-top: 90px;
}

@media (max-width: 600px) {
  .mainGlobal {
    padding: 10px;
  }
}

/* =========================================
   Call-to-Action Buttons
========================================= */
.mainStyle-button,
.details-button {
  background-color: #1d4ed8;
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 48px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Variante: schwebende CTA-Buttons (nur Icon) */
.mainStyle-button.floating-cta.only-icon {
  padding: 0;
  bottom: 10px;
  right: 10px;
  left: auto;
  width: 40px;
  height: 40px;
  background-color: #1d4ed8;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.mainStyle-button.floating-cta.only-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Herzschlag-Effekt */
@keyframes heartbeat-soft {
  0%, 100% { transform: scale(1); }
  10%      { transform: scale(1.12); }
  20%      { transform: scale(1); }
  30%      { transform: scale(1.08); }
  40%      { transform: scale(1); }
}

.floating-offer.heartbeat-loop {
  animation: heartbeat-soft 2s ease-in-out infinite;
}

/* Sekundärer Button (z. B. Details) */
.details-button {
  background-color: #00ACC1;
}

.mainStyle-button:hover,
.details-button:hover {
  background-color: #1e40af;
}

.mainStyle-button:active,
.details-button:active {
  background-color: #162b7f;
}

.button-icon,
.details-button .button-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 600px) {
  .mainStyle-button {
    font-size: 18px;
    padding: 10px 36px;
  }
  .mainStyle-button .button-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
  }
}

/* Wackel-Animation */
@keyframes wackeln {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
  75%      { transform: rotate(-3deg); }
}

.mainStyle-button.wackel-button.wackel-animation {
  animation: wackeln 0.5s ease-in-out;
}

/* =========================================
   Layout Sektionen
========================================= */
.sectionGlobal {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 600px) {
  .sectionGlobal {
    width: 90%;
    margin: 2px auto;
  }
}

.booking-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .booking-container {
    flex-direction: column;
    text-align: center;
  }
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   Slider  /  Laufbilder
========================================= */
/* ===== Slider bildschirmbreit (100 % Viewport) ===== */
.slider-container {
  width: 60%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .slider-container {
    width: 90%;
  }
}

.slider-container img{
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Track */
.slider{
  display:flex;
  transition:transform 1s ease-in-out;
}

/* Slide */
.slide{
  flex:0 0 100%;                  /* 1 Slide = 100 % Breite   */
  position:relative;
  display:flex;                   /* zentriert <img>          */
  justify-content:center;
  align-items:center;
}

/* Bild – nie größer als Viewport */
.slide img {
  max-height: 100vh;   /* niemals höher als Bildschirm */
  width: auto;         /* Breite automatisch, wenn nötig */
  height: auto;        /* Seitenverhältnis beibehalten */
  object-fit: contain;
  display: block;
  border: 0;
  box-shadow: none;
}


/* Overlay (nur beim 1. Slide) */
.slide:first-child .overlay{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:25%;
  z-index:30;
  pointer-events:none;
}

/* Gradient-Ränder wie gehabt */
.slide::before,
.slide::after{
  content:"";
  position:absolute;
  top:0; bottom:0; width:50%;
  background:rgba(0,0,0,.2);
  z-index:-1;
}
.slide::before{left:0;}
.slide::after {right:0;}

@media(max-width:600px){
  .slide::before,
  .slide::after{background:transparent;}
}

/* Navigation-Dots */
.dots{
  position:absolute;
  left:50%;
  transform:translateX(-60%);
  bottom:clamp(4px,2vh,12px);    /* immer im Bild            */
  display:flex; gap:10px;
  z-index:50;
}
.dot{
  width:14px; height:14px;
  border-radius:50%;
  background:#bbb;
  border:none
  opacity:.7; cursor:pointer;
  transition:.3s;
}
.dot:hover{opacity:1;}
.dot.active{
  background:#717171; 
  transform:none;
  opacity:1;
}

/* =========================================
   Overlay Animation (Slider)
========================================= */
.slide:first-child .overlay {
  position: absolute;
  left: -50%;
  top: 75%;
  transform: translateY(-50%);
  width: 25%;
  opacity: 0;
  animation: slideIn 1s forwards 1s;
  box-shadow: none !important;
  border: none !important;
}

@media (max-width: 768px) {
  .slide:first-child .overlay {
    bottom: 0;
    width: 30%;
    opacity: 1;
  }
}


/* =========================================
   Allgemeine Bildstile
========================================= */
main img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

main img:hover {
  transform: scale(1.05);
}

#product-intro img:hover {
  transform: none;
}

/* =========================================
   Floating Offer
========================================= */
.floating-offer {
  position: fixed;
  bottom: 0;
  left: 22px;
  z-index: 1000;
  transition: transform 0.3s, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.floating-offer img {
  width: 150px;
  height: auto;
}

.floating-offer:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .floating-offer {
    left: 30px;
  }

  .floating-offer img {
    width: 80px;
  }
}



/* =========================================
   Content Wrapper
========================================= */
.content-wrapper {
  width: 70%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .content-wrapper {
    width: 90%;
  }
}

/* =========================================
   Globale Textklassen
========================================= */
.text-left {
  text-align: left;
}

.heading-center {
  text-align: center;
}

.inlineLink {
  color: #007BFF;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease, background-color 0.2s ease;
}

.inlineLink:active {
  border-bottom: 1px solid #0056b3;
  background-color: rgba(0, 123, 255, 0.1);
}

.inlineLink:focus {
  border-bottom: 1px solid #0056b3;
}

/* =========================================
   Basisanimationen
========================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideIn {
  0%   { left: -50%; opacity: 0; }
  100% { left: 0; opacity: 1; }
}

header, nav, main, footer {
  animation: fadeIn 1s ease-in-out;
}

/* =========================================
   ShopVote Integration
========================================= */
.shopvote-wrapper {
  text-align: center;
  display: block;
  width: 100%;
  margin: 20px 0;
}

.shopvote-wrapper img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
