/*================GOOGLE FONTS================*/
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Montserrat:wght@100..900&display=swap');

/*================VARIABLES CSSM================*/
:root {
    --header-height: 3.5rem;
}

/*================COLORS================*/

:root {
    --first-color: 	hsl(284, 47%, 35%);
    --second-color: hsl(349, 27%, 84%);
    --third-color:  hsl(207, 40%, 80%);
     --title-color: hsl(0, 0%, 12%);
    --text-color: hsl(0, 0%, 56%);
    --black-color: hsl(0, 0%, 4%);
    --white-color: hsl(0, 0%, 100%);
    --body-color: hsl(0, 0%, 95%);
}



/*================FONT AND TYPOGRAPHY================*/
:root {
    --body-font: 'Montserrat', sans-serif;
    --biggest-font-size: 2.25rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
}

/*================FONT WEIGHTS================*/
:root {
    --font-regular: 400;
    --font-semi-bold: 600;
    --font-bold: 700;
}

/*================Z INDEX================*/
:root {
    --z-tooltop: 10;
    --z-fixed: 100;
}

/*================RESPONSIVE TYPOGRAPHIE================*/
@media screen and (min-width: 1150px) {
    :root {
        --biggest-font-size: 3rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

/*================BASE================*/
* {
    box-sizing: border-box;
    margin: 0rem;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--title-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*================REUSABLE CSS CLASSES================*/

.container {
    
    max-width: 1220px;
    margin-inline: 10rem;
}

.main {
    overflow: hidden;
}

/*================HEADER & NAV================*/
.header {
    position: fixed;
    width: 100%;
    top:0;
    left:0;
    background-color: var(--body-color);
    z-index: var(--z-fixed);
    transition: box-shadow .4s;
}

.nav{
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav__logo {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-size: var(--h2-font-size);
    padding-left: 2rem;
}

.nav__close,
.nav__toggle {
    display: flex;
    font-size: 1.5rem;
    cursor: pointer;
}


.back-button {
    position: fixed; /* Button bleibt sichtbar */
    top: 20px; /* Abstand vom oberen Rand */
    left: 750px; /* Abstand vom linken Rand */
    padding: 10px 20px;
    background-color: #5386c400; /* Hintergrundfarbe */
    color: #040404; /* Textfarbe */
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000; /* Über anderen Elementen */
}

.back-button:hover {
    background-color: #e3e3e4; /* Dunklere Farbe beim Hover */
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
}
/* Navigatnion for mobile devices */
@media screen and (max-width: 1023px) {
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--black-color);
        padding: 7rem 1.5rem 2.5rem 4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left .4s;
    }
}


.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    color: var(--white-color);
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    
}

.nav__link:hover {
    text-decoration: underline;
}

.nav-close {
    position: absolute;
    top: 1.15rem;
    right: 1.5rem;
    color: var(--white-color);
    font-size: 2rem;
}

.nav__social {
    display: flex;
    column-gap: .5rem;
    align-self: flex-end;
}

.nav__social-link {
    color: var(--white-color);
    font-size: 1.5rem;
}
/*show menu*/
.show-menu {
    left: 0;
}


/*Background header*/
.bg-header {
    box-shadow: 0 2px 20px hsla(0, 0%, 0%, 0.5);
}


/*================HOME================*/
.home__container,
.home__data,
.home__article,
.home__images,
.home__footer {
    display: grid;

}

.home__container {
    padding-block:7.5rem 2.5rem ;
    row-gap: 1.5rem;
}

.home__data {
        text-align: center;
}

.home__subtitle {
    font-size: var(--small-font-size);

}

.home__titles {
    margin-block:  .5rem 2rem ;
    height: auto;
    margin-left: 5rem;
}

.home__title{
    font-size: 2.5rem; /* Größere Schriftgröße für Titel */
    line-height: 1.4; /* Bessere Lesbarkeit */
    text-align: center; /* Text als Fließtext ausrichten */
    margin-bottom: 1rem; /* Abstand unter dem Titel */
    margin-left: 5rem;
    margin-left: 3rem;
    transform: translateY(10rem);
    opacity: 0;
    transition: transform .4s .2s, opacity .4s;
}

.gallery img {
    width: 200px;
    cursor: pointer;
    margin: 5px;
    /*float: left;*/
    transition: transform 0.3s ease;
    display: inline-block;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    text-align: center;
    padding-top: 50px;
}

.lightbox img {
    max-width: 40%;
    max-height: 50%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox button {
    position: absolute;
    top: 50%;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }
.home__subtitle,
.home__data p {
    font-size: 1.2rem; /* Größere Schriftgröße für Fließtext */
    line-height: 1.6; /* Angenehme Zeilenhöhe */
    
    color: var(--text-color); /* Standardfarbe für Text */
    margin-bottom: 2rem; /* Abstand unter dem Text */
    margin-left: 5rem;
    margin-right: 5rem;
}

.home__button,
.home__social,
.home__controls,
.home__navigation {
    display: flex;
}

.home__button{
    justify-self: center;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.home__button i {
    font-weight: initial;
    font-size: 1.25rem;
    transition: transform .4s;
}

.home__button:hover i {
    transform: translateX(.5rem);
}

.home__article{
    width: 570px; /* statt 270px */
    place-items: center;
    padding-block: 10rem;
}

.home__card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

.home__title {
    font-size: 2rem;
    line-height: 1.6;
    margin: 1rem auto;
    margin-left: 5rem;
    margin-right: 5rem;
    padding: 0;
}

.home__subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-left: 0 5rem;
    padding: 0;
}

.home__data p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1rem auto;
    
}

.carousel-video {
    width: 20%;
    height: auto;
    object-fit: cover;
}

.gallery img {
    width: 250px;
    height:250px;
    object-fit: cover;
    cursor: pointer;
    margin: 5px;}


.home__circle {
    margin-top: -70px;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    opacity: 0; /* Startwert */
    transition: opacity 0.6s ease-in-out;  
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.home__circle-1{
    background-color: var(--first-color);
}

.home__circle-2{
    background-color: var(--second-color);
}

.home__circle-3{
    background-color: var(--third-color);
}

.home__img-1 {
    position: absolute;
    width: 800px;
    height: auto;
    filter: drop-shadow(0 5px 12px hsla(0, 0%, 0%, 0.3)); /* Korrekte Syntax */
    bottom: -1rem;
    left: 6rem;
    transition: transform .7s .1s cubic-bezier(.2, .9, .3, 1.3), opacity .3s;
}
 
.home__footer {
    row-gap: 3rem;
}

.home__social {
    justify-content: center;
    font-size: .5rem;
}

.home__social-link {
    color: var(--title-color);
    font-size: 1.5rem;
}

.home__controls {
    display: flex ;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
}


/* swiper class */
.swiper {
    margin-inline: initial
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

.swiper-pagination {
    font-size: 0; /* Versteckt die Zahlen */
}

/* Styling für die Punkte der Pagination */
.swiper-pagination-bullet {
    background-color: #000; /* Farbe der Punkte */
    width: 10px; /* Größe der Punkte */
    height: 10px;
    border-radius: 50%; /* Runde Punkte */
    margin: 0 5px; /* Abstand zwischen den Punkten */
}

/* Optional: Aktiver Punkt */
.swiper-pagination-bullet-active {
    background-color: #ff6600; /* Farbe des aktiven Punktes */
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    margin-top: 25rem;
    align-items: flex-end;
    width: initial;
    height: initial;
    font-size: 1.25rem;
    padding: 3px 20px;
    border-radius: 15%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

.swiper-button-prev{
    background-color:var(--white-color);
    color: var(--black-color);
}

.swiper-button-next{
    background-color:var(--white-color);
    color: var(--black-color);
}
/* swiper animation */
.swiper-slide-active .home__title{
    transform: translateY(0);
    opacity: 1;
}

.swiper-slide-active .home__circle {
    opacity: 1; /* Zielwert */
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--text-color); /* Ändert die Hintergrundfarbe */
    color: var(--white-color); /* Ändert die Textfarbe */
    transform: scale(1.1); /* Vergrößert den Button leicht */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Fügt einen Schatten hinzu */
    transition: all 0.3s ease; /* Weicher Übergang */
}

/*================ SCROLL BAR================*/
::-webkit-scrollbar {
    width: .6rem;
    background-color: hsl(0, 0%, 70%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 60%);
}
/*================BREAKPOINTS================*/
@media screen and (max-width: 1150px) {
    .home__container {
        display: grid;
        grid-template-columns: 1fr; /* Eine Spalte */
        grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
        row-gap: 2rem; /* Abstand zwischen den Zeilen */
    }

    .nav__logo {
        font-size: 1.5rem; /* Größere Schriftgröße für Logo */
        padding: 0rem; /* Abstand von links */
    }

    .container {
        max-width: 2500px; /* Breitere Container-Breite */
        margin-inline: 2rem; /* Zentrierung */
    }

    .back-button {
        position: fixed; /* Button bleibt sichtbar */
        top: 5px; /* Abstand vom oberen Rand */
        left: 750px; /* Abstand vom linken Rand */
        padding: 10px 20px;
        background-color: #5386c400; /* Hintergrundfarbe */
        color: #040404; /* Textfarbe */
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.2s ease;
        z-index: 1000; /* Über anderen Elementen */
    }

    .home__article {
        grid-row: 1; /* Artikel bleibt oben */
    }

    .home__images {
        grid-row: 2; /* Bilder kommen unter den Artikel */
    }
    /*.home__container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
        grid-template-rows: auto; /* Automatische Zeilenhöhe 
        align-items: center; /* Vertikale Zentrierung 
        justify-content: center; /* Horizontale Zentrierung 
        column-gap: 3rem; /* Abstand zwischen Spalten 
        row-gap: 4rem; /* Abstand zwischen Zeilen 
        padding-top: 10rem; /* Abstand nach oben */
    

    .home__title {
        font-size: 3.5rem; /* Größere Schriftgröße für Titel */
        line-height: 1.2; /* Bessere Lesbarkeit */
    }

    .home__subtitle {
        font-size: 1.5rem;
        line-height: 1.6;
        
        padding: 0;
    }
    
    .home__data p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin: 1rem auto;
        margin-left: 5rem;
        margin-right: 5rem;
    }
    

    .home__circle
    {
        width: 900px; /* Größerer Kreis */
        height: 900px;
    }

    .home__img-1 {
        width: 550px; /* Größeres Bild */
        bottom: 0;
        left: 10rem; /* Positionierung anpassen */
    }

    .swiper-button-prev,
    .swiper-button-next {
        font-size: 1.5rem; /* Größere Pfeile */
        padding: 10px 20px; /* Mehr Innenabstand */
        width: 50px; /* Breitere Pfeile */
        height: 50px; /* Höhere Pfeile */
    }

    .swiper-button-prev {
        left: 30px; /* Abstand vom linken Rand */
    }

    .swiper-button-next {
        right: 30px; /* Abstand vom rechten Rand */
    }

    .home__footer {
        margin-inline: 2rem; /* Mehr Abstand an den Seiten */
        grid-template-columns: repeat(3, max-content); /* Drei Spalten */
        justify-content: space-between; /* Elemente gleichmäßig verteilen */
    }

    .nav__close {
        display: none; /* Close-Button ausblenden */
    }

    #lightbox img {
        max-width: 45%;
        text-align: center;
    }
}

    @media screen and (max-width: 1023px) {
        .home__container {
        display: grid;
        grid-template-columns: 1fr; /* Eine Spalte */
        grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
        row-gap: 2rem; /* Abstand zwischen den Zeilen */
    }
    
    .nav__logo {
        font-size: 1.5rem; /* Größere Schriftgröße für Logo */
        padding: 0rem; /* Abstand von links */
    }
    
    .container {
        max-width: 2500px; /* Breitere Container-Breite */
        margin-inline: 2rem; /* Zentrierung */
    }
    
    .back-button {
        position: fixed; /* Button bleibt sichtbar */
        top: 5px; /* Abstand vom oberen Rand */
        left: 250px; /* Abstand vom linken Rand */
        padding: 10px 20px;
        background-color: #5386c400; /* Hintergrundfarbe */
        color: #040404; /* Textfarbe */
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.2s ease;
        z-index: 1000; /* Über anderen Elementen */
    }
    
    .home__article {
        grid-row: 1; /* Artikel bleibt oben */
    }
    
    .home__images {
        grid-row: 2; /* Bilder kommen unter den Artikel */
    }
    /*.home__container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
        grid-template-rows: auto; /* Automatische Zeilenhöhe 
        align-items: center; /* Vertikale Zentrierung 
        justify-content: center; /* Horizontale Zentrierung 
        column-gap: 3rem; /* Abstand zwischen Spalten 
        row-gap: 4rem; /* Abstand zwischen Zeilen 
        padding-top: 10rem; /* Abstand nach oben */
    
    
    .home__title {
        font-size: 3.5rem; /* Größere Schriftgröße für Titel */
        line-height: 1.2; /* Bessere Lesbarkeit */
    }
    
    .home__circle
    {
        width: 900px; /* Größerer Kreis */
        height: 900px;
    }
    
    .home__img-1 {
        width: 550px; /* Größeres Bild */
        bottom: 0;
        left: 10rem; /* Positionierung anpassen */
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        font-size: 1.5rem; /* Größere Pfeile */
        padding: 10px 20px; /* Mehr Innenabstand */
        width: 50px; /* Breitere Pfeile */
        height: 50px; /* Höhere Pfeile */
        margin-top: 15rem;
    }
    
    .swiper-button-prev {
        left: 30px; /* Abstand vom linken Rand */
    }
    
    .swiper-button-next {
        right: 30px; /* Abstand vom rechten Rand */
    }
    
    .home__footer {
        margin-inline: 2rem; /* Mehr Abstand an den Seiten */
        grid-template-columns: repeat(3, max-content); /* Drei Spalten */
        justify-content: space-between; /* Elemente gleichmäßig verteilen */
    }
    
    .nav__close {
        display: none; /* Close-Button ausblenden */
    }
    
    #lightbox img {
        max-width: 100%;
        text-align: center;
    }
    
    
}

    @media screen and (max-width: 992px){
        .home__container {
            display: grid;
            grid-template-columns: 1fr; /* Eine Spalte */
            grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
            row-gap: 2rem; /* Abstand zwischen den Zeilen */
        }
        
        .nav__logo {
            font-size: 1.5rem; /* Größere Schriftgröße für Logo */
            padding: 0rem; /* Abstand von links */
        }
        
        .container {
            max-width: 2500px; /* Breitere Container-Breite */
            margin-inline: 2rem; /* Zentrierung */
        }
        
        .back-button {
            position: fixed; /* Button bleibt sichtbar */
            top: 5px; /* Abstand vom oberen Rand */
            left: 250px; /* Abstand vom linken Rand */
            padding: 10px 20px;
            background-color: #5386c400; /* Hintergrundfarbe */
            color: #040404; /* Textfarbe */
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease, transform 0.2s ease;
            z-index: 1000; /* Über anderen Elementen */
        }
        
        .home__article {
            grid-row: 1; /* Artikel bleibt oben */
        }
        
        .home__images {
            grid-row: 2; /* Bilder kommen unter den Artikel */
        }
        /*.home__container {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
            grid-template-rows: auto; /* Automatische Zeilenhöhe 
            align-items: center; /* Vertikale Zentrierung 
            justify-content: center; /* Horizontale Zentrierung 
            column-gap: 3rem; /* Abstand zwischen Spalten 
            row-gap: 4rem; /* Abstand zwischen Zeilen 
            padding-top: 10rem; /* Abstand nach oben */
       
        
        .home__title {
            font-size: 3.5rem; /* Größere Schriftgröße für Titel */
            line-height: 1.2; /* Bessere Lesbarkeit */
        }
        
        .home__circle
        {
            width: 800px; /* Größerer Kreis */
            height: 800px;
        }
        
        .home__img-1 {
            width: 550px; /* Größeres Bild */
            bottom: 0;
            left: 10rem; /* Positionierung anpassen */
        }
        
        .swiper-button-prev,
        .swiper-button-next {
            font-size: 1.5rem; /* Größere Pfeile */
            padding: 10px 20px; /* Mehr Innenabstand */
            width: 50px; /* Breitere Pfeile */
            height: 50px; /* Höhere Pfeile */
            margin-top: -15rem;

        }
        
        .swiper-button-prev {
            left: 30px; /* Abstand vom linken Rand */
        }
        
        .swiper-button-next {
            right: 30px; /* Abstand vom rechten Rand */
        }
        
        .home__footer {
            margin-inline: 2rem; /* Mehr Abstand an den Seiten */
            grid-template-columns: repeat(3, max-content); /* Drei Spalten */
            justify-content: space-between; /* Elemente gleichmäßig verteilen */
        }
        
        .nav__close {
            display: none; /* Close-Button ausblenden */
        }
        
        #lightbox img {
            max-width: 100%;
            text-align: center;
        }
    }

        @media screen and (max-width: 768px) {
            .home__container {
                display: grid;
                grid-template-columns: 1fr; /* Eine Spalte */
                grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
                row-gap: 2rem; /* Abstand zwischen den Zeilen */
            }
            
            .nav__logo {
                font-size: 1.5rem; /* Größere Schriftgröße für Logo */
                padding: 0rem; /* Abstand von links */
            }
            
            .container {
                max-width: 2500px; /* Breitere Container-Breite */
                margin-inline: 2rem; /* Zentrierung */
            }
            
            .back-button {
                position: fixed; /* Button bleibt sichtbar */
                top: 5px; /* Abstand vom oberen Rand */
                left: 250px; /* Abstand vom linken Rand */
                padding: 10px 20px;
                background-color: #5386c400; /* Hintergrundfarbe */
                color: #040404; /* Textfarbe */
                border: none;
                border-radius: 5px;
                font-size: 1rem;
                cursor: pointer;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                transition: background-color 0.3s ease, transform 0.2s ease;
                z-index: 1000; /* Über anderen Elementen */
            }
            
            .home__article {
                grid-row: 1; /* Artikel bleibt oben */
            }
            
            .home__images {
                grid-row: 2; /* Bilder kommen unter den Artikel */
            }
            /*.home__container {
                display: grid;
                grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
                grid-template-rows: auto; /* Automatische Zeilenhöhe 
                align-items: center; /* Vertikale Zentrierung 
                justify-content: center; /* Horizontale Zentrierung 
                column-gap: 3rem; /* Abstand zwischen Spalten 
                row-gap: 4rem; /* Abstand zwischen Zeilen 
                padding-top: 10rem; /* Abstand nach oben */
            
            
            .home__title {
                font-size: 3.5rem; /* Größere Schriftgröße für Titel */
                line-height: 1.2; /* Bessere Lesbarkeit */
            }
            
            .home__circle
            {
                width: 800px; /* Größerer Kreis */
                height: 800px;
            }
            
            .home__img-1 {
                width: 550px; /* Größeres Bild */
                bottom: 0;
                left: 10rem; /* Positionierung anpassen */
            }
            
            .swiper-button-prev,
            .swiper-button-next {
                font-size: 1.5rem; /* Größere Pfeile */
                padding: 10px 20px; /* Mehr Innenabstand */
                width: 50px; /* Breitere Pfeile */
                height: 50px; /* Höhere Pfeile */
                margin-top:2rem;
            }
            
            .swiper-button-prev {
                left: 30px; /* Abstand vom linken Rand */
            }
            
            .swiper-button-next {
                right: 30px; /* Abstand vom rechten Rand */
            }
            
            .home__footer {
                margin-inline: 2rem; /* Mehr Abstand an den Seiten */
                grid-template-columns: repeat(3, max-content); /* Drei Spalten */
                justify-content: space-between; /* Elemente gleichmäßig verteilen */
            }
            
            .nav__close {
                display: none; /* Close-Button ausblenden */
            }
            
            #lightbox img {
                max-width: 100%;
                text-align: center;
            }
        }
        
        @media screen and (max-width: 540px) {
            .home__container {
                display: grid;
                grid-template-columns: 1fr; /* Eine Spalte */
                grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
                row-gap: 2rem; /* Abstand zwischen den Zeilen */
            }
            
            .nav__logo {
                font-size: 1.5rem; /* Größere Schriftgröße für Logo */
                padding: 0rem; /* Abstand von links */
            }
            
            .container {
                max-width: 2500px; /* Breitere Container-Breite */
                margin-inline: 2rem; /* Zentrierung */
            }
            
            .back-button {
                position: fixed; /* Button bleibt sichtbar */
                top: 11px; /* Abstand vom oberen Rand */
                left: 650px; /* Abstand vom linken Rand */
                padding: 10px 20px;
                background-color: #5386c400; /* Hintergrundfarbe */
                color: #040404; /* Textfarbe */
                border: none;
                border-radius: 5px;
                font-size: 1rem;
                cursor: pointer;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                transition: background-color 0.3s ease, transform 0.2s ease;
                z-index: 1000; /* Über anderen Elementen */
            }
            
            .home__article {
                grid-row: 1; /* Artikel bleibt oben */
            }
            
            .home__images {
                grid-row: 1; /* Bilder kommen unter den Artikel */
            }
            /*.home__container {
                display: grid;
                grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
                grid-template-rows: auto; /* Automatische Zeilenhöhe 
                align-items: center; /* Vertikale Zentrierung 
                justify-content: center; /* Horizontale Zentrierung 
                column-gap: 3rem; /* Abstand zwischen Spalten 
                row-gap: 4rem; /* Abstand zwischen Zeilen 
                padding-top: 10rem; /* Abstand nach oben */
            
            
           .home__title {
            
                font-size: 3rem; /* Größere Schriftgröße für Titel */
                line-height: 1.2; /* Bessere Lesbarkeit */
                margin-right: 1rem;
                margin-left: 1rem;
            }
        
            .home__subtitle {
                font-size: 1.5rem; /* Kleinere Schriftgröße */
                line-height: 1.4; /* Kompaktere Zeilenhöhe */
                margin: 0 1rem; /* Weniger Außenabstand */
                padding: 0; /* Kein Innenabstand */
            }
        
            .home__data p{
                font-size: 1.5rem; /* Kleinere Schriftgröße */
                line-height: 1.5; /* Kompaktere Zeilenhöhe */
                margin: 0.5rem 1rem; /* Weniger Abstand oben/unten und links/rechts */
                text-align: center; /* Text als Blocksatz */
                padding: 0; /* Kein Innenabstand */
                margin: 3rem; /* Weniger Außenabstand */
                margin-left: 5rem;
                margin-right: 5rem;
            }

           
            
            .home__circle
            {
                position: relative;
                margin-top: -11rem;
                top: 1rem;
                width: 900px; 
                height: 900px;
            }
            .gallery img {
                width: 400px;
                height:400px;
                object-fit: cover;
                cursor: pointer;
                margin: 5px;
            }
            .home__img-1 {
                width: 700px;
                height: 900px;
                top: -10rem;
                left: 6rem; }
            
            .swiper-button-prev,
            .swiper-button-next {
                font-size: 1.5rem; /* Größere Pfeile */
                padding: 10px 20px; /* Mehr Innenabstand */
                width: 50px; /* Breitere Pfeile */
                height: 50px; /* Höhere Pfeile */
            }
            
            .swiper-button-prev {
                left: 30px; /* Abstand vom linken Rand */
            }
            
            .swiper-button-next {
                right: 30px; /* Abstand vom rechten Rand */
            }
            
            .home__footer {
                margin-inline: 2rem; /* Mehr Abstand an den Seiten */
                grid-template-columns: repeat(3, max-content); /* Drei Spalten */
                justify-content: space-between; /* Elemente gleichmäßig verteilen */
            }
            
            .nav__close {
                display: none; /* Close-Button ausblenden */
            }
            
            #lightbox img {
                max-width: 100%;
                text-align: center;
            }
        }
    

