/* ============================================
   HOCHMODERNE PORTFOLIO-WEBSITE
   Immersive 3D-Animationen & Emotionales Design
   ============================================ */

:root {
    /* Farbpalette - Dunkel & Hell */
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #151520;
    --color-bg-tertiary: #1a1a2e;
    
    /* Akzentfarben */
    --color-accent-cyan: #00d4ff;
    --color-accent-cyan-light: #33e0ff;
    --color-accent-purple: #7c3aed;
    --color-accent-purple-light: #9d5ff5;
    
    /* Text */
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-text-muted: #a0a0a0;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Safe Area Insets für iOS */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    /* Scroll Snap für flüssige Übergänge */
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* WebGL Canvas Background */
.webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    /* Deaktiviere auf Mobile für bessere Performance */
    display: none;
}

/* Aktiviere nur auf Desktop */
@media (min-width: 769px) and (hover: hover) {
    .webgl-canvas {
        display: block;
    }
}

/* Animated Background Gradient Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    animation: backgroundPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    /* Reduziere Animation auf Mobile */
    will-change: transform, opacity;
}

/* Reduziere Animation auf Mobile für bessere Performance */
@media (max-width: 768px) {
    body::after {
        animation: none;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

/* ============================================
   HEADER - MINIMALISTISCH
   ============================================ */

.header-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.6s var(--transition-smooth);
}

.header-minimal.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

/* Mobile: Navigation komplett entfernen */
@media (max-width: 768px) {
    .header-minimal {
        display: none !important;
    }
}

.nav-minimal {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-minimal .logo-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-minimal .logo-link:hover {
    color: var(--color-accent-cyan);
}

.camera-logo {
    color: var(--color-accent-cyan);
    transition: all 0.4s var(--transition-smooth);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.logo-minimal .logo-link:hover .camera-logo {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    animation: cameraPulse 2s ease-in-out infinite;
}

@keyframes cameraPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 1));
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   HERO - IMMERSIVE 3D EXPERIENCE
   ============================================ */

.hero-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform-origin: center center;
}

/* Mobile: Kein Padding-Top nötig, da Navigation entfernt */
@media (max-width: 768px) {
    .hero-immersive {
        padding-top: 0;
    }
}

.floating-camera-icon {
    position: absolute;
    top: 20%;
    right: 10%;
    z-index: 1;
    color: var(--color-accent-cyan);
    opacity: 0.3;
    animation: floatCamera 8s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.floating-camera-icon svg {
    width: 60px;
    height: 60px;
}

@keyframes floatCamera {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) rotate(10deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, -50px) rotate(-5deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(15px, -20px) rotate(8deg);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .floating-camera-icon {
        display: none;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(5deg); }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 50%,
        rgba(10, 10, 15, 0.8) 100%
    );
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-text-container {
    max-width: 900px;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s var(--transition-smooth) forwards;
}

.title-word:nth-child(1) { animation-delay: 0.2s; }
.title-word:nth-child(2) { animation-delay: 0.4s; }
.title-word:nth-child(3) { animation-delay: 0.6s; }
.title-word:nth-child(4) { animation-delay: 0.8s; }

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

.hero-subtitle-animated {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.subtitle-line {
    display: block;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 1s var(--transition-smooth) forwards;
}

.subtitle-line:nth-child(1) { animation-delay: 1s; }
.subtitle-line:nth-child(2) { animation-delay: 1.2s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-cta-wrapper {
    margin-top: 3rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--color-accent-cyan);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent-cyan);
    transition: left 0.4s var(--transition-smooth);
    z-index: -1;
}

.cta-primary:hover {
    color: var(--color-bg-primary);
    border-color: var(--color-accent-cyan-light);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.4),
        0 4px 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.cta-primary:hover::before {
    left: 0;
}

.cta-primary svg {
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(5px);
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ============================================
   ABOUT - EMOTIONAL STORYTELLING
   ============================================ */

.about-storytelling {
    position: relative;
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    display: flex;
    align-items: center;
    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform-origin: center center;
    /* Visueller Übergang von Hero - verstärkt */
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(21, 21, 32, 0.8) 30%,
        var(--color-bg-secondary) 50%,
        rgba(21, 21, 32, 0.8) 70%,
        var(--color-bg-primary) 100%
    );
}

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

.portrait-wrapper {
    position: relative;
    transform-style: preserve-3d;
}

.portrait-frame {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.portrait-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%,
        rgba(124, 58, 237, 0.1) 50%,
        rgba(0, 212, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-accent-cyan);
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.portrait-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    transition: transform 0.6s var(--transition-smooth), filter 0.6s var(--transition-smooth);
    filter: 
        grayscale(100%)
        brightness(0.9) 
        contrast(1.2);
    border-radius: 20px;
    box-shadow: 
        0 0 60px rgba(0, 212, 255, 0.2),
        0 0 100px rgba(124, 58, 237, 0.15);
}

.portrait-wrapper:hover .portrait-photo {
    transform: scale(1.08);
    filter: 
        grayscale(100%)
        brightness(1) 
        contrast(1.3);
}

.portrait-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portrait-image:not(:has(.portrait-photo)) .portrait-placeholder,
.portrait-image .portrait-photo[style*="display: none"] ~ .portrait-placeholder {
    opacity: 1;
}

.portrait-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.2), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.25), rgba(0, 212, 255, 0.2), transparent 60%);
    border-radius: 20px;
    filter: blur(30px);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent-cyan);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title-emotional {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.title-emphasis {
    color: var(--color-accent-cyan);
    display: block;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.title-rest {
    display: block;
    color: #f0f0f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.story-text {
    margin-bottom: 3rem;
}

.story-paragraph {
    font-size: 1.15rem;
    line-height: 2;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    transform: translateY(0);
    transition: all 0.8s var(--transition-smooth);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.story-paragraph.visible {
    opacity: 1 !important;
    transform: translateY(0);
}

.story-paragraph.highlight {
    color: #ffffff;
    font-size: 1.25rem;
    font-style: italic;
    padding-left: 2rem;
    border-left: 3px solid var(--color-accent-cyan);
    text-shadow: 0 2px 15px rgba(0, 212, 255, 0.3);
    opacity: 1 !important;
}

@media (max-width: 767px) {
    .story-paragraph.highlight {
        padding-left: 1rem;
        border-left-width: 2px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .story-paragraph.highlight {
        padding-left: 0.875rem;
        border-left-width: 2px;
        font-size: 1rem;
    }
}

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

.stat-minimal {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--transition-smooth);
    opacity: 1;
    visibility: visible;
}

.stat-minimal:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-cyan);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* ============================================
   PORTFOLIO - PARALLAX GRID
   ============================================ */

.portfolio-immersive {
    position: relative;
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform-origin: center center;
    /* Visueller Übergang von About - verstärkt */
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(26, 26, 46, 0.9) 25%,
        var(--color-bg-tertiary) 40%,
        var(--color-bg-secondary) 60%,
        rgba(26, 26, 46, 0.9) 75%,
        var(--color-bg-primary) 100%
    );
}

.portfolio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
}

