* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

h1 { font-size: clamp(24px, 4vw, 48px); }
h2 { font-size: clamp(20px, 3vw, 32px); }
p  { font-size: clamp(14px, 2vw, 18px); }

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-center {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: min(55vw, 700px);
    max-width: 700px;
    display: block;
}

.hero-buttons {
    margin-top: 150px;

    display: flex;
    justify-content: center;
    gap: 40px;
}

.hero-btn {
    width: 240px;
    height: 65px;
}


/*nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(141deg,rgba(2, 0, 36, 0.2) 0%, rgba(0, 41, 102, 0.2) 100%);

;
}*/

body.leistungen {
    background: #0c0c0c; /* dunkler Hintergrund */
    color: white;
}

/*nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 25px;
}*/


.logo {
    color: #fff;
}

.back-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
    
}


.image-box img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.text-box {
    max-width: 500px;
    border: #fff;
    border-radius: 20px;
    text-align: center;
    
}

.text-box h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.text-box p {
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .image-box img {
        width: 100%;
        max-width: 300px;
    }

    .text-box {
        text-align: justify;
    }

    .text-box h2 {
        font-size: 24px;
    }

    .text-box p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px;
    }
}



@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .team-card {
        max-width: 320px;
        width: 100%;
    }
}

p{
    color: #fff;
}

h2 {
    color: #fff;
}

h1 {
    text-decoration: none;
    color: #fff;
}

.card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 1px solid rgba(0,129,250,0.25);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    width: 100%;
}

/*nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(2, 0, 36, 0.4);
    backdrop-filter: blur(10px);
}*/
.content {
    padding-top: 80px;
}
.Leistung {
    padding-top: 80px;
    text-align: center;
}

.footer {
    background: #141414;
    border-top: 1px solid rgba(0,129,250,0.2);

    box-shadow: 0 -5px 30px rgba(0,129,250,0.08);

    
    text-align: center;

  

    color: white;
    padding: 20px;
    margin-top: auto;
}


.footer-content {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.footer h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.footer p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #aaa;
}

.copyright {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 20px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0c0c0c;
    color: #fff;
}
.section,
.container,
.footer {
    margin-bottom: 0;
}

.section:last-child {
    margin-bottom: 0;
}





/*nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}*/





/* NAVBAR BASE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    background: rgba(2, 0, 36, 0.4);
    backdrop-filter: blur(10px);
}

.logo {
    color: white;
    font-size: 24px;
}

/* DESKTOP LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #00aaff;
}

/* HAMBURGER ICON */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* ACTIVE ANIMATION */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        flex-direction: column;

        background: rgba(0,0,0,0.9);
        backdrop-filter: blur(10px);

        padding: 20px;
        border-radius: 10px;

        transform: translateX(120%);
        transition: 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 15px 0;
    }
}


.team-header {
    text-align: center;
    margin-top: 40px;
    color: white;
}

.team-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.team-header p {
    opacity: 0.7;
}

/* GRID */
.team-section {
    padding: 40px 20px;  /* statt 10% */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */
.team-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.2);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    width: 100%;
    max-width: 350px;   /* 👈 verhindert XXL Karten */
    margin: 0 auto; 
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.team-card h3 {
    color: white;
    margin-bottom: 5px;
}

.team-card span {
    display: block;
    color: #00aaff;
    margin-bottom: 10px;
    font-size: 14px;
}

.team-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-header h2 {
        font-size: 32px;
    }
}

.studio-location {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    border-radius: 20px;
    border: 3px solid rgba(0,129,250,0.25);
    text-align: center;
}

.studio-location h2 {
    margin-bottom: 30px;
    text-align: center;
    
}

.gallery {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}

.gallery .large {
    grid-column: span 2;
    grid-row: span 2;
    height: 455px;
}

@media (max-width: 768px) {

    .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    justify-content: center;
    gap: 15px;
    }

    .gallery .large {
        grid-column: span 2;
        grid-row: auto;
        height: 250px;
    }

    .gallery img {
        height: 150px;
        display: block;
    margin: 0 auto;
    }
}


.content {
    position: relative;
    z-index: 2;
    text-align: center;
    
}



