* {
  box-sizing: border-box;
}

.flex-header {
    width: 100%;
    background: none;
    color: white;
    padding: 1rem 0rem;
    position: absolute;
    top: 0;
    z-index: 1;
}

.header-inner {
    max-width: 170rem;
    width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2rem;
}

.header-logo img {
    height: 7rem;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5rem;
}

.main-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    list-style: none;
}

.main-links {
    display: flex;
    gap: 5rem;
    padding: 0;
    margin: 0;
    align-items: center;
    position: relative;
}

.main-links li {
    list-style: none;
}

.has-dropdown {
    position: relative;
}

.has-dropdown img {
    width: 1.6rem;
    padding-left: 0.4rem;
}

/* Ausgangszustand */
.dropdown-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9); /* halbtransparentes WeiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ */
    backdrop-filter: blur(6px); /* leichter Blur fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r modernen Look */
    color: #121212;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0 1rem;
    z-index: 999;
    min-width: 260px;
    text-align: left;
    pointer-events: none;
    font-size: inherit;
}

.dropdown-menu.open {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
    padding: 1rem;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.arrow-icon.rotated {
    transform: rotate(180deg) translateX(-0.45rem);
}

/* Sichtbar beim Hover */
.has-dropdown:hover .dropdown-menu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
    padding: 1rem;
}

/* Meueintraege */
.dropdown-menu li {
    margin: 0.4rem 0;
    line-height: 1.4;
}

.dropdown-menu li strong {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.85em;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.3rem;
}

.dropdown-menu a {
    display: inline-block;
    color: #121212;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    font-size: inherit;
}

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

.has-dropdown:hover .arrow-icon {
    transform: rotate(180deg) translateX(-0.45rem);
}

.social-icons {
    display: flex;
    gap: 1.8rem;
}

.social-icons img {
    height: 2.5rem;
    width: auto;
    filter: invert(1);
}

.header-cart {
    display: flex;
    align-items: center;
    position: relative;
}

.warenkorb-icon {
    height: 2.5rem;
    width: auto;
    filter: invert(1);
}

.cart-count {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    padding: 0.25em 0.5em;
    position: absolute;
    top: -8px;
    right: -8px;
}

/********** SLIDE *********/
a.btn-neu {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 0.4rem;
    font-weight: 400;
    font-size: 1.1rem;
    display: inline-block;
}
.teaser-text {
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 170rem;
    width: 83%;
}
p.teaser-1 {
    color: white;
    font-size: 5.5rem;
    font-weight: bold;
    font-family: "Cuprum", Roboto, sans, sans-serif;
    margin-bottom: 0;
    line-height: 1;
    width: 38%;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
p.teaser-2 {
    color: white;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

/********** CONTENT *********/
#content {
    max-width: 170rem;
    width: 83%;
}
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.strokes {
  position: relative;
  display: inline-block;
  color: var(--primary-color); /* z.ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¯B. Orange */
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  padding: 0 1.4rem;
  font-family: "Cuprum", Roboto, sans, sans-serif;
}

.strokes::before,
.strokes::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.strokes::before {
  left: 0;
  transform: translate(-100%, -50%);
}

.strokes::after {
  right: 0;
  transform: translate(100%, -50%);
}
h1 {
    font-size: 3rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.package-nav {
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.package-nav a {
  text-decoration: none;
  color: #121212;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.package-nav a:hover,
.package-nav a.active {
  color: var(--primary-color);
}

.dot-separator {
  margin: 0 1.7rem;
  color: #000000;
  font-size: 4.1rem;
  line-height: 1.25rem;
}

/* SLIDER HOME PAKETE */
/* Container und Track und Dots */
.maindiv-slide {
    position: relative;
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  align-items: stretch;
}

.slider-slide {
    flex: 0 0 calc((100% - 3 * 2rem) / 4);
}

.slider-dots {
  text-align: center;
  margin-top: 1.5rem;
}

.slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ddd;
  border-radius: 50%;
  transition: background 0.3s;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--primary-color);
}

/* Einzelelement (Box) */
.slider-item {
  position: relative;
  background: #fff8f1;
  border-radius: 1.1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  align-items: stretch;
  text-align: left;
  padding-bottom: 1.2rem;
  /* flex: 0 0 25%; */ /* 4 Slides auf Desktop */
  box-sizing: border-box;
  font-family: "Cuprum", Roboto, sans, sans-serif;
  width: 100%;
}

@media (max-width: 1200px) {
  .slider-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

@media (max-width: 1100px) {
  .slider-slide {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 991px) {
  .slider-slide {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 600px) {
  .slider-slide {
    flex: 0 0 100%;
  }
}

.slider-item img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-top-left-radius: 1.1rem;
  border-top-right-radius: 1.1rem;
  display: block;
}

.slider-item .packagename {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 1rem 1rem 0.3rem;
  color: #121212;
  font-family: "Cuprum", Roboto, sans, sans-serif;
}

.slider-item p {
  margin: 0.4rem 1rem 0.4rem;
  /* font-size: 1rem; */
}

.slider-item p strong {
  display: block;
  margin-bottom: 0.4rem;
}

.slider-item .ab-personen {
  font-size: 1.2rem;
  margin: 0.2rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.slider-item .ab-personen::before {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.3rem;
  background-image: url('/img/people.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.slider-item .btn-orange {
  border: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: var(--primary-color);
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
  transition: 0.3s ease;
  display: flex;
  width: fit-content;
  text-transform: none;
  margin: 0.8rem 0 0 1rem;
}

.slider-item .btn-orange:hover {
  background-color: var(--primary-hover-color);
}

/* Textinhalte */
.slider-item h3 {
  font-size: 1.1rem;
  margin: 1rem 1rem 0.5rem;
  font-weight: 600;
}

.slider-item .btn-orange:hover {
  background-color: var(--primary-hover-color);
}

/* Preis-Badge oben links */
.slider-item::before {
  content: attr(data-preis);
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-color);
  font-size: 1.1rem;
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.6rem 0;
  font-weight: 600;
  z-index: 2;
}

/* Pfeile */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  color: var(--text-color);
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
  box-shadow: none;
  background: rgba(255, 255, 255, 1);
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255, 255, 255, 1);
}

.slider-prev {
  left: 0.5rem;
}

.slider-next {
  right: 0.5rem;
}

/* Dots */
.slider-dots {
  text-align: center;
  margin-top: 1.5rem;
}

.slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ddd;
  border-radius: 50%;
  transition: background 0.3s;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--primary-color);
}

/* TEXTBOXEN */
.content-sections {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin: 5rem auto;
  width: 85%;
  max-width: 170rem;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-image img {
  width: 100%;
  border-radius: 1.1rem;
  object-fit: cover;
}

.content-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: "Cuprum", sans-serif;
}

.content-text .highlight {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Accordeon */
.mega-accordion {
}

.accordion-item {
  border-bottom: 1px solid #eee;
  /* background: var(--secondary-color); */
  transition: background 0.3s ease;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 2rem;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--border-radius);
  background: var(--secondary-color);
}

.accordion-toggle:hover {
  background-color: var(--primary-hover-color);
  color: #fff;
}

.accordion-toggle .icon {
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.accordion-item.active .accordion-toggle .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: max-height 0.5s ease, padding 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 2rem;
}

.btn-orange {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition);
}

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


