/* Body / Design */

body {
    display: flex;
    flex-direction: column; 
    max-width: 100vw;
    margin: 0; 
    font-family: 'inter', sans-serif;
}



/* Header */

.web-logo {
    width: 60vw; 
    height: fit-content;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #2A7B9B;
    background: linear-gradient(100deg,rgba(123, 179, 201, 1) 16%, rgba(74, 121, 148, 1) 75%);
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    gap: 3rem;
    text-shadow: 2px 2px grey;
    position: relative;
}

.shoot-up {
    animation: shoot-up 2s ease-in forwards;
}


header a {
    font-weight: 800;
    text-decoration: none; 
    font-size: 2rem; 
    border: solid lightblue 6px;
    border-radius: 1rem; 
    padding: 1rem;
    background-color: rgba(227, 0, 69, 0.91);
    color: white; 
}

.buttons {
    margin-top: 8rem; 
    justify-content: center; 
}

h1 {
    text-shadow: 4px 1px 4px 1px lightblue;
}

.banner {
    position: absolute;
    left: 6rem;
    top: 9rem;
    transform: rotate(-15deg);
    max-width: 50rem;
    font-size: 2.4rem;
    font-weight: 500;
    border: solid lightblue 8px;
    border-radius: 2rem;
    text-align: center;
    color: white;
}

.banner h2 {
    font-size: 2.8rem;
}

/* Main */


.portfolio-text {
    display: flex;
    flex-direction: column; 
    padding: 2rem; 
}


.hero {
    margin: 1rem; 
    padding: 2rem;
    max-width: 100vw; 
    text-align: center;
}

#sichtbar {
    border: none; 
    font-size: 1.8rem; 
}

h4 {
    font-size: 2rem;
}

.portfolio {
    font-size: 1.4rem; 
    display: flex;
    flex-direction: column; 
}

.hinweis {
    font-weight: 600;
}

.ablauf {
    list-style: decimal;
    text-align: left;
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
}

.hero h3 {
    border-radius: 12px; 
    padding: 6px; 
    font-size: 1.4rem;
    text-align: center;
}

.hero h2 {
    text-align: center; 
    font-size: 2rem;
    font-weight: 800;
}

.hero-cta {
    max-width: 100vw;
    display: flex; 
    flex-direction: column; 
}

.header-cta a {
    font-weight: 800;
    text-decoration: none; 
    font-size: 2rem; 
    border: solid lightblue 6px;
    border-radius: 1rem; 
    padding: 1rem;
    background-color: rgba(227, 0, 69, 0.91);
    color: white;
    
}

.hero-cta a {
    font-weight: 800;
    text-decoration: none;  
    border: solid lightblue 6px;
    border-radius: 1rem; 
    padding: 1rem;
    background-color: rgba(227, 0, 69, 0.91);
    color: white;
    width: 80vw;
    font-size: 1.8rem; 
}

main img {
    max-width: 20rem; 
    border-radius: 2rem; 
}

main {
    margin: 0;
    max-width: 100vw;
    display: flex;
    flex-direction: column; 
    align-items: center;
    background-color: rgba(183, 0, 176, 0.08);
}


.web-cta {
    font-weight: 800;
    text-decoration: none;  
    border: solid lightblue 6px;
    border-radius: 1rem; 
    padding: 1rem;
    background-color: rgba(227, 0, 69, 0.91);
    color: white;
    width: 80vw;
    font-size: 1.8rem; 
}

.buttons {
    display: flex;
}

.text {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    font-weight: 400;
    font-size: 1.4rem; 
    padding: 1rem; 
}

.aufzählung li {
    margin-top: 1rem; 
}

.schritte {
    margin: 1rem;
    border: solid 4px lightblue;
    border-radius: 1rem; 
}

.schritte h3 {
    color: gold; 
}

h2 {
    color: gold; 
}

.hero h3 {
    text-align: left;
}

#sichtbar {
    text-align: center; 
}

.hero-cta a {
    font-size: 1rem; 
}

/* Footer */

#fb-logo {
    max-width: 3rem; 
}

#insta-logo {
    max-width: 3rem; 
}

footer img {
    max-width: 5rem; 
}

footer {
    display: flex; 
    justify-content: space-between;
    background: linear-gradient(rgba(255, 0, 128, 0.6), rgba(0, 200, 255, 0.6));
    height: 5rem;
    align-items: center; ;  
}