.hero-btn {
    width: 240px;
    height: 65px;
    
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: white;

    background: rgba(0, 0, 0, 0.808);
    border: 2px solid rgba(0,129,250,0.6);

    border-radius: 20px;

    font-size: 20px;
    font-weight: 600;

    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-5px);
    background: rgba(0,129,250,0.2);
    border-color: #00aaff;
}


.hero-content {
     position: absolute;
    left: 50%;
    bottom: 60px; /* Abstand vom unteren Rand */
    transform: translateX(-50%);
    z-index: 2;
}

.locations-header {
    text-align: center;
    margin-top: 40px; /* Abstand zur Navbar */
    margin-bottom: 10px;
}

.locations-header h1 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    
}

.locations-header p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
}
/*.lightbox {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.9);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;

    border-radius: 15px;
}*/

.close {
    position: absolute;
    top: 20px;
    right: 30px;

    color: white;
    font-size: 40px;

    cursor: pointer;
}
/*.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(0,129,250,0.6);
    color: white;

    font-size: 45px;
    width: 65px;
    height: 65px;

    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;
}

.lightbox-arrow:hover {
    background: rgba(0,129,250,0.3);
}

.lightbox-arrow.prev {
    left: 40px;
}

.lightbox-arrow.next {
    right: 40px;
}
*/
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }

    .lightbox-arrow.prev {
        left: 15px;
    }

    .lightbox-arrow.next {
        right: 15px;
    }
}

.gallery-image {
    cursor: pointer;
}

.lightbox {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.lightbox.active {
    display: flex !important;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 15px;
}

.close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 1000000;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(0,129,250,0.6);
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000000;
}

.lightbox-arrow.prev {
    left: 35px;
}

.lightbox-arrow.next {
    right: 35px;
}

.services-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.services-header h1 {
    color: white;
    margin-bottom: 15px;
}

.services-header p {
    color: rgba(255,255,255,0.7);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto 80px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    padding: 0 20px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
align-items: center;
text-align: center;
    transition: 0.3s ease;

    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
}

.service-card h2 {
    margin-bottom: 15px;
}



.service-card p {
    opacity: 0;
    max-height: 0;

    overflow: hidden;
line-height: 1.6;
    transition:
        opacity 0.35s ease,
        max-height 0.35s ease,
        margin-top 0.35s ease;

    margin-top: 0;
}


.service-card:hover p {
    opacity: 1;
    max-height: 300px;
    margin-top: 15px;
}

.service-card h2 {
    transition: transform .3s ease;
}

.service-card:hover h2 {
    transform: translateY(-8px);
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.references-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.references-grid {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



.reference-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
}

.reference-card span {
    color: #00aaff;
    font-size: 14px;
}

.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}



.project-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    cursor: pointer;
}

.project-modal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.project-modal th,
.project-modal td {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 14px;
    text-align: left;
}

.project-modal th {
    color: #00aaff;
}

@media (max-width: 900px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



.impressum-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.impressum-header h1 {
    color: white;
    margin-bottom: 10px;
}

.impressum-header p {
    color: rgba(255,255,255,0.7);
}

.impressum-card {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 40px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;

    backdrop-filter: blur(10px);
}

.impressum-card h2 {
    margin-bottom: 20px;
}

.impressum-card h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #00aaff;
}

.impressum-card p {
    line-height: 1.8;
}

.impressum-card a {
    line-height: 1.8;
    font-size: 20px;
}

.contact-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.contact-section {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0,129,250,0.3);
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
    font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group select option {
    color: black;
}

.contact-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #00aaff;
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #0088cc;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}

.thankyou-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 120px 20px 60px;
    background: #0c0c0c;
}

.thankyou-card {
    max-width: 700px;
    width: 100%;
    text-align: center;

    padding: 50px 30px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;

    backdrop-filter: blur(10px);
}

.thankyou-card h1 {
    color: white;
    margin-bottom: 20px;
}

.thankyou-card p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 35px;
    line-height: 1.6;
}

.thankyou-btn {
    display: inline-block;
    text-decoration: none;

    padding: 15px 28px;
    border-radius: 12px;

    background: #00aaff;
    color: white;

    font-weight: 700;
    transition: 0.3s;
}

.thankyou-btn:hover {
    background: #0088cc;
}

