/* Define Spektral font face */
@font-face {
    font-family: 'Spektral';
    src: url('asset/Spectral/Spectral-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Spektral';
    src: url('asset/Spektral/Spektral-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }

  @font-face {
    font-family: 'Karla';
    src: url('asset/Karla/static/Karla-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Karla';
    src: url('asset/Karla/static/Karla-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
  
  /* Define Open Sans font face */
  @font-face {
    font-family: 'Open Sans';
    src: url('asset/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Open Sans';
    src: url('asset/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }


body {
    margin: auto;
    padding: 0;
    box-sizing: border-box;
    max-width: 75rem;
    background: #000;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #f2f2f2;
    font-family: 'Karla';
    font-weight: 400;
    font-style: normal;
}


/* Apply Spektral to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans';
    font-weight: 600;
    font-style: normal;
  }
  h2 {
    font-size: 120%;
  }
  h3 {
    font-size: 110%;
  }
  h4 {
    font-size: 100%;
  }
  
  /* Apply Karla to all paragraphs */
  p {
    font-weight: 400;
    font-style: normal;
  }


body a {
    color: #4CAF50; /* Linkfarbe */
    text-decoration: none;
    transition: color 0.3s;
}





header {
    background: #333;
    border-bottom: 1px solid #000;
    color: white;
    padding: 1rem;
}



.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(51, 51, 51, 0.9);
    max-width: 73rem;
    width: 100%;
    z-index: 10;
}

header.scrolled .header-content {
	height: 20px;
	transition: transform 0.5s ease-in-out;
}





nav {
    position: relative;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 3px 0;
}











.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #f2f2f2;
}
.section {
    flex: 1 1 45%;
    box-sizing: border-box;
    padding: 1rem;
    background: #333;
}

.section1, .section4, .section5 {
    padding: 0rem;
    margin: 0rem;

}

.section1, .section2, footer {
    margin: 1rem auto;
}

.section3, .section4 {
    margin: 0px auto;
}

.section5, .section6, .ImpDat {
    margin: 1rem auto;
}
.sliderH2 {
    padding: 0 1rem;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #333;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}
.slider-item img {
    width: 100%;
    vertical-align: middle;
}
.caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    text-align: center;
    padding: 0.4rem;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    cursor: pointer;
    z-index: 1000;
}
.left-arrow {
    left: 0;
}
.right-arrow {
    right: 0;
}




/* Animation for the 360-degree rotation */
@keyframes rotate360 {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    transition: transform 1s ease-in-out; /* Add transition for smooth rotation */
}

.rotate {
    animation: rotate360 1s;
}




footer {
    background: #333;
    color: #f2f2fe;
    padding: 1rem;
    display: flex;
}
.footer-section {
    margin-bottom: 1rem;
    width: 50%;
}


/* Grundlegende Stile für das Formular */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
    padding: 1rem 0 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.contact-form label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    padding: 0 5px;
    transition: 0.3s;
    pointer-events: none;
    color: #aaa;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    background: transparent; /* Transparentes Eingabefeld */
    color: #f2f2f2f2;
    transition: border-color 0.3s;
}

.inputfeld {
    width: calc(100% - 2rem) !Important;
    font-size: 1rem;
}
.inputCheckbox {
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
    color: transparent; /* Platzhalter transparent machen */
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #007BFF;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form select:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label,
.contact-form select:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    color: #f2f2f2;
    font-size: 1rem;
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

.contact-form button {
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    background: #007BFF;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #0056b3;
}



.section img {
    width: 100%;
    height: auto;
    display: block;
}



.small-container {
    display: flex;
    align-items: center;  
}

.checkbox-section {
    flex: 0 0 auto;
    margin-right: 0.5rem;
}

.text-section {
    flex: 1;
}

.text-section p {
    margin: 0;
}


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

.green-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.green-button:hover {
    background-color: #45a049;
}


.footer-nav {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    font-weight: bold;
}

.footer-nav a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-nav a::before {
    content: "➔ ";
}

.footer-nav a:hover {
    text-decoration: none;
}


.footer-nav a {
    color: #4CAF50;
    text-decoration: none;
}

ul li {
	display: inline flow-root list-item;
    margin: 0 10px;
}

.section7 {
    order: 1 !important;
    flex: 100%;
}

.section1 {
    order: 2;
}
.section2 {
    order: 3;
}
.section3 {
    order: 4;
}
.section4 {
    order: 5;
}
.section5 {
    order: 6;
}
.section6 {
    order: 7;
}


#consent-prompt {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #555;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Sicherstellen, dass es über anderen Inhalten liegt */
  }
  
  #consent-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
  }
  
  #consent-button:hover {
    background-color: #45a049;
  }
  
  #google-reviews-container {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #333;
  }


/* Responsives Design */

@media (max-width: 768px) {

    body {

        background: #000;
        font-size: 1.0rem;
        line-height: 1.5;
        color: #f2f2f2;

    }


    header.scrolled .header-content {
        padding: 0 30px 0 0;
    
    }
    .nav-open .hamburger .bar {
        margin: 0;
    }

    header h1 {
        font-size: 140%;
    }

    .section, .footer-section {
        flex: 100%;
        width: 100% !Important;
    }

    footer {
        display: block;
    }

    .section7 {
        order: 1 !important;
    }
    .section1 {
        order: 2;
    }
    .section2 {
        order: 3;
    }
    .section3 {
        order: 5;
    }
    .section4 {
        order: 4;
    }
    .section5 {
        order: 6;
    }
    .section6 {
        order: 7;
    }

    .contact-form {
        padding: 0;
    }


    
    .section1, .section2, footer {
        margin: 1px auto;
    }
    
    .section3, .section4 {
        margin: 0px auto;
    }
    
    .section5, .section6, .ImpDat {
        margin: 1px auto;
    }


    .nav-list.active {
        display: flex;
        position:fixed;
        left: 0;
        top: 60px;
        border-bottom: 1px #000 solid;
        max-width: 100%;
    }
   .scrolled .nav-list.active {
        top: 52px;
    }
    .nav-list li {
        margin: 10px 0;
        text-align: right;
        padding-right: 20px;
    }

    .hamburger {
        display: flex;
    }
    .header-content {
        transition: padding 0.3s ease;
        height: 30px;
    }
   header  nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        padding: 10px 0;
    }
    header .nav-open nav ul {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-open nav ul {
        display: flex;
    }

    body.nav-open header {
        margin-bottom: 130px;
        border-bottom: 0px;
    }

    body.nav-open #contentContainer {
        margin-top: 100px;
    }

    .nav-open .bar2 {
        display: none;
    }
    .nav-open .bar3 {
        transform: rotate(90deg);
    }
    .nav-open .bar {
        margin: 0;
    }
    .nav-open .hamburger {
        margin-top: 10px;
    }
    .nav-open .scrolled .nav{
    margin-top: -10px;
    }
}



    