/* ============================================
   PORTFOLIO SLIDER - PREMIUM DESIGN
   ============================================ */

/* Portfolio Galerie - Alle Bilder sichtbar (Desktop) */
.portfolio-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Auf Mobile: Galerie verstecken */
@media (max-width: 768px) {
    .portfolio-gallery {
        display: none !important;
    }
}

.portfolio-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(0, 212, 255, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.3);
}

.portfolio-item-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
}

.portfolio-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
}

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

.portfolio-item-category {
    color: #00d4ff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .portfolio-item {
        aspect-ratio: 3/4;
    }
}

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

/* Portfolio Slider - Nur auf Mobile sichtbar */
.portfolio-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    overflow: visible;
    display: none; /* Standard: versteckt (Desktop) */
}

.portfolio-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.1);
    min-height: 400px;
    display: block;
    visibility: visible;
}

.portfolio-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    visibility: visible;
}

/* Mobile Slider Items - EINFACH UND FUNKTIONAL */
.portfolio-slider-item-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0;
    margin: 0;
}

.portfolio-slider-item-mobile[style*="display: block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    position: relative;
    width: 100%;
    min-height: 100%;
}

.portfolio-slider-image-mobile {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
}

/* Auf Mobile: Slider anzeigen */
@media (max-width: 768px) {
    .portfolio-slider-container {
        display: block !important;
        padding: 0 1rem !important;
        margin-top: 2rem !important;
        max-width: 100% !important;
    }
    
    .portfolio-slider-wrapper {
        min-height: auto !important;
        height: auto !important;
        padding: 1rem !important;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 2px solid rgba(0, 212, 255, 0.15);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 0 0 1px rgba(0, 212, 255, 0.05);
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .portfolio-slider-track {
        min-height: 70vh !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .portfolio-slider-item-mobile {
        width: 100% !important;
        min-height: 70vh !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        box-sizing: border-box !important;
    }
    
    .portfolio-slider-image-mobile {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 70vh !important;
        object-fit: contain !important;
        padding: 0.5rem !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .slider-nav-btn {
        width: 44px !important;
        height: 44px !important;
        opacity: 0.9 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 2px solid rgba(0, 212, 255, 0.5) !important;
        color: #00d4ff !important;
        z-index: 20 !important;
    }
    
    .slider-nav-prev {
        left: 0.5rem !important;
    }
    
    .slider-nav-next {
        right: 0.5rem !important;
    }
    
    .slider-nav-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    .portfolio-slider-container {
        padding: 0 0.5rem !important;
    }
    
    .portfolio-slider-wrapper {
        border-radius: 16px;
        padding: 0.75rem !important;
    }
    
    .portfolio-slider-track {
        min-height: 65vh !important;
    }
    
    .portfolio-slider-item-mobile {
        min-height: 65vh !important;
    }
    
    .portfolio-slider-image-mobile {
        max-height: 65vh !important;
        padding: 0.5rem !important;
    }
    
    .slider-nav-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    .slider-nav-prev {
        left: 0.25rem !important;
    }
    
    .slider-nav-next {
        right: 0.25rem !important;
    }
    
    .slider-nav-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.portfolio-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Verhindert horizontales Scrollen - nur Bilder bewegen sich */
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(0, 212, 255, 0.05);
    /* Stelle sicher, dass Wrapper immer sichtbar bleibt */
    min-height: 500px;
    display: block;
    visibility: visible;
}

.portfolio-slider-track {
    display: flex;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    gap: 0;
    transform-style: preserve-3d;
    perspective: 2000px;
}

.portfolio-slider-item {
    flex: 0 0 100%;
    position: relative;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    overflow: visible;
    opacity: 0;
    transform: scale(0.85) translateX(100px) rotateY(15deg);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 2000px;
    will-change: transform, opacity;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    /* Stelle sicher, dass Items immer sichtbar bleiben */
    visibility: visible;
}

.portfolio-slider-item.active {
    opacity: 1 !important;
    transform: scale(1) translateX(0) rotateY(0deg);
    z-index: 3;
    display: flex !important;
    visibility: visible !important;
    /* Stelle sicher, dass aktives Item immer sichtbar bleibt */
    pointer-events: auto;
}

.portfolio-slider-item.active .portfolio-slider-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.portfolio-slider-item.prev {
    opacity: 0;
    transform: scale(0.8) translateX(-80px) rotateY(-10deg);
    z-index: 1;
    pointer-events: none;
    visibility: hidden;
}

.portfolio-slider-item.next {
    opacity: 0;
    transform: scale(0.8) translateX(80px) rotateY(10deg);
    z-index: 1;
    pointer-events: none;
    visibility: hidden;
}

.portfolio-slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 450px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 60%),
        rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Transparentes Overlay zum Schutz vor Long-Press auf iOS */
.portfolio-slider-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0 !important;
    visibility: visible;
}

/* Nur auf iOS/Mobile aktivieren - aber transparent */
@media (max-width: 768px) {
    .portfolio-slider-image-wrapper::after {
        display: block;
        opacity: 0 !important;
        background: transparent !important;
        /* Overlay fängt nur Touch-Events ab, verdeckt aber nichts */
    }
}

/* Auf Desktop: Overlay komplett deaktivieren */
@media (min-width: 769px) and (hover: hover) {
    .portfolio-slider-image-wrapper::after {
        display: none !important;
        pointer-events: none !important;
    }
}

/* Canvas-Overlay für Screenshot-Schutz */
.portfolio-image-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    display: block;
}