.impressum-card a {
    color: #00aaff;
    text-decoration: none;
}

.impressum-card a:hover {
    text-decoration: underline;
}

.reference-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    padding: 0;
}

.reference-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.reference-card-content {
    padding: 25px;
}

.reference-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
}

.reference-card:hover img {
    transform: scale(1.05);
}

.reference-card img {
    transition: 0.3s ease;
}
.table-category td {
    background: rgba(0, 1, 48, 0.15);
    color: #00aaff;
    font-weight: 700;
    font-size: 18px;
    padding: 14px;
    text-align: left;
}



.project-modal-content {
    background: #111;
    border: 1px solid rgba(0,129,250,0.4);
    border-radius: 20px;
    padding: 30px;

    max-width: 900px;
    width: 90%;

    max-height: 85vh;
    overflow-y: auto;

    color: white;
    position: relative;
}

.project-modal thead {
    position: sticky;
    top: 0;
    background: #111;
    z-index: 10;
}

.project-modal th {
    color: #00aaff;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .project-modal-content {
        width: 95%;
        padding: 15px;
    }

    .project-modal table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
    }

    .project-modal th,
    .project-modal td {
        padding: 8px;
        font-size: 12px;
        word-break: break-word;
    }

    .table-category td {
        font-size: 14px;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 700px;

    background: rgba(15,15,15,0.95);
    border: 1px solid rgba(0,129,250,0.3);

    border-radius: 20px;
    padding: 20px;

    backdrop-filter: blur(15px);

    z-index: 999999;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    color: white;
    font-size: 14px;
}



@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
    }
}

.cookie-buttons button {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(0,129,250,0.6);

    color: white;

    padding: 16px 32px;
    min-width: 80px;

    border-radius: 15px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(10px);

    transition: 0.3s ease;
}

.cookie-buttons button:hover {
    background: rgba(0,129,250,0.2);
    border-color: #00aaff;

    transform: translateY(-3px);
}



/*.hero-buttons {
    position: fixed;
    left: 50%;
    top: 350px;
    transform: translateX(-50%);

    display: flex;
    gap: 40px;
    z-index: 10;
}*/



