:root {
    --primary-color: #6C7B86;
    --secondary-color: #E2E7AA;
    --font-size: 18px;
    --font-family: 'Century-Gothic'
}

@font-face {
    font-family: 'Century-Gothic';
    src: url('fonts/Century-Gothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century-Gothic';
    src: url('fonts/Century-Gothic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    height: 200vh; /* Damit das Scrollen sichtbar wird */
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative; /* Stellt sicher, dass nichts drüber liegt */
    z-index: 100; /* Höher als andere Elemente setzen */
    background-color: white; /* Falls nötig, Hintergrund definieren */
}

/* Sicherstellen, dass die Navigation korrekt funktioniert */
nav {
    margin-top: 10px;
    z-index: 200; /* Höher als überlagernde Elemente */
    position: relative;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block; /* Stellt sicher, dass der gesamte Bereich klickbar ist */
    text-decoration: none;
    color: var(--primary-color);
    font-size: 16px;
    font-family: var(--font-family), sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 10px 15px; /* Vergrößert den klickbaren Bereich */
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Mobile Menü-Styling */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-color);
    top: 15px;
    right: 15px;
    z-index: 300;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position:fixed;
}

/* Hamburger Symbol */
.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s, opacity 0.3s;
}


p {
    font-size: larger;
    color: var(--primary-color);
    font-family: var(--font-family), sans-serif;
}

h1, h2 {
    font-family: var(--font-family), sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 35px;
    color: var(--primary-color);
    font-weight: bold;
}

.logo-container {
    margin-top: 20px;
    margin-bottom: 10px; /* Abstand zur Navigation */
}

.logo-container img {
    max-width: 250px; /* Passe die Größe des Logos an */
    height: auto;
}

.overlay-text {
    position: absolute;
    top: 10%;
    left: 10%;
    font-family: var(--font-family);
    color: var(--primary-color);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.overlay-text h1 {
    margin: 5px 0;
    background: var(--secondary-color);
    padding: 3px;
    max-width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    visibility: hidden;
    font-family: 'MyriadPro', sans-serif;
    animation: typing 0.5s steps(25, end) forwards;
    font-weight: normal;
    animation-delay: 1s;
}

.overlay-text h1:nth-child(2) { animation-delay: 1.55s; }
.overlay-text h1:nth-child(3) { animation-delay: 2.1s; }

/* Keyframes für den Schreib-Effekt */
@keyframes typing {
    from {
        width: 0;
        visibility: visible;
    }
    to {
        width: 100%;
        visibility: visible;
    }
}

#main-image {
    position: relative;
    width: 100%;
    height: 700px;
    background: url('img/main_image.jpeg') no-repeat center center/cover;
}


.section {
    padding: 30px 20px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#concept{
    max-width: 1500px;
    text-align: center;
}

#location {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    text-align: center;
}

#location p {
    color: white;
}

#location h1 {
    color: var(--secondary-color);
}

.item_halfSize {
    width: 50%;  
}

#location_left {
    padding: 20px;
    padding-right: 50px;   
    text-align: left; 
}

#location_right {
    margin-top: -30px;
    margin-bottom: -35px;
    margin-right: -30px;
}

.location_text {
    color: white;
    text-align: justify !important;
}

.location_maps {
    width: 100%;
    height: 600px;
    border: 0;
}

.underline {
    width: 150px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 4px auto 30px auto;
    margin-top: -10px;
}

.circle-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    margin: auto;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept_content {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.concept_item {
    width: 33%;
    padding: 20px;
}

.concept_item_image {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.concept_image_text {
    padding: 20px;
    color: var(--primary-color);
}

#space_content {
    max-width: 1500px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.space_text {
    text-align: justify;
}

.slideshow-container {
    width: 80%;
    max-height: 450px;
    height: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bilder */
.slide {
    width: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

.active {
    opacity: 1;
    position: relative;
}

/* Vor- und Zurück-Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
}

.prev { left: 10px; }

.next { right: 10px; }

/* Buttons nur beim Hover anzeigen */
.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    display: flex;
}

/* Dots (Punkte zur Navigation) */
.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--secondary-color);
}

#prices {
    background-color: var(--primary-color);
}

