/* ==============================
   Home-spezifische Styles
   ============================== */

/* ==============================
   Hero Section
   ============================== */

.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* ==============================
   About Section
   ============================== */

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

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

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

.about-stats {
    display: flex; 
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 200px;
    border-left: 4px solid var(--brand-blue);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    display: block;
}

/* ==============================
   Skills Grid
   ============================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.skill-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.skill-btn {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
}

.skill-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==============================
   INNOVATION LAB SEPARATOR
   ============================== */

.innovation-separator {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    background: transparent;
    overflow: hidden;
}

.separator-line {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 91, 143, 0.3) 10%, 
        var(--brand-blue) 25%, 
        var(--accent-cyan) 50%, 
        var(--brand-blue) 75%, 
        rgba(0, 91, 143, 0.3) 90%, 
        transparent 100%
    );
    animation: separator-line-pulse 3s ease-in-out infinite;
}

@keyframes separator-line-pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.05);
    }
}

.separator-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #ffffff;
    box-shadow: 
        0 8px 30px rgba(0, 91, 143, 0.4),
        0 0 0 8px rgba(5, 242, 219, 0.1),
        0 0 0 16px rgba(5, 242, 219, 0.05);
    animation: separator-icon-float 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes separator-icon-float {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        box-shadow: 
            0 8px 30px rgba(0, 91, 143, 0.4),
            0 0 0 8px rgba(5, 242, 219, 0.1),
            0 0 0 16px rgba(5, 242, 219, 0.05);
    }
    25% { 
        transform: translate(-50%, -55%) scale(1.05) rotate(5deg);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        box-shadow: 
            0 12px 40px rgba(0, 91, 143, 0.6),
            0 0 0 12px rgba(5, 242, 219, 0.2),
            0 0 0 24px rgba(5, 242, 219, 0.1);
    }
    75% { 
        transform: translate(-50%, -45%) scale(1.05) rotate(-5deg);
    }
}

.separator-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle, 
        rgba(5, 242, 219, 0.15) 0%, 
        rgba(0, 91, 143, 0.1) 30%, 
        rgba(5, 242, 219, 0.05) 60%, 
        transparent 100%
    );
    border-radius: 50%;
    animation: separator-glow-rotate 8s linear infinite;
    z-index: 1;
}

@keyframes separator-glow-rotate {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(-50%, -50%) rotate(120deg) scale(1.1);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-50%, -50%) rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 0.6;
    }
}

/* Zusätzliche Partikel-Effekte */
.separator-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: particle-left 2s ease-in-out infinite;
}

.separator-line::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: particle-right 2s ease-in-out infinite 1s;
}

@keyframes particle-left {
    0%, 100% { 
        opacity: 0;
        transform: translateY(-50%) translateX(0px);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) translateX(30px);
    }
}

@keyframes particle-right {
    0%, 100% { 
        opacity: 0;
        transform: translateY(-50%) translateX(0px);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) translateX(-30px);
    }
}

/* ==============================
   INNOVATION LAB STYLES
   ============================== */

/* KI-Sektion Styles */
#ai-projects {
    margin-bottom: 4rem !important;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-cyan);
    color: var(--brand-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(5, 242, 219, 0.3);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--brand-blue);
    border-radius: 50%;
    animation: pulse-indicator 2s infinite;
}

@keyframes pulse-indicator {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.ai-main-demo {
    margin-bottom: 3rem;
}

.ai-featured-project {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--accent-cyan), var(--brand-blue-light));
    background-size: 200% 200%;
    animation: gradient-flow 3s ease infinite;
}

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

.ai-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ai-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.icon-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--brand-blue-light));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.3;
    animation: icon-glow 2s ease infinite;
}

@keyframes icon-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.ai-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 0, 0.1);
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-indicator 1.5s infinite;
}

.ai-project-content h3 {
    font-size: 1.8rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ai-project-content p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-cyan);
    width: 20px;
    text-align: center;
}

.ai-cta-section {
    text-align: center;
    margin-bottom: 2rem;
}

.ai-demo-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ai-demo-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.button-shine {
    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;
}

.ai-demo-button:hover .button-shine {
    left: 100%;
}

.demo-note {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

.other-projects-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-light);
    margin-top: 2rem;
    flex-wrap: wrap;
}

