body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  background-color: transparent !important;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-overflow-scrolling: touch;
  /* Überlege, ob du diese auskommentierten Eigenschaften aktivieren möchtest:
  touch-action: manipulation;
  */
  /* Teste alternativ: */
  overflow-y: auto;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}
.custom-marker-icon svg {
  width: 100%;
  height: 100%;
}


/* Optionales Styling für das Overlay */
#alternativePaymentOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('https://reloot.de/launchsmall.png') no-repeat center center;
  background-size: cover;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: pulse 1.5s infinite ease-in-out; /* Animation hinzugefügt */
  transition: opacity 0.7s ease;
}

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }
 
  90% {
    transform: scale(2);
    opacity: 0.5;
  }
}






#map {
  height: 100%;
  width: 100%;
}
/* Nav-Bar bleibt weitgehend so wie gehabt */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #ffffff;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-evenly; 
  align-items: flex-start; 
  z-index: 5000;
  padding: 0;
}

.nav-item {
  text-align: center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  flex: 1;               
  gap: 3px;
  margin-top: 5px; 
}
.nav-item i {
  font-size: 22px;
  margin-bottom: 0;
  display: block;
}
.nav-item:first-child {
  margin-left: 15px; 
}
.nav-item:last-child {
  margin-right: 15px; 
}

.round-button {
  width: 50px;
  height: 50px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.3s, transform 0.2s;
}

/* Animations-Klasse, die den Pulse-Effekt auslöst */
.round-button.animate {
  animation: pulse 0.4s ease-in-out;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}
  
/*
  .nav-item.round-button.search-location {
    flex: 0 0 auto;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b11cb 0%, #2574fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    
    position: relative;
    top: -20px;  
    
  }
.nav-item.round-button.search-location i {
 font-size: 28px;
}

.premium-title {
  font-weight: bold;
  font-size: 1.5rem;
  padding:20px;
  text-decoration: none !important;
  border:none!important;
}

.challenge-tiles-container {
  max-width: 400px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.challenge-tile {
  display: flex;             
  align-items: center;
  justify-content: flex-start;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 15px;
  width: 90%;               
  box-sizing: border-box;
  margin: 0 auto;            
}

.challenge-tile.locked {
  opacity: 0.5;
}

.tile-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;          
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;        
  flex-shrink: 0;
  margin-left:30px;
}

.tile-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.tile-text {
  display: flex;
  flex-direction: column;
  text-align: left;         
}
.tile-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.tile-points {
  color: #555;
  font-size: 0.9rem;
}
*/
#infoOverlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  /* Übergänge auf linear umstellen */
  transition: bottom 0.3s linear, opacity 0.2s linear, height 0.1s linear;  
  z-index: 999;
  box-sizing: border-box;
  display: none;
  transform: translate3d(0, 0, 0);
}

#infoOverlay.active {
  display: block;
  bottom: 90px; /* Direkt über der Navigationsleiste */
  /* Auch hier: Übergang auf linear */
}

/* Wenn das Overlay erweitert wurde */
#infoOverlay.expanded {
  display: block;
  max-height: 95vh;
  overflow-y: auto;

  /* iOS-Bounce abschalten */
  -webkit-overflow-scrolling: auto;
  overscroll-behavior: none;
}

/* Zusätzliche Info-Sektion im expanded-Bereich */
#infoOverlay.expanded #additional-info {
  display: block;         /* Sichtbar, wenn expanded */
  opacity: 1;            /* Falls du noch ein Fade haben möchtest */
  transition: opacity 0.1s linear; /* statt ease-in-out */
  padding: 15px;
  overflow-y: auto;       /* Falls es mehr Inhalt wird */
}

/* Jede „section“ darin bekommt eine Abgrenzung / Card-Stil */
#infoOverlay.expanded #additional-info .section {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 15px;
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: left;
  color: #333;
}

/* Container für zwei Buttons nebeneinander */
#infoOverlay.expanded #additional-info .section.shortcuts {
  display: flex;
  justify-content: center;
  gap: 60px;
  background: none;
  box-shadow: none;
  margin: 0px auto;
  text-align: left;
}

/* Alle Input- und Textarea-Felder im InfoOverlay anpassen */
#infoOverlay .section input,
#infoOverlay .section textarea {
  width: 100%;
  box-sizing: border-box; 
  font-size: 16px; /* Verhindert automatisches Hereinzoomen auf iOS */
  border: 2px solid #155724;
}

/* Allgemeiner runder Button */
.circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;       /* Kein Unterstrich */
}

/* Hover-Effekt: Heller oder anderer Farbton */
.circle-link:hover {
  transform: scale(1.05);
}

/* Das Icon innerhalb des Buttons */
.circle-link img {
  width: 60px;      /* z. B. 28px groß */
  height: 60px;     
  object-fit: contain; 
}
/* Überschriften in den Sektionen */
#infoOverlay.expanded #additional-info .section h3 {
  font-size: 18px;
  margin: 0 0 8px 0;    /* Abstand nach unten, kein Abstand nach oben */
  font-weight: bold;
  color: #333;
}
/* Standard-Text in der Sektion */
#infoOverlay.expanded #additional-info .section p,
#infoOverlay.expanded #additional-info .section a {
  font-size: 15px;
  margin: 0;
  color: #555;
  text-decoration: none; /* Links ohne Unterstreichung, optional */
}
/* Links bei Hover */
#infoOverlay.expanded #additional-info .section a:hover {
  color: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* z.B. Violetter Ton */
  text-decoration: underline;
}
.overlay-content {
  margin: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.overlay-content img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  
}
.overlay-info {
  display: flex;
  flex-direction: column;
  justify-content: center; /* zentriert den Inhalt vertikal */
  align-items: flex-start; /* sorgt für linksbündigen Text und Buttons */
}
.overlay-info h2 {
  font-size: 22px;
  margin: 0;
  display: block;
  display: inline-block;
  font-weight: bold;
  line-height: normal;
  padding-right: 10px; /* fügt rechts Padding hinzu */
}

 /* Allgemeiner Button-Stil */