/* Mobile menu */
/* Burger Icon */
#toggle-icon {
    width: 2.5rem;
    height: 2rem;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    display: none;
    transition: transform 0.3s ease;
}

#toggle-icon span {
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    left: 0;
    border-radius: 5px;
    transition: all 0.4s ease-in-out;
}

/* Die drei Linien */
#toggle-icon span:nth-child(1) {
    top: 0;
}

#toggle-icon span:nth-child(2) {
    top: 0.85rem;
}

#toggle-icon span:nth-child(3) {
    top: 1.7rem;
}

/* GeÃ¶ffnet â€“ wird zum Kreuz */
#toggle-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0.85rem;
}

#toggle-icon.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

#toggle-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 0.85rem;
}

/* Fullscreen MenÃ¼ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #fbb247;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    /* padding-top: 6rem; */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: grid;
    gap: 0 1.5rem;
    list-style: none;
    padding: 0;
    width: 80%;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

.mobile-nav-links li {
    list-style: none;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.mobile-nav-links .social-mobile {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links .social-mobile a img {
    width: 3rem;
    margin: 2rem 0.8rem 0 0.8rem;
    filter: invert(1);
}

@media only screen and (max-width: 64.062rem) {
  p.teaser-1 {
      font-size: 4.5rem;
      width: 68%;
  }
  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #content .slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 88%;
    margin: 0 auto;
  }
  .slider-prev {
    left: -1.5rem;
  }
  
  .slider-next {
    right: -1.5rem;
  }
  #toggle-icon {
      display: block;
  }

  .header-center {
      display: none;
  }
}

@media only screen and (max-width: 50.062rem) {
  .content-sections {
      width: 100%;
  }
  p.teaser-1 {
      font-size: 3.5rem;
  }
  #content .slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 85%;
    margin: 0 auto;
  }
  .slider-prev {
    left: -1rem;
  }
  
  .slider-next {
    right: -1rem;
  }
}

@media only screen and (max-width: 40.062rem) {
  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
}
  .content-sections {
    width: 100%;
}
  .strokes {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}
  .strokes::before, .strokes::after {
    width: 25px;
}
  .package-nav {
    display: none;
  }
  p.teaser-1 {
      width: 90%;
  }
  p.teaser-2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  .slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 75%;
    margin: 0 auto;
  }
  .header-logo img {
    height: 4rem;
  }
}

@media only screen and (max-width: 60.062rem) and (orientation: landscape) {
  .mobile-nav-links a {
        font-size: 1.4rem;
    }

    .mobile-nav-links .social-mobile {
        margin: 0;
    }

    .mobile-nav-links .social-mobile a img {
        width: 2.4rem;
        margin: 0;
    }

    .mobile-nav-overlay {
        padding-top: 0;
    }
    .header-logo img {
        height: 4rem;
    }
    p.teaser-1 {
        font-size: 2.5rem;
        width: 100%;
    }
    p.teaser-2 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }
    .mobile-nav-links {
      grid-template-columns: repeat(2, 1fr);
    }
}