.projects-label {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.project-buttons {
    display: flex;
    gap: 0.8rem;
}

.project-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--brand-blue);
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--brand-blue);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.project-btn:hover {
    background: var(--brand-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==============================
   AI QUOTE SECTION - DEZENT PROFESSIONELL
   ============================== */

.ai-quote-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f0f23 75%, #000000 100%);
    position: relative;
    padding: 6rem 0;
    margin: 6rem 0;
    overflow: hidden;
}

/* Subtile background patterns - weniger aufdringlich */
.ai-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(70, 130, 180, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 149, 237, 0.03) 0%, transparent 50%);
    animation: backgroundShift 12s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(70, 130, 180, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(100, 149, 237, 0.03) 0%, transparent 50%);
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 30%, rgba(70, 130, 180, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(100, 149, 237, 0.04) 0%, transparent 50%);
    }
}

/* Dezente particles */
.ai-quote-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(135, 206, 250, 0.08), transparent);
    background-repeat: repeat;
    background-size: 100px 80px;
    /* animation removed for performance */
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-50px) translateX(25px); }
}

.quote-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, 
        rgba(30, 30, 50, 0.9) 0%, 
        rgba(40, 50, 70, 0.85) 50%, 
        rgba(30, 30, 50, 0.9) 100%);
    padding: 4rem;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(135, 206, 250, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 10px 20px rgba(135, 206, 250, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Subtiler border glow - weniger aufdringlich */
.quote-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(135, 206, 250, 0.3), 
        rgba(70, 130, 180, 0.2), 
        rgba(135, 206, 250, 0.3));
    background-size: 300% 300%;
    border-radius: 21px;
    z-index: -1;
    animation: borderGlow 6s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.4;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 0.7;
    }
}

/* Dezenter glow effect - statisch */
.quote-container::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(ellipse, rgba(135, 206, 250, 0.08) 0%, transparent 70%);
    border-radius: 35px;
    z-index: -2;
    opacity: 0.4;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.quote-image {
    flex-shrink: 0;
    position: relative;
}

.marcus-portrait {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 0 4px rgba(135, 206, 250, 0.2),
        0 0 0 8px rgba(30, 30, 50, 0.8),
        0 0 20px rgba(135, 206, 250, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.4);
}

.marcus-portrait:hover {
    transform: scale(1.03);
    box-shadow: 
        0 0 0 4px rgba(135, 206, 250, 0.3),
        0 0 0 8px rgba(30, 30, 50, 0.8),
        0 0 25px rgba(135, 206, 250, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Subtiler portrait ring - weniger Animation */
.quote-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(135, 206, 250, 0.4), 
        rgba(70, 130, 180, 0.3), 
        rgba(135, 206, 250, 0.4)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: 1;
}

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

.quote-content {
    flex: 1;
    color: #ffffff;
}

.ai-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 0;
    line-height: 1.7;
    position: relative;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.quote-text {
    display: block;
    margin: 1.5rem 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.6;
}

.quote-highlight {
    color: #87ceeb;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(135, 206, 250, 0.3);
    position: relative;
}

.quote-highlight::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #87ceeb, transparent);
    animation: underlineGlow 4s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 0.8; transform: scaleX(1.05); }
}

.quote-author {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(135, 206, 250, 0.3);
    position: relative;
}

.quote-author::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #87ceeb, transparent);
    border-radius: 1px;
}

.author-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #87ceeb;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(135, 206, 250, 0.2);
}

