/* =========================================
   CSS Variables & Reset (Teal/Slate Theme)
========================================= */
:root {
  --primary: #0A78BE;
  --primary-hover: #075E96;
  --secondary: #E0F2FE;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success: #10b981;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  color: var(--text-main);
  line-height: 1.6;
}

body {
  background-color: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.max-w-800 {
  max-width: 800px;
  margin-inline: auto;
}

.mt-50 {
  margin-top: 50px;
}

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

.bg-light {
  background-color: var(--bg-light);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e293b;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--text-main);
  color: var(--text-main);
}

.btn-outline-dark:hover {
  background-color: var(--text-main);
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* =========================================
   Navbar
========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle,
.nav-toggle-label {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--text-main);
    height: 2px;
    width: 100%;
    position: relative;
    transition: var(--transition);
  }

  .nav-toggle-label span::before {
    content: '';
    top: -8px;
  }

  .nav-toggle-label span::after {
    content: '';
    bottom: -8px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-md);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav-toggle:checked~.nav-menu {
    transform: scaleY(1);
  }
}

/* =========================================
   Page Titles (For Internal Pages)
========================================= */
.page-title-section {
  padding: 120px 0 60px;
  /* Account for fixed navbar */
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-title-section h1 {
  font-size: 2.8rem;
  color: #0f172a;
  margin-bottom: 15px;
}

.page-title-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   Hero Section (Home Page)
========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  margin-top: 70px;
  /* offset for navbar */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  animation: fadeIn 1s ease-out;
}

.badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* =========================================
   About Section
========================================= */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: white;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.2);
  transform: translate(-10%, -10%);
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.about-text .subtitle {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

.check-list {
  margin-top: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.check-list i {
  color: var(--success);
  background-color: rgba(16, 185, 129, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 40px;
    max-width: 500px;
    margin-inline: auto;
  }
}

/* =========================================
   Services Section (Features Grid)
========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-icon {
  height: 200px;
  background-color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  color: var(--primary);
}

.service-content {
  padding: 30px;
  text-align: left;
}

.service-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-content p {
  color: var(--text-muted);
}

/* =========================================
   Pricing Section
========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-header h3 {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.card-header .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 15px 0;
}

.card-header .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-body ul {
  text-align: left;
  margin-bottom: 30px;
}

.card-body ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.card-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--success);
  margin-right: 10px;
}

@media (max-width: 992px) {
  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

/* =========================================
   Contact Section
========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-block i {
  font-size: 1.5rem;
  color: var(--primary);
  background-color: var(--secondary);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-block h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-block p {
  color: var(--text-muted);
}

.contact-form-container {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 120, 190, 0.1);
}

.form-group-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.form-group-row .form-group {
  margin-bottom: 20px;
}

.flex-grow {
  flex-grow: 1;
}

@media (max-width: 576px) {
  .form-group-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group-row .form-group {
    width: 100%;
  }
}

.map-container {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  z-index: 10;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Impressum
========================================= */
.impressum h2 {
  margin-bottom: 15px;
  margin-top: 30px;
  font-size: 1.5rem;
  color: var(--text-main);
}

.impressum h3 {
  margin-bottom: 10px;
  margin-top: 25px;
  font-size: 1.2rem;
  color: var(--text-main);
}

.impressum p {
  margin-bottom: 15px;
}

/* =========================================
   Footer
========================================= */
.footer {
  background-color: #0f172a;
  /* Slate 900 */
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: white;
  margin-bottom: 15px;
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links p {
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom span {
  margin-left: 10px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.logo-img {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

.footer .logo-img {
  filter: brightness(0) invert(1);
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container video {
  width: 100%;
  display: block;
}

.mt-50 {
  margin-top: 50px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* Slideshow Styles */
.slideshow-container {
  max-width: 800px;
  /* Reduced from 1000px */
  position: relative;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: 500px;
  /* Fixed height for consistency */
  object-fit: cover;
  /* Maintains aspect ratio while filling area */
  display: block;
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .mySlides img {
    height: 300px;
    /* Smaller height for mobile */
  }
}

.slideshow-prev,
.slideshow-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.slideshow-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slideshow-prev:hover,
.slideshow-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slide-number {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.slideshow-dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slideshow-dot.active,
.slideshow-dot:hover {
  background-color: var(--primary);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* =========================================
   FAQ Section
========================================= */
.faq-accordion {
  margin-top: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* =========================================
   Floating Chat Widget
========================================= */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.chat-button {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  /* WhatsApp Green */
  color: white;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.chat-button:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .chat-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}