@media (max-width: 1025px) {
    
    #footer-nav {
        display: none; 
    }
    
}

/* Burger Navigation */

#burger {
    font-size: 2.5rem;
    cursor: pointer;
    display: block;
    color: black; 
    position: absolute; 
    top: 0;
    left: 20px; 
}

#main-nav li {
    list-style: none;
}


#burger-toggle {
    display: none;
}

#main-nav {
    display: none;
    position: absolute;
    top: 10%; 
    right: 0;
    width: 100%;
}

#burger-toggle:checked + #burger + #main-nav {
    display: block;
}

@media (max-width: 1024px) {
    #main-nav a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.2rem;
        font-weight: 500;
        text-decoration: none;
        color: lightblue;
        text-align: center;
    }

    #burger-toggle:checked + #burger + #main-nav {
        display: block;
    }

    #main-nav {
        background-color: rgba(0, 0, 0, 0.67);
        backdrop-filter: blur(2px);
    }

    #main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center; /* Zentriert horizontal */
        padding: 1rem;
        margin: 0;
        gap: 4px;
    }

    #main-nav li {
        width: 90vw;
    }

    .web-intro {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
}




/* FAQ */

.faq {
    max-width: 700px;
    margin: 1rem;
    font-family: Arial, sans-serif;
    padding: 2rem; 
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
    display: inline-block;
}

.faq-question {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease; 
}

.faq-question:hover {
    color: gold; /* Orange Highlight */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    text-align: left;
}

.faq-answer.open {
    max-height: 500px; /* Genug Platz für Text */
    margin-top: 0.5rem;
}

.faq h3 {
    font-size: 1.4rem;
}


@media (min-width: 1200px) {
    
    .web-logo {
        max-width: 40rem; 
    }
    
    h1 {
        font-size: 4rem; 
    }
    
    h2 {
        font-size: 2.6rem; 
    }
    
    .hero h2 {
        font-size: 2.6rem; 
    }
    
    a {
        max-width: 40vw;      
    }
    
    main {
        max-width: 100vw;
        gap: 4rem;
        display: flex;
        flex-direction: column;
    }
    
    body {
        max-width: 100vw; 
    }
    
    header {
        display: flex;
        justify-content: center;
        gap: 1rem;
        height: 100vh;
    }
    
    footer {
        max-width: 100vw;
    }
    
    #main-nav a {
        font-size: 2rem;
        text-decoration: none; 
    }

    #footer-nav a {
        font-size: 0.8rem; 
    }
    
    #burger-nav {
        display: flex;
    }

    #burger-toggle {
        display: none;
    }
    
    #burger {
        display: none; 
    }
    
    #main-nav {
        display: flex;
        position: relative;
    }
    
    #main-nav ul {
        display: flex; 
        list-style: none; 
        gap: 1rem;
    }
    
    #footer-nav a {
        color: white; 
        font-size: 1.4rem; 
        text-decoration: none;
    }
    
    nav li:hover {
        transform: scale(1.05);
    }
    
    #footer-nav {
        display: flex;
    }
    
    #footer-nav ul {
        display: flex; 
        gap: 2.4rem;
        list-style: none; 
    }
    
    .hero {
        display: flex;
        flex-direction: row;  
        align-items: center; 
        justify-content: space-evenly; 
        width: 100vw; 
    }
    
    .portfolio {
        display: flex; 
        gap: 6rem; 
        font-size: 2rem; 
    }
    
    .portfolio-text h4 {
        font-size: 2.6rem; 
    }
    
    main img {
        max-width: 40rem;
    }
    
    .hero h3 {
        font-size: 2rem; 
        text-align: left; 
    }
    
    .hero-cta h2 {
        font-size: 3.6rem; 
    }
    
    .web-cta {
        max-width: 30vw; 
    }
    
    #sichtbar {
        font-size: 2.4rem; 
    }
    
    .hero-cta p {
        font-size: 1.8rem;
        line-height: 2.6rem;
    }
    
    .hero {
        max-width: 90vw;
    }
    
    .hero-cta {
        padding: 2rem; 
    }
    
    .web-intro {
        display: flex; 
        justify-content: space-evenly; 
        align-items: center; 
    }

    .web-intro img {
        max-height: 50vh; 
    }

    .web-intro h2 {
        text-align: left; 
    }
    
    .portfolio-text {
        display: flex; 
        align-items: center;
    }
    
    
    
}








