/**
* Template Name: Groovin - v4.2.0
* Template URL: https://bootstrapmade.com/groovin-free-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #009D4A;
  text-decoration: none;
}

a:hover {
  color: #74c92d;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

h1, h2.display-5 {
  font-size: 38px;
}

/*--------------------------------------------------------------
# Intro Animation
--------------------------------------------------------------*/
#CybotCookiebotDialog {
  z-index: 99 !important;
}

.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  animation: fadeOutOverlay 1s ease-out 6s forwards;
}

.intro-overlay.hidden {
  display: none;
}

.svg-container {
  position: relative;
  z-index: 2;
  width: 95%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: finalFadeOut 1.5s ease-out 4s forwards;
}

.fil0 { fill: #C2C2C2; }
.fil1 { fill: #C4C4C4; }
.fil2 { fill: #C5C7C5; }
.fil3 { fill: #009746; }

#intro-svg path,
#intro-svg polygon {
  opacity: 0;
  animation: fadeInStay 0.8s ease-in-out forwards;
}

/* Stagger each path */
#intro-svg path:nth-child(1) { animation-delay: 0.15s; }
#intro-svg path:nth-child(2) { animation-delay: 0.3s; }
#intro-svg path:nth-child(3) { animation-delay: 0.45s; }
#intro-svg path:nth-child(4) { animation-delay: 0.6s; }
#intro-svg path:nth-child(5) { animation-delay: 0.75s; }
#intro-svg path:nth-child(6) { animation-delay: 0.9s; }
#intro-svg path:nth-child(7) { animation-delay: 1.05s; }
#intro-svg path:nth-child(8) { animation-delay: 1.2s; }
#intro-svg path:nth-child(9) { animation-delay: 1.35s; }
#intro-svg path:nth-child(10) { animation-delay: 1.5s; }
#intro-svg path:nth-child(11) { animation-delay: 1.65s; }
#intro-svg path:nth-child(12) { animation-delay: 1.8s; }
#intro-svg path:nth-child(13) { animation-delay: 1.95s; }
#intro-svg path:nth-child(14) { animation-delay: 2.1s; }
#intro-svg path:nth-child(15) { animation-delay: 2.25s; }
#intro-svg path:nth-child(16) { animation-delay: 2.4s; }
#intro-svg path:nth-child(17) { animation-delay: 2.55s; }
#intro-svg path:nth-child(18) { animation-delay: 2.7s; }
#intro-svg path:nth-child(19) { animation-delay: 2.85s; }
#intro-svg path:nth-child(20) { animation-delay: 3.0s; }
#intro-svg path:nth-child(21) { animation-delay: 3.15s; }
#intro-svg polygon { animation-delay: 0.2s; }

@keyframes fadeInStay {
  0% { 
    opacity: 0;
    transform: scale(0.95);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes finalFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Glow effect background */
.intro-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 157, 74, 0.3) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out 1.5s infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* Fade out overlay */
@keyframes fadeOutOverlay {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}

/* Prevent scroll during intro */
body.intro-active {
  overflow: hidden;
}

/* Speed lines effect (optional enhancement) */
.intro-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 157, 74, 0.1) 50%, transparent 100%);
  animation: speedLines 1.5s ease-out 0.5s;
  pointer-events: none;
}

@keyframes speedLines {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .intro-line {
    flex-direction: column;
    gap: 0.5rem;
  }
}  

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

.hover-pulse {
    transition: transform 0.3s ease;
}

.hover-pulse:hover {
    animation: hover-pulse 0.6s infinite;
}

@keyframes hover-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

h1, .h1 {
  white-space: nowrap; /* Keep text on a single line by default */
  overflow: hidden;
  width: 100%; /* Full width */
  animation: animtext 4s steps(80, end); 
  transition: all cubic-bezier(0.1, 0.7, 1.0, 0.1);
}

/* Keyframes for animation */
@keyframes animtext { 
  from {
    width: 0; /* Start width of the text container */
    transition: all 2s ease-in-out;
  } 
}

/* Adjustments for mobile view */
@media (max-width: 767.98px) {
  h1, .h1 {
    white-space: normal;
    animation: none;
  }
}

section {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.visible {
  opacity: 1;
}

img {
  animation: 5s ease 0s normal none infinite running animateHeartBeat;
  overflow: hidden;
}

@keyframes animateHeartBeat {
  0% {
    transform: scale(0.97);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(0.97);
  }
}

i {
  animation: 5s ease 0s normal none infinite running animateIcons;
  overflow: inherit;
  animation-delay: var(--random-delay);
}

@keyframes animateIcons {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.why-us .box span {
  animation: 5s ease 0s normal none infinite running animateh3box;
  overflow: inherit;
  animation-delay: var(--random-delay);
}

@keyframes animateh3box {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

#hero .btn-get-started, button[type="submit"] {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  text-transform: uppercase;
  border: 2px solid #009D4A;
  background: #009D4A;
  -webkit-animation: pulsate-button 2s infinite;
  animation: pulsate-button 2s infinite;
}

#hero .btn-get-started:hover, button[type="submit"]:hover {
  background: #009D4A;
  border-color: #009D4A;
  color: black;
  -webkit-animation: none;
  /* Stops the animation */
  animation: none;
  /* Stops the animation */
  box-shadow: 0 0 30px #009D4A;
}

@keyframes pulsate-button {
  0% {
    transform: scale(0.97);
    box-shadow: 0 0 5px #009D4A, 0 0 10px #009D4A, 0 0 15px #009D4A;
  }

  50% {
    transform: scale(1);
    box-shadow: 0 0 10px #009D4A, 0 0 20px #009D4A, 0 0 30px #009D4A;
  }

  100% {
    transform: scale(0.97);
    box-shadow: 0 0 5px #009D4A, 0 0 10px #009D4A, 0 0 15px #009D4A;
  }
}

.btn-warning {
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  border: 2px solid #ffc107;
  background: #ffc107;
  -webkit-animation: pulsate-warning 2s infinite;
  animation: pulsate-warning 2s infinite;
}

.btn-warning:hover {
  background: #ffc107;
  border-color: #ffc107;
  color: #fff;
  -webkit-animation: none;
  /* Stops the animation */
  animation: none;
  /* Stops the animation */
  box-shadow: 0 0 30px #ffc107;
}

@keyframes pulsate-warning {
  0% {
    transform: scale(0.97);
    box-shadow: 0 0 5px #ffc107, 0 0 10px #ffc107, 0 0 15px #ffc107;
  }

  50% {
    transform: scale(1);
    box-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107, 0 0 30px #ffc107;
  }

  100% {
    transform: scale(0.97);
    box-shadow: 0 0 5px #ffc107, 0 0 10px #ffc107, 0 0 15px #ffc107;
  }
}

.fahrzeugfolierung_links_img {
  filter: grayscale(100%);
  margin-left: -20vw;
  max-width: 500px;
  animation: animateFilter 3s ease-in-out infinite alternate;
}

.fahrzeugfolierung_rechts_img {
  filter: grayscale(0) !important;
  margin-right: -20vw;
  max-width: 500px;
  animation: animateFilter 3s ease-in-out infinite alternate;
}

@keyframes animateFilter {
  0% {
    filter: grayscale(100%);
    transform: scale(0.97);
  }
  50% {
    transform: scale(0.96);
  }  
  100% {
    filter: grayscale(0);
    transform: scale(0.97);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: rgba(0, 0, 0, 0.75);
  transition: all 0.5s;
  z-index: 997;
  height: 80px;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 80px;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 10px 0 10px 22px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
  text-transform: uppercase;
  position: relative;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #009D4A;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover>a {
  color: #fff;
}

.navbar .getstarted {
  padding: 8px 25px;
  margin-left: 12px;
  border-radius: 4px;
  color: #fff;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  border: 2px solid #009D4A;
}

.navbar .getstarted:hover {
  color: #fff;
  background: #009D4A;
}

.navbar .getstarted:hover:before,
.navbar li:hover>.getstarted:before {
  visibility: hidden;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 22px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #2a2a2a;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #009D4A;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle.bi-x {
    color: #009D4A;
  }
  
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.9);
    z-index: 999;
  }
  
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 39px !important; /* Adjust size as needed */
    height: 39px !important; /* Adjust size as needed */
  }
  .navbar .dropdown ul {
    opacity: 100;
    visibility: visible;
  }

  .mobile-nav-toggle {
    display: block;
    transition: transform 0.5s ease, color 0.5s ease;
    width: 39px; /* Adjust size as needed */
    height: 39px; /* Adjust size as needed */
    line-height: 40px; /* Center the icon vertically */
    text-align: center; /* Center the icon horizontally */
    font-size: 40px; /* Adjust icon size as needed */
    cursor: pointer;
  }

  /* Style for the close button */
