/* Colors */

.text-title-color {
    background-color: #E2D8CF;
}

.text-slide {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.random-font {
    transition: font-family 0.5s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.image {
    transition: opacity 1.5s ease;
}
.image-active {
    opacity: 1 !important;
}
#text-effect span {
    position: relative;
}
#text-effect span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    mix-blend-mode: lighten;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hidden {
    opacity: 0 !important;
    transform: translateY(10px) !important;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 5%;
}

.cmsms-demo-icon {
    font-family: 'cmsms-demo-icon';
    font-size: 14px;
    color: black;
}

.point {
    opacity: 0;
    transform: translateX(-50px);
    animation: slide-in 0.6s ease-out forwards;
}

/* Verzögerung für jeden Punkt */
.point:nth-child(1) { animation-delay: 0.1s; }
.point:nth-child(2) { animation-delay: 0.2s; }
.point:nth-child(3) { animation-delay: 0.3s; }
.point:nth-child(4) { animation-delay: 0.4s; }
.point:nth-child(5) { animation-delay: 0.5s; }
.point:nth-child(6) { animation-delay: 0.6s; }

/* Keyframe für die Bewegung */
@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.button-slide-up {
    position: relative;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #E2D8CF; /* Dark Gray Border */
    color: #ffffff; /* Dark Gray Text */
    background: transparent;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.3s ease-out, background 0.3s ease-in-out;
}

/* Effekt beim Hover */
.group:hover .button-slide-up {
    transform: translateY(-20px);
    opacity: 1;
}

/* Hover Effekt */
.button-slide-up:hover {
    background: #E2D8CF; /* Light Gray Background */
    color: black;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: auto; /* Mobil default */
    overflow: hidden;
}
@media (min-width: 768px) {
    .before-after-container {
        height: 90vh; /* Desktop */
    }
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-img,
.after-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Bilder größer machen */
.before-img,
.after-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Stellt sicher, dass das Bild immer den Container füllt */
    top: 0;
    left: 0;
}

/* Sichtbare Hälfte des After-Bildes */
.after-img {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.2s ease-out;
}

/* Slider-Linie */
.before-after-container img,
.before-after-container {
    user-select: none; /* Kein Markieren von Bildern */
    -webkit-user-drag: none; /* Kein Dragging */
}

.slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    cursor: grab;
    transform: translateX(-50%);
    transition: left 0.2s ease-out;
    z-index: 10; /* Stellt sicher, dass die Linie über den Bildern bleibt */
}

/* Sichtbare Linie in der Mitte */
.slider-line {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 1);
    border-radius: 5%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    cursor: grab;
    transform: translateY(-50%);
    z-index: 11;
}

/* Beim Draggen */
.slider:active .slider-line {
    cursor: grabbing;
}

/* Bildcontainer mit abgerundeten Ecken */
.width-500px {
    max-width: 500px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out;
}

.accordion-content.open {
    max-height: 500px; /* Dynamische Höhe */
    opacity: 1;
}

/* Sanfter Slide-In Effekt */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

/* Slide-In Effekt */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

footer {
    font-family: 'Silvania', sans-serif;
}

/* Hover-Effekt für Links */
footer a:hover {
    opacity: 0.7;
}

/* Instagram Icon Animation */
footer i {
    transition: transform 0.3s ease;
}

footer i:hover {
    transform: scale(1.1);
}

#logo-container {
    position: relative;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

#logo-image {
    width: 240px; /* Größeres Logo */
    height: auto;
    transition: transform 0.3s ease;
}

.logo-small {
    transform: scale(0.8); 
}

body, 
button, 
a, 
input, 
textarea, 
select {
    cursor: pointer;
  }

.subpage-header {
    width: 100%;
    height: 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 0;
    background: white;
}


.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.subpage-title {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 5px;
}

.subpage-header.with-image {
    height: 45vh;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5%;
    position: relative;
}

.subpage-header-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.subpage-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.section-divider.show {
    opacity: 1;
    transform: scaleX(1);
}

.subpage-header.with-image {
    display: flex;
    height: 75vh;
    justify-content: space-between;
    align-items: flex-end;
    padding: 3% 5% 5% 5%;
    position: relative;
}

.subpage-header-content {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-top: 20px !important;
}


.subpage-header-image {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -20px;
}

.subpage-header-image img {
    width: 100%;
    max-height: 85vh;
    object-fit: cover;
}

/* 🔲 Linie links unten */
.left-divider {
    width: 170px;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: 5%;
    left: 20%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease-in-out;
}

.left-divider.show {
    transform: scaleX(1);
}

.before-after-container {
    position: absolute;
    right: 0;
    top: 50%;  /* Positioniert das Bild mittig */
    transform: translateY(-45%); /* Leicht nach unten verschieben */
    height: 90vh; /* Falls nötig, die Höhe anpassen */
    width: 50vw; /* Falls das Bild die Hälfte des Bildschirms einnehmen soll */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}


.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-after-wrapper img {
    display: block;
    height: 100vh; /* Falls du das Bild an die Höhe anpassen willst */
    width: auto;
    object-fit: cover;
}

.slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-container {
    width: 100%;
    max-width: 900px; /* Passe an, wie du willst */
    margin: 0 auto;   /* Zentriert den Slider */
    position: relative;
    overflow: hidden; /* Verhindert, dass Slides über den Rahmen hinausragen */
  }
  
  .slider-track {
    display: flex;                /* Alle Slides in einer Zeile */
    transition: transform 0.6s ease;
  }
  
  .slide {
    flex: 0 0 100%;               /* Jede Slide belegt 100% Breite */
    box-sizing: border-box;
    padding: 2rem;
    font-size: 1.2rem;
    text-align: center;
    min-height: 140px;            /* Damit genug Platz für Text da ist */
  }

  /* --- Navigation / Pfeile --- */
  .arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 10;
  }
  
  .arrow-btn:hover {
    background: rgba(255,255,255,1);
  }

  .arrow-left {
    left: -0.8rem;
  }
  
  .arrow-right {
    right: -0.8rem;
  }
  

  /* --- Dein individuelles Styling (Beispiel) --- */
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 2rem;
  }
  
  .section-subtitle {
    text-align: center;
    color: gray;
    margin-bottom: 1rem;
  }

  .star-rating {
    text-align: center;
    color: #aaa;
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  @media (max-width: 768px) {
    .salonized-widget-wrapper {
      right: auto !important;
      left: 10px !important;
      bottom: 80px !important;
      z-index: 99999 !important;
      transform: none !important;
    }
  }
  

  /* Initialzustände */
.slide-in-left,
.slide-in-right,
.slide-in-bottom,
.slide-in-top {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

.slide-in-left {
  transform: translateX(-50px);
}

.slide-in-right {
  transform: translateX(50px);
}

.slide-in-bottom {
  transform: translateY(50px);
}

.slide-in-top {
  transform: translateY(-50px);
}

/* Sichtbar = animiert rein */
.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

