/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0c0c0c;
    color: #ffffff;
    overflow-x: hidden;
    font-weight: 300;
    height: 100%;
    width: 100%;
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: overlay;
}
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Sidebar styles */
.sidebar {
    width: 80px;
    height: 100vh;
    background-color: #0c0c0c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    overflow: visible;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.logo-container:hover {
    transform: scale(1.05);
}

.project-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    z-index: 100;
}

.project-tooltip {
    position: absolute;
    background-color: rgba(20, 20, 20, 0.9);
    color: #ff4d4d;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 77, 77, 0.3);
    left: 90px;
    top: 50%;
    transform: translate(0, -50%);
    width: auto;
}

.project-link:hover .project-tooltip {
    opacity: 1;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    width: 24px;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.logo-container:hover img {
    filter: grayscale(0%) brightness(1);
}

.main-logo {
    margin-bottom: 40px;
    width: 60px;
    height: 60px;
}

.main-logo img {
    width: 40px;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    filter: none;
}

.project-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 20px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: auto;
}

.social-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    margin: 10px 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
}

/* Content area styles */
/* Alte content-Definition entfernt, siehe .main-container und neue .content Definition */

.content {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Mars visualization */
/* Mars visualization */

.mars-visual {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12,12,12,0) 0%, rgba(12,12,12,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.mars-static-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 77, 77, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 77, 77, 0.3);
    animation: float 15s infinite ease-in-out;
}

.fe-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.fe-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 25%;
    animation-delay: -5s;
}

.fe-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(-15px);
    }
    75% {
        transform: translateY(-15px) translateX(-10px);
    }
}