.menu-button {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
border: 2px solid #6a11cb; /* Dunkelgrauer Rand */
padding: 4px 8px;
 font-size: 14px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
display: flex;
font-weight: bold;
align-items: center;
gap: 5px;
flex-shrink: 0; /* Verhindert, dass der Button zu klein wird */
text-align: center;
white-space: nowrap; /* Kein Zeilenumbruch */
}
.loc-button {
background-color: #ffffff00; /* Blau */
color: #333;
font-weight: bold;
border: 2px solid #333; /* Dunkelgrauer Rand */
padding: 4px 8px;
font-size: 14px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
display: flex;
align-items: center;
gap: 5px;
flex-shrink: 0; /* Verhindert, dass der Button zu klein wird */
text-align: center;
white-space: nowrap; /* Kein Zeilenumbruch */
}
.loc-button i.fas {
  padding: 2px 4px;
  font-size: 14px;    /* Angleich an den Text */
  line-height: 1;
}

/* Container für die beiden Buttons */
.location-info-group {
display: flex;
align-items: center;
gap: 8px; /* Abstand zwischen den Buttons */
white-space: nowrap; /* Verhindert Umbrüche */
flex-wrap: nowrap; /* Alles bleibt in einer Zeile */
padding: 6px 12px;
padding-left: 0px;
}

.coupon-section {
  margin-top: 20px;
 
}
.coupon-container {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 0 15px 10px 20px; /* links und rechts 20px Padding */
  padding-bottom: 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.coupon-container::-webkit-scrollbar {
  display: none;
}

.coupon {
  min-width: 220px;
  max-width: 220px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  padding: 15px;
  border-radius: 15px;
  text-align: left;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-bottom:20px;
  
}

#infoOverlay.expanded .coupon {
  margin-bottom: 0;
}


/* Button-Styling */
.create-coupon-btn{
padding: 14px;
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
background: #218838;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
margin-top: auto; /* Schiebt die Buttons automatisch nach unten */
transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
z-index: 9999;
}
.low-stock {
 color: #ffffff;
 margin-top: auto;
 background: rgba(247, 17, 17, 0.8);
 padding: 4px 8px;
 font-weight: bold;
 border-radius: 9px;
 font-size: 12px;
   }
  /* Container für Premium-Button */
.premium-container {
text-align: center;
margin: 10px auto;
}

/* Premium-Button Styling */
.premium-button {
/* background: linear-gradient(135deg, #ff7b00 0%, #ff3b3b 100%);*/
color: white;
font-size: 14px;
font-weight: bold;
padding: 10px 12px;
border-radius: 10px;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
display: inline-block;
width: 90%;
max-width: 250px;
text-transform: uppercase;
margin-bottom: 5px;
text-align: center;
position: relative;
line-height: 1.4;
}
/* Kleiner Untertext innerhalb des Buttons */
.premium-button .premium-subtext {
display: block;
font-size: 10px;  /* 🔹 Kleinere Schriftgröße */
font-weight: normal;
opacity: 0.9;
margin-top: 2px;
}

.coupon-title {
  font-size: 18px;
  margin-bottom: 10px;
  gap: 8px;
}

.coupon-usage {
  margin-top: auto;               /* Schiebt sich so weit nach unten wie möglich */
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 9px;
  font-size: 12px;
}

.coupon-description {
  font-size: 14px;
  font-weight: normal;
  margin-bottom:10px;

}
.coupon.used {
  pointer-events: none;
  background: #ccc !important;
  position: relative;
}
.coupon.unavailable {
position: relative;
}

.coupon.used .coupon-title,
.coupon.used .coupon-description {
color: #333 !important;
}



.redeemed-date {
  color: #333;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 9px;
  font-size: 12px;
}



  #couponOverlay {
   position: fixed;
   bottom: -100%;
   left: 0;
   width: 100vw;
   height: auto;
   background: rgba(255, 255, 255);
   box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
   border-top-left-radius: 35px;
   border-top-right-radius: 35px;
   transition: bottom 0.4s ease-in-out;
   z-index: 9500;
    text-align: center;
    display: none;
  }
  
  #couponOverlay .coupon-location-header {
   font-size: 34px;
   font-weight: bold;
   color: white;
   display: inline-block;
   text-align: center;
   
   margin-top: 70px;
   padding: 10px 14px;
   text-shadow: 
   -1px -1px 3px rgba(0, 0, 0, 0.8),
    1px -1px 3px rgba(0, 0, 0, 0.8),
   -1px  1px 3px rgba(0, 0, 0, 0.8),
    1px  1px 3px rgba(0, 0, 0, 0.8);
}
#couponOverlay.active {
  display: block;
  bottom: 0px;
  padding-bottom: 90px;
}
#couponOverlayContent {
  text-align: center;
}