.mobile-nav-toggle.bi-x {
  color: #fff; /* Color for the 'x' icon */
}

/* Style for the list icon button */
.mobile-nav-toggle.bi-list {
  color: #009D4A; /* Color for the list icon */
  margin-right: 15px;
}

  .navbar ul {
    display: none;
  }

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 65px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
}

.navbar-mobile ul {
  animation: 1s ease 0s normal none navbarFadein;
}

@keyframes navbarFadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Fade-out on closing */
.navbar-mobile.fade-out ul {
  animation: 0.5s ease 0s normal none navbarFadeout;
}

@keyframes navbarFadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.mobile-nav-toggle.bi-x {
  animation: rotateAndMorphToClose 0.5s forwards;
}

.mobile-nav-toggle.bi-list {
  animation: rotateAndMorphToList 0.5s forwards;
}

/* Animation for rotating and morphing the toggle button */
@keyframes rotateAndMorphToClose {
  0% {
    transform: rotate(0deg);
    border-radius: 50%;
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: transparent;
  }
  50% {
    transform: rotate(180deg);
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: #009D4A; /* Color for the morphing effect */
  }
  100% {
    transform: rotate(360deg);
    border-radius: 50%;
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: #009D4A; /* Color for the close button */
  }
}

@keyframes rotateAndMorphToList {
  0% {
    transform: rotate(360deg);
    border-radius: 50%;
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: #009D4A; /* Color for the close button */
    right: 15px;
  }
  50% {
    transform: rotate(180deg);
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: #009D4A; /* Color for the morphing effect */
    right: 15px;
  }
  100% {
    transform: rotate(0deg);
    border-radius: 0;
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    background-color: transparent;
    right: 15px;
  }
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 17px;
  color: #2a2a2a;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #009D4A;
}