#prices h1, #prices h2 {
    color: var(--secondary-color);
}

#price_subsection {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#price_subsection  p{
    color: white;
}

#price_subsection b {
    color: var(--secondary-color);
}

.price_content {
    padding: 20px;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center; 
}

.price_item_image {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.price_item_text {
    padding: 20px 50px;
    text-align: center;
}

.price_item_text p {
    color: white;
}

.about_us_image {
    width: 50%;
    height: auto
    
}

#contact {
    text-align: center;
    background-color: var(--primary-color);
    padding: 20px;
}

#contact h1 {
    color: var(--secondary-color);
}

#contact_content {
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.description {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    background-color: #ddd;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
}

.input-group label {
    font-size: 1rem;
    color: var(--primary-color);
    font-family: var(--font-family), sans-serif;
}

.input-group input,
.input-group textarea {
    border: none;
    background: none;
    font-size: 1rem;
    width: 100%;
    outline: none;
    margin-top: 5px;
    font-family: var(--font-family), sans-serif;
}

#form button {
    background-color: #f5f5b5;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    width: 150px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.slideshow-container button:hover {
    background-color: var(--secondary-color);
}

.stripe {
    position: fixed;
    background-color: var(--secondary-color);
}

.center-stripe {
    width: 60%;
    height: 400px;
    transform: translateY(1100px);
    text-align: right;
    right: 0;
}

.left-stripe {
    width: 40%;
    height: 900px;
    left: 10%; /* Setzt die linke Position */
    transform: translateY(1300px);
}

.right-stripe {
    width: 30%;
    height: 850px;
    right: 15%; /* Setzt die rechte Position */
    transform: translateY(1900px);
}

.content {
    z-index: 2; /* Über den Streifen */
    position: relative
}

.footer {
    height: 150px;
}

.logo_container_footer {
    margin-top: 50px; 
    text-align: center;
}

.logo_container_footer img {
    max-width: 250px; /* Passe die Größe des Logos an */
    height: auto;
}

.footer-text {
    font-size: 14px;
    color: var(--primary-color);
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 1024px) {
    p {
        font-size: medium;
    }
    h1 {
        font-size: 30px;
    }

    #main-image {
        height: 500px;
    }

    .logo-container {
        margin-top: 15px;
        margin-bottom: 8px; /* Abstand zur Navigation */
    }
    
    .logo-container img {
        max-width: 200px; /* Passe die Größe des Logos an */
        height: auto;
    }
    
    .overlay-text {
        top: 8%;
        left: 8%;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    header {
        padding: 10px;
    }
    
    /* Sicherstellen, dass die Navigation korrekt funktioniert */
    nav {
        margin-top: 5px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 12px;
        padding: 7px 12px; /* Vergrößert den klickbaren Bereich */
    }

    #location_left {
        padding: 10px;
        padding-right: 50px;    
    }
    
    #location_right {
        margin-top: -30px;
        margin-bottom: -35px;
        margin-right: -35px;
    }
    
    .location_maps {
        height: 400px;
    }
    
    .underline {
        width: 100px;
    }
    
    .circle-image {
        width: 180px;
        height: 180px;
    }
    .concept_content {
        padding: 10px;
    }
    
    .concept_item {
        width: 33%;
        padding:10px;
    }
    
    .slideshow-container {
        width: 90%;
        max-height: 400px;
    }
    
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 3px;
    }
    
    .price_content {
        padding: 10px;
    }

    .price_item_text {
        padding: 10px 20px;
    }
    
    #contact {
        padding: 10px;
    }

    .about_us_image {
        width: 70%;
    }
    
    .description {
        margin-bottom: 20px;
    }
    
    form {
        gap: 10px;
    }
    
    #contact_content button {
        width: 120px;
        height: 40px;
        margin-top: 10px;
    }

    .stripe {
        position: fixed;
        background-color: var(--secondary-color);
    }
    
    .center-stripe {
        width: 50%;
        height: 300px;
        transform: translateY(900px);
    }
    
    .left-stripe {
        width: 40%;
        height: 700px;
        left: 10%; /* Setzt die linke Position */
        transform: translateY(1900px);
    }
    
    .right-stripe {
        width: 30%;
        height: 750px;
        right: 15%; /* Setzt die rechte Position */
        transform: translateY(3200px);
    }
    
    .footer {
        height: 100px;
    }
    
    .logo_container_footer {
        margin-top: 30px;
    }
    
    .logo_container_footer img {
        max-width: 200px; /* Passe die Größe des Logos an */
    }


}