/* Container für den Coupon-Titel und die Beschreibung */
.coupon-title-container {
background: rgba(255, 255, 255, 0.8); /* Leicht transparente weiße Farbe */
padding: 15px;
border-radius: 15px;
text-align: center;
margin: 5px auto;  /* Automatische Zentrierung */
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
width: 80%;       /* Reduziert die Breite auf 80% */
max-width: 400px; /* Maximal 400px breit */
}
/* Stil für den Titel */
.coupon-title-container h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 10px;
}
/* Stil für die Beschreibung */
.coupon-title-container p {
  font-size: 16px;
  margin: 10px;
}
  .coupon-details-container {
    font-size: 10px;  /* Kleinere Schriftgröße */
    color: #333;      /* Etwas dunklere Farbe für bessere Lesbarkeit */
    text-align: center; /* Optional: Zentrierter Text */
    padding-bottom:30px;
}
/* Falls die <p>-Tags zu viel Platz haben */
.coupon-details-container p {
    margin: 0px 0;  /* Weniger Abstand zwischen den Zeilen */
}
#closeCouponOverlay {
 position: absolute;
 top: 15px;
 right: 15px;
 width: 35px;  /* Kleinere Kreisgröße */
 height: 35px;
 background: rgba(255, 255, 255, 0.9); /* Leicht transparente weiße Farbe */
 border: none;
 border-radius: 50%;  /* Macht es rund */
 cursor: pointer;
 transition: transform 0.2s ease, background 0.3s ease;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Dezenter Schatten */
 display: flex;  
 justify-content: center;  
 align-items: center;  
 padding: 0; /* Entfernt mögliche Verzerrungen */
}

/* Das schwarze X mit zwei überkreuzten Linien */
#closeCouponOverlay::before,
#closeCouponOverlay::after {
 content: "";
 position: absolute;
 width: 20px;  /* Größe des X bleibt groß */
 height: 2px;  /* Dünnere Linie für das X */
 background: black;
 border-radius: 2px;
}

/* Erste Linie (Schräg nach links) */
#closeCouponOverlay::before {
 transform: rotate(45deg);
}

/* Zweite Linie (Schräg nach rechts) */
#closeCouponOverlay::after {
 transform: rotate(-45deg);
}

/* 🔹 Hover-Effekt */
#closeCouponOverlay:hover {
 background: rgba(0, 0, 0, 0.9);
 transform: scale(1.1);
}

/* 🔹 Klick-Feedback */
#closeCouponOverlay:active {
 transform: scale(0.95);
}
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .coupon-details{ margin-bottom: 30px;}
  .coupon-details h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .coupon-details p {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
  }
   /* Gestrichelte Linie über dem Slider */
   .slider-dashed-line {
     position: absolute;
     bottom: 220px;  /* Abstand zur Slider-Box */
     left: 50%;
     transform: translateX(-50%);    
     height: 0px; /* Etwas größer für bessere Ausrichtung */
     width: 100%;  /* Breite der Linie */
     border-top: 2px dashed #666;  /* Gestrichelte Linie */
     opacity: 0.8;
     z-index: 1000;  /* Stellt sicher, dass sie über anderen Elementen liegt */
     background: transparent;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }
 
 /* 🔹 Halbkreise */
 .slider-dashed-line::before,
 .slider-dashed-line::after {
     content: "";
     width: 17px;  /* Größe der Halbkreise */
     height: 17px;
     background: #666; /* Farbe passend zur gestrichelten Linie */
     border-radius: 50%;  /* Macht es rund */
     position: absolute;
     top: 50%; /* Linie exakt in der Mitte */
     transform: translateY(-50%);  /* Exakt mittig setzen */
 }
 
 /* 🔹 Linker Halbkreis */
 .slider-dashed-line::before {
     left: -10px;  /* Korrigierte Position für die Mitte */
 }
 
 /* 🔹 Rechter Halbkreis */
 .slider-dashed-line::after {
     right: -10px; /* Korrigierte Position für die Mitte */
 }

 
  /* Slider-Container */
  #slider {
    position: relative;
    width: 310px;
    height: 70px;
    background: #f1f1f1;
    border-radius: 45px;
    overflow: hidden;
    margin: 0px auto;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
    user-select: none;
    touch-action: none;
    margin-bottom: 30px;
  }

  /* Der grüne Hintergrund, der beim Schieben sichtbar wird */
  #slider-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    z-index: 1;
  }

  /* Text, der im Slider angezeigt wird */
  #slider-text {
    position: absolute;
    top: 0;
    left: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a11cb;
    z-index: 2;
    pointer-events: none;
  }

  /* Der Schieberegler-Thumb */
  #slider-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #ffffff;
    touch-action: none;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    box-sizing: border-box;
  }
  

/* Benutzerdefinierter blauer Punkt für den aktuellen Standort */
.blue-dot {
  background-color:#6a11cb ;
  border: 3px solid white;
  border-radius: 50%;
  width: 14px;
  height: 14px;
}

/* Optional: Größeres Marker-Icon */
.large-marker {
  transform: scale(1.5);
  transition: transform 0.3s ease;
}
/* 🔹 Konto-Overlay */
#accountOverlay {
position: fixed;
bottom: -100%;
left: 0;
width: 100vw;
height: auto;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
border-top-left-radius: 35px;
border-top-right-radius: 35px;
transition: bottom 0.4s ease-in-out;
z-index: 999;
overflow-y: auto;
box-sizing: border-box;
text-align: center;
display: none;
}

#accountOverlay.active {
display: block;
bottom: 90px;
}

#accountOverlayContent {
padding: 20px;
text-align: center;
}
#accountOverlay h2 {
font-size: 22px;
font-weight: bold;
text-align: center;
padding-bottom: 10px;
margin: 0;
color: #333;
border-bottom: 2px solid #e5e5e5;
}

/* 🔹 Schließen-Button */
#closeaccountOverlay {
position: absolute;
top: 12px;
right: 15px;
background: none;
border: none;
font-size: 22px;
color: #333;
cursor: pointer;
}

/* 🔹 Konto-Menü */
.account-menu {
margin-top: 20px;

}