.author-title {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.ai-consultation-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.ai-consultation-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #4682b4 0%, #87ceeb 50%, #4682b4 100%);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(135, 206, 250, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(70, 130, 180, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.ai-consultation-button:hover {
    background: linear-gradient(135deg, #5a9fd4 0%, #87ceeb 50%, #5a9fd4 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 25px rgba(70, 130, 180, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ai-chat-button {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.9) 0%, rgba(40, 50, 70, 0.9) 50%, rgba(30, 30, 50, 0.9) 100%);
    color: #87ceeb;
    border: 1px solid #87ceeb;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(135, 206, 250, 0.1);
}

.ai-chat-button:hover {
    background: linear-gradient(135deg, #87ceeb 0%, #4682b4 50%, #87ceeb 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 
        0 12px 25px rgba(135, 206, 250, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .ai-quote-section {
        padding: 4rem 0;
        margin: 4rem 0;
    }
    
    .quote-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .marcus-portrait {
        width: 180px;
        height: 180px;
    }
    
    .quote-content {
        text-align: center;
    }
    
    .quote-author {
        text-align: center;
    }
    
    .quote-author::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ai-consultation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .ai-consultation-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
}

/* ==============================
   Skills Showcase - Animated Scrolling
   ============================== */

.skills-showcase {
    background: linear-gradient(45deg, #1a1a2e, #0f0f23, var(--brand-blue-dark), #1a1a2e);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

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

.skills-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 15s ease-in-out infinite;
}

.skills-showcase-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.skills-showcase-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--accent-cyan), #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

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

.skills-showcase-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.skills-container {
    position: relative;
    height: 180px;
}

.skills-track {
    display: flex;
    animation: scroll 80s linear infinite;
    gap: 2rem;
    position: absolute;
    white-space: nowrap;
}

.skills-track:nth-child(1) {
    top: 0;
    animation-direction: normal;
}

.skills-track:nth-child(2) {
    top: 90px;
    animation-direction: reverse;
    animation-duration: 90s;
}

.skill-badge {
    background: linear-gradient(135deg, 
        rgba(0, 91, 143, 0.3) 0%, 
        rgba(5, 242, 219, 0.2) 50%, 
        rgba(137, 207, 240, 0.3) 100%);
    backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.skill-badge:hover::before {
    left: 100%;
}

.skill-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--accent-cyan);
}

/* Badge Kategorien */
.skill-badge.certification {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.3) 0%, 
        rgba(0, 91, 143, 0.3) 100%);
    border-color: rgba(255, 107, 53, 0.5);
}

.skill-badge.tech {
    background: linear-gradient(135deg, 
        rgba(26, 26, 64, 0.4) 0%, 
        rgba(0, 129, 203, 0.3) 100%);
    border-color: rgba(0, 129, 203, 0.5);
}

.skill-badge.soft-skill {
    background: linear-gradient(135deg, 
        rgba(5, 242, 219, 0.3) 0%, 
        rgba(137, 207, 240, 0.3) 100%);
    border-color: rgba(5, 242, 219, 0.5);
}

.skill-badge.ai {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.3) 0%, 
        rgba(255, 20, 147, 0.3) 50%,
        rgba(0, 191, 255, 0.3) 100%);
    border-color: rgba(138, 43, 226, 0.6);
    animation: aiGlow 2s ease-in-out infinite;
}

@keyframes aiGlow {
    0%, 100% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(138, 43, 226, 0.3);
    }
    50% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(138, 43, 226, 0.6);
    }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==============================
   Projects Gallery mit Flip-Effekt - FIXED GRID
   ============================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Force 3 columns on larger screens */
@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure cards are equal size */
.project-card {
    background: transparent;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    position: relative;
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.project-card.flipped {
    transform: scale(1.2);
    z-index: 10;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: var(--border-radius-lg);
}

.project-card.flipped .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.project-card-front {
    background: var(--white);
}

.project-card-back {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
    text-align: center;
}

.project-image {
    position: absolute;
    inset: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 2rem;
    color: #ffffff;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    opacity: 0.9;
    line-height: 1.5;
}

.flip-hint {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .flip-hint {
    opacity: 1;
}

/* Project Back Side Styles */
.project-back-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-back-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.project-back-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}

.project-detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-detail-item i {
    color: var(--accent-cyan);
    width: 12px;
    font-size: 0.7rem;
}

.project-back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.project-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-cyan);
}

/* ==============================
   Newsletter Section
   ============================== */