@media (max-width: 768px) {

    .hero {
        height: auto;
        margin-top: 70px; /* Abstand unter der Navbar */
        margin-bottom: 0px;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .back-video {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-center {
        position: static;
        transform: none;
        width: 100%;
        padding: 15px;
    }

    .hero-logo {
        display: none;
    }

    .hero-buttons {
        
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin: 20px auto 30px; /* oben | links/rechts | unten */
        padding: 0 20px;
    }

    .hero-btn {
        width: 100%;
        max-width: none;
        height: 60px;
        font-size: 18px;
    }
}

.lightning-card {
    position: relative;
    overflow: hidden;
}

.lightning-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;

    background:
        linear-gradient(90deg, transparent, #00aaff, white, #00aaff, transparent) top left / 0% 3px no-repeat,
        linear-gradient(180deg, transparent, #00aaff, white, #00aaff, transparent) top right / 3px 0% no-repeat,
        linear-gradient(270deg, transparent, #00aaff, white, #00aaff, transparent) bottom right / 0% 3px no-repeat,
        linear-gradient(0deg, transparent, #00aaff, white, #00aaff, transparent) bottom left / 3px 0% no-repeat;

    filter: drop-shadow(0 0 8px #00aaff);
}

.lightning-card:hover::after {
    opacity: 1;
    animation: lightningRun 0.8s ease-out forwards;
}

@keyframes lightningRun {
    0% {
        background-size:
            0% 3px,
            3px 0%,
            0% 3px,
            3px 0%;
    }

    25% {
        background-size:
            100% 3px,
            3px 0%,
            0% 3px,
            3px 0%;
    }

    50% {
        background-size:
            100% 3px,
            3px 100%,
            0% 3px,
            3px 0%;
    }

    75% {
        background-size:
            100% 3px,
            3px 100%,
            100% 3px,
            3px 0%;
    }

    100% {
        background-size:
            100% 3px,
            3px 100%,
            100% 3px,
            3px 100%;
        opacity: 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: .1s; }
.reveal:nth-child(2) { transition-delay: .25s; }
.reveal:nth-child(3) { transition-delay: .4s; }
.reveal:nth-child(4) { transition-delay: .55s; }
.reveal:nth-child(5) { transition-delay: .7s; }
.reveal:nth-child(6) { transition-delay: .65s; }

.studio-block {
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.studio-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-info h2 {
    margin-bottom: 20px;
}

.studio-info p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.studio-info ul {
    color: white;
    padding-left: 20px;
}

.studio-info li {
    margin-bottom: 10px;
}

.studio-carousel {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
}

.carousel-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-image.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: 2px solid rgba(0,129,250,0.6);
    background: rgba(0,0,0,0.55);
    color: white;

    cursor: pointer;
    z-index: 5;
    font-size: 24px;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-btn:hover {
    background: rgba(0,129,250,0.35);
}

@media (max-width: 768px) {
    .studio-block {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 40px 20px;
    }

    .studio-carousel {
        height: 240px;
    }
}

.studio-info-box {
    max-width: 1200px;
    margin: 60px auto;
    padding: 45px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,129,250,0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);

    text-align: center;
}

.studio-info-box h2 {
    margin-bottom: 25px;
    color: white;
}

.studio-info-box p {
    color: rgba(255,255,255,.8);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.text-rotator {
    position: relative;
    height: 50px;
    overflow: hidden;

    display: flex;    
    text-align: center;
    justify-content: center;
}

.rotating-text {
    position: absolute;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity .6s ease,
        transform .6s ease;

    font-size: 20px;
    font-weight: 600;
    color: white;
    text-align: center;
}

.rotating-text.active {
    opacity: 1;
    transform: translateY(0);
}

.reasons-section{
    max-width:1100px;
    margin:120px auto;
    padding:40px;
    text-align:center;
}

.reasons-section h2{
    margin-bottom:40px;
}

.reason-slider{

    position:relative;

    background:rgba(255,255,255,.05);
    border:1px solid rgba(0,129,250,.25);

    border-radius:20px;

    padding:60px;

    backdrop-filter:blur(10px);

    overflow:hidden;
}

.reason-content{

    min-height:220px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.reason-content h3{

    font-size:32px;

    margin-bottom:25px;

    color:#00aaff;

    transition:.5s;
}

.reason-content p{

    max-width:800px;

    line-height:1.8;

    transition:.5s;
}


.reason-dots{

    margin-top:30px;

    display:flex;

    justify-content:center;

    gap:12px;
}

.reason-dot{

    width:12px;
    height:12px;

    border-radius:50%;

    background:#555;

    cursor:pointer;
}

.reason-dot.active{

    background:#00aaff;
}

.fadeOut{

    opacity:0;
    transform:translateX(-30px);

}

.fadeIn{

    opacity:1;
    transform:translateX(0);

}

/* Sprachschalter */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.language-btn {
    padding: 5px 8px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.language-btn:hover {
    color: #00aaff;
}

.language-btn.active {
    color: #00aaff;
}

.language-separator {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    .language-btn {
        font-size: 18px;
    }
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 7px;

    background: transparent;
    border: none;
    color: white;

    padding: 6px 10px;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.25s ease;
}

.flag-emoji {
    font-size: 20px;
    line-height: 1;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-btn.active {
    color: #00aaff;
    background: rgba(0, 170, 255, 0.12);
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        justify-content: center;
    }
}
.language-switcher{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:20px;
}

.language-btn{

    display:flex;
    align-items:center;
    gap:8px;

    background:transparent;
    border:none;

    color:#fff;

    cursor:pointer;

    padding:8px 12px;

    border-radius:10px;

    transition:.25s;
}

.language-btn img{

    width:22px;
    height:22px;

    border-radius:50%;

    box-shadow:0 0 8px rgba(0,0,0,.35);

    transition:.25s;
}

.language-btn:hover{

    background:rgba(255,255,255,.08);

}

.language-btn:hover img{

    transform:scale(1.08);

}

.language-btn.active{

    background:rgba(93, 123, 255, 0.18);

    color:#4a83ff;

}

.language-btn.active img{

    transform:scale(1.1);

}

@media(max-width:768px){

.language-btn span{

display:none;

}

.language-switcher{

margin-left:0;

justify-content:center;

}

}