/* JS Image Slider */

#toggleContainer label {
    text-align: center;
    width: 70px;
}

#container {
    height: 30vh;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10rem;
}

#toggleContainer {
    height: 10vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 95vw;
    position: absolute;
}

#tilesContainer {
    min-height: 30vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-content: center;
}

.tileItem {
    width: 250px;
    height: 250px;
    margin: 5px;
    border-radius: 5px;

    transition: all 0.5s ease;
}

.tileItem:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

#galleryContainer {
    width: 800px;
    background: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

#toggle {
    height: 10vh;
    width: 200px;
    display: flex;
    align-items: center;
    margin: 10px;
}

#tilesView {
    width: 100vw;
    background: rgba(78, 163, 230, 0.14);
    display: none;
    justify-content: center;
    align-items: center;
}

#galleryView {
    width: 100vw;
    background: rgba(78, 163, 230, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
}

#outer3 {
    width: 100px;
    height: 40px;
    background-color: white;
    margin: 10px auto;
    border-radius: 3px;
    border: 2px solid white;
    transition: all 0.5s;
}

#slider3 {
    height: 36px;
    width: 46px;
    background-color: gold;
    border-radius: 3px;
    transition: all 0.5s;
}

#slider3.active {
    -webkit-transform: translatex(50px);
    -ms-transform: translatex(50px);
    -o-transform: translatex(50px);
    transform: translatex(50px);
    transition: all 0.5s;
    background-color: gold;
}

#outer3.outerActive {
    background-color: white;
    border: 2px solid white;
    transition: all 0.5s;
}

#mainView {
    width: 90vw;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 1rem;
    border-radius: 2px;
    background-color: gold;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 1;
    transition: all 1s;
}

#leftView {
    height: 400px;
    width: 25vw;
    max-width: 180px;
    aspect-ratio: 3 / 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    margin: 1rem;
    border-radius: 5px;
    transform: skewy(5deg);
    transform-origin: top right;
    background-color: gold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
}

#leftView:hover {
    opacity: 1;
    transition: all 1s;
}

#rightView {
    height: 400px;
    width: 25vw;
    max-width: 180px;
    aspect-ratio: 3 / 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    margin: 1rem;
    border-radius: 5px;
    transform: skewy(-5deg);
    transform-origin: top left;
    background-color: gold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
}

#rightView:hover {
    opacity: 1;
    transition: all 1s;
}

.navBtns {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    position: absolute;
    opacity: 0.8;
    background-color: #2a7b9b;
    cursor: pointer;
    color: white;
    z-index: 999;
}

.navBtns:hover {
    opacity: 1;
    transition: all 1s;
    transform: scale(1.05);
}

#navLeft {
    left: 50px;
}

#navRight {
    right: 50px;
}

#linkTag {
    cursor: pointer;
    z-index: 1;
    box-sizing: border-box;
    background-color: rgba(78, 163, 230, 0.14);
    margin: 1rem; 
}

#mainView,
#leftView,
#rightView {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-color: #111; /* Optional: dunkler Hintergrund für Kontrast */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1025px) {
    
    #mainView {
        width: 90vw;
        height: auto;
        aspect-ratio: 4 / 3;
        max-width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin: 1rem auto;
        position: relative;
    }

    #leftView,
    #rightView {
        display: none;
    }

    #galleryContainer {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    #navLeft,
    #navRight {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        position: absolute;
        width: 50px;
        height: 50px;
        font-size: 2rem;
        z-index: 10;
    }

    #navLeft {
        left: 5px;
    }

    #navRight {
        right: 5px;
    }
    
    #toggleContainer {
        display: none;
    }
}


/* Baustellenseite */

main {
    display: none;
}

footer {
    background: linear-gradient(100deg,rgba(123, 179, 201, 1) 16%, rgba(74, 121, 148, 1) 75%);   
}

#main-nav {
    display: none; 
}

header p {
    font-size: 2.6rem;
    font-weight: 600; 
    
}

@media (max-width: 1200px) {
    
    header p {
        font-size: 1.6rem; 
        padding: 1rem; 
    }
    
    .header-cta {
        padding: 1.6rem; 
    }
    
}