.menu-item {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: white;
padding: 16px 20px;
border-radius: 15px;
font-size: 16px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
margin-bottom: 5px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-item i {
font-size: 18px;
}

.menu-content {
display: none;
margin-bottom: 15px;
padding-left: 10px;
padding-right: 10px;
}

.button_menu {
  background: #ffffff; /* Heller, eleganter */
  color: #2b2b2b;
  font-weight: bold;
  border: none;
  cursor: pointer;
  padding: 12px 16px; /* Kleiner */
  width: 90%; /* Mehr Platz für Text */
  margin-top: 6px; /* Weniger Abstand */
  border-radius: 15px; /* Sanftere Ecken */
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sanfte Schatten */
  }
  /* Spezieller Stil für den Abmelden-Button */
  .button_menu_logout {
  background: #e74c3c; /* Rot, aber weicher */
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  width: 90%;
  margin-top: 6px;
  border-radius: 15px;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
.menu-content p {
font-size: 14px;
margin: 8px 0;
}
/* Modernisiertes Anmeldeformular */

.account-form {
  width: 100%;
  max-width: 400px; /* Begrenzung der maximalen Breite */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto; /* Zentriert das Formular */
}
.account-form h2{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  color: #333;
  border-bottom: 2px solid #e5e5e5;
  }
  /* Basis-Stile für Buttons und das Overlay */
button {
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
}

.forgot-hint {
  font-size: 1em;
  margin-top: 15px;
}
.forgot-hint a {
  color: #333; /* oder deine Wunschfarbe */
  text-decoration: none;
}
.forgot-hint a:hover {
  text-decoration: underline;
}
/* Container für das rechtliche Menü */
.legal-nav {
  background-color: #f7f7f7;  /* Hellgrauer Hintergrund */
  padding: 10px 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* Liste als horizontale Leiste */
.legal-nav ul {
  list-style: none;
  margin: 10px;
  padding: 0;
  display: flex;
  justify-content: center;
  
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Links styling */
.legal-nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: 'Ubuntu Condensed', sans-serif;
  font-size: 16px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
}

/* Hover-Effekt: Farbe ändern und Unterstreichung */
.legal-nav ul li a:hover,
.legal-nav ul li a:focus {
  color: #155724; /* z. B. ein moderner Lila-Ton */
  border-bottom: 2px solid #155724;
}

.account-form input,
.account-form button {
  width: 100%;
  padding: 14px; /* Einheitliche Höhe */
  border-radius: 15px;
  font-size: 16px;
  text-align: center;
  display: block;
  max-width: 100%; /* Stellt sicher, dass sie nicht über die maximale Breite hinausgehen */
  box-sizing: border-box; /* Verhindert, dass Padding die Breite beeinflusst */
 
 
}
.account-form input[type="text"],
.account-form input[type="password"] {
  border-radius: 15px;
  font-size: 16px;
  padding: 12px; /* Einheitliche Höhe */
  border: 1.5px solid #6a11cb; /* Rahmen um das ganze Formular */
  /* und alle weiteren gewünschten Eigenschaften */
}

/* Hover-Effekt für beide Input-Typen */
.account-form input[type="text"]:hover,
.account-form input[type="password"]:hover {
  border-color: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);; /* Zum Beispiel eine hellere Farbe */
  box-shadow: 0 0 5px #6a11cb; /* Leichter Glow-Effekt */
}
.account-form input:first-of-type {
  margin-top: 30px;
}
.account-form button {
  border: none;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}
#loginBtn {
  margin-top: 30px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  transition: transform 0.2s; /* sanfte Animation */
}
#loginBtn:hover {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}
#loginBtn:active {
  transform: scale(1.1); /* Button wird um 10% größer */
}
#registerBtn {
  background: #155724;
  transition: transform 0.2s; /* sanfte Animation */
}
#registerBtn:hover {
  background: #155724;
}
#registerBtn:active {
  transform: scale(1.1); /* Button wird um 10% größer */
}



#business {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: #155724;
font-weight: bold;
border: none;
cursor: pointer;
padding: 16px 20px;
width: 100%;
margin-top: 10px;
border-radius: 15px;
 font-size: 14px;

}

#redeemedCouponsList {
max-height: 300px;
overflow-y: auto;
scrollbar-width: thin;
}

/* 🔹 Gutscheine */
.user-coupon {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
color: white;
text-align: left;
}

.user-coupon h3 {
font-size: 16px;
margin: 0;
font-weight: bold;
}

.user-coupon small {
font-size: 12px;
color: #dcdcdc;
}



.overlay-header {
  position: sticky;  /* oder position: -webkit-sticky; für sehr alte Browser */
  top: 0;            /* bleibt oben „kleben“ */
  background: #fff;  /* Hintergrundfarbe, damit Text/Button nicht „durchscheint“ */
  z-index: 10;       /* höher als der Inhalt, damit nichts drüber scrollt */
  padding: 10px;     /* ein bisschen Abstand, optional */
  /* ggf. noch ein Rahmen oder Schatten, wie du magst */
}

.legalOverlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100vw;
  height: 80vh;
  
  background: #ffffff;
  box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  transition: bottom 0.4s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 9999;
  box-sizing: border-box;
  text-align: center;
  display: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  overflow-y: auto;
  }
  /* Wenn Overlay aktiv ist */
  .legalOverlay.active {
  display: block;
  bottom: 0px; /* Direkt über der Navigationsleiste */
  opacity: 1;
  }
.businessOverlay {
position: fixed;
bottom: -100%;
left: 0;
width: 100vw;
max-height: 80vh;
background: #ffffff;
box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.2);
border-top-left-radius: 35px;
border-top-right-radius: 35px;
transition: bottom 0.4s ease-in-out, opacity 0.3s ease-in-out;
z-index: 4000;
box-sizing: border-box;
text-align: center;
display: none;
opacity: 0;
transform: translate3d(0, 0, 0);
overflow-y: auto;
}
/* Wenn Overlay aktiv ist */
.businessOverlay.active {
display: block;
bottom: 90px; /* Direkt über der Navigationsleiste */
opacity: 1;
}
.businessOverlayContent {
  height: auto;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
  padding-top: 0px;
  resize: none;
  touch-action: pan-y;
}

