/* ============================================
   ZEITVISION WEB PROJECTS
   NYC Creative Director Aesthetic
   Clean. Bold. Digital Excellence.
   ============================================ */

/* === VARIABLES === */
:root {
    --web-white: #ffffff;
    --web-off-white: #fafafa;
    --web-light: #f5f5f5;
    --web-border: #e8e8e8;
    --web-gray: #888888;
    --web-dark: #333333;
    --web-black: #0a0a0a;
    --web-accent: #FFEE00;
    --web-success: #00C853;
    --web-gradient: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

/* === BODY OVERRIDE FOR WEB === */
body.projekt-type-web {
    background: var(--web-white);
    color: var(--web-black);
}

/* ============================================
   HERO SECTION - CLEAN & BOLD
   ============================================ */

.web-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--web-off-white);
    padding-top: 6rem;
}

.web-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 238, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.web-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: center;
    padding: 4rem 0;
}

/* Hero Text */
.web-hero-content {
    position: relative;
    z-index: 2;
}

.web-category {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.web-category-dot {
    width: 8px;
    height: 8px;
    background: var(--web-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.web-category-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--web-gray);
}

.web-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--web-black);
}

.web-hero h1 strong {
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.web-hero h1 strong::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: var(--web-accent);
    z-index: -1;
}

.web-hero-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--web-gray);
    max-width: 480px;
    margin-bottom: 3rem;
}

/* Hero Meta */
.web-meta-row {
    display: flex;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--web-border);
}

.web-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.web-meta-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--web-gray);
}

.web-meta-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--web-black);
}

/* Hero Browser Mockup */
.web-hero-visual {
    position: relative;
}

.web-browser {
    background: var(--web-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.15),
        0 30px 60px -30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-browser:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.web-browser-header {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--web-border);
}

.web-browser-dots {
    display: flex;
    gap: 8px;
}

.web-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.web-browser-dot:nth-child(2) { background: #febc2e; }
.web-browser-dot:nth-child(3) { background: #28c840; }

.web-browser-url {
    flex: 1;
    background: var(--web-white);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    color: var(--web-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--web-border);
}

.web-browser-url::before {
    content: '🔒';
    font-size: 0.75rem;
}

.web-browser-content {
    position: relative;
    background: var(--web-light);
}

.web-browser-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Floating */
.web-mobile-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

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

.web-mobile-frame {
    background: var(--web-black);
    border-radius: 28px;
    padding: 8px;
    box-shadow: 
        0 30px 60px -10px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
}

.web-mobile-notch {
    width: 80px;
    height: 24px;
    background: var(--web-black);
    border-radius: 0 0 16px 16px;
    margin: 0 auto -12px;
    position: relative;
    z-index: 2;
}

.web-mobile-screen {
    border-radius: 20px;
    overflow: hidden;
    background: var(--web-white);
}

.web-mobile-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   RESULTS BAR - IMPACT NUMBERS
   ============================================ */

.web-results-bar {
    background: var(--web-black);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.web-results-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 238, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 238, 0, 0.05) 0%, transparent 40%);
}

.web-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.web-result-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.web-result-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.web-result-item:last-child::after {
    display: none;
}

.web-result-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--web-accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.web-result-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CHALLENGE / SOLUTION - SPLIT LAYOUT
   ============================================ */

.web-challenge-section {
    padding: 10rem 0;
    background: var(--web-white);
}

.web-challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--web-border);
}

.web-challenge-box,
.web-solution-box {
    padding: 4rem;
    background: var(--web-white);
}

.web-challenge-box {
    background: var(--web-off-white);
}

.web-box-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--web-gray);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.web-box-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--web-gray);
}

.web-challenge-box .web-box-label { color: #e74c3c; }
.web-challenge-box .web-box-label::before { background: #e74c3c; }

.web-solution-box .web-box-label { color: var(--web-success); }
.web-solution-box .web-box-label::before { background: var(--web-success); }

.web-box-text {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--web-dark);
}

/* ============================================
   FEATURES - GRID LAYOUT
   ============================================ */

.web-features-section {
    padding: 8rem 0;
    background: var(--web-off-white);
}

.web-section-header {
    margin-bottom: 4rem;
}

.web-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--web-accent);
    background: var(--web-black);
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.web-section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--web-black);
}

.web-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--web-border);
}

.web-feature-item {
    background: var(--web-white);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.web-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--web-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.web-feature-item:hover::before {
    transform: scaleX(1);
}

.web-feature-item:hover {
    background: var(--web-off-white);
}

.web-feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.web-feature-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--web-black);
}

.web-feature-desc {
    font-size: 0.9375rem;
    color: var(--web-gray);
    line-height: 1.6;
}

/* ============================================
   DEVICE SHOWCASE - RESPONSIVE
   ============================================ */

.web-devices-section {
    padding: 8rem 0;
    background: var(--web-white);
    overflow: hidden;
}