@media (max-width: 768px) {
    header {
        padding: 5px;
    }
    
    /* Verstecke die normale Navigation */
    nav ul {
        display: none;
        flex-direction: column;
        position:absolute;
        width: 200px;
    }

    /* Zeige das Menü, wenn es aktiv ist */
    nav ul.active {
        display: flex;
    }

    nav ul li {
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    /* Zeige den Hamburger-Button */
    .menu-toggle {
        display: flex;
    }

    p {
        font-size:medium;
    }
    
    h1, h2 {
        letter-spacing: 0.5px;
    }
    
    h1 {
        font-size: 25px;
    }
    
    h2 {
        font-size: 20px;
    }

    .logo-container {
        margin-top: 10px;
        margin-bottom: 5px; /* Abstand zur Navigation */
    }
    
    .logo-container img {
        max-width: 150px; /* Passe die Größe des Logos an */        
    }
    
    .overlay-text {
        top: 5%;
        left: 5%;
    }

    #main-image {
        height: 300px;
    }
    
    .item_halfSize {
        width: 100%; 
    }
    
    #location {
        display: block;
    }

    #location_left {
        padding: 10px;
        padding-right: 0px;    
        padding-bottom: 20px;
    }
    
    #location_right {
        margin-right: -30px;
        margin-bottom: 0px;
        margin-top: 0px;
    }
    
    .location_maps {
        height: 300px;
    }
    
    .underline {
        width: 80px;
    }
    
    .circle-image {
        width: 150px;
        height: 150px;
    }
    .concept_content {
        display: block;
        padding: 10px;
    }
    
    .concept_item {
        width: 100%;
        padding: 10px;
    }
    
    .slideshow-container {
        width: 80%;
        max-height: 300px;
    }

    .active {
        opacity: 1;
        position: relative;
    }

    .price_content {
        padding: 10px;
        display: block;
    }

    #space_content {
        display: block;
    }

    .price_item_text {
        padding: 10px 20px;
    }
    
    .about_us_image {
        width: 60%;    
    }
    
    #contact {
        padding: 10px;
    }
    
    .description {
        margin-bottom: 10px;
    }
    
    form {
        gap: 10px;
    }
    
    .input-group {
        padding: 5px;
        border-radius: 8px;
    }
    
    #form button {
        font-size: 12px;
        padding: 8px;
        width: 100px;
        height: 40px;
        margin-top: 10px;
    }
    
    .center-stripe {
        width: 60%;
        height: 400px;
        transform: translateY(1100px);
        text-align: right;
        right: 0;
    }
    
    .left-stripe {
        width: 40%;
        height: 850px;
        left: 5%; /* Setzt die linke Position */
        transform: translateY(1300px);
    }
    
    .right-stripe {
        width: 35%;
        height: 750px;
        transform: translateY(1900px);
        right: 10%
    }
    
    .footer {
        height: 100px;
    }
    
    .logo_container_footer {
        margin-top: 20px;
    }
    
    .logo_container_footer img {
        max-width: 150px; /* Passe die Größe des Logos an */
    }
}

/* Animation für das Hamburger-Icon */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}