* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 5px;
  }
  
  
  
  .full-width-section {
    width: 100%;
    padding: 60px 0;
    background: #f9f9f9;
  }
  
  
/* Sticky header */
/* Shared Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 1rem;
  }
  
  /* Logo */
  .logo {
    background-image: url('../img/logo3.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
    width: 160px;
    text-indent: -9999px;
    display: inline-block;
    
  }
  
  /* Navigation */
  nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
  }
  
  /* Nav links */
  nav ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    border-radius: 20px;
    transition: background 0.3s;
  }
  
  nav ul li a:hover {
    background-color: #15a79a;
    color: #fff;
  }
  
  /* Mobile styles */
  @media (max-width: 768px) {
    header .container {
      flex-direction: column;
      align-items: center;
    }
  
    .logo {
      width: 100px;
      height: 60px;
      
    }
  
    nav ul {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      padding: 0.5rem;
      border: 1px solid #eee;
      border-radius: 8px;
      background: #f9f9f9;
    }
  
    nav ul li a {
      padding: 6px 10px;
      font-size: 0.85rem;
    }
  }
  
  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    text-align: left;
  }
  
  .animated-words {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    height: 4.5rem;
    overflow: hidden;
    position: relative;
  }
  
  .animated-words .word {
    display: block;
    animation: slideWords 6s linear infinite;
  }
  
  @keyframes slideWords {
    0%, 20% { transform: translateY(0%); }
    33%, 53% { transform: translateY(-100%); }
    66%, 86% { transform: translateY(-200%); }
    100% { transform: translateY(0%); }
  }
  
  .animated-words .word:nth-child(1) { animation-delay: 0s; }
  .animated-words .word:nth-child(2) { animation-delay: 2s; }
  .animated-words .word:nth-child(3) { animation-delay: 4s; }
  
  .overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
  }
  
  .social-icons {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
  }
  
  .social-icons a {
    color: white;
    font-size: 1.2rem;
    border: 2px solid white;
    padding: 0.7rem;
    border-radius: 40%;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: #15a79a;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .overlay {
      text-align: center;
      align-items: center;
    }
  
    .overlay p {
      font-size: 0.7rem;
    }
  
    .animated-words {
      font-size: 1.5rem;
    }
  
    .social-icons {
      right: 10px;
    }
  }
  
  
  
  .about {
    padding: 4rem 2rem; /* Add more padding for a spacious look */
    background-color: #f4f9fc; /* Light background color */
    color: #333; /* Dark text for readability */
  }
  
  .about-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    
    margin: auto;
  }
  
  .about-text {
    flex: 1 1 50%;
    text-align: left;
    padding: 1rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #004080;
    font-weight: bold;
    text-transform: uppercase; /* Adds a modern touch */
    letter-spacing: 1px; /* Slightly spaced letters for readability */
  }
  
  .about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555; /* Lighter text for contrast */
    text-align: justify; /* Better text alignment */
    margin-bottom: 1rem; /* Space between paragraphs */
  }
  
  .about-image {
    flex: 1 1 45%;
    overflow: hidden; /* Makes sure image doesn't overflow */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for a clean look */
    transform: scale(1); /* To make it interactive */
    transition: transform 0.3s ease-in-out;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover; /* Ensures the image is well-cropped */
  }
  
  .about-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .about-grid {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem; /* Reduce the gap on smaller screens */
    }
  
    .about-text {
      text-align: center;
      padding: 0; /* Remove extra padding for mobile view */
    }
  
    .about-image {
      flex: 1 1 100%;
    }
  
    .about-image img {
      border-radius: 10px;
      box-shadow: none; /* No shadow for mobile */
    }
  }
  
  
  
  .vorteile {
    padding: 60px 20px;
    background-color: #bbe7d0;
    text-align: center;
  }
  
  .vorteile h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #222;
  }
  
  .vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .vorteil-box {
    background: #bbe7d0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .vorteil-box i {
    color: #2d89ef;
    margin-bottom: 15px;
  }
  
  .vorteil-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .vorteil-box p {
    font-size: 0.95rem;
    color: #666;
  }
  .vorteil-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }
  /* Services Grid Row */
/* ====== Responsive Grid Layout ====== */
.services {
  padding: 4rem 2rem; /* Add more padding for a spacious look */

}
.services h2{
  text-align: center;
      padding: 0;
}
.services-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 30px 15px 20px;
}

@media (min-width: 768px) {
  .services-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ====== Individual Service Box ====== */


.service-box {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-box::before {
  content: "";
  position: absolute;
  border: 2px solid #15a79a;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-sizing: border-box;
  transform: scaleX(0);
  transform-origin: left;
  animation: none;
  pointer-events: none;
}

.service-box:hover::before {
  animation: borderRun 1.5s linear forwards;
}

@keyframes borderRun {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50.01% {
    transform: scaleX(1);
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}


.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ====== Animated Border Effect ====== */
.service-box::before,
.service-box::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  border-radius: 15px;
  transition: width 0.6s ease-in-out;
  pointer-events: none;
}

.service-box::before {
  left: 0;
  border-left: 3px solid #15a79a;
}

.service-box::after {
  right: 0;
  border-right: 3px solid #15a79a;
}

.service-box:hover::before,
.service-box:hover::after {
  width: 100%;
}

/* ====== Icon ====== */
.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.service-box:hover .service-icon {
  transform: scale(1.1);
}

/* ====== Text Styling ====== */
.service-box h3 {
  font-size: 1.6rem;
  margin: 15px 0 10px;
  color: #111;
}

.service-box p {
  color: #666;
  font-size: 1rem;
  margin: 10px 0 15px;
  line-height: 1.5;
}

/* ====== Bullet List (Optional) ====== */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.service-list i {
  color: #15a79a;
  font-size: 1.1rem;
  margin-right: 10px;
}

/* galary section */
.gallery-slider-section {
  padding: 4rem 1rem;
  background-color: #f5faff;
  text-align: center;
}

.section-title {
  color: #000;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.gallery-swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
  color: #bbe7d0;
}

.swiper-pagination-bullet-active {
  background: #bbe7d0;
}



  
.kontakt {
  padding: 4rem 0; /* Remove left and right padding */
  background-color: #f5faff;
}

.kontakt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%; /* Allow full width */
  margin: 0; /* Remove any margin */
  justify-content: space-between;
  padding: 0; /* Remove left and right padding */
}

.kontakt-formular, .kontakt-info {
  flex: 1 1 45%;
}

.kontakt-formular h2,
.kontakt-info h2 {
  margin-bottom: 1rem;
  color: #15a79a;
}

.kontakt-formular form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-formular input,
.kontakt-formular textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.kontakt-formular button {
  background-color: #15a79a;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #15a79a;
}

.kontakt-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.kontakt-info i {
  color: #15a79a;
  margin-right: 0.5rem;
}

.kontakt-info a {
  color: #000;
  text-decoration: none;
}

.kontakt-info a:hover {
  text-decoration: underline;
}

.map {
  margin-top: 1rem;
}

.address-block {
  margin-left: 1.8rem; /* aligns with the icon spacing */
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsiv */
@media (max-width: 768px) {
  .kontakt-grid {
    flex-direction: column;
    padding: 0; /* Remove padding for mobile */
  }
}

  
  footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  footer .fsocial-icons {
    margin-top: 1rem;
  }
  
  footer .fsocial-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    text-decoration: none;
  }
  
 
  