/* Nur aktiv wenn Screenshot-Schutz aktiv ist */
.screenshot-protection-active .portfolio-image-canvas-overlay {
    opacity: 1 !important;
    background: #000000;
    pointer-events: all !important;
}

/* Normalerweise komplett unsichtbar */
body:not(.screenshot-protection-active) .portfolio-image-canvas-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
}

.portfolio-slider-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.portfolio-slider-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1),
                filter 1s ease;
    filter: brightness(0.85) contrast(0.9) saturate(0.85) blur(2px);
    transform: scale(0.95);
    will-change: transform, filter;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    -moz-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 212, 255, 0.1);
    -webkit-tap-highlight-color: transparent !important;
    touch-action: none !important;
    draggable: false;
    -webkit-user-modify: read-only;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.portfolio-slider-item.active .portfolio-slider-image {
    filter: brightness(1.05) contrast(1.1) saturate(1.15) blur(0px);
    transform: scale(1);
    animation: imageReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.2);
}

@keyframes imageReveal {
    0% {
        filter: brightness(0.85) contrast(0.9) saturate(0.85) blur(2px);
        transform: scale(0.95);
    }
    100% {
        filter: brightness(1.05) contrast(1.1) saturate(1.15) blur(0px);
        transform: scale(1);
    }
}

.portfolio-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 3rem 3rem;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 212, 255, 0.05) 20%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 80%,
        rgba(0, 0, 0, 0.95) 100%
    );
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
    z-index: 3;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.portfolio-slider-item.active .portfolio-slider-overlay {
    transform: translateY(0);
    animation: overlaySlideUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

@keyframes overlaySlideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.portfolio-slider-category {
    color: var(--color-accent-cyan);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    text-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 2px 10px rgba(0, 212, 255, 0.4);
}

.portfolio-slider-item.active .portfolio-slider-category {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: categoryReveal 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

@keyframes categoryReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Navigation Buttons - Auf Mobile sichtbar */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.slider-nav-btn:hover {
    opacity: 1;
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.portfolio-slider-container:hover .slider-nav-btn {
    opacity: 1;
    pointer-events: all;
    transform: translateY(-50%) scale(1);
}

.slider-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.slider-nav-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.slider-nav-prev {
    left: 2rem;
}

.slider-nav-next {
    right: 2rem;
}

.slider-nav-btn:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: var(--color-accent-cyan);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.6),
        0 0 80px rgba(124, 58, 237, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.15);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.slider-nav-btn:hover svg {
    transform: scale(1.2);
}

.slider-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dots Navigation - Entfernt */
.slider-dots {
    display: none !important;
}

.slider-dot {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-slider-container {
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .portfolio-slider-item {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        padding: 1rem;
        display: flex !important;
    }
    
    .portfolio-slider-item.active {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .portfolio-slider-item.active .portfolio-slider-image-wrapper {
        display: flex !important;
        visibility: visible !important;
    }
    
    .portfolio-slider-item.active .portfolio-slider-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .portfolio-slider-image-wrapper {
        padding: 0.75rem;
        max-height: 350px;
        position: relative;
    }
    
    .portfolio-slider-image {
        max-height: 350px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 2;
    }
    
    /* Stelle sicher, dass ::after Overlay die Bilder nicht verdeckt */
    .portfolio-slider-image-wrapper::after {
        opacity: 0 !important;
        background: transparent !important;
        z-index: 3; /* Über Bild, aber transparent */
    }
    
    .slider-nav-btn {
        width: 50px;
        height: 50px;
        opacity: 0.7;
    }
    
    .slider-nav-prev {
        left: 1rem;
    }
    
    .slider-nav-next {
        right: 1rem;
    }
    
    .portfolio-slider-overlay {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-slider-category {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .slider-dots {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 30px;
    }
}

/* Masonry: Verschiedene Größen für visuelles Interesse */
.portfolio-item-modern {
    grid-row-end: span var(--row-span, 40);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.15);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(10deg);
    will-change: transform, opacity, filter;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 rgba(0, 212, 255, 0),
        inset 0 0 0 rgba(124, 58, 237, 0);
}

/* Verschiedene Größen für Masonry-Effekt */
.portfolio-item-modern:nth-child(3n+1) {
    --row-span: 50;
    grid-column: span 1;
}

.portfolio-item-modern:nth-child(3n+2) {
    --row-span: 45;
    grid-column: span 1;
}

.portfolio-item-modern:nth-child(3n+3) {
    --row-span: 55;
    grid-column: span 1;
}

.portfolio-item-modern:nth-child(5n+1) {
    --row-span: 60;
}

.portfolio-item-modern:nth-child(7n+1) {
    --row-span: 48;
}

.portfolio-item-modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.6) 0%,
        rgba(124, 58, 237, 0.6) 50%,
        rgba(0, 212, 255, 0.6) 100%
    );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.6s ease, background-position 3s ease;
    z-index: -1;
    pointer-events: none;
    border-radius: 20px;
    animation: gradientShift 4s ease infinite;
    filter: blur(15px);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.portfolio-item-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        rgba(0, 212, 255, 0.4) 0%,
        rgba(124, 58, 237, 0.3) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    will-change: transform, opacity, width, height;
    pointer-events: none;
}

.portfolio-item-modern.revealed {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        box-shadow: 
            0 0 0 rgba(0, 212, 255, 0),
            inset 0 0 0 rgba(0, 212, 255, 0);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(0, 212, 255, 0.2),
            inset 0 0 20px rgba(124, 58, 237, 0.1);
    }
}

.portfolio-item-modern:hover {
    transform: translateY(-15px) scale(1.05) rotateX(-5deg) rotateY(5deg) translateZ(50px);
    border-color: var(--color-accent-cyan);
    box-shadow: 
        0 30px 60px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(124, 58, 237, 0.35),
        0 0 100px rgba(0, 212, 255, 0.2),
        inset 0 0 50px rgba(0, 212, 255, 0.15),
        0 0 0 2px rgba(0, 212, 255, 0.3);
    z-index: 10;
}

.portfolio-item-modern:hover::before {
    opacity: 0.8;
    filter: blur(20px);
    animation: gradientShift 2s ease infinite;
}

.portfolio-item-modern:hover::after {
    opacity: 1;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-item-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    transform-style: preserve-3d;
}

/* Sanfter Overlay - sehr subtil */
.portfolio-item-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
    opacity: 1;
}