.navbar-mobile>ul>li {
  white-space: nowrap;
  padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile .getstarted {
  margin: 15px;
  color: #009D4A;
  padding-left: 5em;
}

.navbar-mobile .dropdown ul {
  position: static;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 10px 10px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  font-size: 16px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 16px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #009D4A;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

  .li_left {
    display: inline-block;
  }

  .lang_de_de::after {
    content: '\00a0 deutsch';
  }

  .lang_de_en::after {
    content: '\00a0 englisch';
  }

  .lang_de_ru::after {
    content: '\00a0 russisch';
  }

  .lang_en_de::after {
    content: '\00a0 german';
  }

  .lang_en_en::after {
    content: '\00a0 english';
  }

  .lang_en_ru::after {
    content: '\00a0 russian';
  }

  .lang_ru_de::after {
    content: '\00a0 немецкий';
  }

  .lang_ru_en::after {
    content: '\00a0 английский';
  }

  .lang_ru_ru::after {
    content: '\00a0 русский';
  }


}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f6f6f6;
  min-height: 40px;
  margin-top: 80px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #444444;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# LED Umrüstung Rechner Section
--------------------------------------------------------------*/

#LED_Umrüstung_Rechner {
  margin: 70px 0px;
}

/*--------------------------------------------------------------
# Modal Section
--------------------------------------------------------------*/

