:root {
    --nardo-grey: #141516; /* much darker base background */
    --nardo-grey-light: #1F2022; /* darker light variant for UI elements */
    --nardo-grey-dark: #0D0E10; /* darkest variant */
    --text-color: #ffffff;
    --section-padding: 4rem 2rem;
    --gradient-height: 100px;
    --transition-smooth: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    background-color: var(--nardo-grey);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.logo img {
    height: 67px;
    width: auto;
    transition: all 0.3s ease;
}

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

.header.scrolled .logo img {
    height: 62px;
}

/* Remove all logo hover underline effects */
.logo::after,
.logo:hover::after,
.logo a::after,
.logo a:hover::after {
    display: none !important;
    content: none !important;
}

.nav-left, .nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-left a, .nav-right a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 1;
}

.nav-left a::after, .nav-right a::after {
    display: none;
}

/* Main Content Styles */
main {
    margin-top: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--nardo-grey);
}

/* Section Transitions */
.section-transition {
    position: relative;
    overflow: hidden;
    background-color: var(--nardo-grey);
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--gradient-height);
    background: linear-gradient(to bottom, 
        rgba(20, 21, 22, 0) 0%,
        rgba(20, 21, 22, 1) 100%);
    z-index: 1;
}

.section-transition::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--gradient-height);
    background: linear-gradient(to top, 
        rgba(20, 21, 22, 0) 0%,
        rgba(20, 21, 22, 1) 100%);
    z-index: 1;
}

/* Container Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }

    .nav-left, .nav-right {
        gap: 1rem;
    }

    .logo img {
        height: 52px;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
    }

    .logo {
        position: relative;
        margin: 0.5rem 0;
    }

    .logo img {
        height: 62px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing */
section {
    padding: 6rem 2rem;
    position: relative;
    scroll-margin-top: 100px;
}

/* Global Link Styles */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Global Button Styles */
button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Global Image Styles */
img {
    max-width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.name-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

.logo:hover .name-title {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.about-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 20%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 80%,
        transparent 100%
    );
}


@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text,
    .about-highlight {
        flex: none;
        width: 100%;
    }
}

.header a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.133rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
}

.header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.header a:hover,
.header a.active {
    opacity: 1;
}

.header a:hover::after,
.header a.active::after {
    width: 100%;
}

/* Hero Section Styles */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Smooth fade transition under the trailer video */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--gradient-height) * 4);
    pointer-events: none;
    z-index: 2; /* above the video */
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(13, 14, 16, 0.35) 15%,
        rgba(13, 14, 16, 0.6) 40%,
        rgba(13, 14, 16, 0.85) 75%,
        var(--nardo-grey) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

/* Show the fade only after scrolling begins (header gets .scrolled) */
.header.scrolled ~ main .hero::after {
    opacity: 1;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

/* Scroll Hint Styles */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.scroll-hint.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-hint-background {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(120px + 4rem);
    height: calc(60px + 2rem);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: calc(60px + 2rem) calc(60px + 2rem) 0 0;
    z-index: -1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: white;
    position: relative;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Media Query: Hero Video auf mobilen Geräten in 50% Höhe */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    
    .video-container {
        height: 50vh;
    }
    
    #hero-video {
        height: 50vh;
    }
    
    .scroll-hint {
        bottom: 1rem;
    }
    
    .scroll-hint-background {
        width: calc(100px + 2rem);
        height: calc(50px + 1rem);
        bottom: -1rem;
        border-radius: calc(50px + 1rem) calc(50px + 1rem) 0 0;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
}

/* About Section Styles */
.about-section::after {
    content: '';
    position: absolute;
    bottom: calc(var(--gradient-height) * -1);
    left: 0;
    right: 0;
    height: var(--gradient-height);
    background: linear-gradient(to bottom,
        var(--nardo-grey),
        var(--nardo-grey)
    );
}

.about-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.about-content {
    display: flex;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.portrait {
    flex: 0 1 38.25%;
    display: flex;
    justify-content: flex-start;
}

.portrait img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: none;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 120% 120%;
    mask-size: 120% 120%;
    -webkit-mask-position: center;
    mask-position: center;
}

.about-text {
    flex: 1 1 55%;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* References Section Styles */
.references-section {
    padding: 0;
    background: var(--nardo-grey);
    position: relative;
    margin: 4rem 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.references-section .container {
    max-width: 100%;
    padding: 0;
}

.references-section::before {
    content: '';
    position: absolute;
    top: calc(var(--gradient-height) * -2);
    left: 0;
    right: 0;
    height: calc(var(--gradient-height) * 3);
    background: linear-gradient(to bottom,
        var(--nardo-grey) 0%,
        rgba(20, 21, 22, 0.9) 30%,
        rgba(20, 21, 22, 0.6) 60%,
        rgba(20, 21, 22, 0) 100%
    );
}

.references-section::after {
    content: '';
    position: absolute;
    bottom: calc(var(--gradient-height) * -1);
    left: 0;
    right: 0;
    height: var(--gradient-height);
    background: linear-gradient(to top,
        rgba(20, 21, 22, 0) 0%,
        var(--nardo-grey) 100%
    );
}

.references-section h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-grid {
    display: block;
    margin: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.video-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.video-slider {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    will-change: transform;
}

.video-slider-item {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--nardo-grey);
}

.video-slider-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.video-slider-item .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Grid layout for playlist (4 columns, sized to fit within 1200px like service buttons) */
.video-grid-view {
    display: grid;
    grid-template-columns: repeat(4, 282px);
    gap: 1.5rem;
    margin: 2rem auto;
    width: fit-content;
    max-width: 1200px;
    justify-content: center;
}

.video-grid-item {
    width: 282px;
    height: 158.625px; /* Maintain 16:9 aspect ratio */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--nardo-grey);
}

.video-grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.video-grid-item .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Playlist view toggle buttons */
.playlist-view-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Remove top margin from slider when it comes after controls */
.playlist-view-controls + .playlist-views-container .video-slider-wrapper {
    margin-top: 0;
}

.playlist-view-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.playlist-view-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.playlist-view-icon.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .video-grid-view {
        grid-template-columns: repeat(auto-fit, 320px);
        gap: 1rem;
        max-width: 100%;
    }
}

.video-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: none;
    cursor: pointer;
    backdrop-filter: none;
    border: none;
}

