/* ==========================================================================
   Settings, Farben
   ========================================================================== */
:root {
  /* GRÜN */
  --color-green: #347437;
  --color-green-hsl: hsl(122, 38%, 34%);

  /* ROT */
  --color-red: #B92B36;
  --color-red-hsl: hsl(354, 60%, 45%);

  /* GRAU */
  --color-grey: #3D3D3D;
  --color-grey-hsl: hsl(0, 0%, 24%);

  /* VERLÄUFE */
  --gradient-red: linear-gradient(90deg, #BA3B45 0%, #5D1117 100%);
  --gradient-green: linear-gradient(90deg, #163C18 0%, #428E45 100%);
  --gradient-green-light: linear-gradient(to left, #EDFBED 0%, #FAFAFA 100%);
  --gradient-black: linear-gradient(90deg, #115B14 0%, #252525 100%);
}

/* Text Colors */
.text-green { color: var(--color-green); }
.text-red { color: var(--color-red); }
.text-grey { color: var(--color-grey); }

/* Background Colors */
.bg-green { background-color: var(--color-green); }
.bg-red { background-color: var(--color-red); }
.bg-grey { background-color: var(--color-grey); }

/* Gradient Backgrounds */
.bg-gradient-red { background: var(--gradient-red); }
.bg-gradient-green { background: var(--gradient-green); }
.bg-gradient-green-light { background: var(--gradient-green-light); }
.bg-gradient-black { background: var(--gradient-black); }

/* Hover Effects */
.text-green-hover:hover { color: var(--color-green); }
.text-red-hover:hover { color: var(--color-red); }
.text-grey-hover:hover { color: var(--color-grey); }

.bg-green-hover:hover { background-color: var(--color-green); }
.bg-red-hover:hover { background-color: var(--color-red); }
.bg-grey-hover:hover { background-color: var(--color-grey); }

/* Border Colors */
.border-green { border-color: var(--color-green); }
.border-red { border-color: var(--color-red); }
.border-grey { border-color: var(--color-grey); }


/* ==========================================================================
   Layout
   ========================================================================== */

@media (min-width: 2000px) {
  .container, 
  .container-fluid, 
  .container-sm, 
  .container-md, 
  .container-lg, 
  .container-xl, 
  .navbar {
    max-width: 1600px;
  }
}


/* ==========================================================================
   Typography, Schriften
   ========================================================================== */

/* ---- Font Awesome 6 ----- */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url('../fonts/fa-solid-900.woff2') format('woff2'),
       url('../fonts/fa-solid-900.woff') format('woff');
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/fa-regular-400.woff2') format('woff2'),
       url('../fonts/fa-regular-400.woff') format('woff');
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/fa-brands-400.woff2') format('woff2'),
       url('../fonts/fa-brands-400.woff') format('woff');
}

/* ---- Urbanist ----- */
@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Urbanist-Regular.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Urbanist-Medium.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/Urbanist-SemiBold.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Urbanist-Bold.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/Urbanist-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/Urbanist-Black.ttf') format('truetype');
}

/* Global font */
* {
  font-family: 'Urbanist', sans-serif;
}

h1 {
  font-size: 38px;
  font-weight: 900;
}

h2 {
  position: relative;
  display: inline-block; /* damit sich die Linie nur auf den Text bezieht */
  font-size: 34px;
  font-weight: 900;
}


h2::after {
  content: "";
  position: absolute;
  bottom: -8px;            /* entspricht text-underline-offset */
  left: 0;
  width: 60%;              /* gewünschte Linienbreite */
  height: 4px;             /* entspricht text-decoration-thickness */
  background: linear-gradient(90deg, #163C18 0%, #428E45 100%);
}

h3 {
  font-size: 28px;
  font-weight: 900;
}

h4 {
  font-size: 22px;
  font-weight: 700;
}

h5 {
  font-size: 20px;
  font-weight: 700;
}

h6 {
  font-size: 20px;
  font-weight: 600;
}

p, li {
  font-size: 16px;
  font-weight: 500;
}


/* ==============================================================
   Buttons
   ============================================================== */

.btn-primary {
  color: #3D3D3D;
  background-color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: #347437;
  color: white;
}

.btn-secondary {
  color: white;
  background-color: #347437;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #3D3D3D;
  background-color: white;
}

  
/* ==============================================================
   Top Bar
   ============================================================== */

.top-bar {
  background-color: white;
  padding: 15px 0;
}

.logo-img {
  height: 110px;
  width: auto;
}

.search-box {
  position: relative;
  max-width: 400px;
  border-radius: 15px;
}

.search-box input {
  background-color: #f8f8f8;
  border-radius: 15px;
  padding: 18px 20px;
  width: 100%;
  font-size: 14px;
  border: none;
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-grey);
  cursor: pointer;
}

.icon-buttons {
  display: flex;
  gap: 28px;
  align-items: center;
}

.icon-btn {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background-color: #f8f8f8;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-btn:hover {
  background-color: var(--color-green);
  color: white;
  transform: translateY(-5px);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 12px 32px;
}

.icon-btn i {
  font-size: 30px;
  color: var(--color-red);
}

.icon-btn:hover i {
  color: white;
}

.form-control:focus {
  border-color: #b2b2b2;
  box-shadow: 0 0 0 .25rem rgba(130, 130, 130, 0.25);
}

.form-control {
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}


/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  background: var(--gradient-green);
  border-radius: 15px;
  min-height: 60px;
  padding: 0;
}

.nav-link {
  color: white !important;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 15px;
  transition: all 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link i {
  font-size: 12px;
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 30px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}


/* ==========================================================================
   Ratgeber-Section
   ========================================================================== */

.card-ratgeber {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 260px;
  width: 100%; 
  max-width: 280px; 
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ratgeber:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-ratgeber::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.card-ratgeber img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-ratgeber .btn-primary {
  position: absolute;
  bottom: 20px;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

.card-ratgeber-long {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  width: 100%; 
  max-width: 280px; 
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ratgeber-long::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.card-ratgeber-long:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-ratgeber-long img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-ratgeber-long .btn-primary {
  position: absolute;
  bottom: 20px;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

/* Button Hover, wenn die Card gehovt wird */
.card-ratgeber:hover .btn-primary,
.card-ratgeber-long:hover .btn-primary {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: #347437;
  color: white;
}

/* Standard: Desktop / Tablet */
.col-ratgeber {
  display: grid;
  align-content: flex-end;
  justify-content: center;
}


/* ==========================================================================
   Service
   ========================================================================== */

.service-section {
  padding: 90px 0;
  overflow: hidden;
}

.service-section .container {
  overflow: hidden;
}

.carousel {
  padding: 0 60px;
  overflow: visible;
}

.carousel-inner {
  overflow: hidden;
  padding: 20px 0;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 240px;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(149, 157, 165, 0.3) 0px 12px 32px;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-circle i {
  font-size: 36px;
  color: white;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: 0;
  justify-content: flex-start;
}

.carousel-control-next {
  right: 0;
  justify-content: flex-end;
}

.carousel-control-prev i,
.carousel-control-next i {
  font-size: 30px;
  transition: transform 0.3s ease;
}

.carousel-control-prev:hover i {
  transform: translateX(-5px);
}

.carousel-control-next:hover i {
  transform: translateX(5px);
}


/* =======================================
   App-Section
   ===================================== */

.app-section {
  background-image: url('../img/AdobeStock_90128408_Preview.jpeg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  width: 100vw;
  height: 425px;
}

.app-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(185, 185, 185, 0.8);
}

.app-section .container {
  position: relative;
  z-index: 1;
}

.card-app-info,
.card-app-mockup {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-app-info:hover,
.card-app-mockup:hover {
  transform: translateY(-5px);
  box-shadow: rgba(149, 157, 165, 0.3) 0px 12px 32px;
}

.app-icon {
  width: 86px;
  height: auto;
}

.app-download {
  width: 150px;
  height: auto;
}


/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

.container.bg-gradient-green-light {
  padding: 60px 40px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container.bg-gradient-green-light:hover {
  transform: translateY(-5px);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 12px 32px;
}

.contact-card,
.notdienst-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
  height: 100%;
}

.contact-card h2,
.notdienst-card h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 30px;
}

.contact-card p,
.notdienst-card p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 8px;
}

.notdienst-card .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.notdienst-card .form-control:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 0.2rem rgba(52, 116, 55, 0.15);
}

.notdienst-card .form-control::placeholder {
  color: #999;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  margin-top: 55px;
  margin-bottom: 10px;
}

.border-primary {
  border-color: var(--color-green) !important;
  opacity: 1;
  margin-bottom: 40px;
  border-width: 3px !important;
}

.logo-footer {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

footer p {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

footer p a,
footer ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer p a:hover,
footer ul li a:hover {
  color: var(--color-green);
}

footer h5 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

footer ul {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

footer ul li i {
  width: 20px;
  font-size: 15px;
}


/* ==========================================================================
   Responsive / Media Queries
   ========================================================================== */

/* Large Desktops */
@media (min-width: 1200px) {
  .card-ratgeber-long {
    margin-top: -92px;
  }
}

/* iPads (Hoch- und Querformat) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .card-ratgeber-long {
    height: 288px;
  }

  /* Carousel-Anpassungen für iPad */
  .carousel {
    padding: 0 40px; /* ähnlich wie Tablets */
  }
  
  .carousel-control-prev {
    left: -10px;
  }
  
  .carousel-control-next {
    right: -10px;
  }
  
  .carousel-control-prev i,
  .carousel-control-next i {
    font-size: 24px;
  }

}


/* Tablets and smaller */
@media (max-width: 1199px) {
  .card-ratgeber-long {
    margin-top: 0;
  }
  
  .logo-img {
    height: 80px;
  }
  
  .service-card {
    max-width: 350px;
    height: 260px;
  }
}

@media (max-width: 992px) {
  .logo-img {
    height: 70px;
  }
  
  .app-section {
    height: 687px;
  }
  
  .carousel {
    padding: 0 50px;
  }
  
  .service-card {
    max-width: 320px;
    height: 250px;
  }
  
  .contact-card,
  .notdienst-card {
    margin-bottom: 20px;
  }

  footer .col-lg-3 {
    margin-bottom: 30px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .carousel {
    padding: 0 40px;
  }
  
  .service-card {
    max-width: 100%;
    height: auto;
    min-height: 220px;
    padding: 25px 15px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .icon-circle i {
    font-size: 30px;
  }
  
  .container.bg-gradient-green-light {
    padding: 40px 20px;
  }
  
  .contact-card {
    padding: 30px;
  }
  
  .notdienst-card {
    display: none;
  }
  
  h2 {
    font-size: 20px;
  }

  p {
    font-size: 17px;
    line-height: 1.6;
  }
  
  /* Mobile Layout Reordering */
  body {
    display: flex;
    flex-direction: column;
  }
  
  .hero-section {
    order: 10;
  }
  
  .contact-section {
    order: 2;
    margin-top: 30px;
  }
  
  .app-section {
    order: 3;
  }
  
  .Ratgeber {
    order: 4;
  }
  
  .service-section {
    order: 5;
  }
  
  footer {
    order: 6;
  }
}


@media (max-width: 767px) {
  /* Top Bar Mobile Layout */
  .top-bar .row {
    position: relative;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .icon-buttons {
    gap: 10px;
  }
  
  .icon-btn {
    width: 45px;
    height: 45px;
  }
  
  .icon-btn i {
    font-size: 20px;
  }
  
  /* Burger Menu neben Icons */
  .navbar-toggler {
    order: 3;
    margin-left: 10px;
  }
  
  /* Search unter Logo und Icons */
  .search-box {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }
  
  /* Hero verstecken auf Mobile */
  .hero-section {
    display: none;
  }
  
  /* Ratgeber Cards */
  .card-ratgeber,
  .card-ratgeber-long {
    height: 220px !important;
    margin-bottom: 15px !important;
    max-width: 400px !important;
  }
  
  .col-ratgeber {
    display: block;
    align-content: initial;
    justify-content: initial;
  }
  
  /* Service Section - Kein Carousel auf Mobile */
  .service-section {
    padding: 40px 0;
  }
  
  }



/* Mobile */
@media (max-width: 991px) {
  
  .carousel {
    padding: 0;
  }
  
  /* Alle Slides gleichzeitig anzeigen */
  .carousel-item {
    display: block !important;
    opacity: 1 !important;
    position: relative !important;
    transform: none !important;
  }
  
  /* Carousel Controls verstecken */
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  /* Service Cards untereinander */
  .service-section .row {
    display: flex;
    flex-direction: column;
  }
  
  .service-card {
    margin-bottom: 20px;
    max-width: 100%;
  }
  
  /* Button nach Service Cards */
  .service-more-btn {
    display: block;
    margin: 30px auto 0;
    text-align: center;
  }
  
  /* App Section Mobile */
  .app-section {
    height: auto;
    padding: 40px 0;
  }
  
  /* Contact Section Mobile */
  .contact-section {
    margin-top: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .service-card {
    padding: 20px 15px;
    min-height: 200px;
  }
  
  .service-card h4 {
    font-size: 1rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
}


        /* Desktop Dropdown Styling */
        .navbar .dropdown-menu {
            background: white;
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 1rem 0;
            margin-top: 0.5rem;
            min-width: 250px;
        }
        
        .navbar .dropdown-item {
            color: var(--color-grey);
            font-weight: 600;
            font-size: 15px;
            padding: 0.75rem 1.5rem;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }
        
        .navbar .dropdown-item:hover {
            background-color: #f8f8f8;
            color: var(--color-green);
            border-left-color: var(--color-green);
            padding-left: 2rem;
        }
        
        .navbar .dropdown-item i {
            color: var(--color-red);
            margin-right: 0.75rem;
            font-size: 14px;
            width: 20px;
            text-align: center;
        }
        
        .navbar .dropdown-divider {
            border-color: rgba(52, 116, 55, 0.1);
            margin: 0.5rem 0;
        }
        
        /* Offcanvas Styling */
        .offcanvas {
            background: var(--color-green);
        }
        
        .offcanvas-header {
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
            padding: 2rem 1.5rem;
        }
        
        .offcanvas-title {
            color: white;
            font-weight: 700;
            font-size: 1.5rem;
        }
        
        .btn-close {
            background-color: white;
            opacity: 1;
            border-radius: 50%;
            width: 2rem;
            height: 2rem;
        }
        
        .offcanvas-body {
            padding: 1rem 0;
        }
        
        .offcanvas-body .nav-link {
            color: white !important;
            font-size: 1.1rem;
            font-weight: 600;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .offcanvas-body .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            padding-left: 2rem;
        }
        
        .offcanvas-body .nav-link i.fa-angle-right {
            font-size: 1rem;
            transition: transform 0.3s;
        }
        
        /* Offcanvas Dropdown */
        .offcanvas-body .nav-item.has-dropdown > .nav-link {
            cursor: pointer;
        }
        
        .offcanvas-body .nav-item.has-dropdown.active > .nav-link i.fa-angle-right {
            transform: rotate(90deg);
        }
        
        .offcanvas-body .dropdown-menu-mobile {
            background: rgba(0, 0, 0, 0.2);
            border: none;
            padding: 0;
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .offcanvas-body .nav-item.has-dropdown.active .dropdown-menu-mobile {
            max-height: 500px;
        }
        
        .offcanvas-body .dropdown-item-mobile {
            color: rgba(255, 255, 255, 0.9) !important;
            font-size: 1rem;
            font-weight: 500;
            padding: 0.75rem 1.5rem 0.75rem 2.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s;
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .offcanvas-body .dropdown-item-mobile:hover {
            background-color: rgba(255, 255, 255, 0.1);
            padding-left: 3.5rem;
            color: white !important;
        }
        
        .offcanvas-body .dropdown-item-mobile i {
            color: var(--color-red);
            margin-right: 0.75rem;
            font-size: 14px;
            width: 20px;
            text-align: center;
        }
        
        /* Mobile Spezifische Anpassungen */
        @media (max-width: 767px) {
            /* Top Bar Mobile */
            .top-bar .logo-col {
                flex: 0 0 auto;
                width: auto;
            }
            
            .top-bar .icons-col {
                flex: 1;
                display: flex;
                justify-content: flex-end;
                align-items: center;
            }
            
            .icon-buttons {
                gap: 8px;
            }
            
            /* Burger Menu als Icon Button */
            .menu-toggle-btn {
                width: 45px;
                height: 45px;
                border-radius: 15px;
                background-color: #f8f8f8;
                border: none;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s;
            }
            
            .menu-toggle-btn:hover {
                background-color: var(--color-green);
                transform: translateY(-5px);
                box-shadow: rgba(149, 157, 165, 0.2) 0px 12px 32px;
            }
            
            .menu-toggle-btn i {
                font-size: 20px;
                color: var(--color-red);
            }
            
            .menu-toggle-btn:hover i {
                color: white;
            }
            
            /* Hero auf Mobile verstecken */
            .hero-section {
                display: none !important;
            }
            
            /* Mobile Reihenfolge mit CSS Order */
            body > * {
                order: 999;
            }
            
            .top-bar {
                order: 1;
            }
            
            .navbar-container {
                order: 2;
            }
            
            .contact-section {
                order: 3;
            }
            
            .app-section {
                order: 4;
            }
            
            .Ratgeber {
                order: 5;
            }
            
            .service-section {
                order: 6;
            }
            
            footer {
                order: 7;
            }
            
            /* Service ohne Carousel */
            .carousel-item {
                display: block !important;
                opacity: 1 !important;
                position: relative !important;
            }
            
            .carousel-item + .carousel-item {
                margin-top: 0;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                display: none !important;
            }
            
            .service-section .carousel-inner > .carousel-item > .row {
                flex-direction: column;
            }
            
            .service-section .col-lg-4 {
                width: 100%;
                max-width: 100%;
            }
            
            /* Zeige nur erste 3 Service Cards */
            .carousel-item:not(:first-child) {
                display: none !important;
            }
        }
        
        /* Desktop: Icons rechts, Suchfeld in der Mitte */
        @media (min-width: 768px) {
            .desktop-search-order {
                order: 2;
            }
            
            .desktop-icons-order {
                order: 3;
            }
            
            .menu-toggle-btn {
                width: 45px;
                height: 45px;
                border-radius: 15px;
                background-color: #f8f8f8;
                border: none;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s;
            }
        }

        /* Sticky Navigation */
@media (min-width: 768px) {
    .navbar-container {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    box-shadow 0.3s ease;
    }
    
    .navbar-container.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .navbar-container.sticky .navbar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Icons aus Dropdowns entfernen */
.navbar .dropdown-item i,
.offcanvas-body .dropdown-item-mobile i {
    display: none;
}

/* To Top Button */
    .to-top-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: var(--gradient-green);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .to-top-btn.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .to-top-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }

/* Mobile Sticky Notdienst Button */
@media (max-width: 767px) {
    .notdienst-sticky-btn {
        position: fixed;
        right: -35px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--gradient-green);
        color: white;
        border: none;
        padding: 15px 55px 15px 20px;
        font-size: 15px;
        font-weight: 700;
        text-transform: capitalize;
        border-radius: 25px 0 0 25px;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 998;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .notdienst-sticky-btn:hover {
        right: -26px;
        box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 768px) {
    .notdienst-sticky-btn {
        display: none;
    }
}

.Ratgeber {
padding: 70px 0px !important;
}


/* ==========================================================================
   Notdienst Desktop Navigation Item
   ========================================================================== */

.notdienst-item {
    position: relative;
}

.service-card p {
color: #333 !important;
}

.notdienst-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
    color: white !important;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 15px;
    transition: all 0.3s;
}

.notdienst-toggle:hover {
    opacity: 0.8;
}

/* Chevron Icon für Notdienst */
.chevron-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.chevron-icon.open {
    transform: rotate(-135deg);
}

/* Notdienst Dropdown Panel */
.notdienst-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    width: 400px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.notdienst-panel.open {
    max-height: 700px;
    opacity: 1;
    visibility: visible;
}

.notdienst-panel h4 {
    color: var(--color-green);
    margin-bottom: 0.5rem;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.notdienst-panel p {
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    font-size: 16px;
    font-weight: 500;
}

.notdienst-panel .form-label {
    font-weight: 600;
    color: var(--color-grey);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.notdienst-panel .form-control, 
.notdienst-panel .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.notdienst-panel .form-control:focus, 
.notdienst-panel .form-select:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 0.2rem rgba(52, 116, 55, 0.15);
}

.notdienst-panel .form-control::placeholder {
    color: #999;
}

/* Notdienst Button im Panel */
.btn-notdienst {
    background: var(--color-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-notdienst:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #2a5f2d;
}

/* Einheitliche Chevron-Icons für Bootstrap Dropdowns */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle {
    position: relative;
    padding-right: 1.5rem !important;
}

.dropdown-toggle::before {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transition: transform 0.3s ease;
}

.dropdown-open .dropdown-toggle::before,
.dropdown.show .dropdown-toggle::before {
    transform: translateY(-50%) rotate(-135deg);
}

/* ==========================================================================
   Notdienst Card in Kontakt Section
   ========================================================================== */

.notdienst-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    height: 100%;
}

.notdienst-card h4 {
    color: var(--color-green);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.notdienst-card p {
    color: var(--color-grey);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.notdienst-card .form-label {
    font-weight: 600;
    color: var(--color-grey);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.notdienst-card .form-control,
.notdienst-card .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.notdienst-card .form-control:focus,
.notdienst-card .form-select:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 0.2rem rgba(52, 116, 55, 0.15);
}

.notdienst-card .form-control::placeholder {
    color: #999;
}

/* Pharmacy Search Overlay (für bestehenden Code) */
.pharmacy-search {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    height: 100%;
}

.pharmacy-search__overlay {
    border: none;
}

.pharmacy-search__title {
    color: var(--color-green);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.pharmacy-search__text {
    color: var(--color-grey);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Mobile Sticky Notdienst Button
   ========================================================================== */

@media (max-width: 767px) {
    /* Notdienst Card verstecken auf Mobile */
    .notdienst-card,
    .pharmacy-search {
        display: none;
    }
}


/* ==========================================================================
   Responsive Anpassungen
   ========================================================================== */

@media (max-width: 1199px) {
    .notdienst-panel {
        width: 350px;
        padding: 1.5rem;
    }
}

@media (max-width: 991px) {
    /* Desktop Notdienst im Menü verstecken auf Tablet/Mobile */
    .notdienst-item {
        display: none;
    }
}

/* ==========================================================================
   Accessibility & Focus States
   ========================================================================== */

.notdienst-toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.notdienst-panel .form-control:focus-visible,
.notdienst-panel .form-select:focus-visible,
.notdienst-card .form-control:focus-visible,
.notdienst-card .form-select:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}

.btn-notdienst:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 3px;
}

.app-download {
width: 180px;
}


.offcanvas-body .nav-link {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        
        .offcanvas-body .nav-link:hover {
            padding-left: 1.5rem !important;
        }
        
        .offcanvas-body .dropdown-item-mobile:hover {
            padding-left: 2.5rem !important;
        }
        
        .offcanvas {
        max-width: 325px;
        }