.businessOverlay h2{
font-size: 24px;
font-weight: bold;
text-align: center;
color: #333;
border-bottom: 2px solid #e5e5e5;
}

.businessOverlay p {
font-size: 18px;
text-align: left;
color: #333;
padding-top:0px;
margin-top:0px;
}

/* Weiches Scrollen für das Overlay */
.businessOverlay::-webkit-scrollbar {
width: 6px;
}

.businessOverlay::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2);
border-radius: 10px;
}

.businessOverlay::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Formular-Eingabefelder schöner gestalten */
.businessOverlay form input,
.businessOverlay form select,
.businessOverlay form textarea {
padding: 10px;
margin: 8px 0;
border: 2px solid #6a11cb;
border-radius: 6px;
font-size: 16px;
outline: none;
transition: border-color 0.3s ease-in-out;
box-sizing: border-box;
}

/* Fokus-Effekt für Inputs */
.businessOverlay form input:focus,
.businessOverlay form select:focus,
.businessOverlay form textarea:focus {
border-color: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}


/* Überschrift Styling */
.section-title {
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Container für die Abonnement-Informationen */
.subscription-info {
  padding: 25px;
  border-radius: 15px; /* Sanfte, abgerundete Ecken */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Leichter Schatten für Tiefe */
  max-width: 450px; /* Maximalbreite */
  margin: 0 auto;
  text-align: left;
  color: #444; /* Etwas weicheres Schwarz für den Text */
  margin-top:20px;
}

/* Styling der Paragraphen innerhalb der subscription-info */
.subscription-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 400;
}

/* Stil für die Labels (fett und blau) */
.subscription-info strong {
  color: #333; /* Helles Blau */
  font-weight: 600;
}

.account-input {
  display: inline-block;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 9px;
  box-sizing: border-box;
  margin-top: 10px;
}

/* Button Styling */
.cancel-btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 14px;
  background-color: #ff8080; /* Rotes Button-Design */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  width:100%;
}
.setting-btn{
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 16px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  width:100%;}
/* Button Styling */
.delete-btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 16px;
  background-color: #ff0000; /* Rotes Button-Design */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  width:100%;
}

.save-btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 16px;
  background-color: #00ca0d; /* Rotes Button-Design */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  width:100%;
}
.back-btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 16px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  width:100%;
}
/* Button Styling */
.go-btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  font-size: 14px;
  background-color: #000000; /* Rotes Button-Design */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  width:100%;
}



/* Formular Labels */
.businessOverlay form label {
display: block;
font-weight: bold;
margin-top: 15px;
color: #333;
text-align: left;
box-sizing: border-box;
}
/* Container: Flexbox, um beide Elemente horizontal und vertikal zu zentrieren */
.deepLinkContainer {
  display: flex;
  align-items: center;      /* Vertikale Zentrierung */
  justify-content: center;  /* Horizontale Zentrierung */
  margin: 15px 0;
}

/* Input-Feld: Fest definierte Höhe, Padding, Margin und line-height */
.deepLinkContainer input {
  flex: 1;                   /* Füllt den verfügbaren Platz – alternativ width: 80%; */
  height: 40px;              /* Feste Höhe */
  padding: 0 10px;           /* Horizontales Padding */
  font-size: 16px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 9px;
  box-sizing: border-box;    /* Padding und Border in der Höhe enthalten */
  line-height: 40px;         /* Passt zur Höhe, sodass der Text vertikal zentriert ist */
  margin: 0;                 /* Keine zusätzlichen Außenabstände */
}

/* Button: Mit flex für exakte Zentrierung des Inhalts */
.deepLinkContainer button {
  display: flex;             /* Flexbox, um den Inhalt zu zentrieren */
  align-items: center;       /* Vertikale Zentrierung */
  justify-content: center;   /* Horizontale Zentrierung */
  height: 40px;              /* Gleiche Höhe wie das Input-Feld */
  padding: 0 15px;           /* Horizontales Padding */
  margin-left: 20px;          /* Abstand zum Input */
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 16px;
  box-sizing: border-box;
  margin: 0;                 /* Keine zusätzlichen Außenabstände */
  margin-left: 5px;       
}

/* Falls das Icon noch feintunen muss */
.deepLinkContainer button i {
  line-height: 1;            /* Verhindert zusätzliche Zeilenhöhen */
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  color: #333;
}
.custom-dropdown {
display: flex;
flex-direction: column;
gap: 5px;
color: #6a11cb;
}
.custom-dropdown select {
  color: #6a11cb;  /* Schriftfarbe des ausgewählten Textes */
  background-color: white; /* Hintergrundfarbe des Dropdown-Menüs */
  font-weight: bold; /* Optional: Schriftstil ändern */
}

.custom-dropdown option {
  color:#155724; /* Farbe der Optionen im Dropdown-Menü */
}


select, input[type="text"] {
padding: 10px;
border: 2px solid #6a11cb;
border-radius: 6px;
font-size: 16px;
}
/* Styling für den Tag-Selektor */
#daySelector {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-top: 15px;
background-color: white !important;
}

.day-btn {
  background-color: white;
  color: #6a11cb;
  border: 2px solid #6a11cb;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  margin: 5px; /* fügt Abstand zwischen den Buttons hinzu */
}

.day-btn.selected {
  background-color: #6a11cb;
  color: white;
}
.time-container {
display: flex;
align-items: center;
justify-content: center;
gap: 15px; /* Abstand zwischen den Elementen */
margin: 10px 0;
box-sizing: border-box;
color: #6a11cb;
background-color: white !important;
}
input[type="time"] {
  color: #6a11cb;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 18px; /* Größere Schriftgröße */
  border: 2px solid #6a11cb;
  text-align: center;
  box-sizing: border-box;
  background-color: white !important;
  width: 150px; /* Breite des Eingabefeldes anpassen */
  height: 50px; /* Höhe erhöhen */
}