.video-item:hover {
    transform: none;
    box-shadow: none;
}

.thumbnail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-thumbnail {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.8;
}

.play-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.video-item:hover .play-button {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: #000;
    display: none;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

@media (max-width: 768px) {
    .references-section .container {
        padding: 0 1rem;
    }
    
    .text-box {
        padding: 1.5rem;
    }
    
    .text-box p {
        font-size: 1.1rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--nardo-grey);
    padding: 3rem 0;
    padding-bottom: 3.5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: visible;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.footer-content .copyright {
    margin-right: 4rem;
}

.footer-content .social-links {
    margin-left: -4rem;
}

.footer-email {
    flex: 0 0 auto;
    text-align: center;
}

.footer-email a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-email a:hover {
    opacity: 1;
}

.legal-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legal-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
}

.separator {
    color: var(--text-color);
    opacity: 0.4;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 2px;
    margin-left: 4rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    fill: var(--text-color);
    opacity: 0.15;
    transition: all 0.3s ease;
    display: block;
    flex-shrink: 0;
    overflow: visible;
}

.social-links a:hover .social-icon {
    opacity: 0.5;
    transform: scale(1.1);
}

.social-links a:hover .social-icon.instagram {
    transform: scale(1.1) translateY(0.02rem);
}

.social-links a:hover .social-icon.youtube {
    transform: scale(1.1) translateY(0.02rem);
}

.social-links a:hover .social-icon.linkedin {
    transform: scale(1.1) translateY(0.02rem);
}

/* Specific social icon hover effects */
.social-links a:hover .linkedin {
    filter: drop-shadow(0 0 5px rgba(0, 119, 181, 0.5));
}

.social-links a:hover .instagram {
    filter: drop-shadow(0 0 5px rgba(225, 48, 108, 0.5));
}

/* Instagram Icon um 3% vergrößern (ursprünglich 24px) */
.social-icon.instagram {
    width: 23.484px;
    height: 23.484px;
    min-width: 23.484px;
    min-height: 23.484px;
    max-width: 23.484px;
    max-height: 23.484px;
    transform: translateY(0.02rem);
}

/* YouTube Icon um 28% vergrößern (ursprünglich 24px) */
.social-icon.youtube {
    width: 29.184px;
    height: 29.184px;
    min-width: 29.184px;
    min-height: 29.184px;
    max-width: 29.184px;
    max-height: 29.184px;
    transform: translateY(0.02rem);
}

/* Facebook Icon um 4% vergrößern (ursprünglich 24px) */
.social-icon.facebook {
    width: 23.712px;
    height: 23.712px;
    min-width: 23.712px;
    min-height: 23.712px;
    max-width: 23.712px;
    max-height: 23.712px;
}

/* LinkedIn Icon um 1% vergrößern (ursprünglich 24px) */
.social-icon.linkedin {
    width: 23.028px;
    height: 23.028px;
    min-width: 23.028px;
    min-height: 23.028px;
    max-width: 23.028px;
    max-height: 23.028px;
    transform: translateY(0.02rem);
}

.social-links a:hover .youtube {
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.social-links a:hover .facebook {
    filter: drop-shadow(0 0 5px rgba(24, 119, 242, 0.5));
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Contact Icon Styles */
.contact-icon {
    display: flex;
    align-items: center;
    padding: 0;
}

.contact-icon::after {
    display: none; /* Remove the underline effect from the icon */
}

.contact-image {
    height: 24px; /* Adjust this value to match your design */
    width: auto;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.contact-icon:hover .contact-image {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive adjustments for contact icon */
@media (max-width: 600px) {
    .contact-image {
        height: 20px; /* Slightly smaller on mobile */
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--nardo-grey);
    color: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-buttons button,
.cookie-buttons a {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.accept-all {
    background-color: var(--nardo-grey-light);
    color: var(--nardo-grey);
}

.accept-essential {
    background-color: transparent;
    color: white;
    border: 1px solid white !important;
}

.learn-more {
    color: white;
    text-decoration: underline;
}

.accept-all:hover {
    background-color: #e0e0e0;
}

.accept-essential:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button,
    .cookie-buttons a {
        width: 100%;
    }
}

/* Contact Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    background-color: var(--nardo-grey);
    z-index: 10001;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 1;
}

.modal h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    background-color: var(--nardo-grey-light);
    color: var(--nardo-grey);
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button.active {
    background-color: #ffffff;
    color: var(--nardo-grey);
}

.submit-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.submit-button.active:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
}

.contact-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* CTA Section Styles */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--nardo-grey);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.cta-section h2 {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 6rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 0;
    border-radius: 0;
    transition: var(--transition-smooth);
    backdrop-filter: none;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.cta-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}

.cta-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    transition: none;
    filter: none;
    -webkit-filter: none;
}

.cta-card:hover .cta-video {
    opacity: 1;
}

/* Event Videos - keine Verdunkelung, originale Qualität */
#service-events .cta-video {
    opacity: 1;
    filter: brightness(0.95);
}

/* Alle Service-Kacheln mit gleicher Helligkeit wie Event Videos */
#service-drones .cta-video,
#service-social .cta-video,
#service-post .cta-video,
#service-dop .cta-video,
#service-custom .cta-video {
    opacity: 1;
    filter: brightness(0.95);
}

.cta-title {
    font-size: 1.35rem; /* Reduced by 2pt (2pt ≈ 0.167rem) */
    margin: 0;
    padding: 2rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.4s ease;
    text-align: center;
    width: 100%;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 1;
    text-transform: uppercase;
}

.cta-card:hover .cta-title {
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

.text-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-box p {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.about-section h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-section h2 {
        font-size: 1.475rem;
    }
    .about-text {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .about-content {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .portrait {
        width: 100%;
        justify-content: center;
    }
} 

/* Global page fade overlay */
#page-fade-overlay {
    position: fixed;
    inset: 0;
    background: #2d2d2d; /* anthrazit */
    z-index: 3000;
    pointer-events: none;
    opacity: 1;
    animation: fadeOverlayOut 900ms ease-out forwards;
}

@keyframes fadeOverlayOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    #page-fade-overlay { animation: none; opacity: 0; }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    max-height: 80vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-modal-iframe-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-modal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 70%;
    }
}

/* Service Pages Styles */
.service-section {
    padding: 6rem 2rem 2rem 2rem;
    background: var(--nardo-grey);
}

.service-section .container {
    max-width: 50%;
    margin: 0 auto;
}

/* Strich zwischen CTA und About-Section auf Service-Seiten */
.service-section ~ .about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 20%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 80%,
        transparent 100%
    );
}

