body {
    background-color: #d6dee3;

    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

#logo {
    height: 200px;
    width: auto;
}

#logo2 {
    height: 75px;
    width: auto;
    left: 0;
    display: none;
}

/*-------------------------------------------------*/

.navfull {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: sticky;
    z-index: 10000;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    letter-spacing: 2px;
}

.navfull .full-nav {
    color: #152c52;
    font-size: 1em;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    margin: 5px;
}

.navfull .full-nav:hover {
    background-color: #ffaf2f;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    position: relative;
}

.nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #285268;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 10000;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: white;
    color: #1b3d49;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-menu ul li {
    margin: 20px 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #006699;
    font-size: 1.2em;
}

.close-nav {
    background: none;
    border: none;
    font-size: 2em;
    color: #006699;
    cursor: pointer;
    align-self: flex-end;
    padding: 10px;
    margin: 10px;
}

.nav-menu.open {
    transform: translateX(0);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    color: black;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
}

ul li a {
    color: #006699;
    text-decoration: none;
    font-weight: bold;
}



/*--------------------------------------------------------*/

.container {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vorstellung {
    display: flex;
}

.text {
    margin: 50px;

}

.campersplit {
    display: flex;
    width: 80%;
}

.camperbild {
    width: 200px;
    border-radius: 10px;
}

.campertext {
    display: flex;
    align-items: center;
    margin-left: 30px;
    text-align: left;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    grid-gap: 10px;
    padding: 30px;
}

.grid-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


#inhalt {
    max-width: 800px;
    margin: 0 auto;
}

.headline h1 {
    font-size: 3em;
    color: #285268;
}

.headline {
    padding: 30px;
}

.headline h2 {
    font-size: 1.5em;
    color: #285268;
    margin-top: 10px;
    margin-bottom: 20px;
}

.cta-button {
    padding: 12px 24px;
    background-color: #004d40;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #ffaf2f;
    color: black;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #285268;
    font-size: 1.5em;
}

.liste {
    background: lightgray;
}


footer {
    background-color: #285268;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 20px 0;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline;
}

.first-slideshow {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    /* Abstand zwischen den Slideshows */
}

.slides {
    display: none;
    width: 100%;
}

.stageteaser {
    height: 400px;
    /* Höhe für die erste Slideshow */
}

.slideshow {
    height: 250px;
    /* Höhe für die zweite Slideshow */
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    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.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


#teaserbutton {
    position: absolute;
    z-index: 9999;
    top: 60%;
    right: 20%;
    padding: 12px 24px;
    background-color: #ffaf2f;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}


.teaserschrift {
    position: absolute;
    z-index: 9999;
    top: 20%;
    left: 10%;
    color: #285268;
    font-size: x-large;
}

.teaserschriftprodukte {
    position: absolute;
    z-index: 9999;
    top: 5%;
    right: 3%;
    color: #d6dee3;
    font-size: large;
}

.teaserschriftprodukteh2 {
    color: #d6dee3;
}

.slides:first-child {
    display: block;
}

/*________________________________________________________*/




.help-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.help-button:hover {
    background: #e68900;
}

/* Pop-up Fenster */
.help-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    width: 250px;
    z-index: 1000;
}

.help-popup a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background 0.2s;
}

.help-popup a:hover {
    background: #f1f1f1;
}

.help-popup .close-btn {
    text-align: right;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

/*________________________________________________________________________*/


/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
}

/* Container */
.popup-container {
  background: #d6dee3;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #285268;
}

/* Content Layout */
.popup-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.popup-left {
  flex: 1;
}

.popup-left h2 {
  color: #285268;
  margin-bottom: 10px;
}

.popup-left p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Form */
.popup-form input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Gill Sans', Calibri, sans-serif;
}

.popup-form button {
  background: #004d40;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-form button:hover {
  background: #ffaf2f;
  color: #004d40;
}

/* Right Image */
.popup-right img {
  max-width: 250px;
  border-radius: 8px;
  margin: 20px;
}

.picbig {
  display: block;
}
.picdev {
  display: none;
}


  #popupsmall{
    display: flex;
  }


/* Pfeile und Slideshow für Bildschirme bis 399px */
@media (max-width: 480px) {
    html body {
        max-width: 480px;
        overflow-x: hidden;
    }

    .ctasml {
        width: 90%;
        height: auto;
    }

    .slideshow {
        display: block;
    }

    .stageteaser {
        display: none;
    }

    .devzuruck,
    .devnachstes {
        cursor: pointer;
        position: absolute;
        top: 30%;
        width: auto;
        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.5);
    }

    .devnachstes {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .teaserschriftdev {
        position: absolute;
        z-index: 9990;
        top: 5%;
        left: 10%;
        color: #285268;
        font-size: medium;
    }

    .second-slideshow {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 20px;
        /* Abstand zwischen den Slideshows */
    }

    .headline h1 {
        font-size: 2em;
    }

    .headline h2 {
        font-size: 1em;
    }

    nav a {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    .cta-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    section h2 {
        font-size: 1em;
    }

    .popup-container{
        max-width: 300px;
        margin-top: 30px;
    }

    .popup-left{
        max-width: 240px;
    }

      .popup-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .popup-right img {
    max-width: 200px;
    margin-top: 15px;
  }
  .picbig {
      display: none !important;
  }

  .picdev {
      display: block !important;
  }

  #popupsmall{
    display: block;
  }


}

@media (min-width: 481px) {
    .slideshow {
        display: none;
        /* Mobilen Slider ausblenden */
    }

    .stageteaser {
        display: block;
        /* Großen Slider anzeigen */
    }
}


/* Responsive Styles */
@media (max-width: 768px) {

    .headline h1 {
        font-size: 2.5em;
    }

    .headline h2 {
        font-size: 1.2em;
    }

    nav a {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    section h2 {
        font-size: 1.2em;
    }

    .popupdiv {
        display: Block;
    }
}


@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .close-nav {
        display: none;
    }

    .camperbild {
        display: none;
    }
}

@media (max-width: 1023px) {
    .navfull {
        display: none;
    }

    .campersplit {
        display: flex;
        width: 100%;
    }

    #camperbild {
        width: 150px;
        border-radius: 10px;
        margin: 10px;
    }

    .grid-container {
        display: none;
    }

    .vorstellung {
        display: block;
    }
}