.modal-dialog {
  max-width: 50%;
}

@media (max-width: 991px) {
  .modal-dialog {
    max-width: 100%;
  }
}

input[type="range"] {
  appearance: none;
}

/* Chrome & Safari */
input[type="range"]::-webkit-slider-runnable-track {
  background: #009D4A;
  border-radius: 4px;
  cursor: pointer;
  height: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #009D4A;
  border-radius: 50%;
  cursor: pointer;
  height: 24px;
  margin-top: -7px;
  width: 24px;
}

#form_led_rangeslider_table input {
  width: 90%;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.8);
  overflow: hidden;
  padding: 0;
  opacity: 1;
}

#hero .carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: 0.3;
}

#hero .carousel-item::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .carousel-content {
  text-align: center;
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

#hero h2 span {
  color: #009D4A;
}

#hero p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: .6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #009D4A;
}

.video-background {
  /* class name used in javascript too */
  width: 100%;
  /* width needs to be set to 100% */
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  object-fit: cover;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }

  .video-background {
    /* class name used in javascript too */
    display: none;
  }

  #hero .slide-angebote img {
    display: none;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .slide-angebote p {
    width: 100%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

/*--------------------------------------------------------------
# Carousel Slides
--------------------------------------------------------------*/

.slide0 {
  background: url(/assets/img/slide/weihnacht.webp);
  background-size: cover;
  background-repeat: no-repeat;
  margin-top:40px;
}

.slide1 {
/*  background: url(/assets/img/front.webp);  */
  background-size: cover; 
  background-repeat: no-repeat;
}

.slide2 {
  background: url(/assets/img/slide/dippel-werbeagentur-angeboten.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.carousel-item.slide2 p.h5 {
  font-size: 14px;
}

.carousel-item.slide2 p.h5 a {
  font-size: 20px;
  font-weight: bold;
}

.slide-price {
  line-height: 2;
}

/*--------------------------------------------------------------
# Carousel Clients
--------------------------------------------------------------*/

/* make arrows gray, rounded, and outside carousel */
#KundenCarousel .custom-arrow {
  width: 50px;
  height: 50px;
  background: #f1f1f1; /* light grey */
  border-radius: 50%;
  top: 50%; /* vertical center */
  transform: translateY(-50%);
}

#KundenCarousel .carousel-control-prev {
  left: -70px; /* position outside left */
}

#KundenCarousel .carousel-control-next {
  right: -70px; /* position outside right */
}

#KundenCarousel .carousel-control-prev-icon,
#KundenCarousel .carousel-control-next-icon {
  filter: invert(1); /* make arrow white */
}

#KundenCarousel .carousel-item {
  transition: transform 5s ease-in-out; /* slower slide transition */
}

#KundenCarousel {
  min-height: 140px;
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  #KundenCarousel {
    min-height: 200px; /* taller on small screens */
  }

  #KundenCarousel .custom-arrow {
    width: 40px;
    height: 40px;
  }

  #KundenCarousel .carousel-control-prev {
    left: 10px; /* move inside */
  }

  #KundenCarousel .carousel-control-next {
    right: 10px; /* move inside */
  }
}

/*--------------------------------------------------------------
# Carousel Photos
--------------------------------------------------------------*/

.carousel-item {
  transition: transform 1s ease-in-out;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #f1f1f1;
}