@media screen and (max-width: 450px) {
    .home__container {
        display: grid;
        grid-template-columns: 1fr; /* Eine Spalte */
        grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
        row-gap: 2rem; /* Abstand zwischen den Zeilen */
    }
    
    .nav__logo {
        font-size: 1.5rem; /* Größere Schriftgröße für Logo */
        padding: 0rem; /* Abstand von links */
    }

    .gallery img {
        width: 250px; /* Noch kleinere Breite */
        height: 250px; /* Noch kleinere Höhe */
        object-fit: cover; /* Bildfüllung */
    }
    
    .container {
        max-width: 2500px; /* Breitere Container-Breite */
        margin-inline: 2rem; /* Zentrierung */
    }
    
    .back-button {
        position: fixed; /* Button bleibt sichtbar */
        top: 5px; /* Abstand vom oberen Rand */
        left: 250px; /* Abstand vom linken Rand */
        padding: 10px 20px;
        background-color: #5386c400; /* Hintergrundfarbe */
        color: #040404; /* Textfarbe */
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.2s ease;
        z-index: 1000; /* Über anderen Elementen */
    }
    
    .home__article {
        grid-row: 1; /* Artikel bleibt oben */
    }
    
    .home__images {
        grid-row: 1; /* Bilder kommen unter den Artikel */
    }
    /*.home__container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
        grid-template-rows: auto; /* Automatische Zeilenhöhe 
        align-items: center; /* Vertikale Zentrierung 
        justify-content: center; /* Horizontale Zentrierung 
        column-gap: 3rem; /* Abstand zwischen Spalten 
        row-gap: 4rem; /* Abstand zwischen Zeilen 
        padding-top: 10rem; /* Abstand nach oben */
    
    
   .home__title {
        font-size: 1.3rem; /* Größere Schriftgröße für Titel */
        line-height: 1.2; /* Bessere Lesbarkeit */
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .home__subtitle {
        font-size: 1rem; /* Kleinere Schriftgröße */
        line-height: 1.4; /* Kompaktere Zeilenhöhe */
        margin: 0 1rem; /* Weniger Außenabstand */
        padding: 0; /* Kein Innenabstand */
    }

    .home__data p {
        font-size: 1rem; /* Kleinere Schriftgröße */
        line-height: 1.5; /* Kompaktere Zeilenhöhe */
        margin: 0.5rem 1rem; /* Weniger Abstand oben/unten und links/rechts */
    }
    
    .home__circle
    {
        position: relative;
        margin-top: -5rem;

        width: 380px; 
        height: 380px;
    }
    
    .home__img-1 {
        width: 300px;
        height:auto ;
        
        margin-top: 6rem;
        left: 2rem; }
    
    .swiper-button-prev,
    .swiper-button-next {
        font-size: 1.5rem; /* Größere Pfeile */
        padding: 10px 20px; /* Mehr Innenabstand */
        width: 50px; /* Breitere Pfeile */
        height: 50px; /* Höhere Pfeile */
        margin-top: 15rem;
    }
    
    .swiper-button-prev {
        left: 30px; /* Abstand vom linken Rand */
    }
    
    .swiper-button-next {
        right: 30px; /* Abstand vom rechten Rand */
    }
    
    .home__footer {
        margin-inline: 2rem; /* Mehr Abstand an den Seiten */
        grid-template-columns: repeat(3, max-content); /* Drei Spalten */
        justify-content: space-between; /* Elemente gleichmäßig verteilen */
    }
    
    .nav__close {
        display: none; /* Close-Button ausblenden */
    }
    
    #lightbox img {
        max-width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 330px){
   .home__container {
            display: grid;
            grid-template-columns: 1fr; /* Eine Spalte */
            grid-template-rows: auto auto; /* Automatische Zeilenhöhe */
            row-gap: 2rem; /* Abstand zwischen den Zeilen */
        }
        
        .nav__logo {
            font-size: 1.5rem; /* Größere Schriftgröße für Logo */
            padding: 0rem; /* Abstand von links */
        }
        
        .container {
            max-width: 2500px; /* Breitere Container-Breite */
            margin-inline: 2rem; /* Zentrierung */
        }
        
        .back-button {
            position: fixed; /* Button bleibt sichtbar */
            top: 5px; /* Abstand vom oberen Rand */
            left: 250px; /* Abstand vom linken Rand */
            padding: 10px 20px;
            background-color: #5386c400; /* Hintergrundfarbe */
            color: #040404; /* Textfarbe */
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease, transform 0.2s ease;
            z-index: 1000; /* Über anderen Elementen */
        }
        
        .home__article {
            grid-row: 1; /* Artikel bleibt oben */
        }
        .gallery img {
            width: 200px;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
            margin: 5px;
        }
        .home__images {
            grid-row: 2; /* Bilder kommen unter den Artikel */
        }
        /*.home__container {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten 
            grid-template-rows: auto; /* Automatische Zeilenhöhe 
            align-items: center; /* Vertikale Zentrierung 
            justify-content: center; /* Horizontale Zentrierung 
            column-gap: 3rem; /* Abstand zwischen Spalten 
            row-gap: 4rem; /* Abstand zwischen Zeilen 
            padding-top: 10rem; /* Abstand nach oben */
        
        
        .home__title {
            font-size: 1.5rem; /* Größere Schriftgröße für Titel */
            line-height: 1.2; /* Bessere Lesbarkeit */
        }
        
        .home__circle
        {
            width: 300px; 
            height: 300px;
        }
        
        .home__img-1 {
            width: 350px;
            bottom: 0;
            left: 1rem; 
        }

        
        
        .swiper-button-prev,
        .swiper-button-next {
            font-size: 1.5rem; /* Größere Pfeile */
            padding: 10px 20px; /* Mehr Innenabstand */
            width: 50px; /* Breitere Pfeile */
            height: 50px; /* Höhere Pfeile */
        }
        
        .swiper-button-prev {
            left: 30px; /* Abstand vom linken Rand */
        }
        
        .swiper-button-next {
            right: 30px; /* Abstand vom rechten Rand */
        }
        
        .home__footer {
            margin-inline: 2rem; /* Mehr Abstand an den Seiten */
            grid-template-columns: repeat(3, max-content); /* Drei Spalten */
            justify-content: space-between; /* Elemente gleichmäßig verteilen */
        }
        
        .nav__close {
            display: none; /* Close-Button ausblenden */
        }
        
        #lightbox img {
            max-width: 100%;
            text-align: center;
        }


    }