.portfolio-item-modern:hover .portfolio-item-image-wrapper::before {
    opacity: 0.3;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: 
        linear-gradient(
            180deg,
            rgba(0, 212, 255, 0.1) 0%,
            rgba(124, 58, 237, 0.1) 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
    mix-blend-mode: screen;
}

.portfolio-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s ease;
    /* Sanfter Effekt initial - leicht unscharf */
    filter: brightness(0.9) contrast(0.95) saturate(0.9) blur(4px);
    opacity: 0.9;
    transform: scale(1.05) translateZ(0);
    /* Bildschutz */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    pointer-events: none;
    will-change: transform, filter, opacity;
    /* CLS Prevention - Feste Dimensionen */
    aspect-ratio: 3 / 4;
    min-height: 400px;
    max-height: 800px;
}

.portfolio-item-modern:hover .portfolio-item-image {
    /* Premium klar beim Hover - dramatischer Übergang */
    transform: scale(1.15) translateZ(30px) rotateY(2deg);
    filter: blur(0px) brightness(1.1) contrast(1.15) saturate(1.2) hue-rotate(5deg);
    opacity: 1;
    image-rendering: auto;
}

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                background 0.5s ease;
    border-radius: 12px;
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.portfolio-item-modern:hover .portfolio-item-overlay {
    opacity: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 212, 255, 0.05) 0%,
        rgba(124, 58, 237, 0.1) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 2.5rem;
}

.portfolio-item-title {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transform: translateY(20px) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.6s ease;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    will-change: transform, opacity;
}

.portfolio-item-modern:hover .portfolio-item-title {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
}

