/* style.css */
:root {
    --bg-primary: #E8ECF3;
    --bg-secondary: #F0F3F9;
    --bg-elevated: #FFFFFF;

    --text-primary: #384252;
    --text-secondary: #5F6B77;
    --text-tertiary: #9CA3AF;

    --accent-primary: #1E68BE;
    --accent-hover: #357ABD;
    --accent-light: #E3F2FD;

    --border-color: #D5DBE5;
    --border-light: #E8ECF3;

    --shadow-light: 8px 8px 16px rgba(163, 177, 198, 0.3),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
    --shadow-inset: inset 4px 4px 8px rgba(163, 177, 198, 0.2),
    inset -4px -4px 8px rgba(255, 255, 255, 0.5);
    --shadow-sm: 4px 4px 8px rgba(163, 177, 198, 0.2),
    -2px -2px 6px rgba(255, 255, 255, 0.6);

    --gradient-soft: linear-gradient(145deg, #F0F3F9 0%, #E8ECF3 100%);
    --gradient-accent: linear-gradient(135deg, #1E68BE 0%, #357ABD 100%);

    --primary-100: #003da0;
    --primary-200: #0052d9;
    --primary-300: #1a66ff;
    --primary-gradient: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 50%, var(--primary-300) 100%);
    --primary-gradient-hover: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-300) 50%, #4d7fff 100%);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    background: rgba(249, 250, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

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

.logo {
    height: 40px;
    position: relative;
}

.logo-img {
    height: 100%;
    width: auto;
    transition: opacity 0.3s;
}

.logo-dark {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    z-index: 2;
}

.step-icon {
    position: absolute;
    left: 20px;
    top: 2.5rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.special-link:hover {
    gap: 1rem;
}

/* Scroll top */
.scroll-top {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #2a2a2a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-top:hover {
    background-color: #2a2a2a;
}

.scroll-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.scroll-hero-container {
    position: relative;
    height: 500vh;
}

.scroll-hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Wrapper */
.scroll-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scroll-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) translateZ(0);
    object-fit: cover;
    z-index: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

/* Overlay */
.scroll-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 60%),
            linear-gradient(135deg, rgba(0, 61, 160, 0.4) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Content Container */
.scroll-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10vh 4rem;
    pointer-events: none;
}

/* Top Section Container */
.hero-top-section {
    flex: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.3);
    padding: 0.875rem 2rem;
    margin-top: 4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4DB6F9;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    width: fit-content;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-30px);
    transition: none;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    stroke: #4DB6F9;
    flex-shrink: 0;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 900px;
    width: 100%;
}