/* Text content */
.text-content {
    width: 50%;
    height: 100vh;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #0c0c0c;
    z-index: 5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.header img {
    height: 60px;
    margin-right: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

/* nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff4d4d;
    transition: width 0.3s ease;
} */

nav ul li a:hover {
    color: #ff4d4d;
}

nav ul li a:hover:after {
    width: 100%;
}

.contact-link {
    background-color: rgba(255, 77, 77, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    text-decoration: none;
}

.contact-link:hover {
    background-color: rgba(255, 77, 77, 0.2);
    text-decoration: none;
}

.vertical-text {
    position: absolute;
    right: 0;
    top: 20%;
    /* transform: rotate(90deg) translateX(50%);
    transform-origin: right; */
    font-size: 25px;
    font-weight: 800;
    opacity: 0.09;
    letter-spacing: 10px;
    white-space: nowrap;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.main-text {
    margin-top: auto;
    margin-bottom: 60px;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.tagline {
    color: #ff4d4d;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

.tagline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #ff4d4d;
    transform: translateY(-50%);
}

h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 90%;
}

.cta-container {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.explore-btn {
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.stats-container {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.7;
}

.main-container {
    margin-left: 100px;
    width: calc(100% - 100px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.content {
    display: flex;
    width: 100%;
    flex: 1;
    position: relative;
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.modal-content {
    background-color: #0c0c0c;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    width: 85%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 77, 77, 0.25);
    position: relative;
    animation: modalFadeIn 0.4s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.close-modal:hover,
.close-modal:focus {
    color: #ff4d4d;
    text-decoration: none;
    cursor: pointer;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 77, 77, 0.25);
    border-color: rgba(255, 77, 77, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(255, 77, 77, 0.1) 0%, rgba(20, 20, 20, 0) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.5));
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 77, 77, 0.7));
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 50%, rgba(20, 20, 20, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tech {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.project-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.project-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.project-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ff4d4d;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(255, 77, 77, 0.2);
}

.project-btn:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 77, 77, 0.3);
}

.project-btn.secondary {
    background-color: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}

.project-btn.secondary:hover {
    background-color: rgba(255, 77, 77, 0.1);
}

/* Responsive adjustments for the project modal */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .modal-content {
        width: 85%;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .text-content {
        padding: 40px;
    }
    
    .main-text h1 {
        font-size: 40px;
    }
    
    .container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .project-card {
        padding: 20px;
    }
    
    .project-info h3 {
        font-size: 20px;
    }
    
    .project-info p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-content {
        width: 90%;
        padding: 25px 20px;
        max-height: 80vh;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .project-btn {
        width: 100%;
        text-align: center;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
    }
    
    .project-btn {
        margin: 5px 0;
    }
    
    .content {
        flex-direction: column;
    }
    
    .mars-visual {
        display: none !important;
    }
    
    .text-content {
        width: 100%;
        padding: 30px 20px;
    }
    
    .main-container {
        margin-left: 0;
        width: 100%;
        padding-left: 100px;
    }
    
    .sidebar {
        width: 80px;
        z-index: 100;
    }
    
    .footer-bottom {
        padding: 0 15px;
    }
    
    footer {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    /* Hide mars-visual on mobile devices */
    .mars-visual {
        display: none;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .project-card {
        padding: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-container {
        padding-left: 80px;
    }
    
    .sidebar {
        width: 60px;
    }
    
    .close-modal {
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
    
    .main-text h1 {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 14px;
    }
    
    /* Mars visual is hidden on mobile */
}

/* Page Sections Styles */
.page-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c0c0c;
    position: relative;
    overflow: hidden;
}

.section-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
}

/* About Section Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Jobs Section Styles */
.job-intro {
    margin-bottom: 40px;
}

.job-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.job-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.job-type {
    display: inline-block;
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.job-requirements {
    margin-left: 20px;
    margin-bottom: 30px;
}

.job-requirements li {
    margin-bottom: 10px;
    position: relative;
}

.job-apply-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.job-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

/* Studios Section Styles */
.studios-content > p {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}

.studio-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.studio-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.studio-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.studio-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 77, 77, 0.5);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

.submit-btn {
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

.contact-info {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: #ff4d4d;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ff4d4d;
    transform: translateY(-3px);
}

/* Page Styles for Subpages */
.page-wrapper {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-header {
    margin-bottom: 40px;
    position: relative;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    margin-bottom: 30px;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-text h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #ffffff;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.values-list {
    margin-left: 20px;
}

.values-list li {
    margin-bottom: 15px;
}

.team-section {
    margin-top: 60px;
}

.team-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 20px;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffffff;
}

.team-member p {
    font-size: 14px;
    color: #ff4d4d;
}

/* Jobs Page Styles */
.jobs-intro {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}

.job-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.job-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.job-type {
    display: inline-block;
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.job-description {
    margin-bottom: 20px;
}

.job-card h3 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: #ffffff;
}

.job-requirements, .job-benefits {
    margin-left: 20px;
    margin-bottom: 25px;
}

.job-requirements li, .job-benefits li {
    margin-bottom: 8px;
    position: relative;
}

.job-positions {
    margin: 30px 0;
}

.position-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid #ff4d4d;
}

.position-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.position-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.job-apply-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.job-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

.jobs-note {
    margin-top: 50px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.jobs-note h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.jobs-note a {
    color: #ff4d4d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jobs-note a:hover {
    text-decoration: underline;
}

/* Studios Page Styles */
.studios-intro {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}

.studio-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.studio-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.studio-image {
    height: 180px;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
}

.studio-image.berlin {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/berlin.jpg');
}

.studio-image.munich {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/munich.jpg');
}

.studio-image.hamburg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hamburg.jpg');
}

.studio-card h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
}

.studio-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff4d4d;
}

.studio-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.studio-features {
    margin: 0 0 20px 20px;
}

.studio-features li {
    margin-bottom: 5px;
    font-size: 14px;
}

.studio-contact {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-contact p {
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.studio-contact i {
    margin-right: 10px;
    color: #ff4d4d;
}

.collaboration-section {
    margin-top: 40px;
}

.collaboration-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
}

.collaboration-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-intro {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 77, 77, 0.5);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

.submit-btn {
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8f8f 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

.contact-info {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #ffffff;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 18px;
    color: #ff4d4d;
    margin-right: 15px;
    margin-top: 3px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.info-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.social-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.social-grid {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ff4d4d;
    transform: translateY(-3px);
}

.map-section {
    margin-top: 60px;
}

.map-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.map-placeholder p {
    font-size: 18px;
    margin-bottom: 10px;
}

.map-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.load-map-btn {
    background-color: rgba(255, 77, 77, 0.8);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-map-btn:hover {
    background-color: #ff4d4d;
}



/* Footer Styles */
footer {
    padding: 40px 80px 20px 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    clear: both;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    max-width: none;
    width: 100%;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.footer-logo img {
    width: 180px;          /* gerne auch 200px+ */
    height: auto;
    max-width: 100%;
    filter: brightness(1);
    image-rendering: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff4d4d;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo {
        margin-bottom: 10px;
    }
    
    .footer-links {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    footer {
        padding: 30px 0 15px;
    }
} */

/* Navigation Active State */
nav ul li a.active {
    color: #ff4d4d;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-content {
        width: 90%;
        padding: 25px 20px;
        max-height: 80vh;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .project-btn {
        width: 100%;
        text-align: center;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
    }
    
    .project-btn {
        margin: 5px 0;
    }
    
    .content {
        flex-direction: column;
    }
    
    .mars-visual {
        display: none !important;
    }
    
    .text-content {
        width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 1200px) {
    .main-text {
        max-width: 80%;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .studio-locations {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 38px;
    }
    
    .stats-container {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .content {
        flex-direction: column;
    }
    
    .mars-visual, .text-content {
        width: 100%;
        height: 50vh;
    }
    
    .vertical-text {
        display: none;
    }
    
    .main-text {
        margin-bottom: 30px;
    }
    
    .cta-container {
        margin-bottom: 30px;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .overlay-gradient {
        background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,0.7) 100%);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .text-content {
        padding: 20px 30px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .header img {
        height: 24px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    nav ul li a {
        font-size: 12px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 20px 30px;
    }
    
    .stat-item {
        width: calc(50% - 15px);
    }
    
    .tagline:before {
        width: 20px;
    }
    
    .tagline {
        padding-left: 30px;
    }
    
    p {
        max-width: 100%;
    }
    
    /* Responsive styles for subpages */
    .page-wrapper {
        padding: 20px 15px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member,
    .job-card {
        padding: 20px;
    }
    
    .contact-form .form-group {
        margin-bottom: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links,
    .footer-social {
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .job-card h2 {
        font-size: 20px;
    }
    
    .job-card h3 {
        font-size: 16px;
    }
    
    .contact-content {
        gap: 30px;
    }
}