.portfolio-item-category {
    color: var(--color-accent-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transform: translateY(30px) translateZ(0) scale(0.9);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.15s;
    opacity: 0;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 212, 255, 0.3);
    will-change: transform, opacity, color;
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-item-modern:hover .portfolio-item-category {
    transform: translateY(0) translateZ(20px) scale(1);
    opacity: 1;
    color: var(--color-accent-cyan-light);
    text-shadow: 
        0 0 25px rgba(0, 212, 255, 0.8),
        0 0 50px rgba(124, 58, 237, 0.5),
        0 2px 10px rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Responsive Grid - Premium */
@media (max-width: 1400px) {
    .portfolio-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .portfolio-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.8rem;
    }
    
    .portfolio-item-modern {
        border-radius: 16px;
    }
    
    .portfolio-item-modern:hover {
        transform: translateY(-10px) scale(1.03) rotateX(-3deg);
    }
}

@media (max-width: 480px) {
    .portfolio-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .portfolio-item-modern {
        border-radius: 12px;
    }
    
    .portfolio-item-overlay {
        padding: 1rem;
    }
    
    .portfolio-item-category {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Zusätzliche Animationen für coole Effekte */
@keyframes shimmer {
    0%, 100% {
        box-shadow: 
            0 0 0 rgba(0, 212, 255, 0),
            inset 0 0 0 rgba(0, 212, 255, 0);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(0, 212, 255, 0.2),
            inset 0 0 20px rgba(124, 58, 237, 0.1);
    }
}

.portfolio-slider-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.portfolio-slider-category {
    font-size: 0.9rem;
    color: var(--color-accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Pause-Animation beim Hover */
.portfolio-slider-container:hover .portfolio-slider-track {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alte Grid-Styles entfernt - jetzt Slider */

/* ============================================
   CONTACT - MODERNES FORMULAR
   ============================================ */

.contact-modern {
    position: relative;
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    display: flex;
    align-items: center;
    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform-origin: center center;
    /* Visueller Übergang von Portfolio - verstärkt */
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(21, 21, 32, 0.9) 30%,
        var(--color-bg-secondary) 50%,
        rgba(21, 21, 32, 0.9) 70%,
        var(--color-bg-primary) 100%
    );
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

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

.contact-cta-wrapper {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.whatsapp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3),
                0 0 30px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-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.6s ease;
}

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

.whatsapp-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(37, 211, 102, 0.4),
        0 0 50px rgba(37, 211, 102, 0.3),
        0 8px 25px rgba(37, 211, 102, 0.2);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.whatsapp-icon-large {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.instagram-link-below {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(225, 48, 108, 0.3);
    border-radius: 50px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.instagram-link-below::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.2), transparent);
    transition: left 0.6s ease;
}

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

.instagram-link-below:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(225, 48, 108, 0.6);
    box-shadow: 
        0 10px 30px rgba(225, 48, 108, 0.3),
        0 0 20px rgba(225, 48, 108, 0.2),
        0 4px 15px rgba(225, 48, 108, 0.1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.instagram-icon-below {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.instagram-link-below:hover .instagram-icon-below {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(225, 48, 108, 0.8));
}

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

.contact-details-minimal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.contact-link svg {
    color: var(--color-accent-cyan);
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: var(--color-text-primary);
    transform: translateX(5px);
}

.contact-link:hover svg {
    transform: scale(1.2);
}

.whatsapp-link .whatsapp-icon {
    color: var(--color-accent-cyan);
}

.whatsapp-link:hover .whatsapp-icon {
    color: #25D366;
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.6));
}

.contact-note {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
}

.social-links-minimal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.social-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-cyan);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover {
    color: var(--color-text-primary);
    border-color: var(--color-accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

/* Instagram specific gradient */
.social-link[aria-label="Instagram"]:hover .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(225, 48, 108, 0.8));
}

/* LinkedIn specific color */
.social-link[aria-label="LinkedIn"]:hover .social-icon {
    color: #0077b5;
    filter: drop-shadow(0 0 10px rgba(0, 119, 181, 0.8));
}

/* Behance specific color */
.social-link[aria-label="Behance"]:hover .social-icon {
    color: #1769ff;
    filter: drop-shadow(0 0 10px rgba(23, 105, 255, 0.8));
}

/* Formular-Styles entfernt - alles über WhatsApp */

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.6);
    color: var(--color-text-primary);
    font-size: 2.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.9);
        border-width: 2px;
    }
}

.lightbox-close:hover {
    background: rgba(0, 212, 255, 0.95);
    border-color: var(--color-accent-cyan);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
}

.lightbox-close:active {
    transform: rotate(90deg) scale(1);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    pointer-events: auto;
    cursor: default;
}

.lightbox-content * {
    pointer-events: auto;
}

/* Verhindere dass Klick auf Bild die Lightbox schließt */
.lightbox-image {
    pointer-events: auto;
    cursor: default;
}

.lightbox-image {
    /* Bildschutz - MAXIMAL */
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    -moz-user-drag: none !important;
    -khtml-user-drag: none !important;
    -o-user-drag: none !important;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
}