select {
  color: #6a11cb;
  padding: 15px 30px; /* Vergrößert das Feld */
  border-radius: 9px;
  font-size: 18px; /* Größere Schrift */
  border: 2px solid #6a11cb;
  text-align: center;
  box-sizing: border-box;
  background-color: white !important;
  width: 100%; /* Passt sich der verfügbaren Breite an */
  height: 50px; /* Erhöht die Höhe */
  appearance: none; /* Entfernt das native Styling des Dropdowns */
}

label {
  font-size: 16px;
  color: #6a11cb;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}


/* Submit-Button Styling */
.businessOverlay form button[type="submit"] {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: white;
border: none;
padding: 12px 20px;
border-radius: 15px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
margin-top: 20px;
margin-bottom: 10px;
transition: background 0.3s ease-in-out;
}
.businessOverlay form #deleteCouponBtn {
  background: #e03131; /* Rotes Design */
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.businessOverlay form #deleteCouponBtn:hover {
  background: #c92a2a; /* Dunkleres Rot */
}


.businessOverlay form button[type="submit"]:hover {
background: #155724;
color: white;
transform: scale(1.05);
}





#filterOverlay {
position: fixed;
bottom: -100%;
left: 0;
width: 100vw;
height: auto;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
border-top-left-radius: 35px;
border-top-right-radius: 35px;
transition: bottom 0.4s ease-in-out;
z-index: 999;
overflow-y: auto;
box-sizing: border-box;
text-align: center;
display: none;
}

#filterOverlay.active  {
display: block;
bottom: 90px; /* Direkt über der Navigationsleiste */
}

#filterOverlayContent {
padding: 20px;
text-align: center;
}

#filterOverlay h2{
font-size: 22px;
font-weight: bold;
text-align: center;
padding-bottom: 10px;
margin: 0;
color: #333;
border-bottom: 2px solid #e5e5e5;
}

#filterOptions {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-bottom: 70px;
}

/* 🔹 Filteroptionen Container */
#filterOptions {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin: 15px auto;
padding: 10px;
max-width: 90%;
}

/* 🔹 Filteroptionen Buttons */
.filter-option {
padding: 12px 18px;
background: #f4f4f4;
color: #333;
border-radius: 20px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
transition: all 0.3s ease-in-out;
border: 1px solid #ddd;
text-align: center;
}
.filter-option.selected {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: white;
border-color: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);;
}

/* Fixierter "Anwenden"-Button am unteren Rand */
#applyFilterBtn {
position: relative;
display: block;
width: 80%;
max-width: 300px;
padding: 12px;
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
color: white;
border: none;
cursor: pointer;
border-radius: 20px;
font-size: 18px;
font-weight: bold;
margin: 0px auto;
transition: background 0.3s ease-in-out;
text-align: center;
margin-bottom: 10px;

}


/* Schließen-Button */
#closeFilterOverlay ,.closeBusinessOverlay{
position: absolute;
top: 12px;
right: 15px;
background: none;
border: none;
font-size: 20px;
color: #333;
cursor: pointer;
}

#closeFilterOverlay:hover {
color: #333;
}



/* Einzelne Gutschein-Karten */
.user-coupon {
/*background: linear-gradient(135deg, #017cce 0%, #8dc3ed 100%);*/

background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
padding: 12px;
border-radius: 10px;
margin-bottom: 12px;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
color: white;
}

.user-coupon h3 {
font-size: 16px;
margin: 0;
font-weight: bold;
}

.user-coupon p {
font-size: 14px;
margin: 6px 0;
}

.user-coupon small {
font-size: 12px;
color: #dcdcdc;
}

.rotated {
transform: rotate(180deg);
transition: transform 0.3s ease;
}




/* 🔹 Abo-Overlay */
#subscriptionOverlay {
position: fixed;
bottom: -100%;
left: 0;
width: 100vw;
height: auto;
background: linear-gradient(180deg, #017cce 0%, #ffffff 60%);
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
border-top-left-radius: 35px;
border-top-right-radius: 35px;
transition: bottom 0.4s ease-in-out;
z-index: 999;
overflow-y: auto;
box-sizing: border-box;
text-align: center;
opacity: 0;
visibility: hidden; /* Stellt sicher, dass das Overlay unsichtbar ist */
padding: 15px;

}
#proOverlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100vw;
  height: auto;
  background: linear-gradient(180deg, #000000 0%, #ffffff 60%);
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  transition: bottom 0.4s ease-in-out;
  z-index: 999;
  overflow-y: auto;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  visibility: hidden; /* Stellt sicher, dass das Overlay unsichtbar ist */
  padding: 15px;
  
  }
  #proOverlay.active {
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    bottom: 90px !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
.gradient-text {
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: bold;

}
#subscriptionOverlay h1{
  color:black;
  font-size: 16px;
  margin-bottom:40px;
  }
#subscriptionOverlay h2{
/* Text mit Farbverlauf */
/*background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;*/
color:rgb(255, 255, 255);
font-size: 33px;
margin-bottom:0px;
/*
color: #ffffff;
font-size: 33px;
font-weight: bold;
text-shadow: 
0 0 5px #0066b0, 
0 0 10px #017cce, 
0 0 15px #017cce, 
0 0 40px #017cce7b;

*/

}
#subscriptionOverlay.active {
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
bottom: 90px !important;
transform: translateY(0) !important;
opacity: 1 !important;
visibility: visible !important;
}

/* 🔹 Button zum Schließen */
.close-btn {
position: absolute;
top: 5px;
right: 10px;
background: none;
border: none;
font-size: 24px;
color: #333;
cursor: pointer;
}