.hero-text-card {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(-40px);
    transition: none;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: #fff;
    text-shadow:
            0 2px 8px rgba(0,0,0,0.4),
            0 8px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title .gradient-text {
    display: inline-block;
    white-space: nowrap;
}

/* Typewriter Container */
.typewriter-line {
    display: block;
    min-height: 1.2em;
}

.typewriter-line:nth-child(3) {
    display: flex;
    justify-content: center;
}

.typewriter-char {
    opacity: 0;
    display: inline;
    visibility: hidden;
}

.typewriter-char.visible {
    opacity: 1;
    visibility: visible;
}

/* Kein Cursor mehr */
.typewriter-cursor {
    display: none;
}

.gradient-text {
    background: linear-gradient(135deg, #4DB6F9 0%, #0052d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    text-align: center;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, #4DB6F9 0%, #0052d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.5;
    visibility: hidden;
}

.gradient-text.typewriter-complete::after {
    visibility: visible;
}

/* Subtitle - Über den CTAs */
.hero-subtitle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    max-width: 700px;
    text-align: center;
}

.hero-cta-container {
    flex: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0052d9 0%, #4DB6F9 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    pointer-events: auto;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.6);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.875rem;
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
    opacity: 0.8;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: white;
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Visibility States */
.hero-badge.visible {
    animation: fadeInDown 0.8s ease-out forwards;
}

.hero-text-card.visible {
    animation: fadeInScale 1s ease-out forwards;
}

.hero-subtitle-container.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-cta.visible {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Exit States */
.hero-badge.exit {
    animation: fadeOutUp 0.6s ease-in forwards;
}

.hero-text-card.exit {
    animation: fadeOutScale 0.6s ease-in forwards;
}

.hero-subtitle-container.exit {
    animation: fadeOutDown 0.6s ease-in forwards;
}

.hero-cta.exit {
    animation: fadeOutDown 0.6s ease-in 0.1s forwards;
}

/* Video Loading - Professionell */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.98) 0%,
    rgba(10, 10, 20, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Skeleton Content */
.skeleton-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
}

/* Optional: Brand Name während Loading */
.skeleton-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(77, 182, 249, 0.8);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Skelett Elemente mit Shimmer */
.skeleton-badge,
.skeleton-line,
.skeleton-subtitle,
.skeleton-button {
    background: linear-gradient(
            90deg,
            rgba(77, 182, 249, 0.08) 0%,
            rgba(77, 182, 249, 0.15) 50%,
            rgba(77, 182, 249, 0.08) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Badge Skelett */
.skeleton-badge {
    width: 240px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid rgba(77, 182, 249, 0.2);
}

/* Title Skelett */
.skeleton-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.skeleton-line {
    width: 600px;
    height: 56px;
    max-width: 90vw;
}

.skeleton-line.short {
    width: 450px;
    max-width: 70vw;
}

/* Subtitle Skelett */
.skeleton-subtitle {
    width: 700px;
    height: 90px;
    max-width: 90vw;
}

/* CTA Buttons Skelett */
.skeleton-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.skeleton-button {
    width: 260px;
    height: 56px;
    border-radius: 28px;
}

.skeleton-button.secondary {
    border: 2px solid rgba(77, 182, 249, 0.2);
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%
    );
}

/* Progress Bar - Subtil am unteren Rand */
.loading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0052d9, #4DB6F9);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(77, 182, 249, 0.6);
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .skeleton-content {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .skeleton-brand {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .skeleton-line {
        height: 48px;
    }

    .skeleton-cta {
        flex-direction: column;
        width: 100%;
    }

    .skeleton-button {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scrollLine {
    0% {
        height: 0;
        opacity: 1;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
    100% {
        height: 40px;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .scroll-hero-content {
        padding: 8vh 2rem;
    }
}

@media (max-width: 768px) {
    .scroll-hero-video {
        min-width: auto !important;
        min-height: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: 100vh !important;
        object-fit: contain !important;
    }

    .scroll-video-wrapper {
        background: #000;
    }

    .scroll-hero-content {
        padding: 6vh 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 1.125rem 2rem;
        font-size: 0.95rem;
    }

    .hero-cta-container {
        margin-bottom: 4rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-badge svg {
        width: 18px;
        height: 18px;
    }
}

/* Partner Section */
.partner-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(77, 182, 249, 0.05));
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.partner-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
}

.partner-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.partner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.partner-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.partner-content a:hover {
    color: var(--accent-hover);
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.partner-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: white;
    color: var(--accent-primary);
}

.cta-section .cta-button:hover {
    background: var(--bg-primary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Page Hero (for subpages) */
.page-hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(77, 182, 249, 0.05));
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.theme-toggle-icons {
    position: relative;
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.sun-icon,
.moon-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    stroke: var(--text-primary);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Mobile Menu */
.mobile-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

/* Hamburger Icon */
.hamburger-icon {
    position: relative;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Active State Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .cinematic-overlay-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .cinematic-overlay-menu {
        display: none !important;
    }
}

/* Mobile: Hamburger sichtbar, Desktop-Nav versteckt */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Cinematic Overlay Menu - Nur Mobile */
.cinematic-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Video Background */
.menu-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.menu-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(8px) brightness(0.3);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.cinematic-overlay-menu.active .menu-video {
    opacity: 1;
}

/* Glass Backdrop */
.menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    z-index: 2;
}

/* Dark Mode Anpassung */
body.dark-mode .menu-backdrop {
    background: rgba(5, 5, 10, 0.9);
}

/* Menu Content */
.menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 10;
}

/* Cinematic Vignette Effect */
.menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            ellipse at center,
            transparent 0%,
            rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Menu Navigation */
.menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-item {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-overlay-menu.active .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.cinematic-overlay-menu.active .menu-item:nth-child(1) { transition-delay: 0.2s; }
.cinematic-overlay-menu.active .menu-item:nth-child(2) { transition-delay: 0.3s; }
.cinematic-overlay-menu.active .menu-item:nth-child(3) { transition-delay: 0.4s; }
.cinematic-overlay-menu.active .menu-item:nth-child(4) { transition-delay: 0.5s; }

/* Menu Links */
.menu-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.03em;
    position: relative;
    padding: 0.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-link:hover::before {
    width: 100%;
}

.menu-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 8px;
    border-radius: 4px;
}

.menu-link.active::before {
    width: 100% !important;
    background: linear-gradient(90deg, #4DB6F9, #0052d9) !important;
}

.menu-link.active {
    color: #4DB6F9;
}

.menu-link.active:hover {
    color: #4DB6F9;
    transform: translateX(10px);
    letter-spacing: 0.02em;
}

.menu-link.active:hover::before {
    background: linear-gradient(90deg, #4DB6F9, #0052d9) !important;
}

/* Menu Footer */
.menu-footer {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease 0.8s;
    z-index: 10;
}

.cinematic-overlay-menu.active .menu-footer {
    opacity: 1;
}

.menu-footer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.menu-footer .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.menu-footer .social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-footer .social-links a:hover,
.menu-footer .social-links a:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Close Button */
.cinematic-menu-close {
    position: fixed;
    top: 1rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transform: rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cinematic-menu-close.active {
    opacity: 1;
    visibility: visible;
    transform: rotate(0deg);
    transition-delay: 0.8s;
}

.cinematic-menu-close:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Close Button X-Icon mit Span-Elementen */
.close-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.close-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cinematic-menu-close:hover .close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(135deg);
}

.cinematic-menu-close:hover .close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Responsive Tablet */
@media (max-width: 768px) {
    .menu-link {
        font-size: clamp(1.75rem, 10vw, 3rem);
    }

    .menu-item {
        margin: 1rem 0;
    }

    .menu-footer {
        bottom: 2rem;
    }

    .cinematic-menu-close {
        top: 0.75rem;
        right: 1.5rem;
    }
}

/* Responsive Mobile */
@media (max-width: 480px) {
    .menu-link {
        font-size: clamp(1.5rem, 12vw, 2.5rem);
    }

    .menu-item {
        margin: 0.75rem 0;
    }

    .menu-content {
        padding: 1.5rem;
    }

    .cinematic-menu-close {
        width: 44px;
        height: 44px;
    }

    .menu-footer .social-links a {
        width: 40px;
        height: 40px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cinematic-overlay-menu,
    .menu-video,
    .menu-item,
    .menu-link,
    .menu-footer,
    .cinematic-menu-close {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .menu-backdrop {
        background: rgba(0, 0, 0, 0.95);
    }

    .menu-link {
        color: white;
    }

    .menu-link:focus {
        outline-width: 3px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtle-zoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #4DB6F9, #007BFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition-normal);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    animation: fade-in 1s ease-out 1s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: white;
    margin: 10px auto 0;
    animation: scroll-line 2s ease-in-out infinite;
}

/* Intro Section */
.intro-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
    transform: translateZ(0);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.image-overlay-text {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    background: rgba(0, 123, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro-image:hover .image-overlay-text {
    transform: translateY(0);
}

.image-overlay-text svg {
    flex-shrink: 0;
}

.image-overlay-text span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Services Process Section */
.services-process {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), #4DB6F9);
}

.process-step {
    position: relative;
    padding: 2rem 0 2rem 140px;
    margin-bottom: 2rem;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 2rem;
    width: 120px;
    height: 120px;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    z-index: 2;
}

.step-icon {
    position: absolute;
    left: 22px;
    top: 3.5rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Special Services */
.special-services {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.special-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.special-item:hover {
    transform: translateY(-5px);
}

.special-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.special-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.85) 100%);
}

.special-item:hover .special-image img {
    transform: scale(1.1);
}

.special-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.special-content-top {
    flex-grow: 1;
}

.special-content svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.special-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.special-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.special-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: gap 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    align-self: flex-start;
    margin-top: auto;
}

.special-link:hover {
    gap: 1rem;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-secondary);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.modal-header-content {
    color: white;
}

.modal-header-content svg {
    margin-bottom: 1rem;
}

.modal-header-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-section h3 svg {
    stroke: var(--accent-primary);
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-item svg {
    flex-shrink: 0;
    stroke: var(--accent-primary);
    margin-top: 0.25rem;
}

.feature-item span {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(77, 182, 249, 0.1));
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.secondary-button {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.secondary-button:hover {
    background: var(--accent-primary);
    color: white;
}

@media (max-width: 768px) {
    .special-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .modal-cta {
        flex-direction: column;
    }
}

/* Portfolio Preview */
.portfolio-preview {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Section Header Styling */
.portfolio-preview .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

/* Creative Masonry Grid Layout */
.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Featured - Großes Bild links */
.masonry-item.featured {
    grid-column: span 7;
    grid-row: span 3;
}

/* Tall - Schmales hohes Bild rechts oben */
.masonry-item.tall {
    grid-column: span 5;
    grid-row: span 3;
}

/* Small - Kleines Bild unten links */
.masonry-item.small {
    grid-column: span 5;
    grid-row: span 2;
}

/* Wide - Breites Bild unten rechts */
.masonry-item.wide {
    grid-column: span 7;
    grid-row: span 2;
}

/* Masonry Item Styling */
.masonry-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Magnetic Hover Effect */
.masonry-item[data-magnetic] {
    will-change: transform;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 123, 255, 0.2);
    z-index: 10;
}

/* Image/Video Container */
.masonry-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Video Styling */
.masonry-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.masonry-item:hover .masonry-video {
    transform: scale(1.1);
}

/* Video Play Indicator */
.video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.video-play-indicator svg {
    margin-left: 3px; /* Optische Zentrierung des Play-Icons */
}

/* Hide play indicator when video is playing */
.masonry-item.playing .video-play-indicator {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Show play indicator on mobile when paused */
@media (max-width: 768px) {
    .masonry-item:not(.playing) .video-play-indicator {
        opacity: 1;
    }
}

/* Spotlight Effect */
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle 400px at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.15),
            transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.masonry-item:hover .spotlight {
    opacity: 1;
}

/* Overlay */
.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

/* Overlay Content */
.overlay-content {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.masonry-item:hover .overlay-content {
    transform: translateY(0);
}

/* Category Badge */
.masonry-category {
    display: inline-block;
    background: rgba(0, 123, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    animation: slideInLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

/* Title */
.masonry-overlay h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

/* Description */
.masonry-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.25s both;
}

/* Link Button */
.masonry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    align-self: flex-start;
    animation: slideInLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.masonry-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    gap: 1rem;
    transform: translateX(5px);
}

.masonry-link svg {
    transition: transform 0.3s ease;
}

.masonry-link:hover svg {
    transform: rotate(45deg);
}

/* Animation Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

.portfolio-cta .secondary-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .portfolio-masonry {
        grid-auto-rows: 180px;
        gap: 1rem;
    }

    .masonry-item.featured,
    .masonry-item.tall {
        grid-column: span 6;
    }

    .masonry-item.small,
    .masonry-item.wide {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .portfolio-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 1rem;
    }

    .masonry-item.featured,
    .masonry-item.tall,
    .masonry-item.small,
    .masonry-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .masonry-overlay {
        opacity: 0;
        padding: 1.5rem;
    }

    /* Show overlay on mobile tap */
    .masonry-item.active .masonry-overlay {
        opacity: 1;
    }

    .video-play-indicator {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 769px) {
    .video-play-indicator {
        display: none;
    }
}

/* Partner Section */
.partner-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(77, 182, 249, 0.05));
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.partner-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
}

.partner-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.partner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.partner-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.partner-content a:hover {
    color: var(--accent-hover);
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.partner-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: white;
    color: var(--accent-primary);
}

.cta-section .cta-button:hover {
    background: var(--bg-primary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Page Hero */
.page-hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(77, 182, 249, 0.05));
    text-align: center;
}

    .page-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .page-title {
        font-family: var(--font-heading);
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 800;
        margin-bottom: var(--spacing-md);
        color: var(--text-primary);
    }

    .page-subtitle {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        color: var(--text-secondary);
        max-width: 700px;
        margin: 0 auto;
    }

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* About Page */
.about-intro {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-text .section-badge {
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Expertise Section */
.expertise-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--accent-primary);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Vision & Values Section */
.vision-values {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.vision-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.vision-text {
    display: inline-block;
    text-align: center;
}

.vision-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.value-item svg {
    flex-shrink: 0;
    stroke: var(--accent-primary);
}

.value-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: var(--spacing-xl);
}

/* Dual Business Section */
.dual-business {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(77, 182, 249, 0.05));
}

.dual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dual-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.dual-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.dual-text a:not(.dual-link) {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dual-text a:not(.dual-link):hover {
    color: var(--accent-hover);
}

.dual-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.dual-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.dual-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.dual-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.dual-image:hover img {
    transform: scale(1.05);
}

/* Featured Projects Detailed Section */
.featured-projects-detailed {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.project-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 8rem;
    padding: 3rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
}

.project-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.project-detail.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-detail.reverse .project-media {
    order: 2;
}

.project-detail.reverse .project-info {
    order: 1;
}

/* Project Media */
.project-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.project-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    background: #000;
}

.project-video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Project Info */
.project-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.project-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.project-category {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--accent-light);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.project-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.project-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.project-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Project Specs */
.project-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-item svg {
    flex-shrink: 0;
    color: var(--accent-primary);
    margin-top: 2px;
}

.spec-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-item strong {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.spec-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Project Highlights */
.project-highlights {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 104, 190, 0.05), rgba(77, 182, 249, 0.05));
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.project-highlights h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-highlights h3 svg {
    color: var(--accent-primary);
}

.project-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.project-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Project Results */
.project-results {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1), rgba(0, 184, 148, 0.1));
    border-radius: 12px;
    border-left: 4px solid #2ecc71;
}

.project-results h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-results h3 svg {
    color: #2ecc71;
}

.project-results p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Project Challenge */
.project-challenge {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(230, 126, 34, 0.1));
    border-radius: 12px;
    border-left: 4px solid #f39c12;
}

.project-challenge h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-challenge h3 svg {
    color: #f39c12;
}

.project-challenge p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Project Testimonial */
.project-testimonial {
    position: relative;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.project-testimonial svg {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: var(--accent-primary);
}

.project-testimonial p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
}

.project-testimonial cite {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
    padding-left: 2.5rem;
}

/* Project Link */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(30, 104, 190, 0.3);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 104, 190, 0.4);
}

.project-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.project-link:hover svg {
    transform: translate(3px, -3px);
}

/* Additional Projects Section */
.additional-projects {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Enhanced Section Badge Styles */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.section-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
        margin-bottom: 5rem;
    }

    .project-detail.reverse {
        grid-template-columns: 1fr;
    }

    .project-detail.reverse .project-media,
    .project-detail.reverse .project-info {
        order: unset;
    }

    .project-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-projects-detailed {
        padding: var(--spacing-md) 0;
    }

    .project-detail {
        padding: 1.5rem;
        gap: 2rem;
        margin-bottom: 3rem;
        border-radius: 16px;
    }

    .project-info h2 {
        font-size: 1.75rem;
    }

    .project-lead {
        font-size: 1.1rem;
    }

    .project-specs,
    .project-highlights,
    .project-results,
    .project-challenge,
    .project-testimonial {
        padding: 1.25rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-detail {
        padding: 1rem;
        gap: 1.5rem;
    }

    .project-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .project-info h2 {
        font-size: 1.5rem;
    }

    .project-lead {
        font-size: 1rem;
    }

    .project-specs {
        padding: 1rem;
    }

    .spec-item {
        gap: 0.75rem;
    }

    .project-highlights ul {
        gap: 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .project-detail {
        background: var(--bg-secondary);
        border-color: var(--border-color);
    }

    .project-badge {
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        color: #000;
    }

    .project-category {
        background: rgba(30, 104, 190, 0.2);
        color: var(--accent-primary);
    }

    .project-specs,
    .project-highlights,
    .project-results,
    .project-challenge,
    .project-testimonial {
        background: var(--bg-primary);
    }

    .section-badge {
        background: var(--bg-elevated);
        border-color: var(--border-color);
    }
}

/* Animation Enhancements */
.project-detail {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Print Styles */
@media print {
    .project-detail {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .project-video {
        display: none;
    }

    .project-link {
        display: none;
    }
}

/* Contact Quick Info Section */
.contact-quick-info {
    padding: var(--spacing-lg) 0;
    background: var(--bg-secondary);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.quick-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.quick-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent-primary);
}

.quick-info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), #4DB6F9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quick-info-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.quick-info-content p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.quick-info-content a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-info-content a:hover {
    color: var(--accent-primary);
}

.quick-info-meta {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

/* Form Container */
.form-container {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-container .form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Input Styles */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.field-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
    border-radius: 8px;
    color: #e74c3c;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease;
}

.field-error svg {
    flex-shrink: 0;
    stroke: #e74c3c;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.checkbox-group label a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group label a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn svg {
    stroke: white;
}

/* Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    animation: slideIn 0.5s ease;
}

.success-message .message-icon {
    margin-bottom: 15px;
}

.success-message .message-icon svg {
    stroke: white;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1.05rem;
    opacity: 0.95;
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
    animation: slideIn 0.5s ease;
}

.error-message .message-icon {
    margin-bottom: 15px;
}

.error-message .message-icon svg {
    stroke: white;
}

.error-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.error-message p {
    font-size: 1.05rem;
    opacity: 0.95;
}

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

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.char-counter.error {
    color: #e74c3c;
}

/* Contact Sidebar */
.contact-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sidebar-header svg {
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.sidebar-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.sidebar-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.sidebar-btn-secondary:hover {
    background: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.sidebar-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .quick-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sidebar-card {
        padding: 20px;
    }

    .submit-btn {
        font-size: 1rem;
    }
}

/* Map Section */
.map-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.map-container iframe {
    display: block;
}

.signature-section {
    background: var(--bg-secondary);
    width: 100%;
    padding: 3rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.signature-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 61, 160, 0.1) 0%, rgba(0, 82, 217, 0.1) 100%);
    border: 1px solid rgba(0, 82, 217, 0.3);
    border-radius: 16px;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.signature-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 102, 255, 0.3), transparent);
    transition: left 0.6s;
}

.signature-link:hover::before {
    left: 100%;
}

.signature-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--primary-gradient);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}
.signature-link:hover::after {
    opacity: 1;
}

.signature-link:hover {
    background: linear-gradient(135deg, rgba(0, 61, 160, 0.15) 0%, rgba(0, 82, 217, 0.15) 100%);
}

.logo-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.2;
    filter: blur(15px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

.logo-image {
    position: relative;
    z-index: 1;
    width: 150%;
    height: 150%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(26, 102, 255, 0.5));
}

.signature-link:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.signature-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.signature-link:hover .signature-text {
    color: var(--text-primary);
}

.signature-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s;
}

.signature-link:hover .signature-brand {
    background: var(--primary-gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-300);
    border-radius: 50%;
    opacity: 0;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-300);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 1s; }
.particle:nth-child(3) { left: 60%; animation-delay: 2s; }
.particle:nth-child(4) { left: 80%; animation-delay: 3s; }

@media (max-width: 640px) {
    .signature-section {
        padding: 2rem 1rem;
    }

    .signature-link {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .signature-brand {
        font-size: 1.25rem;
    }

    .signature-text {
        font-size: 0.75rem;
    }

    .logo-wrapper {
        width: 40px;
        height: 40px;
    }
}

/* BADGE STYLING */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(77, 182, 249, 0.1));
    color: var(--accent-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.section-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.section-badge:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(77, 182, 249, 0.15));
    border-color: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

/* CTA Badge Styling */
.cta-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-badge svg {
    stroke: white;
}

.cta-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet */
@media (max-width: 1024px) {
    .portfolio-masonry {
        grid-template-columns: repeat(8, 1fr);
        grid-auto-rows: 180px;
    }

    .masonry-item.featured {
        grid-column: span 5;
        grid-row: span 3;
    }

    .masonry-item.tall {
        grid-column: span 3;
        grid-row: span 3;
    }

    .masonry-item.small {
        grid-column: span 3;
        grid-row: span 2;
    }

    .masonry-item.wide {
        grid-column: span 5;
        grid-row: span 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .portfolio-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.5rem;
    }

    .masonry-item.featured,
    .masonry-item.tall,
    .masonry-item.small,
    .masonry-item.wide {
        grid-column: span 1;
        grid-row: auto;
        min-height: 350px;
    }

    .masonry-overlay {
        padding: 2rem;
    }

    .masonry-description {
        display: none;
    }

    .masonry-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .masonry-item.featured,
    .masonry-item.tall,
    .masonry-item.small,
    .masonry-item.wide {
        min-height: 300px;
    }

    .masonry-overlay {
        padding: 1.5rem;
    }

    .masonry-overlay h3 {
        font-size: 1.2rem;
    }
}

/* Showcase Link */
.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(-20px);
    opacity: 0;
    align-self: flex-start;
}

.showcase-item:hover .showcase-link {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.showcase-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    gap: 1rem;
    transform: translateX(5px);
}

.showcase-link svg {
    transition: transform 0.3s ease;
}

.showcase-link:hover svg {
    transform: rotate(45deg);
}

/* Hover Effects */
.showcase-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Magnetic Effect on Large Items */
.showcase-item.large:hover {
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.15);
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

.portfolio-cta .secondary-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1024px) {
    .portfolio-showcase {
        grid-template-columns: repeat(4, 1fr);
    }

    .showcase-item.large {
        grid-column: span 4;
        min-height: 400px;
    }

    .showcase-item:not(.large) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portfolio-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .showcase-item.large,
    .showcase-item:not(.large) {
        grid-column: span 1;
        min-height: 350px;
    }

    .showcase-overlay {
        padding: 2rem;
    }

    .showcase-description {
        display: none;
    }
}

@media (max-width: 480px) {
    .showcase-item.large,
    .showcase-item:not(.large) {
        min-height: 300px;
    }

    .showcase-overlay {
        padding: 1.5rem;
    }

    .showcase-overlay h3 {
        font-size: 1.2rem;
    }
}