.section-cta {
  background-color: #009D4A;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #009D4A;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

.about .content {
  padding: 30px 0;
}

.about .content h3 {
  font-weight: 700;
  font-size: 34px;
}

.about .content p {
  margin-bottom: 0;
}

.about .content .icon-box {
  margin-top: 25px;
}

.about .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.about .content .icon-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.about .content .icon-box i {
  font-size: 48px;
  float: left;
  color: #009D4A;
}

.about .content .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.about .image {
  background: url("../img/dippel-werbung-ueber-uns.png") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

.icon-textilbestickung {
  max-width: 50px;
}

@media (max-width: 991px) {
  .about a .img-fluid {
    max-width: 50% !important;
    padding: 10px;
  }

  .pt-5 {
    padding-top: 0 !important;
  }

  .about .image {
    text-align: center;
  }

  .about .image img {
    max-width: 80%;
  }

  .fahrzeugfolierung_links_img {
    margin-left: 0vw;
    min-width: 80vw;
  }

  .fahrzeugfolierung_rechts_img {
    margin-right: 0vw;
    min-width: 80vw;
  }
}

@media (max-width: 667px) {
  .about .image img {
    max-width: 100%;
  }
}

/* Fahrzeugbeschriftung Image Gallery Styles */

/* Base styles for all screen sizes */
.fahrzeug-gallery-row {
  min-height: 400px;
}

.fahrzeug-vertical-img,
.fahrzeug-horizontal-img {
  object-fit: cover;
  animation: none !important;
}



/* Desktop styles */
@media (min-width: 992px) {
  .fahrzeug-gallery-row {
    min-height: 70vh;
    max-width: 100vh;
  }

  .fahrzeug-left-col {
    padding-right: 15px;
  }
  
  .fahrzeug-right-col {
    padding-left: 15px;
  }
  
  .fahrzeug-vertical-img {
    min-height: 68.8vh;
  }

  .fahrzeug-bottom-col {
    max-width: 100vh;
  }  

  .fahrzeug-bottom-img {
    max-height: 500px;
    animation: none !important;
  }
}

/* Mobile styles - ADJUSTED */
@media (max-width: 768px) {
  .fahrzeug-gallery-row {
    min-height: auto;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* All columns - full width, no padding */
  .fahrzeug-left-col,
  .fahrzeug-right-col {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Vertical image - full width */
  .fahrzeug-vertical-img {
    min-width: 100%;
    min-height: 300px;
  }
  
  /* Horizontal images - full width */
  .fahrzeug-stacked-images {
    gap: 1rem;
  }
  
  .fahrzeug-horizontal-wrapper {
    margin-bottom: 1rem;
  }
  
  .fahrzeug-horizontal-wrapper:last-child {
    margin-bottom: 0;
  }
  
  .fahrzeug-horizontal-img {
    min-width: 100%;
    min-height: 250px;
    max-height: 300px;
  }

  /* Bottom image - 100% width */
  .fahrzeug-bottom-col {
    padding-right: 0;
  }
  
  .fahrzeug-bottom-img {
    min-width: 103%;
    min-height: 250px;
  }
}


/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 95%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(0);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# cta - Call To Action Section
--------------------------------------------------------------*/
.cta {
  padding: 45px 0;
  text-align: center;
}

.cta img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.cta img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .cta img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: #009D4A;
  overflow: hidden;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
}

.services:hover .icon {
  box-shadow: 0px 0 25px rgba(92, 159, 36, 0.3);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.services .title a {
  color: #444444;
  transition: 0.3s;
}

.services .title a:hover {
  color: #009D4A;
}

.services .title::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #009D4A;
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .box:hover .link {
  color: white !important;
  text-decoration: underline;
}

.why-us .box {
  padding: 10px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
}

.why-us .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #009D4A;
}

.why-us .box h3 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #2a2a2a;
}

.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #2a2a2a;
}

.why-us .box p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.why-us .box:hover {
  background: #009D4A;
  padding: 30px 30px 70px 30px;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}

.why-us .box:hover span,
.why-us .box:hover h4,
.why-us .box:hover p {
  color: #fff;
}

@media (max-width: 768px) {
  .why-us .box {
    padding: 30px 30px;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
#portfolio {
  padding: 0;
}

.portfolio-underbox {
  position: absolute;
  margin: -60px 0px 0 12px;
}

.portfolio-greendot {
  margin: 0 5px 2px 5px;
  height: 13px;
  width: 13px;
  background-color: #009746;
  border-radius: 50%;
  display: inline-block;
  margin-top: 15px;
}

.portfolio-title,
.portfolio-title a {
  font-family: futura-md-bt-medium;
  font-size: 26px;
  color: white;
  position: relative;
}

.portfolio-title-ru,
.portfolio-title-ru a,
.portfolio-title-en,
.portfolio-title-en a {
  font-family: futura-ru;
  font-size: 20px;
  color: white;
  position: relative;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #009D4A;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(42, 42, 42, 0.7);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(42, 42, 42, 0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px 20px 60px 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #8ed851;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

@media (max-width: 768px) {

  .portfolio-title,
  .portfolio-title a {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Vorher/Nachher Grid
--------------------------------------------------------------*/

.ba-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.ba-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.ba-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.ba-section-title h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.ba-section-title .ba-lead {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.ba-item {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: grab;
  user-select: none;
  background: #fff;
}

.ba-item:active {
  cursor: grabbing;
}

.ba-vorher-image, .ba-nachher-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-nachher-image {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s ease-out;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #009D4A;
  border: 3px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease, background-color 0.3s ease !important;
  opacity: 0.7;
}

.ba-slider-handle.red-state {
  background: #dc3545 !important;
}

.ba-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-slider-handle::before {
  content: '↔';
  color: white;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
  opacity: 0.7;
}

.ba-slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: left 0.1s ease-out;
  opacity: 0.7;
}

.ba-labels {
  position: absolute;
  top: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 8;
  pointer-events: none;
}

.ba-label {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.ba-before-label {
  background: rgba(220, 53, 69, 0.9);
  opacity: 0;
}

.ba-after-label {
  background: rgba(40, 167, 69, 0.9);
  opacity: 0;
}

.ba-project-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 25px 15px 15px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .ba-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: 25px;
  }
  
  .ba-item {
      height: 250px;
  }
}

@media (max-width: 768px) {
  .ba-grid {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(6, 1fr);
      gap: 20px;
  }
  
  .ba-item {
      height: 220px;
  }
  
  .ba-section-title h2 {
      font-size: 2rem;
  }
  
  .ba-section {
      padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .ba-item {
      height: 200px;
  }
  
  .ba-project-title {
      font-size: 14px;
  }
  
  .ba-slider-handle {
      width: 35px;
      height: 35px;
  }
  
  .ba-slider-handle::before {
      font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Vorher/Nachher Grid - Enhanced with Modal
--------------------------------------------------------------*/

/* Hover effect - subtle scale */
.ba-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Autoplay indicator */
.ba-item.autoplay-active .ba-slider-handle {
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 2px 20px rgba(0, 157, 74, 0.6);
  }
}

/* Enlarge icon on hover */
.ba-item::after {
  content: '🔍';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 11;
  pointer-events: none;
}

.ba-item:hover::after {
  opacity: 1;
}

/* Modal Styles */
.ba-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.ba-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ba-modal-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: 80vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ba-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ba-modal-close:hover {
  background: #009D4A;
  transform: rotate(90deg);
}

.ba-modal-item {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  user-select: none;
}

.ba-modal-item:active {
  cursor: grabbing;
}

.ba-modal-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 40px 20px 20px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  z-index: 8;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .ba-modal-content {
    width: 95%;
    height: 70vh;
  }
  
  .ba-modal-title {
    font-size: 18px;
    padding: 30px 15px 15px;
  }
  
  .ba-item::after {
    font-size: 20px;
    padding: 6px 10px;
  }
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/

/* Base styles for mobile first */
.faq-nav {
  display: grid;
  grid-template-columns: 1fr;  /* Default 1 column for mobile */
  gap: 20px;
  text-align: center;
  padding: 1.5rem 0;
}

/* Hide images on mobile */
.mobile-hidden {
  display: none;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  color: #009D4A;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #009D4A;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,157,74,0.15);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  color: #2a2a2a;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  color: #009D4A;
  background: #f8f9fa;
}

.faq-question.active {
  color: #009D4A;
  background: #f8f9fa;
}

.faq-icon {
  font-size: 24px;
  font-weight: bold;
  color: #009D4A;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 25px;
  color: #666;
  line-height: 1.8;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 0 25px 20px 25px;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer strong {
  color: #2a2a2a;
}

.faq-intro {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.faq-intro h1 {
  color: #009D4A;
  margin-bottom: 15px;
}

.faq-intro p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.faq-cta {
  background: linear-gradient(135deg, #009D4A 0%, #6fc02c 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}

.faq-cta h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 28px;
}

.faq-cta p {
  color: white;
  margin-bottom: 25px;
  font-size: 16px;
}

.faq-cta .btn {
  background: white;
  color: #009D4A;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.faq-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .faq-category-title {
    font-size: 22px;
  }
  
  .faq-question {
    font-size: 15px;
    padding: 15px 20px;
  }
  
  .faq-icon {
    font-size: 20px;
  }
  
  .faq-intro h1 {
    font-size: 28px;
  }
  
  .faq-intro p {
    font-size: 16px;
  }
  .faq-nav {
    grid-template-columns: 1fr 1fr;  /* 2 columns for tablets */
    padding: 2rem 0;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .faq-nav {
    grid-template-columns: 1fr 1fr 1fr;  /* 3 columns for desktop */
    padding: 3rem 0;
  }
}

@media (min-width: 768px) {
  .mobile-hidden {
    display: block;
  }
}

/* FAQ Category Navigation - Base Styles */
.faq-nav-card {
  background: #fff;
  border: 2px solid #e8f5e9;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.faq-nav-card:hover {
  border-color: #009D4A;
  background: #f1f8f4;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
  text-decoration: none;
}

.faq-nav-card i {
  font-size: 2.5rem;
  color: #009D4A;
  margin-bottom: 10px;
}

.faq-nav-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #009D4A;
  margin: 0;
  transition: all 0.3s ease;
}

.faq-nav-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 5px 0 0 0;
}

/* Color animation ONLY on hover - GREEN ONLY */
.faq-nav-card:hover h3 {
  background: linear-gradient(
    90deg,
    #009D4A 0%,
    #6fc02c 25%,
    #009D4A 50%,
    #6fc02c 75%,
    #009D4A 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorFlowGreen 1.5s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes colorFlowGreen {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .faq-nav-card h3 {
    font-size: 1rem;
  }
  
  .faq-nav-card i {
    font-size: 2rem;
  }
}


/* Lightbox Title Styling */
.gslide-title {
  font-family: "Roboto", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;           
  color: #00a650 !important;            
  text-transform: uppercase !important;       
  letter-spacing: 1px !important;             
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Lightbox description container styling */
.gslide-description {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)) !important;
  border-top: 2px solid #00a650 !important;    
  padding: 20px 16px !important;
  border-radius: 4px !important;
}

.gdesc-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/*--------------------------------------------------------------
===== Foto Gallery Styles =====
--------------------------------------------------------------*/

.foto-category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: #00a650;
  background: #f0f8f4;
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 166, 80, 0.15);
}

.card-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.category-card:hover .card-title {
  color: #00a650;
}

.card-desc {
  font-size: 13px;
  color: #666;
  transition: color 0.3s ease;
}

.category-card:hover .card-desc {
  color: #00a650;
}

.foto-category {
  margin-bottom: 60px;
}

.foto-category .faq-category-title {
  margin-bottom: 40px;
  margin-top: 20px;
}

.foto-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.foto-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f8f9fa;
  cursor: pointer;
  position: relative;
  aspect-ratio: auto;
}

.foto-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.foto-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}

.foto-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: white;
  transition: transform 0.3s ease, filter 0.3s ease;
  padding: 10px;
}

.foto-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Lightbox styles */
.portfolio-lightbox {
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .foto-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .foto-category-nav {
    gap: 10px;
    padding: 15px;
    margin-bottom: 40px;
  }

  .nav-anchor {
    padding: 6px 12px;
    font-size: 13px;
  }

  .foto-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .foto-category {
    margin-bottom: 40px;
  }
  
  .foto-category .faq-category-title {
    margin-bottom: 25px;
    font-size: 20px;
  }
  
  .foto-item:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 576px) {
  .foto-category-nav {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    margin-bottom: 30px;
  }

  .nav-anchor {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .foto-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .foto-item {
    border-radius: 6px;
  }
  
  .foto-item a {
    border-radius: 6px;
  }
  
  .foto-item:hover img {
    transform: scale(1.02);
  }
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#kontakt,
#contact {
  padding-top: 0;
}

#online-anfrage,
#online-inquiry {
  padding-top: 0;
}

.contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

.contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #009D4A;
}

