/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

/* ==============================
   GLOBAL MOBILE OVERFLOW FIX
   ============================== */

html, body {
    width: 100%;
    overflow-x: hidden !important;
}


#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-dark,
.btn-primary {
    margin: 10px;
}

.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.btn-dark::before,
.btn-dark::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-dark::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-dark);
    border-right: 2px solid var(--bs-dark);
}

.btn-dark::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-dark);
    border-bottom: 2px solid var(--bs-dark);
}


/*** Hero Header ***/
.hero-header {
    background: url() top left no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }

    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

.page-header {
    background: url(../img/page-header.jpg) center center no-repeat;
    background-size: contain;
}


/*** Service ***/
@media (max-width: 768px) {
    .service .service-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    }
}

@media (min-width: 992px) {
    .service .service-item.border-lg-end {
        border-right: 1px solid #dee2e6;
    }

    .service .service-item.border-lg-end-0 {
        border-right: none !important;
    }

    .service .service-item.border-lg-bottom-0 {
        border-bottom: none !important;
    }
}

.service .service-item .btn-primary {
    border-width: 2px;
    background: var(--bs-white);
}

.service .service-item .btn-primary:hover {
    background: var(--bs-primary);
}

.service .service-item img {
    width: 70px;
    margin-bottom: 20px;
}


/*** Team ***/
.team {
    position: relative;
}

.team::before {
    position: absolute;
    content: "";
    width: 200%;
    height: 200px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    margin-top: 1rem;
    background: var(--bs-primary);
}

.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .5);
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-overlay {
    background: rgba(255, 255, 255, .9);
}

.team-overlay p {
    letter-spacing: 1px;
}

.team-overlay .btn-dark {
    border-width: 2px;
    color: var(--bs-dark);
    background: transparent;
}

.team-overlay .btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item {
    position: relative;
}

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
    color: var(--bs-dark) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--bs-secondary);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

/* =========================
   FOOTER FIX – SCHWARZE BLÖCKE
   ========================= */

/* Entfernt vertikale Linie */
.footer::after {
    display: none !important;
}

/* Entfernt alle Pseudo-Elemente beim Footer-Titel */
.footer .navbar-brand::before,
.footer .navbar-brand::after,
.footer h1::before,
.footer h1::after {
    content: none !important;
    display: none !important;
}


/* =========================
   FOOTER BRAND FIX
   ========================= */

/* Entfernt schwarzen Balken hinter Logo + Text */
.footer .navbar-brand {
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Falls ein Wrapper existiert */
.footer .navbar-brand *,
.footer .navbar-brand h1 {
    background: transparent !important;
}

/* Sicherheitsnetz: keine Pseudo-Elemente */
.footer .navbar-brand::before,
.footer .navbar-brand::after {
    content: none !important;
    display: none !important;
}


    :root {
      --primary-color: #da708c;
      --primary-dark: #c55a77;
      --primary-light: #f0a5b8;
    }
    
    .text-primary {
      color: var(--primary-color) !important;
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }
    
    .btn-primary:hover {
      background-color: var(--primary-dark);
      border-color: var(--primary-dark);
    }
    
    .bg-primary {
      background-color: var(--primary-color) !important;
    }
    
    .border-primary {
      border-color: var(--primary-color) !important;
    }
    
    .btn-square {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
    }
    
    .spinner-grow.text-primary {
      color: var(--primary-color) !important;
    }
    
    .badge.bg-primary {
      background-color: var(--primary-color) !important;
    }
    
    .visually-hidden{
      position:absolute!important;
      left:-9999px;
      width:1px;
      height:1px;
      overflow:hidden;
      white-space:nowrap;
    }
    
    /* Floating Call Button */
    .floating-call-button {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      z-index: 1000;
      transition: all 0.3s ease;
      text-decoration: none;
    }
    
    .floating-call-button:hover {
      background-color: var(--primary-dark);
      transform: scale(1.1);
      color: white;
    }
    
    /* Hero Carousel Fix */
    .header-carousel .owl-stage-outer {
      height: 100%;
    }
    
    .header-carousel .owl-stage {
      display: flex;
      height: 100%;
    }
    
    .header-carousel .owl-item {
      display: flex;
      height: 100%;
    }
    
    .header-carousel img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    /* Testimonial Carousel Fix */
    .testimonial-carousel .owl-stage-outer {
      overflow: visible;
    }
    
    .testimonial-carousel .owl-item {
      opacity: 0.5;
      transition: opacity 0.3s;
    }
    
    .testimonial-carousel .owl-item.active {
      opacity: 1;
    }
    
    /* Custom Animations */
    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }
    
    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    .service-item {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    /* Custom SVG Icon for Barber */
    .barber-icon {
      width: 70px;
      height: 70px;
      fill: var(--primary-color);
      margin-bottom: 20px;
    }
    
    /* Price list styling */
/* PREISLISTE – IMMER EINE ZEILE */
.price-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

/* LINKER TEXT (DIENSTLEISTUNG) */
.price-item > *:first-child {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.4;
}

/* RECHTER PREIS (ab 50 €) */
.price-item > *:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 600;
}

    .price-item:last-child {
      border-bottom: none;
    }
    
    /* Enhanced animations */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }
    
    .animate-on-scroll.animated {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Card hover effects */
    .card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    /* Button animations */
    .btn {
      transition: all 0.3s ease;
    }
    
    .btn:hover {
      transform: translateY(-2px);
    }

/* FORCE SLIDER NAV BACKGROUND – PINK */


/* ================= CUSTOM SLIDER ================= */

.branch-title {
    text-align: center;
    margin-bottom: 14px;
}

.branch-title h3 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    margin-bottom: 4px;
}

.branch-title span {
    font-size: 14px;
    color: #777;
}

/* Slider */
.custom-slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.custom-slider .slides {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.custom-slider img {
    min-width: 100%;
    height: 420px;
    object-fit: cover;
    user-select: none;
}

/* ===== SLIDER PFEILE – KLEINER & MITTIG ===== */

.custom-slider .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;          /* kleiner */
    height: 44px;
    border-radius: 50%;
    background: #c55a77;
    color: #ffffff;
    border: none;
    font-size: 22px;      /* Pfeil kleiner */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.custom-slider .prev {
    left: 12px;
}

.custom-slider .next {
    right: 12px;
}

/* Mobile minimal größer */
@media (max-width: 768px) {
    .custom-slider .nav {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}


/* =========================
   HERO SLIDER OVERLAY
   ========================= */

/* Slide Container */
.header-carousel .hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Bild bleibt unverändert */
.header-carousel .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dunkle Überlagerung */
.header-carousel .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Text Overlay */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #fff;
    padding: 20px;
}

/* Titel */
.hero-slide-overlay h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Text */
.hero-slide-overlay p {
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 26px;
}

/* Button Fix (keine Doppel-Rahmen) */
.hero-slide-overlay .btn {
    margin: 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {

    .hero-slide-overlay h2 {
        font-size: 1.9rem;
    }

    .hero-slide-overlay p {
        font-size: 1rem;
    }

    .hero-slide-overlay .btn {
        width: 100%;
        max-width: 260px;
    }
}