/* Lightbox-Styling */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 200%;
    height: 200%;
}

.lightbox-content img {
    max-width: 100%; 
    
    border-radius: 8px; 
    object-fit: contain; 
    margin: auto;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: transform 0.3s ease;
}

lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.2); /* Vergrößert die Pfeile beim Hover */
}

.lightbox-prev {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}



.back-button {
    position: fixed; /* Button bleibt sichtbar */
    top: 5px; /* Abstand vom oberen Rand */
    left: auto; /* Entfernt die linke Positionierung */
    right: 20px; /* Abstand vom rechten Rand */
    padding: 10px 20px;
    background-color: #5386c400; /* Hintergrundfarbe */
    color: #040404; /* Textfarbe */
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000; /* Über anderen Elementen */
}

.scroll-down {
    position: absolute;
    bottom: 360px; /* Abstand vom unteren Rand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.scroll-down a {
    text-decoration: none;
    color: var(--text-color); /* Standardfarbe */
    font-size: 2rem; /* Größe des Pfeils */
    transition: color 0.3s ease;
}

.scroll-down a:hover {
    color: var(--first-color); /* Farbe beim Hover */
}
@media screen and (max-width: 768px) {
    .scroll-down {
        bottom: 200px; /* Weniger Abstand vom unteren Rand */
    }

    .scroll-down a {
        font-size: 1.8rem; /* Kleinere Pfeilgröße */
    }
}

/* Anpassungen für kleine Bildschirme */
@media screen and (max-width: 540px) {
    .scroll-down {
        bottom: 150px; /* Noch weniger Abstand vom unteren Rand */
    }

    .scroll-down a {
        font-size: 1.5rem; /* Noch kleinere Pfeilgröße */
    }
}

/* Anpassungen für sehr kleine Bildschirme */
@media screen and (max-width: 330px) {
    .scroll-down {
        bottom: 100px; /* Minimaler Abstand vom unteren Rand */
    }

    .scroll-down a {
        font-size: 1.2rem; /* Kleinste Pfeilgröße */
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .scroll-down {
        bottom: 10px; /* Abstand vom unteren Rand */
    }

    .scroll-down a {
        font-size: 2.2rem; /* Etwas größere Pfeilgröße */
    }
}