/* Abstände für About-Section auf Service-Seiten anpassen */
.service-section ~ .about-section {
    padding-top: 3rem;
    margin-top: 0;
}


.service-section-block .video-grid {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    position: relative;
}

.service-section-block:has(.video-grid) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
}

.service-section-block:has(.video-grid-wrapper) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: 0;
    padding-right: 0;
}

.service-section-block .video-grid-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    margin-bottom: 0;
}

.service-section-block#selected-work {
    padding-bottom: 0;
    margin-bottom: 2rem;
}

/* Logo auf Service-Subseiten - 20% der Container-Breite */
.service-section img.name-title {
    width: 20% !important;
    height: auto !important;
}

.service-section-block#selected-work .approach-text {
    padding: 0 2rem;
    margin-top: 2rem;
}

.service-content {
    width: 100%;
    position: relative;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
}

.service-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: var(--text-color);
}

/* Abstand zwischen service-subtitle und Playlist auf Service-Subseiten um 1rem vergrößern */
.service-section .service-subtitle {
    margin-bottom: 3rem;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-section-block {
    margin-bottom: 5rem;
    text-align: center;
}

.service-section-block h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    text-transform: uppercase;
}

.service-section-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
    text-align: center;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
}

.service-list li::before {
    display: none;
}

.cta-block {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

/* Abstand zwischen Text und Button auf Service-Subseiten */
.service-section .cta-block {
    margin-top: 1rem;
}

.approach-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block h2 {
    margin-bottom: 1rem;
}

.cta-block p {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .service-section {
        padding: 4rem 1rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-section-block {
        margin-bottom: 3rem;
    }
    
    .service-section-block h2 {
        font-size: 1.3rem;
    }
}

/* Imprint & Privacy Policy Styles */
/* Footer am unteren Bildrand auf Imprint-Seite */
body:has(.imprint-header) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:has(.imprint-header) main {
    flex: 1;
    min-height: calc(100vh - 200px);
}

body:has(.imprint-header) .footer {
    margin-top: auto;
    flex-shrink: 0;
}

.imprint-header,
.privacy-header {
    padding: 6rem 2rem 0 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.imprint-header .container,
.privacy-header .container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.imprint-content .container,
.privacy-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.imprint-content,
.privacy-content {
    padding: 0 2rem 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.imprint-title,
.privacy-title {
    text-align: center;
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}

.imprint-content,
.privacy-content {
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(50vh - 100px);
}

.imprint-content .imprint-section,
.privacy-content .privacy-section {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

/* Entferne Verblendungen und Übergänge auf Imprint-Subseite */
.imprint-header.section-transition::before,
.imprint-header.section-transition::after,
.imprint-content.section-transition::before,
.imprint-content.section-transition::after {
    display: none;
}

.imprint-header,
.imprint-content,
.imprint-section,
.imprint-section * {
    transition: none !important;
    animation: none !important;
}

/* Entferne Verblendungen und Übergänge auf Privacy Policy Subseite */
.privacy-header.section-transition::before,
.privacy-header.section-transition::after,
.privacy-content.section-transition::before,
.privacy-content.section-transition::after {
    display: none;
}

.privacy-header,
.privacy-content,
.privacy-section,
.privacy-section * {
    transition: none !important;
    animation: none !important;
}

.imprint-section,
.privacy-section {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    color: var(--text-color);
    opacity: 1;
}

.imprint-section h2,
.privacy-section h2 {
    text-align: center;
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0;
    opacity: 1;
}

/* Entferne Abstand zwischen aufeinanderfolgenden h2-Elementen in Imprint */
.imprint-section h2 + h2 {
    margin-top: 0 !important;
}

/* Entferne Abstand zwischen aufeinanderfolgenden h2-Elementen in Privacy Policy */
.privacy-section h2 + h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Setze Absatz zwischen "Types of Data Collected" (2. h2) und "Personal Data" (3. h2) */
.privacy-section h2:nth-of-type(2) + h2:nth-of-type(3) {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* Erster h2 im Imprint (Name) mit voller Opazität */
.imprint-section h2:first-of-type {
    opacity: 1 !important;
}

.imprint-section p,
.privacy-section p {
    text-align: center;
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 1;
}

/* Entferne Lücke nach dem ersten "Oscar Bogacki" Text */
.imprint-section p:first-of-type {
    margin-bottom: 0;
}

/* Zwei Absätze nach dem zweiten "Oscar Bogacki" Text (Content responsibility) */
.imprint-section h2 + p {
    margin-bottom: 2rem;
}

.imprint-section ul {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.imprint-section ul li,
.privacy-section ul li {
    text-align: center;
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 1;
}

/* Listen auf Privacy Policy Subseite linksbündig */
.privacy-section ul {
    text-align: left;
    list-style: disc;
    padding-left: 2rem;
    margin: 1rem auto;
    max-width: 800px;
}

.privacy-section ul li {
    text-align: left;
    margin-bottom: 0.5rem;
}

.imprint-section a,
.privacy-section a {
    font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
    color: var(--text-color);
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.imprint-section a:hover,
.privacy-section a:hover {
    opacity: 1;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .imprint-title,
    .privacy-title {
        font-size: 2rem;
        font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
        color: var(--text-color);
    }
    
    .imprint-section h2,
    .privacy-section h2 {
        font-size: 1.3rem;
        font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
        color: var(--text-color);
    }
    
    .imprint-section p,
    .privacy-section p {
        font-size: 1rem;
        font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
        color: var(--text-color);
    }
    
    .imprint-section ul li,
    .privacy-section ul li {
        font-family: 'Sinhala Sangam MN', 'Inter', sans-serif;
        color: var(--text-color);
    }
} 