.lightbox-info {
    display: none; /* Info ausblenden - keine Dateinamen */
    margin-top: 2rem;
    text-align: center;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.lightbox-category {
    color: var(--color-accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: all 0.4s var(--transition-smooth);
    text-decoration: none;
    color: var(--color-text-primary);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.6),
        0 0 70px rgba(0, 212, 255, 0.4);
}

.whatsapp-float-icon {
    width: 28px;
    height: 28px;
    color: var(--color-text-primary);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: rotate(15deg) scale(1.1);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(0, 212, 255, 0.4),
            0 0 50px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(0, 212, 255, 0.6),
            0 0 70px rgba(0, 212, 255, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float-icon {
        width: 24px;
        height: 24px;
    }
}

.footer-minimal {
    padding: 3rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-minimal .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-minimal .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-minimal .footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-minimal .footer-link:hover {
    color: var(--color-accent-cyan);
}

.footer-minimal .footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-cyan);
    transition: width 0.3s ease;
}

.footer-minimal .footer-link:hover::after {
    width: 100%;
}

.footer-minimal .footer-copyright {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    padding: 2rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
}

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

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.cookie-banner-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-tap-highlight-color: transparent;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .footer-minimal .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   RESPONSIVE - PERFEKT FÜR ALLE GERÄTE
   ============================================ */

/* iPad Pro & Große Tablets (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container-fluid {
        padding: 0 2.5rem;
    }
    
    .portfolio-slider-item {
        height: 550px;
        min-height: 550px;
        max-height: 550px;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 500px;
    }
    
    .portfolio-slider-image {
        max-height: 500px;
    }
    
    .section-title-emotional {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }
    
    .hero-main-title {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
}

/* iPad & Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container-fluid {
        padding: 0 2rem;
    }
    
    .portfolio-slider-item {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
        padding: 1.5rem;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 450px;
        padding: 1rem;
    }
    
    .portfolio-slider-image {
        max-height: 450px;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title-emotional {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    
    .hero-main-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .story-paragraph {
        font-size: 1.1rem;
        line-height: 1.9;
    }
    
    .stats-minimal {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .slider-nav-btn {
        width: 55px;
        height: 55px;
    }
}

/* iPhone & Android Handys (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container-fluid {
        padding: 0 1.25rem;
    }
    
    .header-minimal {
        display: none !important;
    }
    
    .hero-immersive {
        min-height: 90vh;
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
    }
    
    .hero-main-title {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle-animated {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .about-storytelling {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text-container {
        order: 2;
        text-align: left;
    }
    
    .portrait-wrapper {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .portrait-frame {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-label {
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .section-title-emotional {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .story-text {
        margin-bottom: 2rem;
    }
    
    .story-paragraph {
        text-align: left;
        margin-bottom: 1.25rem;
    }
    
    .story-paragraph.highlight {
        padding-left: 1rem;
        border-left-width: 2px;
        font-size: 1.1rem;
    }
    
    .portfolio-immersive {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .portfolio-header {
        margin-bottom: 1.5rem;
    }
    
    .portfolio-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .portfolio-slider-container {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .portfolio-slider-item {
        height: 420px;
        min-height: 420px;
        max-height: 420px;
        padding: 0.875rem;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 380px;
        padding: 0.625rem;
    }
    
    .portfolio-slider-image {
        max-height: 380px;
    }
    
    .section-title-emotional {
        font-size: clamp(1.9rem, 6vw, 2.6rem);
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }
    
    .story-paragraph {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 1.25rem;
    }
    
    .stats-minimal {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-minimal {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .slider-nav-btn {
        width: 50px;
        height: 50px;
        opacity: 0.85;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(15px);
    }
    
    .slider-nav-prev {
        left: 0.625rem;
    }
    
    .slider-nav-next {
        right: 0.625rem;
    }
    
    .portfolio-slider-overlay {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-slider-category {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .contact-modern {
        padding: 3rem 0;
    }
    
    .contact-content-centered {
        text-align: center;
    }
    
    .contact-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .whatsapp-cta-button {
        padding: 1.25rem 2rem;
        font-size: 1.05rem;
        width: 100%;
        max-width: 100%;
    }
    
    .instagram-link-below {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .contact-cta-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Kleine Handys (max-width: 480px) - iPhone SE, kleine Android */
@media (max-width: 480px) {
    .container-fluid {
        padding: 0 1rem;
    }
    
    .header-minimal {
        display: none !important;
    }
    
    .logo-minimal {
        font-size: 0.9rem;
    }
    
    .logo-minimal svg {
        width: 24px;
        height: 24px;
    }
    
    .hero-immersive {
        min-height: 85vh;
        padding: 5rem 0 3rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
    }
    
    .hero-main-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle-animated {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }
    
    .hero-subtitle-animated .subtitle-line {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .about-storytelling {
        padding: 2.5rem 0;
        min-height: auto;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }
    
    .about-text-container {
        order: 2;
        text-align: left;
    }
    
    .portrait-wrapper {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .portrait-frame {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .section-label {
        text-align: center;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    
    .section-title-emotional {
        text-align: center;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }
    
    .story-text {
        margin-bottom: 1.5rem;
    }
    
    .story-paragraph {
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .story-paragraph.highlight {
        padding-left: 0.875rem;
        border-left-width: 2px;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .stats-minimal {
        margin-top: 1.5rem;
    }
    
    .stat-minimal {
        padding: 1.1rem;
    }
    
    .portfolio-slider-container {
        padding: 0 0.5rem;
        margin-top: 1.5rem;
    }
    
    .portfolio-slider-item {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
        padding: 0.625rem;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 320px;
        padding: 0.5rem;
    }
    
    .portfolio-slider-image {
        max-height: 320px;
    }
    
    .section-title-emotional {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .section-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }
    
    .story-paragraph {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    .stats-minimal {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .stat-minimal {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .slider-nav-btn {
        width: 46px;
        height: 46px;
        opacity: 0.9;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(15px);
    }
    
    .slider-nav-prev {
        left: 0.5rem;
    }
    
    .slider-nav-next {
        right: 0.5rem;
    }
    
    .slider-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .portfolio-slider-overlay {
        padding: 1rem 0.75rem;
    }
    
    .portfolio-slider-category {
        font-size: 0.7rem;
        padding: 0.45rem 0.85rem;
        letter-spacing: 1px;
    }
    
    .slider-dots {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
    
    .portfolio-immersive {
        padding: 2.5rem 0;
        min-height: auto;
    }
    
    .portfolio-header {
        margin-bottom: 1.25rem;
    }
    
    .portfolio-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 0.75rem;
        padding: 0;
    }
    
    .contact-modern {
        padding: 2.5rem 0;
    }
    
    .contact-content-centered {
        text-align: center;
    }
    
    .contact-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
        padding: 0;
    }
    
    .whatsapp-cta-button {
        padding: 1.1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .instagram-link-below {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .contact-cta-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Sehr kleine Handys (max-width: 360px) */
@media (max-width: 360px) {
    .container-fluid {
        padding: 0 0.75rem;
    }
    
    .header-minimal {
        display: none !important;
    }
    
    .portfolio-slider-item {
        height: 320px;
        min-height: 320px;
        max-height: 320px;
        padding: 0.5rem;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 300px;
        padding: 0.5rem;
        position: relative;
    }
    
    .portfolio-slider-image {
        max-height: 300px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 2;
    }
    
    .portfolio-slider-image-wrapper::after {
        opacity: 0 !important;
        background: transparent !important;
    }
    
    .hero-main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .section-title-emotional {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    
    .story-paragraph {
        font-size: 0.9rem;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Landscape Orientation für Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .header-minimal {
        display: none !important;
    }
    
    .portfolio-slider-item {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
    
    .portfolio-slider-image-wrapper {
        max-height: 360px;
    }
    
    .portfolio-slider-image {
        max-height: 360px;
    }
    
    .hero-immersive {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .about-storytelling {
        min-height: auto;
        padding: 3rem 0;
    }
}

/* Touch-Targets für alle Mobile-Geräte */
@media (max-width: 1023px) {
    .nav-link,
    .slider-nav-btn,
    .slider-dot,
    .whatsapp-cta-button,
    .instagram-link-below,
    .lightbox-close {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Verbesserte Touch-Interaktion */
    .portfolio-slider-image-wrapper {
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.2);
    }
}

/* iPad spezifische Optimierungen */
@supports (-webkit-touch-callout: none) {
    @media (min-width: 768px) and (max-width: 1024px) {
        .container-fluid {
            padding: 0 2rem;
        }
        
        .portfolio-slider-item {
            height: 520px;
            min-height: 520px;
            max-height: 520px;
        }
        
        .portfolio-slider-image-wrapper {
            max-height: 470px;
        }
        
        .portfolio-slider-image {
            max-height: 470px;
        }
    }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-purple));
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ============================================
   SCREENSHOT PROTECTION OVERLAY
   ============================================ */

.screenshot-protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screenshot-protection-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.screenshot-protection-overlay .recovery-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
    max-width: 90%;
    z-index: 1000000;
    opacity: 0;
    animation: fadeInMessage 0.5s ease 0.3s forwards;
}

@keyframes fadeInMessage {
    to {
        opacity: 1;
    }
}

.screenshot-protection-overlay .recovery-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--color-accent-cyan);
    color: var(--color-bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.screenshot-protection-overlay .recovery-button:hover,
.screenshot-protection-overlay .recovery-button:active {
    background: var(--color-accent-cyan-light);
    transform: scale(1.05);
}

.screenshot-protection-overlay .recovery-button:focus {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
}

/* Auto-Recovery Countdown (optional) */
.screenshot-protection-overlay .countdown {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeInMessage 0.5s ease 0.6s forwards;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
}

.page-loader.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    animation: loaderPulse 2s ease-in-out infinite;
}

.loader-text {
    color: var(--color-accent-cyan);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: loaderFade 2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes loaderFade {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ============================================
   SKIP TO CONTENT (Accessibility)
   ============================================ */

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-accent-cyan);
    color: var(--color-bg-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 100000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--color-accent-purple);
    outline-offset: 2px;
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 3px;
}

/* ============================================
   SECTION TRANSITIONS & PARALLAX
   ============================================ */

section[id] {
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform, filter;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Parallax-Elemente */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Section States */
section[id].section-active {
    opacity: 1 !important;
    transform: translateY(0) translateZ(0) scale(1) !important;
    filter: brightness(1) blur(0px) !important;
    z-index: 2;
}

section[id].section-inactive {
    opacity: 0.4;
    transform: translateY(30px) translateZ(-50px) scale(0.95);
    filter: brightness(0.7) blur(2px);
    z-index: 1;
}

/* Dynamische Content-Animationen */
.section-title-emotional,
.story-paragraph,
.portfolio-grid-modern,
.contact-content-centered {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Dynamische Hintergrund-Übergänge */
.hero-immersive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--color-bg-secondary) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.about-storytelling::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(21, 21, 32, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 10s ease-in-out infinite;
}

.about-storytelling::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(26, 26, 46, 0.5) 30%,
        var(--color-bg-tertiary) 70%,
        var(--color-bg-tertiary) 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 12s ease-in-out infinite reverse;
}

.portfolio-immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(26, 26, 46, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 9s ease-in-out infinite;
}

.portfolio-immersive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(21, 21, 32, 0.5) 30%,
        var(--color-bg-secondary) 70%,
        var(--color-bg-secondary) 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 11s ease-in-out infinite reverse;
}

.contact-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        rgba(21, 21, 32, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 10s ease-in-out infinite;
}

/* ============================================
   REDUCED MOTION (Accessibility)
   ============================================ */

/* ============================================
   LEGAL PAGES (Datenschutz, Impressum, AGB)
   ============================================ */

.legal-page {
    min-height: 100vh;
    padding: 10rem 0 4rem;
    background: var(--color-bg-primary);
    margin-top: 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--color-text-primary);
}

.legal-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent-cyan);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.legal-content address {
    font-style: normal;
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--color-accent-cyan);
    border-radius: 8px;
}

.legal-content address a {
    color: var(--color-accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content address a:hover {
    color: var(--color-accent-cyan-light);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 8rem 0 3rem;
    }
    
    .legal-content {
        padding: 0 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   MODELVERTRAG KONFIGURATOR
   ============================================ */

.modelvertrag-page {
    min-height: 100vh;
    padding: 8rem 0 3rem;
    background: var(--color-bg-primary);
}

.modelvertrag-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.modelvertrag-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modelvertrag-intro {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.legal-disclaimer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--color-accent-cyan);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.contract-configurator-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contract-configurator {
    background: rgba(21, 21, 32, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-cyan);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.required {
    color: var(--color-accent-cyan);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--color-text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s var(--transition-smooth);
}

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

.form-group input[readonly],
.form-group select[readonly],
.form-group textarea[readonly] {
    background: rgba(10, 10, 15, 0.4);
    border-color: rgba(0, 212, 255, 0.15);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group input[readonly]:focus,
.form-group select[readonly]:focus,
.form-group textarea[readonly]:focus {
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-group input.disabled-field,
.form-group.disabled-field input {
    background: rgba(10, 10, 15, 0.4);
    opacity: 0.6;
    cursor: not-allowed;
}

.photographer-info-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--color-accent-cyan);
    border-radius: 4px;
}

.tfp-info {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-left: 3px solid var(--color-accent-purple);
    border-radius: 4px;
}

.info-box {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 212, 255, 0.08);
    border-left: 4px solid var(--color-accent-cyan);
    border-radius: 8px;
    line-height: 1.6;
}

.info-box strong {
    color: var(--color-accent-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.info-box-small {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--color-accent-cyan);
    border-radius: 6px;
    line-height: 1.5;
}

.info-box-small strong {
    color: var(--color-accent-cyan);
}

.field-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

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

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-group.error,
.radio-group.error {
    border: 1px solid #ff4444;
    padding: 1rem;
    border-radius: 8px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent-cyan);
}

.checkbox-label a,
.radio-label a {
    color: var(--color-accent-cyan);
    text-decoration: underline;
}

.contract-preview-section {
    position: sticky;
    top: 2rem;
    background: rgba(21, 21, 32, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.contract-preview-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-cyan);
}

.preview-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-secondary,
.btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--color-accent-cyan);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    color: var(--color-text-primary);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pdf-download-btn {
    font-weight: 600;
}

.contract-preview {
    background: var(--color-bg-primary);
    border-radius: 12px;
    padding: 2rem;
    min-height: 400px;
    max-height: calc(100vh - 20rem);
    overflow-y: auto;
}

.contract-content {
    color: var(--color-text-primary);
}

.contract-intro {
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Contract Document Styles */
.contract-document {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-primary);
    line-height: 1.8;
}

.contract-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.contract-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-cyan);
}

.contract-date {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contract-body {
    font-size: 0.95rem;
}

.contract-preamble {
    margin-bottom: 2rem;
    text-align: justify;
}

.contract-section {
    margin-bottom: 2rem;
}

.contract-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-accent-cyan);
    margin-top: 2rem;
}

.contract-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: var(--color-text-secondary);
}

.contract-party {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
}

.contract-party h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contract-signatures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.signature-block {
    text-align: center;
}

.signature-label {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.signature-line {
    height: 2px;
    background: var(--color-text-muted);
    margin-top: 3rem;
}

.contract-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.contract-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

/* PDF-specific styles */
.contract-document-pdf {
    background: white !important;
    color: #000 !important;
    padding: 2rem !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 12pt !important;
    line-height: 1.6 !important;
}

.contract-document-pdf .contract-document {
    background: white !important;
    color: #000 !important;
    padding: 0 !important;
    width: 100% !important;
}

.contract-document-pdf .contract-title {
    color: #000000 !important;
    font-size: 24pt !important;
}

.contract-document-pdf .contract-section h2 {
    color: #000000 !important;
    font-size: 16pt !important;
}

.contract-document-pdf .contract-section {
    color: #000000 !important;
    margin-bottom: 1.5rem !important;
}

.contract-document-pdf .contract-section p {
    color: #000000 !important;
    font-size: 11pt !important;
    margin-bottom: 0.75rem !important;
}

.contract-document-pdf .contract-section h3 {
    color: #000000 !important;
    font-size: 12pt !important;
}

.contract-document-pdf .contract-party {
    background: #f5f5f5 !important;
    color: #000000 !important;
    border: 1px solid #ddd !important;
}

.contract-document-pdf .contract-party p {
    color: #000000 !important;
}

.contract-document-pdf .contract-party h3 {
    color: #000000 !important;
}

.contract-document-pdf .contract-signatures {
    color: #000000 !important;
    border-top: 1px solid #000 !important;
}

.contract-document-pdf .signature-line {
    background: #000000 !important;
    height: 2px !important;
}

.contract-document-pdf .contract-note {
    color: #666666 !important;
    font-size: 9pt !important;
}

.contract-document-pdf .contract-date {
    color: #666666 !important;
}

.contract-document-pdf .contract-preamble {
    color: #000000 !important;
}

.contract-document-pdf strong {
    color: #000000 !important;
    font-weight: bold !important;
}

/* Canvas-Unterschriftsfelder */
.signature-canvas-wrapper {
    position: relative;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.signature-canvas {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 150px;
    cursor: crosshair;
    touch-action: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
}

.signature-canvas:active {
    cursor: crosshair;
}

.btn-clear-signature {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-error, #ef4444);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn-clear-signature:hover {
    background: var(--color-error-dark, #dc2626);
}

.btn-clear-signature:active {
    transform: scale(0.98);
}

/* Passwort-Login */
.password-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    background: var(--color-bg-primary, #0a0a0a);
}

.password-login-box {
    background: var(--color-bg-secondary, #1a1a1a);
    border: 1px solid var(--color-border, rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.password-login-box h2 {
    color: var(--color-text-primary, #ffffff);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.password-login-box p {
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

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

.password-login-box label {
    display: block;
    color: var(--color-text-primary, #ffffff);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.password-login-box input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-primary, #0a0a0a);
    border: 1px solid var(--color-border, rgba(0, 212, 255, 0.2));
    border-radius: 8px;
    color: var(--color-text-primary, #ffffff);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.password-login-box input[type="password"]:focus {
    outline: none;
    border-color: var(--color-accent, #00d4ff);
}

.password-login-box .btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--color-accent, #00d4ff), var(--color-accent-secondary, #7c3aed));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.password-login-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.password-login-box .btn-primary:active {
    transform: translateY(0);
}

.password-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

/* Responsive Login */
@media (max-width: 768px) {
    .password-login-container {
        min-height: 70vh;
        padding: 1rem;
    }
    
    .password-login-box {
        padding: 2rem 1.5rem;
    }
    
    .password-login-box h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Canvas */
@media (max-width: 768px) {
    .signature-canvas {
        max-width: 100%;
        height: 120px;
    }
    
    .signature-canvas-wrapper {
        padding: 0.25rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contract-configurator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contract-preview-section {
        position: relative;
        top: 0;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .modelvertrag-page {
        padding: 6rem 0 2rem;
    }
    
    .modelvertrag-header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contract-configurator-wrapper {
        padding: 0 1.5rem;
        gap: 2rem;
    }
    
    .contract-configurator {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-signatures {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contract-preview {
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .webgl-canvas {
        display: none;
    }
    
    html {
        scroll-snap-type: none;
    }
    
    section[id] {
        transition: none !important;
    }
}