.contact .contact-info address,
.contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

.contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
}

.contact .contact-info a {
  color: #000;
}

.contact .contact-info a:hover {
  color: #009D4A;
}

.contact .contact-address,
.contact .contact-phone,
.contact .contact-email {
  margin-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.contact .php-email-form p {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
  margin: 10px 15px;
  border-radius: 4px;
  background-color: #f8f9fa;
}

#fenster {
  margin: 10px 15px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #009D4A;
}

.contact .php-email-form button[type="submit"] {
  background: #009D4A;
  border: 0;
  padding: 10px 30px 12px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #009D4A;
    border-color: #009D4A;
    color: black;
    -webkit-animation: none;
    /* Stops the animation */
    animation: none;
    /* Stops the animation */
    box-shadow: 0 0 30px #009D4A;
}

.h-captcha {
  padding: 0 0 0 15px;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .contact .contact-address,
  .contact .contact-phone,
  .contact .contact-email {
    padding: 20px 0;
  }
}

@media (max-width: 768px) {

  .contact .php-email-form input,
  .contact .php-email-form textarea,
  .contact .php-email-form p {
    margin: 10px 0 10px 5px;
  }
}


/*--------------------------------------------------------------
# TEXTILBESTICKUNG FORMULAR
--------------------------------------------------------------*/