.newsletter {
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: #ffffff;
    color: var(--brand-blue);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==============================
   CTA Button für Hero
   ============================== */

.cta-btn {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==============================
   Responsive Design für Home
   ============================== */

@media (max-width: 768px) {
    .innovation-separator {
        height: 100px;
        margin: 3rem 0;
    }
    
    .separator-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        box-shadow: 
            0 6px 20px rgba(0, 91, 143, 0.4),
            0 0 0 6px rgba(5, 242, 219, 0.1),
            0 0 0 12px rgba(5, 242, 219, 0.05);
    }
    
    .separator-glow {
        width: 200px;
        height: 200px;
    }
    
    .separator-line {
        width: 90%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: auto;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .skill-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .skills-container {
        height: 140px;
    }
    
    .skills-track:nth-child(2) {
        top: 70px;
    }
    
    .skill-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-card {
        height: 250px;
    }
    
    .project-card.flipped {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .innovation-separator {
        height: 80px;
        margin: 2rem 0;
    }
    
    .separator-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .separator-glow {
        width: 150px;
        height: 150px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .about-image img {
        transform: none;
    }
    
    .about-image img:hover {
        transform: scale(1.02);
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .skills-showcase-title {
        font-size: 2rem;
    }
    
    .skills-container {
        height: 120px;
    }
    
    .skills-track:nth-child(2) {
        top: 60px;
    }
    
    .skill-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .project-card {
        height: 200px;
    }
    
    .project-overlay {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

/* ==============================
   Loading & Performance Optimizations
   ============================== */

.hero-logo,
.about-image img,
.project-image img,
.marcus-portrait {
    will-change: transform;
}

.skill-badge,
.floating-element {
    will-change: transform;
}

/* Preload critical animations */
@media (min-width: 769px) {
    .hero-container,
    .skills-showcase,
    .projects-grid {
        opacity: 1;
        transform: none;
    }
}

/* Enhanced focus states for accessibility */
.skill-btn:focus,
.project-back-btn:focus,
.newsletter-btn:focus,
.ai-consultation-button:focus {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero,
    .skills-showcase,
    .newsletter,
    .innovation-separator,
    .ai-quote-section {
        background: white !important;
        color: black !important;
    }
    
    .floating-element,
    .hero::before,
    .skills-showcase::before,
    .separator-glow,
    .ai-quote-section::before,
    .ai-quote-section::after {
        display: none;
    }
}

/* ==============================
   Inline CSS Migration - Specific Styles
   ============================== */

/* Hero accent span */
.hero-accent {
    color: var(--accent-cyan);
}

/* Special hero button */
.hero-btn-special {
    background: #ffffff;
    color: var(--brand-blue);
    box-shadow: var(--shadow-lg);
}

/* Newsletter section overrides */
.newsletter .section-title {
    color: white;
}

.newsletter .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Contact section containers */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-iframe-container {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
}

.contact-iframe {
    border: none;
}

.iframe-dark-hint {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
    font-style: italic;
}

[data-theme="dark"] .iframe-dark-hint {
    display: block;
}

.contact-back-to-top {
    text-align: center;
    margin-top: 2rem;
}

/* Footer link styling */
.footer-link-accent {
    color: var(--accent-cyan);
    text-decoration: none;
}

/* ==============================
   Chat Widget Styles (Mobile Optimized)
   ============================== */

/* Mobile chat widget visibility fixes */
@media (max-width: 768px) {
    #tawk-bubble, 
    div[id*="tawk"], 
    iframe[id*="tawk"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 999999 !important;
        position: fixed !important;
        bottom: 80px !important;
        right: 15px !important;
    }
    
    #tawk-bubble {
        width: 55px !important;
        height: 55px !important;
        border-radius: 50% !important;
        background-color: #005b8f !important;
    }
    
    div[class*="tawk-chat"] {
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 85vh !important;
        max-height: 85vh !important;
        border-radius: 15px 15px 0 0 !important;
    }
}

/* Desktop chat positioning */
@media (min-width: 769px) {
    #tawk-bubble {
        bottom: 25px !important;
        right: 25px !important;
        width: 60px !important;
        height: 60px !important;
    }
}

/* Force chat widget above all elements */
div[id*="tawk"], 
iframe[id*="tawk"],
#tawk-bubble {
    z-index: 999999 !important;
}
/* ==============================
   Dark Mode Overrides
   ============================== */

[data-theme="dark"] .hero {
    background: linear-gradient(135deg,
        #0c1420 0%,
        #1a202c 25%,
        #2d3748 50%,
        #1a202c 75%,
        #0c1420 100%) !important;
}

[data-theme="dark"] .hero h1 {
    color: #ffffff;
}

[data-theme="dark"] .hero .hero-accent {
    color: #05f2db;
}

[data-theme="dark"] .hero .subtitle {
    color: #cbd5e1;
}

/* Dark Mode Cards - Skill Cards */
[data-theme="dark"] .skill-card {
    background: #2a3441 !important;
    border: 1px solid #3d4852 !important;
    color: #f8fafc !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .skill-card:hover {
    background: #334155 !important;
    border-color: #05f2db !important;
    box-shadow: 0 8px 25px rgba(5, 242, 219, 0.2) !important;
}

[data-theme="dark"] .skill-card h3 {
    color: #05f2db !important;
}

[data-theme="dark"] .skill-card p {
    color: #cbd5e1 !important;
}

/* Dark Mode Cards - Project Cards (flip cards need transparent outer) */
[data-theme="dark"] .project-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="dark"] .project-card-front {
    background: #1e293b;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .project-card-back {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
}

[data-theme="dark"] .project-card-front,
[data-theme="dark"] .project-card-back {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

/* Dark Mode: About Section */
[data-theme="dark"] .about-text p {
    color: #cbd5e1;
}

[data-theme="dark"] .stat-card {
    background: #1e293b;
    border-left-color: #22d3ee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-number {
    color: #22d3ee;
}

/* Dark Mode: Innovation Lab / section-light */
[data-theme="dark"] .section-light {
    background: #16213e;
}

[data-theme="dark"] .ai-featured-project {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .ai-project-content h3 {
    color: #22d3ee;
}

[data-theme="dark"] .ai-project-content p {
    color: #cbd5e1;
}

[data-theme="dark"] .feature-item {
    color: #e2e8f0;
}

[data-theme="dark"] .other-projects-buttons {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .projects-label {
    color: #22d3ee;
}

[data-theme="dark"] .project-btn {
    background: #1e293b;
    color: #22d3ee;
    border-color: #22d3ee;
}

[data-theme="dark"] .project-btn:hover {
    background: #22d3ee;
    color: #0f172a;
}

/* Dark Mode: Newsletter Section */
[data-theme="dark"] .newsletter {
    background: linear-gradient(135deg, #0c1420 0%, #1a202c 50%, #0c1420 100%);
}

[data-theme="dark"] .newsletter .section-title {
    color: #f8fafc;
}

[data-theme="dark"] .newsletter .section-subtitle {
    color: #cbd5e1;
}

[data-theme="dark"] .newsletter-input {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

[data-theme="dark"] .newsletter-btn {
    background: #22d3ee;
    color: #0f172a;
}

/* Dark Mode: Contact Section */
[data-theme="dark"] .contact-iframe-container {
    background: #1e293b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Dark Mode: Project Card Front */
[data-theme="dark"] .project-card-front {
    background: #1e293b;
}

/* Dark Mode: Skill Card Details */
[data-theme="dark"] .skill-title {
    color: #f8fafc;
}

[data-theme="dark"] .skill-description {
    color: #94a3b8;
}

/* Dark Mode: Section Headers */
[data-theme="dark"] .section-header .section-title {
    color: #f8fafc;
}

[data-theme="dark"] .section-header .section-subtitle {
    color: #94a3b8;
}

/* Dark Mode: Hero Buttons */
[data-theme="dark"] .hero-btn-special {
    background: rgba(14, 165, 233, 0.9);
    color: #ffffff;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

[data-theme="dark"] .hero-btn-special:hover {
    background: rgba(14, 165, 233, 1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

/* ==============================
   Skip to Content
   ============================== */

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ==============================
   Screen Reader Only
   ============================== */

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

/* ==============================
   Cookie Consent Banner
   ============================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(12px);
    color: #f8fafc;
    z-index: 9999;
    padding: 1.25rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

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

.cookie-consent-inner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
}

.cookie-consent-inner a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: var(--accent-cyan);
    color: #0f172a;
}

.cookie-btn-accept:hover {
    background: #00e6c8;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

.cookie-btn-decline:hover {
    border-color: #94a3b8;
    color: #f8fafc;
}

/* ==============================
   Newsletter Consent Checkbox
   ============================== */

.newsletter-consent {
    width: 100%;
    margin-top: 0.75rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    margin-top: 0.15rem;
    accent-color: var(--accent-cyan);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.consent-label a {
    color: #ffffff;
    text-decoration: underline;
}

[data-theme="dark"] .consent-label a {
    color: #22d3ee;
}

/* ==============================
   Enhanced Focus States
   ============================== */

.nav-links a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.theme-toggle:focus,
.project-card:focus,
.example-btn:focus,
.cookie-btn:focus {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* ==============================
   Mobile Menu Button Size Fix
   ============================== */

.mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
}
