/* ================================
   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;
  }

@media (max-width: 390px) {

  .hero-overlay-text {
    max-width: 320px;
  }

  .hero-overlay-text h1 {
    font-size: 18px;
    line-height: 1.15;
  }

  .hero-overlay-text p {
    font-size: 12px;
    line-height: 1.35;
    margin-top: 6px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 18px;
    margin-top: 12px;
  }
}


  /* ================================
     Ü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;
}



/*Startseite - Buttons*/


/* ===== BASIS: DESKTOP ===== */
.hero-buttons > .hero-btn-desktop {
  display: inline-flex !important;
}

.hero-buttons > .hero-btn-mobile {
  display: none !important;
}

/* ===== HANDY ===== */
@media (max-width: 1023px) {
  .hero-buttons > .hero-btn-desktop {
    display: none !important;
  }

  .hero-buttons > .hero-btn-mobile {
    display: inline-flex !important;
  }

  .hero-buttons > .hero-btn {
    width: 80%;
    justify-content: center;
  }
}

/* TEST 

.hero-mobile {
	
	display: none;
	
}

@media (max-width: 1023px) {
	
	.slider-wrapper {
		display: none
	}
	.hero-mobile {
				
		display: block;	
		}
	}
*/