#form_textilbestickung label {
  padding: 0 0 0 15px;
}

.shirt_container {
  margin-right: auto;
}

#leere-T-Shirt-Vorderseite {
  margin-left: 5px;
}

#userTextVorderseite,
#userTextRückseite,
#userLinksTextVorderseite,
#userRechtsTextVorderseite {
  font-size: 1vw;
  font-family: articulat;
  text-align: center;
  overflow: hidden;
  resize: none;
  position: absolute;
  border: 1px solid #ddd;
  background-color: transparent;
  z-index: 1;
}

#userTextVorderseite,
#userTextRückseite {
  width: 230px;
  margin: 100px 0 0 140px;
}

#userLinksTextVorderseite {
  width: 140px;
  margin: 140px 0 0 130px;
}

#userRechtsTextVorderseite {
  width: 140px;
  margin: 140px 0 0 230px;
}

.shirt-größe input {
  margin: 0 5px 0 0 !important;
}

.shirt-größe label {
  padding: 0 0 0 5px !important;
}

.width-measurement-line,
.length-measurement-line {
  background-color: red;
  height: 2px;
}

.length-measurement-line {
  width: 2px;
  height: 470px;
}

#lengthNumber {
  position: absolute;
  margin-top: 210px;
}

.chest-width {
  padding-left: 139px;
}

.width-measurement-line {
  width: 283px;
}

#chestNumber {
  padding-left: 120px;
}

.measurement-number {
  background-color: white;
  font-size: 14px;
  color: black;
}

.shirt-stückzahl {
  padding: 15px 0 0 15px;
  font-weight: bold;
}

@media (max-width: 768px) {
  #textilbestickung_formular {
    display: none;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #009D4A;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6fc02c;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #111111;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #1d1d1d;
  border-bottom: 1px solid #2f2f2f;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #009D4A;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #8ed851;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #81d33d;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #009D4A;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #6ab82a;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-links {
    width: 180px;
  }
}