#subscriptionOverlayContent {
margin: 0 auto;
}
.subscription-benefits {
list-style-type: none;
padding: 15px;
text-align: center;
border-radius: 15px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
background: #ffffff7f;

}
.subscription-benefits li {
font-size: 16px;
}
.subscription-options {
display: flex;
justify-content: space-between;
gap: 12px;
margin-top: 15px;
}
.subscription-button {
flex: 1;
padding: 15px;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 15px;
cursor: pointer;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
background: linear-gradient(135deg, #017cce 0%, #8dc3ed 100%);
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
min-width: 120px;
margin-bottom: 10px;
transform: scale(1);
transition: transform 0.3s ease-in-out;
}
.pro-button {
  flex: 1;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #000000 0%, #6a6a6a 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 120px;
  margin-bottom: 10px;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
  }
.subscription-button:hover {
transform: scale(1.05);
}
.best-option {
position: relative;
border: 2px solid red;
animation: flimmern 1s infinite alternate;
}

@keyframes flimmern {
0% { border-color: rgba(255, 0, 0, 0.8); box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.7); }
100% { border-color: rgba(255, 0, 0, 1); box-shadow: 0px 0px 20px rgba(255, 0, 0, 1); }
}
.best-deal-label {
position: absolute;
top: -23px;  /* Nah an den Button bringen */
left: 50%;
transform: translateX(-50%); /* Exakt mittig über dem Button */
background: #ff0000;
color: white;
font-size: 13px;
font-weight: bold;
padding: 6px 8px;
border-radius: 10px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.8);
animation: bounce 1s infinite;
white-space: nowrap; /* Kein Zeilenumbruch */
}

/* 🔥 Leichtes Wippen für mehr Dynamik */
@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0px); }
50% { transform: translateX(-50%) translateY(-3px); }
}


.hidden {
display: none;
}


/* Allgemeines Styling für das Formular */
form {
display: flex;
flex-direction: column;
}

/* Container für Straße + Hausnummer */
.street-house-container {
display: flex;
gap: 10px;
}

/* Eingabefelder & Select */
input, select {
margin-bottom: 12px;
padding: 12px;
font-size: 16px;
border: 2px solid #ddd;
border-radius: 8px;
transition: border-color 0.3s ease-in-out;
width: 100%;
}

/* Straße soll flexibler sein als Hausnummer */
#street {
flex: 2;
}

#house_number {
flex: 1;
}

/* Fokus-Effekt für Input-Felder */
input:focus, select:focus {
border-color: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);;
outline: none;
background-color: #fff;
}

/* Styling für das Select-Menü */
select {
appearance: none;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="gray"><path d="M7 10l5 5 5-5z"></path></svg>') no-repeat;
background-position: right 15px center;
background-size: 16px;
padding-right: 40px;
}

/* Styling für den disabled & selected Option-Text */
select option[disabled][selected] {
color: #6c757d;
font-style: italic;
}

/* Button-Styling */
button {
padding: 14px;
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
/*  background: linear-gradient(45deg, #28a745, #218838);*/
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Fehlermeldungen & Erfolgsmeldungen */
#message {
margin-top: 12px;
text-align: center;
font-weight: bold;
padding: 10px;
border-radius: 8px;
}

/* Erfolgsnachricht */
.success {
color: #155724;
background: #d4edda;
border: 1px solid #c3e6cb;
}

/* Fehlermeldung */
.error {
color: #721c24;
background: #f8d7da;
border: 1px solid #f5c6cb;
}






/* Backdrop: verdunkelt den gesamten Bildschirm */
.confirmBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9000;
  display: none;
  opacity: 0;
}

.confirmBackdrop.active {
  opacity: 1;
}

/* Overlay (wie bereits definiert) */
.confirmOverlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100vw;
  max-height: 80vh;
  background: #ffffff;
  box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  z-index: 1001;
  overflow-y: auto;
  box-sizing: border-box;
  text-align: center;
  display: none;
  transition: bottom 0.5s, height 0.5s ease-in-out; 
}

.confirmOverlay.active {
  display: block;
  bottom: 0px; /* Direkt über der Navigationsleiste */
  padding-bottom:50px;
  opacity: 1;
  z-index: 9995;
}

.confirmOverlayContent {
  height: auto;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
  padding-top: 0;
  resize: none;
}

.confirmOverlay h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  color: #333;
  border-bottom: 2px solid #e5e5e5;
}

.confirmOverlay-message p {
  margin-bottom: 15px;
}

.confirmOverlay-message strong {
  color: #155724;
}

.confirmOverlay-message .warning {
  font-size: 16px;
  color: #d9534f;
  font-weight: bold;
}

.confirmOverlay button {
  margin: 10px 5px;
  padding: 10px 20px;
  border: none;
  color: #fff;
  border-radius: 15px;
  cursor: pointer;
}





/* Marker als Dreieck mit Spitze nach unten */
.marker {
  width: 20px; /* Breite des Markers auf 0 setzen, da das Dreieck durch das Border erzeugt wird */
  height: 20px; /* Höhe ebenfalls auf 0 setzen */
  position: relative;
  cursor: pointer;
  border-radius: 9px; /* Optionale Abrundung der Ecken, wenn gewünscht */
}

/* Farbanpassungen je nach Auswahl */
.marker.green {
  background-color: green;
}

.marker.blue {
  background-color: blue;
}

.marker.yellow {
  background-color: yellow;
}

.marker.red {
  background-color: red;
}

.marker.gray {
  background-color: gray;
}