.web-devices-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    padding: 4rem 0;
}

.web-device-desktop {
    max-width: 800px;
    flex-shrink: 0;
}

.web-device-tablet {
    max-width: 300px;
    flex-shrink: 0;
    transform: translateY(40px);
}

.web-device-phone {
    max-width: 160px;
    flex-shrink: 0;
    transform: translateY(60px);
}

/* ============================================
   TECH STACK
   ============================================ */

.web-tech-section {
    padding: 6rem 0;
    background: var(--web-black);
}

.web-tech-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: center;
}

.web-tech-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--web-accent);
}

.web-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.web-tech-tag {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.web-tech-tag:hover {
    border-color: var(--web-accent);
    color: var(--web-accent);
    background: rgba(255, 238, 0, 0.1);
}

/* ============================================
   SCREENSHOTS GALLERY
   ============================================ */

.web-gallery-section {
    padding: 0;
    background: var(--web-off-white);
}

.web-gallery-header {
    padding: 6rem 0 3rem;
    text-align: center;
}

.web-gallery-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--web-gray);
}

.web-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.web-gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--web-light);
    aspect-ratio: 4/3;
}

.web-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-gallery-item:hover img {
    transform: scale(1.05);
}

.web-gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.web-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.web-gallery-item:hover .web-gallery-overlay {
    opacity: 1;
}

.web-gallery-caption {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--web-white);
    letter-spacing: 0.05em;
}

/* ============================================
   TESTIMONIAL
   ============================================ */

.web-testimonial {
    padding: 10rem 0;
    background: var(--web-accent);
    position: relative;
    overflow: hidden;
}

.web-testimonial::before {
    content: '"';
    position: absolute;
    top: -3rem;
    left: 10%;
    font-size: 30rem;
    font-family: Georgia, serif;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
}

.web-quote {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.web-quote-text {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--web-black);
    margin-bottom: 3rem;
}

.web-quote-author {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.web-quote-avatar {
    width: 56px;
    height: 56px;
    background: var(--web-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--web-accent);
    font-weight: 600;
    font-size: 1.25rem;
}

.web-quote-info {
    text-align: left;
}

.web-quote-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--web-black);
}

.web-quote-role {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

/* ============================================
   NEXT PROJECT
   ============================================ */

.web-next {
    padding: 0;
    background: var(--web-white);
}

.web-next-link {
    display: block;
    padding: 6rem 0;
    text-decoration: none;
    color: var(--web-black);
    border-top: 1px solid var(--web-border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.web-next-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--web-black);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-next-link:hover::before {
    transform: translateY(0);
}

.web-next-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.4s ease;
}

.web-next-link:hover .web-next-content {
    color: var(--web-white);
}

.web-next-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--web-gray);
    margin-bottom: 0.75rem;
    transition: color 0.4s ease;
}

.web-next-link:hover .web-next-label {
    color: var(--web-accent);
}

.web-next-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
}

.web-next-arrow {
    font-size: 3rem;
    transition: transform 0.4s ease;
}

.web-next-link:hover .web-next-arrow {
    transform: translateX(20px);
    color: var(--web-accent);
}

/* ============================================
   CTA
   ============================================ */

.web-cta {
    padding: 12rem 0;
    background: var(--web-off-white);
    text-align: center;
    position: relative;
}

.web-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 238, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.web-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--web-black);
}

.web-cta p {
    font-size: 1.25rem;
    color: var(--web-gray);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.web-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--web-black);
    color: var(--web-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.web-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--web-accent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.web-cta-btn:hover::before {
    transform: translateX(0);
}

.web-cta-btn span {
    position: relative;
    z-index: 2;
}

.web-cta-btn:hover {
    color: var(--web-black);
}

.web-cta-btn::after {
    content: '→';
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.web-cta-btn:hover::after {
    transform: translateX(5px);
}

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

@media (max-width: 1024px) {
    .web-hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .web-browser {
        transform: none;
    }
    
    .web-mobile-float {
        display: none;
    }
    
    .web-challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .web-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .web-tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .web-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .web-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .web-gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .web-hero-grid {
        padding: 2rem 0;
    }
    
    .web-meta-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .web-features-grid {
        grid-template-columns: 1fr;
    }
    
    .web-results-grid {
        grid-template-columns: 1fr;
    }
    
    .web-result-item::after {
        display: none;
    }
    
    .web-next-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .web-devices-container {
        flex-direction: column;
        align-items: center;
    }
    
    .web-device-tablet,
    .web-device-phone {
        transform: none;
    }
}

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

body.projekt-type-web footer {
    background: var(--web-white);
    border-top: 1px solid var(--web-border);
}

body.projekt-type-web .footer-copyright,
body.projekt-type-web .footer-legal a {
    color: var(--web-gray);
}

body.projekt-type-web .footer-legal a:hover {
    color: var(--web-black);
}
