/* ================================
   Global Defaults
   ================================ */
.menu-icon,
#menu-toggle,
.overlay {
  display: none; /* Burger + Overlay standardmäßig ausblenden */
}

.desktop-only { display: inline-block; }
.mobile-only { display: none; }








/* ================================
   Mobile bis 1024px
   ================================ */
@media (max-width: 1024px) {
  /* Header */
  .header-contact { display: none; }

  /* Burger Button */
  .menu-icon {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 2002;
  }

  .menu-icon .fa-bars { display: inline-block; }
  .menu-icon .fa-times { display: none; }
  #menu-toggle:checked + .menu-icon .fa-bars { display: none; }
  #menu-toggle:checked + .menu-icon .fa-times { display: inline-block; }

  /* Menü Panel */
  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    min-height: 100%;
    width: 250px;
    background: #fff;
    padding: 80px 20px;
    flex-direction: column;
    gap: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 2001;
  }

  /* Overlay */
  .overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
  }

  /* Aktives Menü */
  #menu-toggle:checked ~ .main-nav .nav-links { right: 0; }
  #menu-toggle:checked ~ .overlay { display: block; }

  /* Logo oben links */
  .site-header .custom-logo-link,
  .site-header .custom-logo {
    display: block;
    max-height: 150px;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
  }

  /* ================================
     Hero Bereich – Mobile
     ================================ */
  .hero-slider,
  .hero-slider .slider-wrapper,
  .hero-slider .n2-ss-slider,
  .hero-slider .n2-ss-slide,
  .hero-slider .n2-ss-slide-background {
    height: 30vh !important;
    min-height: 300px !important;
  }

  .hero-slider { margin-top: 0 !important; padding-top: 0 !important; }
  .site-header { margin-bottom: 0 !important; }

  .hero-slider img {
    object-fit: cover !important;
    width: 100%;
    height: 100%;
  }

  /* Overlay Texte */
  .hero-overlay-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 90%;
    padding: 0 10px;
    z-index: 2;
  }

/* TEST */
	.hero-btn {
		margin-top: 20px;
	}
	
	
	
	
  .hero-overlay-text h1 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .hero-overlay-text p { font-size: 14px; margin: 0; }

  /* Button unter Slider */
  .desktop-only { display: none; }
  .mobile-only {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 22px;
    background: #164e9b;
    color: #fff;
    text-align: center;
    transition: background 0.3s ease;
  }
  .mobile-only:hover { background: #1f66c1; }

  /* ================================
     Über mich / Intro
     ================================ */
  .intro-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px;
  }
  .intro-image, .intro-text-block { width: 100% !important; max-width: 90% !important; }
  .intro-image img {
    max-width: 200px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 50%;
    margin: 0 auto 20px auto !important;
    display: block !important;
  }
  .intro-text-block h2, .intro-text-block p {
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 15px;
    line-height: 1.5;
  }

  /* ================================
     Vita Timeline – Mobile vertikal
     ================================ */
  .vita-timeline-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin: 20px 0;
    position: relative;
  }
  .vita-timeline-horizontal::before { display: none !important; }
  .vita-item { position: relative; padding-left: 60px; width: 100%; }
  .vita-item::before {
    content: "";
    position: absolute;
    left: 12px; top: 0;
    width: 16px; height: 16px;
    background: #fff;
    border: 3px solid #164e9b;
    border-radius: 50%;
    z-index: 2;
  }
  .vita-item::after {
    content: "";
    position: absolute;
    left: 11px; top: 0;
    height: calc(100% + 70px);
    width: 2px;
    background: #164e9b;
    z-index: 1;
  }
  .vita-item:last-child::after { display: none; }
  .vita-year { font-weight: bold; font-size: 14px; margin-bottom: 5px; display: block; }
  .vita-content { font-size: 13px; }

  /* ================================
     Boxen
     ================================ */
  .info-box { margin: 15px auto; padding: 15px; font-size: 15px; }
  .info-box h3 { font-size: 18px; text-align: center; }

  /* ================================
     Footer
     ================================ */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  /* ================================
     Produkte: nur Slider auf Mobile
     ================================ */
  .produkte-grid-wrapper { display: none !important; }
  .product-swiper { display: block !important; }
  .product-swiper .swiper-wrapper { display: flex; }
  .product-swiper .swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .product-swiper .swiper-slide img {
    max-width: 250px;
    height: auto;
    margin: 0 auto 12px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .product-swiper .swiper-slide h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 10px;
  }
  .product-swiper .swiper-pagination {
    margin-top: 15px;
    text-align: center;
  }
}

/* ================================
   Swiper Über mich
   ================================ */
.about-swiper {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
}
.about-swiper .swiper-wrapper { display: flex; }
.about-swiper .swiper-slide {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}
.about-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.about-swiper .swiper-pagination {
  text-align: center;
  margin-top: 15px;
}