.popup-container {
  padding: 5px;
  text-align: left;
}
.leaflet-popup-close-button {
  font-size: 20px; /* Größe des "x" vergrößern */
  top: 10px; /* Abstand nach unten verschieben */
  right: 10px; /* Abstand vom rechten Rand erhöhen */
  width: 30px; /* Klickfläche vergrößern */
  height: 30px; /* Klickfläche vergrößern */
  line-height: 30px; /* Sorgt für zentrierte Darstellung */
  text-align: center;
}
.popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
}
.popup-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start; /* Links ausrichten */
}
.popup-option {
  display: flex;
  align-items: center; /* Hält den Radio-Button und den Text in einer Linie */
  gap: 10px; /* Minimaler Abstand zwischen Radio-Button und Text */
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap; /* Verhindert Umbrüche im Text */
}
.popup-option input {
  margin: 0; /* Entfernt Standard-Margin, die Abstand verursachen könnte */
  width: auto; /* Stellt sicher, dass die Größe korrekt ist */
}

.popup-button {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.3s;
}


/* Overlay-Stil */
#commentLocation {
  position: fixed;
  display: none; /* Anfangs unsichtbar */
  overflow-y: auto;
  padding: 20px;
}
/* Kommentare */
.comment {
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 15px;         /* Sanft gerundete Ecken */
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.2);
}
.commentDate {
  font-weight: bold;
}

.commentRating {
  color: #ffbf00; /* Gelb für Sterne */
}

.commentText {
  font-size: 14px;
  color: #333;
}
.commentTextempty
{
  font-size: 16px;
  padding:20px;
}

.comment_button{
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 10px;
    transition: background 0.3s ease-in-out; 
}
.comment-field {
  background: rgba(255, 255, 255, 0.8); /* Leicht transparente weiße Farbe */
  padding: 15px;
  border-radius: 15px;
  text-align: left;
  padding:10px;
  margin: 5px auto;  /* Automatische Zentrierung */
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  width: 80%;       /* Reduziert die Breite auf 80% */
  max-width: 400px; /* Maximal 400px breit */
  height: 100px; /* Größeres Kommentarfeld */
  font-size: 18px; /* Größere Schrift für Placeholder */
  padding: 10px; /* Padding für mehr Abstand im Kommentarfeld */
  border: none; /* Optional: Entfernt den Standardrahmen */
  outline: none; /* Optional: Entfernt den blauen Fokusrahmen */
  resize: none; /* Verhindert Größenänderung */
}


.button-container {
  display: none; /* Standardmäßig versteckt */
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(255, 120, 120, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: Arial, sans-serif;
  z-index: 99999;
  width:200px;
}
.button-container button {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
}
.button-container p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: white;
}







/* Nachrichteneingabeformular */
.messageOverlayContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

/* Nachrichtentextfeld */
.message-field {
  background: rgba(255, 255, 255, 0.8); /* Leicht transparente weiße Farbe */
  padding: 15px;
  border-radius: 15px;
  text-align: left;
  margin: 5px auto;  /* Automatische Zentrierung */
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  width: 80%;       /* Reduziert die Breite auf 80% */
  max-width: 400px; /* Maximal 400px breit */
  height: 150px; /* Größeres Kommentarfeld */
  font-size: 18px; /* Größere Schrift für Placeholder */
  border: none; /* Optional: Entfernt den Standardrahmen */
  outline: none; /* Optional: Entfernt den blauen Fokusrahmen */
  resize: none; /* Verhindert Größenänderung */
}

/* Senden-Button */
.send-message-button {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 30px;
  transition: background 0.3s ease-in-out;
}

/* Hover-Effekt für den Button */
.send-message-button:hover {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

/* Optional: Ansprechendes Label */
label {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

@keyframes nudgeUp {
  0%   { height: 290px; }
  60%  { height: 320px; } /* etwas größer = "Hüpfer" */
  100% { height: 290px; }
}

.nudge-animation {
  animation: nudgeUp 0.4s ease-in-out;
}


.highlight {
  animation: highlight-animation 2s ease;
}
@keyframes highlight-animation {
  0% { box-shadow: 0 0 0px rgba(255,255,255,0); }
  50% { box-shadow: 0 0 10px 5px rgba(255,255,255,0.8); }
  100% { box-shadow: 0 0 0px rgba(255,255,255,0); }
}

.round-points {
  position: absolute;
  top: 7%;
  right: 10%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  /* Im kompakten Zustand benötigen wir hier kein Flex-Layout */
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.round-points .points-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* additional-content füllt 80% aus und ist zunächst verborgen */
.round-points .additional-content {
  width: 80%;
  margin: 10px auto 0 auto;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.round-points.expanded {
  width: calc(100% - 20%);
  height: auto;
  border-radius: 15px;
  right: 10%;
  top: 7%;
  overflow: visible;
  padding-top: 20px;
  padding-bottom: 20px;
  /* Weitere Einstellungen für den erweiterten Zustand */
}

.round-points.expanded .points-number {
  position: static;   /* Rücknahme der absoluten Positionierung */
  transform: none;    /* Rücknahme des Transforms */
  margin: 0 auto 10px auto; /* Oben bündig, mittig horizontal */
  line-height: normal;
}

/* additional-content füllt 80% aus und ist zunächst verborgen */
.round-points .additional-content {
  width: 80%;
  margin: 10px auto 0 auto;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Im erweiterten Zustand */

.round-points.expanded .additional-content {
  opacity: 1;
  max-height: 500px;
}

/* Hier wird angenommen, dass du per JavaScript eine Klasse .android zum body hinzufügst */
.android #infoOverlay.active,
.android #couponOverlay.active,
.android #accountOverlay.active,
.android .businessOverlay.active,
.android #filterOverlay.active,
.android #proOverlay.active,
.android #subscriptionOverlay.active {
  bottom: 60px !important;
}
.android .legalOverlay.active {
  bottom: 0px !important;
}
.android #bottomNav {
  height: 60px !important;
}
