/*
Theme Name: Hanssen Agency
Description: Ultimate modern WordPress theme for Bodo Hanssen's film and PR agency. Cinematic graphite/red Hanssen design system with modern typography.
Version: 2.0.0
Author: Custom Development
*/

/* Hanssen design system - Essential styles */

/* Imports removed: fonts, utilities, and responsive layers are enqueued via functions.php */

/* Global box-sizing reset — prevents padding from causing horizontal overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ── WCAG 2.2 AA Accessibility ── */

/* Screen reader text — visually hidden but available to AT */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link — visible on focus only */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--color-vibrant-red, #E63946);
    color: #fff;
    font-family: var(--font-heading, sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Global focus-visible — keyboard navigation indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-vibrant-red, #E63946);
    outline-offset: 2px;
}

/* Remove outline:none — never suppress focus indicator entirely */
/* (Individual outline:none rules above are overridden by :focus-visible) */

/* Reduced motion — global kill switch */
@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;
    }
}

/* CSS Variables - Cinema Noir Ecosystem Design System (June 2026) */
:root {
    /* Cinema Noir Color Palette */
    --color-deep-black: #0D0D0F;          /* Hero, Footer — deepest black */
    --color-graphite-bg: #15151A;          /* Main background — stage */
    --color-section-bg: #1E1E24;           /* Section distinction — elevated */
    --color-section-alt: #28282F;          /* Alternative section — surface */
    --color-elevated: #1E1E24;             /* Cards, panels — raised elements */
    --color-surface: #28282F;              /* Hover states, active — surface */
    --color-vibrant-red: #E63946;          /* Accent — red thread, lines, labels */
    --color-deep-red: #B22234;             /* Deep red — subtle overlays */
    --color-soft-red: #FF6B6B;             /* Hover glow, accent light */
    --color-warm-white: #F5F5F0;           /* Headlines — warm white, not pure #FFF */
    --color-mid-gray: #A8A8B0;             /* Body text — readable, soft */
    --color-light-gray: #9CA0A6;           /* Secondary text — WCAG AA compliant on dark bg */
    --color-white: #F5F5F0;                /* Alias warm white */
    --color-black: #000000;                /* Pure black for text on red */
    --color-gold-accent: #C9A961;          /* Talent/excellence — gold accent */

    /* Legacy aliases — map old variable names to Cinema Noir equivalents */
    --text-white: var(--color-warm-white);
    --text-gray: var(--color-mid-gray);
    --primary-black: var(--color-black);
    --font-primary: var(--font-display);
    --color-text-muted: var(--color-mid-gray);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-accent: var(--color-vibrant-red);
    --color-warm-gray: var(--color-mid-gray);

    /* Depth Cues */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 24px rgba(230, 57, 70, 0.15);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --border-accent: 1px solid rgba(230, 57, 70, 0.3);
    --gradient-accent: linear-gradient(135deg, var(--color-vibrant-red), var(--color-deep-red));
    --transition-smooth: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);

    /* Typography - Editorial Cinema */
    --font-heading: 'Montserrat', sans-serif;       /* Labels, buttons, nav — like credits */
    --font-body: 'Lora', serif;                     /* Body text — like a screenplay */
    --font-display: 'Playfair Display', serif;      /* Hero headlines, section titles — like film titles */

    /* Fluid Typography Scale */
    --font-size-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2vw, 1rem);
    --font-size-base: clamp(1rem, 2.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 3vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 3.5vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 4vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 5vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 6vw, 3.5rem);
    --font-size-5xl: clamp(3rem, 8vw, 5rem);

    /* Fluid Button Scaling */
    --btn-font-size: clamp(0.875rem, 2.2vw, 1rem);
    --btn-padding-y: clamp(0.75rem, 2vw, 1rem);
    --btn-padding-x: clamp(1.5rem, 4vw, 2rem);
    --btn-padding-sm-y: clamp(0.5rem, 1.5vw, 0.75rem);
    --btn-padding-sm-x: clamp(1rem, 3vw, 1.5rem);
    --btn-padding-lg-y: clamp(1rem, 2.5vw, 1.25rem);
    --btn-padding-lg-x: clamp(2rem, 5vw, 2.5rem);

    /* Spacing - Fluid System */
    --container-max-width: 1600px;
    --section-padding-y: clamp(3rem, 8vw, 7rem);
    --section-padding-x: clamp(1rem, 4vw, 2rem);
    --element-spacing: clamp(1rem, 3vw, 2rem);
    --element-spacing-sm: clamp(0.5rem, 2vw, 1rem);
    --element-spacing-lg: clamp(2rem, 5vw, 4rem);

    /* Responsive Breakpoints */
    --bp-xs: 320px;
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1440px;
    --bp-2xl: 1920px;

    /* Sticky header anchor offset */
    --sticky-anchor-offset: clamp(70px, 8vw, 110px);

    /* Swiper theme color */
    --swiper-theme-color: var(--color-vibrant-red);

    /* Viewport unit helper */
    --vh-1: 1vh;
}

@supports (height: 100dvh) {
  :root { --vh-1: 1dvh; }
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Ensure anchor jumps to the contact form clear the sticky header */
#contact-form, form#contact-form {
    scroll-margin-top: clamp(70px, 8vw, 110px);
}
/* Global anchor offset for sticky header */
[id] {
    scroll-margin-top: var(--sticky-anchor-offset);
}

body {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
    line-height: clamp(1.6, 0.5vw + 1.4, 1.8);
    color: var(--color-light-gray);
    background: var(--color-graphite-bg);
    margin: 0;
    padding: 0;
    padding-top: clamp(55px, 6vw, 70px); /* Adjusted for thinner header */
    /* On iOS notch devices, include safe area at the top (fallback above stays for non-supporting browsers) */
    padding-top: calc(clamp(55px, 6vw, 70px) + env(safe-area-inset-top));
    overflow-x: hidden;
}

/* Readability helpers */
html[lang="de"] .prose,
html[lang="de"] p {
    hyphens: none;
}

.prose {
    max-width: clamp(56ch, 68ch, 72ch);
    margin: 0 auto;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Ensure all images are responsive by default */
img {
    max-width: 100%;
    height: auto;
}

.site-header.scrolled ~ * {
    padding-top: 60px; /* Adjust body padding when header is scrolled (smaller) */
}

.mobile-cta {
    display: none; /* hidden by default; enabled on small screens */
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(0.3px, 0.5vw, 0.8px);
    line-height: clamp(1.1, 0.2vw + 1, 1.3);
    margin-bottom: var(--element-spacing-sm);
}

h1 {
    font-weight: 900;
    font-size: var(--font-size-4xl);
    color: var(--color-vibrant-red);
    margin-bottom: var(--element-spacing);
}

h2 {
    font-weight: 700;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--element-spacing);
}

h3 {
    font-weight: 600;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--element-spacing-sm);
}

h4 {
    font-weight: 600;
    font-size: var(--font-size-xl);
    margin-bottom: var(--element-spacing-sm);
}

h5 {
    font-weight: 500;
    font-size: var(--font-size-lg);
    margin-bottom: var(--element-spacing-sm);
}

h6 {
    font-weight: 500;
    font-size: var(--font-size-base);
    margin-bottom: var(--element-spacing-sm);
}

/* Hero Titles - Extra Large */
.hero-title, .hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: clamp(1.05, 0.1vw + 1, 1.15);
}

/* Subtitle styling */
.subtitle, .hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--font-size-lg);
    font-weight: 400;
    font-style: italic;
    color: var(--color-mid-gray);
    text-transform: none;
    letter-spacing: normal;
    line-height: clamp(1.4, 0.3vw + 1.2, 1.6);
}

/* Header - Cinematic Design System */
.site-header {
    background: var(--color-graphite-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Respect iOS safe areas when fixed to top */
    padding-top: env(safe-area-inset-top);
}

.site-header.scrolled {
    background: rgba(13, 13, 15, 0.92);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.4rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-logo {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Site branding layout: logo over slogan (all breakpoints) */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: clamp(4px, 0.8vw, 8px);
}

.site-slogan {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-light-gray);
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    line-height: 1.1;
    white-space: normal;
}

.site-header.scrolled .site-slogan {
    font-size: clamp(0.72rem, 0.9vw, 0.86rem);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .site-branding { gap: 4px; }
    .site-slogan { font-size: clamp(0.82rem, 3.5vw, 0.95rem); opacity: 0.95; }
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--element-spacing-sm);
}

.main-navigation a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.3vw, 1.2px);
    font-size: var(--font-size-sm);
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 3vw, 18px);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
    transition: left 0.6s ease;
}

.main-navigation a:hover::before {
    left: 100%;
}

.main-navigation a:hover {
    color: var(--color-white);
    background: rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-vibrant-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.main-navigation a:hover::after {
    width: 60%;
}

/* Beautiful Design Enhancements - Cinematic System */

/* Animated Section Dividers */
.section-divider {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--color-vibrant-red) 20%, var(--color-deep-red) 50%, var(--color-vibrant-red) 80%, transparent 100%);
    margin: 1.25rem 0;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Card Hover Effects */
.cinematic-card {
    background: rgba(35, 38, 42, 0.8);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cinematic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-vibrant-red), var(--color-deep-red), var(--color-vibrant-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cinematic-card:hover::before {
    transform: scaleX(1);
}

.cinematic-card:hover {
    transform: translateY(-8px);
    background: rgba(35, 38, 42, 0.95);
    border-color: var(--color-vibrant-red);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(230, 57, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated Heading Underlines */
.cinematic-heading {
    position: relative;
    display: inline-block;
}

.cinematic-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-vibrant-red), var(--color-deep-red));
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-heading.animate::after,
.cinematic-heading:hover::after {
    width: 100%;
}

/* Gradient Text Effects */
.gradient-text {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-mid-gray) 50%, var(--color-vibrant-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

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

/* Enhanced Button Micro-animations */
.cinematic-button {
    position: relative;
    overflow: hidden;
    background: var(--color-vibrant-red);
    color: var(--color-white);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cinematic-button:hover {
    color: var(--color-black);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(230, 57, 70, 0.4),
        0 0 20px rgba(230, 57, 70, 0.3);
}

/* Cinematic Parallax Effects */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(35, 38, 42, 0.8) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
    z-index: 1;
}

.parallax-bg > * {
    position: relative;
    z-index: 2;
}

/* Animated Text Reveals */
.text-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-reveal-stagger {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal-stagger.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger animation delays */
.text-reveal-stagger:nth-child(1) { transition-delay: 0.1s; }
.text-reveal-stagger:nth-child(2) { transition-delay: 0.2s; }
.text-reveal-stagger:nth-child(3) { transition-delay: 0.3s; }
.text-reveal-stagger:nth-child(4) { transition-delay: 0.4s; }
.text-reveal-stagger:nth-child(5) { transition-delay: 0.5s; }

/* Cinematic Scroll Animations */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.fade-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Scale animations */
.scale-in {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Hero Section - Cinematic Design System */
.hero-section.hanssen-design-inspired {
    min-height: clamp(380px, calc(var(--vh-1) * 45), 620px);
    background: linear-gradient(135deg, var(--color-graphite-bg) 0%, var(--color-section-bg) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
@media (min-width: 1024px) {
  .hero-section.hanssen-design-inspired {
    min-height: clamp(320px, calc(var(--vh-1) * 40), 560px);
  }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--color-white);
    width: min(100%, var(--container-max-width));
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-vibrant-red);
}

.hero-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
    font-weight: 300;
    opacity: 0.9;
}

/* Services hero: layout fixes + centered, wider text */
/* Prevent shrink-to-fit that causes one-word-per-line wrapping */
.services-hero {
  justify-content: center; /* center the content block inside hero */
  text-align: center;
}
.services-hero .container {
  width: min(100%, var(--container-max-width)); /* occupy normal container width inside flex hero */
}
.services-hero .page-title,
.services-hero .hero-headline,
.services-hero .page-subtitle,
.services-hero .hero-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* Ensure normal wrapping behavior on intro */
.services-hero .hero-intro {
  white-space: normal;
  overflow-wrap: break-word;
}

/* Services hero: widen text on desktop */
@media (min-width: 1024px) {
  .services-hero .hero-headline {
    max-width: 1100px;
  }
  .services-hero .hero-intro {
    max-width: 900px;
  }
}

@media (min-width: 1440px) {
  .services-hero .hero-intro {
    max-width: 1000px;
  }
}

/* Generic hero: ensure normal wrapping and widen text on desktop */
/* Avoid one-word-per-line by keeping natural wrapping */
.hero-section .hero-intro {
  white-space: normal;
}

/* Widen text area on desktop for other hero types */
@media (min-width: 1024px) {
  /* Home hero (eventer-inspired) */
  /* Home hero (hanssen-design-inspired) */
  .hero-section.hanssen-design-inspired .hero-headline { max-width: 1100px; }
  .hero-section.hanssen-design-inspired .hero-intro { max-width: 900px; }

  /* Referenzen */
  .references-hero .hero-headline { max-width: 1100px; }
  .references-hero .hero-intro { max-width: 900px; }

  /* Kontakt */
  .contact-hero .hero-headline { max-width: 1100px; }
  .contact-hero .hero-intro { max-width: 900px; }

  /* Blog */
  .blog-hero .hero-headline { max-width: 1100px; }
  .blog-hero .hero-intro { max-width: 900px; }

  /* WIR */
  .wir-hero .hero-headline { max-width: 1100px; }
  .wir-hero .hero-intro { max-width: 900px; }

  /* Leistungen */
  .services-hero .hero-headline { max-width: 1100px; }
  .services-hero .hero-intro { max-width: 900px; }
}

@media (min-width: 1440px) {
  .hero-section.hanssen-design-inspired .hero-intro,
  .wir-hero .hero-intro,
  .services-hero .hero-intro,
  .references-hero .hero-intro,
  .contact-hero .hero-intro,
  .blog-hero .hero-intro {
    max-width: 1000px;
  }
}

.section-title {
    font-size: var(--font-size-2xl);
    text-align: left;
    margin-bottom: 2rem;
    color: var(--color-light-gray);
    font-weight: 300;
    text-transform: lowercase;
}

/* WIR specific list polish */
.wir-section ul {
    list-style: disc;
    padding-left: 1.25rem;
}
.wir-section li {
    margin: 0.3rem 0 0.6rem;
}
.wir-section li::marker {
    color: var(--color-vibrant-red);
    font-size: 0.9em;
}

/* ── WIR Stats Row ── */
.wir-stats {
    padding: 2.5rem var(--section-padding-x);
    background: var(--color-graphite-bg);
    border-bottom: 1px solid var(--color-border);
}
.wir-stats .stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}
.wir-stats .stat-item {
    text-align: center;
}
.wir-stats .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-vibrant-red);
    line-height: 1;
}
.wir-stats .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-mid-gray);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── WIR Values ── */
.wir-values {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-alt);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.value-card {
    background: var(--color-section-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--color-vibrant-red);
    transition: transform 0.3s ease;
}
.value-card:hover {
    transform: translateY(-4px);
}
.value-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}
.value-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}
.value-card p {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── WIR Team ── */
.wir-team {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-graphite-bg);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.team-card {
    background: var(--color-section-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.team-avatar-gradient {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-vibrant-red), rgba(230,57,70,0.3));
    position: relative;
}
.team-avatar-initials {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    z-index: 1;
}
.team-name {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}
.team-role {
    font-size: 0.85rem;
    color: var(--color-vibrant-red);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.team-bio {
    font-size: 0.85rem;
    color: var(--color-mid-gray);
    line-height: 1.6;
}
.team-note {
    text-align: center;
    color: var(--color-mid-gray);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2rem;
    opacity: 0.7;
}

/* Leistungen list polish */
.services-section .service-details ul {
    list-style: disc;
    padding-left: 1.25rem;
}
.services-section .service-details li::marker {
    color: var(--color-vibrant-red);
}

p {
    margin-bottom: var(--element-spacing);
    color: var(--color-light-gray);
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
    line-height: clamp(1.6, 0.5vw + 1.4, 1.8);
}

li, span, div {
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
    line-height: clamp(1.6, 0.5vw + 1.4, 1.8);
}

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

.usp-item {
    background: var(--color-section-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: all 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-vibrant-red);
}

.usp-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-light-gray);
    font-weight: 600;
}

/* Accessibility: focus for reference links */
.reference-link:focus-visible {
    outline: 2px solid var(--color-vibrant-red);
    outline-offset: 2px;
}

/* Referenzen card link wrapper: neutralize default blue */
.references-section .reference-link {
    color: var(--color-light-gray);
    text-decoration: none;
}
.references-section .reference-link:hover,
.references-section .reference-link:focus,
.references-section .reference-link:visited {
    color: var(--color-light-gray);
    text-decoration: none;
}

/* Referenzen content links: use red accent, not browser blue */
.references-section .reference-content a,
.references-section .reference-services a {
    color: var(--color-vibrant-red);
    text-decoration-color: rgba(230,57,70,0.6);
}
.references-section .reference-content a:hover,
.references-section .reference-content a:focus,
.references-section .reference-services a:hover,
.references-section .reference-content a:focus,
.references-section .reference-services a:focus {
    color: #E63946;
    text-decoration-color: #E63946;
}
.references-section .reference-content a:visited,
.references-section .reference-services a:visited { color: #E63946; }

/* Swiper (Referenzen) - force variables on container so they beat CDN defaults */
.references-carousel {
    --swiper-theme-color: var(--color-vibrant-red);
    --swiper-navigation-color: var(--color-vibrant-red);
    --swiper-pagination-color: var(--color-vibrant-red);
}

/* Swiper (Referenzen) - unify accent color with site red */
.references-carousel .swiper-button-next,
.references-carousel .swiper-button-prev {
    color: var(--color-vibrant-red);
}

.references-carousel .swiper-pagination-bullet-active {
    background: var(--color-vibrant-red) !important;
    opacity: 1;
}

.references-carousel .swiper-pagination-bullet {
    background: rgba(230, 57, 70, 0.35);
}

/* Cinematic Reel — override grid for Swiper wrapper */
.references-carousel .references-grid {
    display: flex !important; /* ensure Swiper's flex wrapper, even if generic grid styles exist */
}

/* Cinematic Reel — slide sizing and snap feel */
.references-carousel .swiper-slide.reference-item {
    width: 100% !important;
    scroll-snap-align: start;
}

@media (min-width: 1024px) {
    .references-carousel .swiper-slide.reference-item {
        width: 100% !important;
    }
}

/* Replace default dots with segmented progress */
.references-carousel .swiper-pagination {
    display: none !important;
}

/* Cinematic Reel — segmented progress bar */
.references-reel-ui {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.references-progress {
    display: flex;
    align-items: center;
    gap: 6px;
}

.references-progress .rp-seg {
    flex: 1 1 0;
    height: 4px;
    background: rgba(230, 57, 70, 0.25);
    border: 0;
    padding: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.references-progress .rp-seg:hover {
    background: rgba(230, 57, 70, 0.45);
}

.references-progress .rp-seg.active {
    background: var(--color-vibrant-red, #E63946);
    height: 6px;
    transform: translateY(-1px);
}

.references-progress .rp-seg:focus-visible {
    outline: 2px solid var(--color-vibrant-red, #E63946);
    outline-offset: 2px;
}

/* Cinematic Reel — details panel */
.references-details-panel {
    color: var(--color-light-gray, #f0f0f0);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.references-details-panel .rdp-title {
    margin: 0 0 0.25rem 0;
    font-size: clamp(1.05rem, 1.2vw + 0.9rem, 1.5rem);
    line-height: 1.2;
    color: #fff;
}

.references-details-panel .rdp-meta {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.references-details-panel .rdp-sep {
    opacity: 0.5;
    margin: 0 0.4rem;
}

.references-details-panel .rdp-services {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.references-details-panel .rdp-cta-wrap {
    margin-top: 0.75rem;
}

.references-details-panel .rdp-cta.btn {
    background: var(--color-vibrant-red, #E63946);
    border-color: var(--color-vibrant-red, #E63946);
}

.references-details-panel .rdp-cta.btn:hover,
.references-details-panel .rdp-cta.btn:focus-visible {
    filter: brightness(0.95);
}

/* Vision Section - Eventer.at inspired */
.vision-section {
    padding: 6rem 0;
    background: var(--color-graphite-light);
    text-align: left;
}

/* Mobile Responsive - Eventer.at inspired */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-headline {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .usps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtext {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
        width: 100%;
        padding: 16px 24px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .site-branding .site-logo {
        font-size: 1.3rem;
    }
    
    .usps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-headline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 12px;
    }
    
    .site-branding .site-logo {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    transition: var(--transition-smooth);
}

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

.site-logo {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Cinematic logo text styling */
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF !important; /* Force white color for visibility */
    transition: all 0.3s ease;
    display: inline-block;
}

.site-header.scrolled .logo-text {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.site-logo:hover {
    color: var(--color-vibrant-red);
    transform: scale(1.03);
}

/* Header logo image (SVG) */
.site-logo-img {
    width: clamp(200px, 16vw, 300px);
    height: auto;
    display: block;
    transition: width 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .site-logo-img {
    width: clamp(180px, 14vw, 270px);
}

/* Inline SVG logo scaling */
.site-logo-svg {
    width: clamp(150px, 12vw, 220px);
    height: auto;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
}
.site-header.scrolled .site-logo-svg {
    width: clamp(130px, 10vw, 200px);
    transition: all 0.3s ease;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

.main-navigation a:hover {
    color: var(--color-vibrant-red);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: clamp(360px, calc(var(--vh-1) * 40), 520px);
    margin-bottom: 112px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-section + .about-section {
    padding-top: 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Hero Poster Image (LCP element) */
.hero-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: ken-burns 20s ease-in-out infinite alternate;
}

/* Showreel Play Button */
.showreel-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-height: 24px;
}
.showreel-trigger .play-icon {
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.2s ease;
}
.showreel-trigger:hover .play-icon {
    transform: scale(1.3);
}

/* Showreel Lightbox Modal */
.showreel-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.showreel-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.showreel-lightbox-inner {
    position: relative;
    width: min(90vw, 1100px);
    aspect-ratio: 16 / 9;
}
.showreel-video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    outline: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.showreel-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.showreel-close:hover {
    color: var(--color-vibrant-red, #e63946);
    transform: scale(1.15);
}

.hero-media .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grain"><stop offset="0%" stop-color="%23E63946" stop-opacity="0.1"/><stop offset="100%" stop-color="%23000" stop-opacity="0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: var(--btn-font-size);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.3vw, 1px);
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

/* Button Variants */
.btn-primary {
    background: var(--color-vibrant-red);
    color: var(--color-white);
    border: 2px solid var(--color-vibrant-red);
}

.btn-primary:hover {
    background: var(--color-deep-red);
    border-color: var(--color-deep-red);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-graphite-bg);
    border-color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-vibrant-red);
    border: 2px solid var(--color-vibrant-red);
}

.btn-outline:hover {
    background: var(--color-vibrant-red);
    color: var(--color-white);
    border-color: var(--color-vibrant-red);
}

/* Button Sizes */
.btn-sm {
    padding: var(--btn-padding-sm-y) var(--btn-padding-sm-x);
    font-size: var(--font-size-sm);
}

.btn-small {
    padding: var(--btn-padding-sm-y) var(--btn-padding-sm-x);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--btn-padding-lg-y) var(--btn-padding-lg-x);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.btn:focus-visible {
    outline: 2px solid var(--color-vibrant-red);
    outline-offset: 2px;
}

.btn[disabled],
.btn[data-loading="true"] {
    opacity: 0.75;
    cursor: wait;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(clamp(-1px, -0.2vw, -3px));
    box-shadow: 0 clamp(8px, 2vw, 15px) clamp(20px, 5vw, 40px) rgba(230, 57, 70, 0.3);
}

/* Section Styles */
.section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.section-sm {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.section-lg {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-dark {
    background: var(--secondary-black);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 760px;
    margin: 0 auto;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.portfolio-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.8), rgba(192, 192, 192, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

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

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: 3;
}

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

.portfolio-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.portfolio-category {
    color: var(--color-vibrant-red);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--secondary-black);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-black);
}

.service-icon-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: var(--section-padding-y) 0;
    background: var(--color-section-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

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

/* References - Ensure images are responsive and don't overflow */
.reference-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
}

.reference-image img,
.reference-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer — Modern Agency Design */
.site-footer {
    background: #0d0d0d;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-vibrant-red) 50%, transparent 100%);
    opacity: 0.6;
}

/* ── Footer Top: Brand Statement ── */
.footer-top {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.footer-brand-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-vibrant-red);
    margin: 0;
    text-align: center;
}

.footer-brand-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: var(--color-vibrant-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

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

.footer-cta-btn:hover {
    background: var(--color-deep-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.footer-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ── Footer Middle: Link Columns ── */
.footer-middle {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-light-gray);
    margin: 0 0 0.5rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a,
.footer-links span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-mid-gray);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.5;
    cursor: pointer;
}

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

.footer-location {
    color: var(--color-light-gray);
}

/* ── Footer Social Icons ── */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--color-mid-gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--color-white);
    border-color: var(--color-vibrant-red);
    background: rgba(230, 57, 70, 0.08);
    transform: translateY(-2px);
}

/* ── Footer Bottom: Slim Bar ── */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-mid-gray);
    margin: 0;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-light-gray);
    margin: 0;
    font-style: italic;
}

/* ── Footer Responsive ── */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

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

/* Footer legal line - inline, single row on desktop */
.footer-bottom-content {
    display: flex;
    justify-content: center;
}

.footer-legal-line {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap; /* allow wrap on small screens */
    margin: 0;
}

.footer-legal-line .legal-links {
    display: inline-flex;
    align-items: center;
    gap: 0; /* separators manage spacing */
    flex-wrap: wrap;
}

.footer-legal-line .legal-links a {
    color: var(--color-mid-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-line .legal-links a:hover,
.footer-legal-line .legal-links a:focus-visible {
    color: var(--color-white);
}

.footer-legal-line .legal-links a + a::before {
    content: '·';
    color: var(--color-mid-gray);
    margin: 0 0.6rem;
}

@media (min-width: 768px) {
    .footer-legal-line { flex-wrap: nowrap; }
    .footer-legal-line .legal-links { flex-wrap: nowrap; }
}

/* Blog Section - Cinematic Design System */
.blog-section {
    padding: 6rem 0;
    background: var(--color-graphite-bg);
    position: relative;
}

.blog-hero {
    min-height: calc(var(--vh-1) * 60);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero .hero-headline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.blog-hero .hero-intro {
    font-size: 1.3rem;
    margin: 0 auto 2rem;
    color: var(--color-mid-gray);
    line-height: 1.6;
}

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

.blog-card {
    background: var(--color-section-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-vibrant-red), var(--color-deep-red), var(--color-vibrant-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-8px);
    background: rgba(35, 38, 42, 0.95);
    border-color: var(--color-vibrant-red);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(230, 57, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-title a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--color-vibrant-red);
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-date {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-excerpt {
    color: var(--color-light-gray);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.blog-link {
    color: var(--color-vibrant-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: lowercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-link:hover {
    color: var(--color-deep-red);
    transform: translateX(5px);
}

.blog-pagination {
    text-align: center;
    margin-top: 4rem;
}

.load-more-posts {
    background: transparent;
    color: var(--color-vibrant-red);
    border: 2px solid var(--color-vibrant-red);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-posts:hover {
    background: var(--color-vibrant-red);
    color: var(--color-white);
    transform: translateY(-2px);
}

.no-posts {
    text-align: center;
    padding: 4rem 0;
    color: var(--color-medium-grey);
    font-style: italic;
}

/* Social Media Icons */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #888;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    color: var(--color-vibrant-red);
    background-color: rgba(230, 57, 70, 0.1);
    border-color: var(--color-vibrant-red);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Contact Section Styles */
.social-link {
    color: var(--color-vibrant-red);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--color-vibrant-red);
    border-radius: 4px;
    transition: var(--transition-smooth);
    font-size: 0.9em;
}

.social-link:hover {
    background-color: var(--color-vibrant-red);
    color: var(--color-black);
    transform: translateY(-2px);
}

.contact-cta {
    background: rgba(230, 57, 70, 0.1);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.cta-content h3 {
    color: var(--color-vibrant-red);
    margin-bottom: 15px;
    font-size: 1.5em;
    font-family: var(--font-primary);
}

.cta-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-options {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-option {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-option:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--color-vibrant-red);
    transform: translateY(-3px);
}

.option-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.contact-option h4 {
    color: var(--color-vibrant-red);
    margin-bottom: 10px;
    font-size: 1.2em;
    font-family: var(--font-primary);
}

.contact-option p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.9em;
}

.contact-note {
    background: rgba(230, 57, 70, 0.15);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--color-vibrant-red);
}

.contact-note p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-cta {
        padding: 20px;
    }
    
    .contact-options {
        gap: 15px;
    }
    
    .contact-option {
        padding: 15px;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVENESS 2025
   Mobile (Android/iOS) + Desktop (macOS/Windows/Linux) Optimized
   ======================================== */

/* Mobile-First Base Styles (320px+) */
/* Already defined in base styles above */

/* Extra Small Mobile - Portrait (320px - 480px) */
@media (min-width: 320px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    /* Mobile Navigation */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        max-width: 100%;
    }
    
    .site-branding {
        z-index: 1001;
    }
    
    .site-logo {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--color-vibrant-red);
        text-decoration: none;
    }
    
    .main-navigation {
        position: relative;
    }
    
    .main-navigation ul {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--element-spacing-sm);
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        list-style: none;
        z-index: auto;
        transition: none;
    }
    
    /* Simple mobile navigation - always visible and stable */
    @media (max-width: 767px) {
        .main-navigation ul {
            position: static;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            background: transparent;
            width: 100%;
            height: auto;
            padding: 1rem 0;
            margin: 0;
            list-style: none;
            z-index: auto;
            transition: none;
        }
        
        .main-navigation a {
            padding: 0.5rem 1rem;
            font-size: var(--font-size-sm);
            width: auto;
            text-align: center;
        }
    }
    
    .main-navigation li {
        margin: 0;
    }
    
    .main-navigation a {
        color: var(--text-white);
        font-size: 1.5rem;
        font-weight: 500;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-navigation a:hover,
    .main-navigation a:focus {
        color: var(--color-vibrant-red);
        background: rgba(230, 57, 70, 0.1);
        transform: translateY(-2px);
    }
    
    .mobile-menu-toggle {
        display: none; /* Always hidden - using simple navigation */
    }
    
    .hamburger-line {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-vibrant-red);
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header-cta {
        display: none; /* Hide on mobile to save space */
    }
    
    /* Adjust main content for fixed header */
    .site-main {
        padding-top: 80px;
    }
    
    .hero-section {
        /* Improved Fluid Typography */
        body {
            font-size: clamp(1rem, 2.5vw, 1.125rem);
            line-height: clamp(1.5, 2.5vw, 1.7);
        }
        
        h1 {
            font-size: clamp(2rem, 6vw, 3.5rem);
            line-height: clamp(1.1, 2vw, 1.2);
        }
        
        h2 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            line-height: clamp(1.2, 2vw, 1.3);
        }
        
        h3 {
            font-size: clamp(1.25rem, 3vw, 1.75rem);
            line-height: clamp(1.3, 2vw, 1.4);
        }
        
        p, li, span {
            font-size: clamp(1rem, 2.5vw, 1.125rem);
            line-height: clamp(1.5, 2.5vw, 1.7);
        }
        
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* iOS/Android touch target */
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-cta {
        padding: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 12px 16px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-options {
        gap: 1rem;
    }
    
    .contact-option {
        padding: 1.5rem;
    }
}

/* Mobile Navigation Overlay + Floating CTA (override for <=767px) */
@media (max-width: 767px) {
    /* Show hamburger, ensure 48x48 tap target */
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        margin-left: auto;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    /* Hide nav list by default on mobile; reveal when active */
    .main-navigation ul {
        display: none;
    }
    .main-navigation ul.active {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        position: fixed;
        top: clamp(55px, 6vw, 70px);
        left: 0;
        right: 0;
        bottom: 0;
        padding: 1rem;
        background: rgba(10, 10, 10, 0.98);
        z-index: 1001; /* above header (1000) */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Larger, touch-friendly items */
    .main-navigation a {
        min-height: 48px;
        padding: 0.875rem 1rem;
        width: 100%;
    }

    /* Floating mobile CTA */
    .mobile-cta {
        position: fixed;
        right: calc(1rem + env(safe-area-inset-right));
        bottom: calc(1rem + env(safe-area-inset-bottom));
        z-index: 1000;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 56px;
        height: 56px;
        padding: 0 1rem;
        border-radius: 999px;
        font-family: var(--font-heading);
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--color-black);
        background: var(--color-vibrant-red);
        border: 1px solid var(--color-vibrant-red);
        box-shadow: 0 8px 24px rgba(230, 57, 70, 0.45);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .mobile-cta:hover,
    .mobile-cta:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(230, 57, 70, 0.55);
        outline: none;
    }
    @media (prefers-reduced-motion: reduce) {
        .mobile-cta { transition: none; }
    }

    /* Hide desktop header CTA on small screens (already present but reinforced) */
    .header-cta { display: none; }
}

/* Small Mobile - Landscape (481px - 600px) */
@media (min-width: 481px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small Tablets - Portrait (601px - 768px) */
@media (min-width: 601px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Large Tablets - Landscape (769px - 1024px) */
@media (min-width: 769px) {
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        align-items: center;
    }
    
    .contact-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Small Desktops/Laptops (1025px - 1280px) */
@media (min-width: 1025px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Desktop navigation: keep menu on one line and allocate space */
    .site-header .container {
        display: flex;
        align-items: center;
        gap: 1rem;
        max-width: 100%;
        padding-left: clamp(16px, 2vw, 32px);
        padding-right: clamp(16px, 2vw, 32px);
    }
    .site-branding,
    .header-cta {
        flex: 0 0 auto;
    }
    .main-navigation {
        flex: 1 1 auto;
        min-width: 0; /* allow flex item to shrink without forcing wrap */
    }
    .main-navigation ul {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: clamp(0.15rem, 0.4vw, 0.5rem);
        overflow-x: auto; /* if it truly doesn't fit, scroll instead of wrap */
        -webkit-overflow-scrolling: touch;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
    }
    .main-navigation li {
        flex: 0 0 auto;
        min-width: 0;
    }
    .main-navigation a {
        white-space: nowrap;
        /* tighter desktop sizing */
        font-size: clamp(0.82rem, 0.9vw, 0.95rem);
        letter-spacing: clamp(0px, 0.12vw, 0.3px);
        padding: clamp(6px, 0.6vw, 8px) clamp(8px, 1vw, 12px);
        font-weight: 700;
        line-height: 1.2;
    }
}

/* Large Desktops (1281px - 1440px) */
@media (min-width: 1281px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-content {
        max-width: 1000px;
    }
    
    .services-grid,
    .portfolio-grid {
        gap: 3rem;
    }
}

/* Extra-Large Screens (1441px+) */
@media (min-width: 1441px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-content {
        max-width: 1200px;
    }
}

/* ========================================
   MOBILE-SPECIFIC OPTIMIZATIONS
   ======================================== */

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .social-link,
    .portfolio-item,
    .service-card {
        min-height: 48px;
        min-width: 48px;
    }
    
    .btn:hover,
    .social-link:hover {
        transform: none; /* Disable hover transforms on touch devices */
    }
    
    .btn:active,
    .social-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: clamp(360px, calc(var(--vh-1) * 40), 520px);
    }
    
    .btn {
        appearance: none;
        -webkit-appearance: none;
        border-radius: 8px;
    }
}

/* Android Chrome specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    .hero-background {
        will-change: transform;
        backface-visibility: hidden;
    }
}

/* High DPI displays (Retina, high-res Android) */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .hero-background,
    .portfolio-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: clamp(300px, calc(var(--vh-1) * 50), 520px);
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        margin-bottom: 1rem;
    }
}

/* Accessibility improvements for mobile */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        transition: none;
        transform: none;
        opacity: 1;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* ========================================
   DESKTOP OS OPTIMIZATION (macOS/Windows/Linux)
   Advanced Breakpoints for Large Displays
   ======================================== */

/* Standard Desktop - 1280px (Small Laptops/Desktops) */
@media (min-width: 80em) { /* 1280px */
    :root {
        --spacing-xs: 0.5rem;
        --spacing-sm: 1rem;
        --spacing-md: 2rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-xxl: 6rem;
    }
    
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .hero-section {
        min-height: clamp(380px, calc(var(--vh-1) * 40), 560px);
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.25rem;
        max-width: 600px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .main-navigation ul {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 2rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Full HD Desktop - 1920px (Standard Desktop Monitors) */
@media (min-width: 120em) { /* 1920px */
    :root {
        --spacing-md: 2.5rem;
        --spacing-lg: 4rem;
        --spacing-xl: 5rem;
        --spacing-xxl: 8rem;
    }
    
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-section {
        min-height: clamp(420px, calc(var(--vh-1) * 42), 600px);
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: clamp(4rem, 6vw, 6rem);
        line-height: 1.05;
    }
    
    .hero p {
        font-size: 1.375rem;
        max-width: 700px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .section-padding {
        padding: 6rem 0;
    }
    
    /* Enhanced typography for large screens */
    h2 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    h3 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
    }
}

/* 2K/QHD Desktop - 2560px (High-End Monitors) */
@media (min-width: 160em) { /* 2560px */
    :root {
        --spacing-md: 3rem;
        --spacing-lg: 5rem;
        --spacing-xl: 6rem;
        --spacing-xxl: 10rem;
    }
    
    .container {
        max-width: 1800px;
        padding: 0 4rem;
    }
    
    .hero-section {
        min-height: clamp(440px, calc(var(--vh-1) * 45), 640px);
        padding: 8rem 0;
    }
    
    .hero h1 {
        font-size: clamp(5rem, 7vw, 8rem);
        line-height: 1.02;
    }
    
    .hero p {
        font-size: 1.5rem;
        max-width: 800px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4rem;
    }
    
    .section-padding {
        padding: 8rem 0;
    }
    
    /* Ultra-high resolution typography */
    h2 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
    
    h3 {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }
    
    .btn {
        padding: 1.25rem 3rem;
        font-size: 1.25rem;
    }
    
    /* Enhanced spacing for ultra-wide displays */
    .main-navigation a {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* 4K/UHD Desktop - 3840px+ (Ultra-High Resolution) */
@media (min-width: 240em) { /* 3840px */
    :root {
        --spacing-md: 4rem;
        --spacing-lg: 6rem;
        --spacing-xl: 8rem;
        --spacing-xxl: 12rem;
    }
    
    .container {
        max-width: 2400px;
        padding: 0 6rem;
    }
    
    .hero-section {
        min-height: clamp(480px, calc(var(--vh-1) * 48), 680px);
        padding: 10rem 0;
    }
    
    .hero h1 {
        font-size: clamp(6rem, 8vw, 10rem);
        line-height: 1.0;
    }
    
    .hero p {
        font-size: 1.75rem;
        max-width: 1000px;
    }
    
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 5rem;
    }
    
    .section-padding {
        padding: 10rem 0;
    }
    
    /* 4K optimized typography */
    h2 {
        font-size: clamp(4rem, 6vw, 6rem);
    }
    
    h3 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .btn {
        padding: 1.5rem 4rem;
        font-size: 1.5rem;
    }
    
    /* Ultra-wide navigation */
    .main-navigation a {
        padding: 1.25rem 2.5rem;
        font-size: 1.25rem;
    }
}

/* ========================================
   OS-SPECIFIC OPTIMIZATIONS
   ======================================== */

/* macOS Safari Optimizations */
@supports (-webkit-backdrop-filter: blur(10px)) {
    .site-header {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    .card {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}

/* Windows High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-black: #000000;
        --text-white: #ffffff;
        --color-vibrant-red: #ffff00;
        --color-soft-red: #ffff99;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 1px solid currentColor;
    }
}

/* Linux/Unix Font Rendering Optimization */
@supports (font-feature-settings: "kern") {
    body {
        font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
        text-rendering: optimizeLegibility;
    }
}

/* Retina/High-DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-logo {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Crisp borders on high-DPI */
    .card,
    .btn {
        border-width: 0.5px;
    }
}

/* Ultra-Wide Display Support (21:9, 32:9 aspect ratios) */
@media (min-aspect-ratio: 21/9) {
    .hero-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Vertical/Portrait Desktop Displays */
@media (orientation: portrait) and (min-width: 768px) {
    .hero-section {
        min-height: calc(var(--vh-1) * 60);
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gaming Monitor Support (144Hz+, Ultra-wide) */
@media (min-width: 200em) { /* 3200px+ */
    .container {
        max-width: 2800px;
    }
    
    .hero-section {
        padding: 12rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
}

/* Dark mode support for all devices */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-black: #000000;
        --secondary-black: #111111;
        --text-white: #ffffff;
        --text-gray: #e0e0e0;
    }
}

/* Print styles for mobile */
@media print {
    .hero-section,
    .loading-overlay {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: var(--transition-slow);
}

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

/* ========================================
   Header Navigation Single-Line Guarantee
   Final overrides after all earlier media blocks
   ======================================== */
@media (min-width: 1025px) {
    nav.main-navigation {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto; /* allow horizontal scroll if needed, never wrap */
        -webkit-overflow-scrolling: touch;
    }
    nav.main-navigation ul {
        display: flex;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        gap: clamp(0.1rem, 0.3vw, 0.4rem);
        min-width: 0;
        max-width: 100%;
        width: max-content; /* size to content to avoid wrapping */
    }
    nav.main-navigation li {
        flex: 0 0 auto;
        min-width: 0;
    }
    nav.main-navigation a {
        white-space: nowrap;
        font-size: clamp(0.78rem, 0.82vw, 0.92rem);
        letter-spacing: clamp(0px, 0.08vw, 0.25px);
        padding: clamp(6px, 0.5vw, 8px) clamp(8px, 0.8vw, 10px);
        line-height: 1.2;
    }

    /* ID-specific menu enforcement */
    #primary-menu {
        display: flex;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        gap: clamp(0.1rem, 0.3vw, 0.4rem);
        min-width: 0;
        max-width: 100%;
        width: max-content; /* reinforce one-line for WP menu UL */
    }
    #primary-menu > li {
        flex: 0 0 auto;
        min-width: 0;
    }
    #primary-menu a {
        white-space: nowrap;
        font-size: clamp(0.78rem, 0.82vw, 0.92rem);
        letter-spacing: clamp(0px, 0.08vw, 0.25px);
        padding: clamp(6px, 0.5vw, 8px) clamp(8px, 0.8vw, 10px);
        line-height: 1.2;
    }

    /* Constrain logo width to free space for nav */
    .site-logo-img {
        max-width: clamp(150px, 40vw, 200px);
        height: auto;
    }
}

.slide-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: var(--transition-slow);
}

.slide-in-left.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.slide-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: var(--transition-slow);
}

.slide-in-right.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-deep-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(230, 57, 70, 0.3);
    border-top: 3px solid var(--color-vibrant-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* =============================
   Kontakt: Form UX Enhancements
   ============================= */
.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;
}

.contact-form {
    display: grid;
    gap: var(--element-spacing-sm);
    max-width: 720px;
}

.contact-form .form-group {
    display: grid;
    gap: 0.5rem;
}

.contact-form .form-label {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
}

.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    color: var(--color-white);
    background: var(--color-section-alt);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    font-size: var(--font-size-base);
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
    color: var(--color-light-gray);
    opacity: 0.7;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus,
.contact-form .form-input:focus-visible,
.contact-form .form-textarea:focus-visible {
    border-color: var(--color-vibrant-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
}

.contact-form .is-invalid {
    border-color: var(--color-vibrant-red);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.contact-form .form-hint {
    font-size: var(--font-size-xs);
    color: var(--color-light-gray);
}

.contact-form .form-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.contact-form .char-counter {
    margin-left: auto;
    font-size: var(--font-size-xs);
    color: var(--color-mid-gray);
}

.contact-form .form-disclaimer {
    margin-top: 0.5rem;
    font-size: var(--font-size-xs);
    color: var(--color-mid-gray);
}
.contact-form .form-disclaimer a {
    color: var(--color-white);
    text-decoration: underline;
}

/* Inline field error text and success panel */
.contact-form .form-error-text {
    display: none;
    margin-top: 0.35rem;
    font-size: var(--font-size-xs);
    color: var(--color-vibrant-red);
}
.contact-form .form-group.has-error .form-error-text {
    display: block;
}
.contact-form .form-group.has-error .form-label {
    color: var(--color-vibrant-red);
}

.form-success-panel {
    display: none;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 12px;
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.35);
    box-shadow: 0 6px 24px rgba(46, 204, 113, 0.12);
}
.form-success-panel .success-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2ecc71;
    color: #0b1a12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 0.5rem;
}
.form-success-panel h3 {
    margin: 0.5rem 0 0.25rem;
    color: var(--color-white);
    font-family: var(--font-heading);
}
.form-success-panel p {
    margin: 0.25rem 0 0.75rem;
    color: var(--color-light-gray);
}

.contact-form-wrapper.form-success-visible .contact-form {
    display: none;
}
.contact-form-wrapper.form-success-visible .form-success-panel {
    display: block;
}
.contact-form-wrapper.form-success-visible .form-status-message.success {
    display: none;
}

.contact-form .form-status-message {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: var(--color-vibrant-red);
}
.contact-form .form-status-message.success {
    border-left-color: var(--color-soft-red, #FF6B6B);
}
.contact-form .form-status-message.error {
    border-left-color: var(--color-vibrant-red);
}

.contact-form .btn[disabled],
.contact-form .btn[data-loading="true"] {
    opacity: 0.75;
    cursor: wait;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM FEATURES — Cinematic Cursor, Back-to-Top, Lightbox
   ═══════════════════════════════════════════════════════════════ */

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-vibrant-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
    will-change: transform;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--color-white);
}

.custom-cursor.click {
    width: 12px;
    height: 12px;
    background: var(--color-vibrant-red);
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-vibrant-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-trail {
        display: none !important;
    }
}

/* ── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--color-vibrant-red);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ── IMAGE LIGHTBOX ─────────────────────────────────────────── */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100001;
}

.lightbox-close:hover {
    background: var(--color-vibrant-red);
    border-color: var(--color-vibrant-red);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.lightbox-overlay.active .lightbox-caption {
    opacity: 1;
}

/* Clickable portfolio images */
.portfolio-item img,
.gallery-item img,
.module-image img {
    cursor: zoom-in;
}

/* ── PAGE TRANSITION ──────────────────────────────────────── */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-graphite-bg);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

/* ── TYPEWRITER EFFECT ────────────────────────────────────── */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--color-vibrant-red);
    white-space: nowrap;
    animation: typing 2.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-vibrant-red); }
}

/* ── MAGNETIC BUTTON EFFECT ───────────────────────────────── */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── KEN BURNS EFFECT FOR HERO ────────────────────────────── */
@keyframes ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-poster-img,
.hero-image {
    animation: ken-burns 20s ease-in-out infinite alternate;
}

/* ── ENHANCED SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-graphite-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-vibrant-red);
}

/* ── ABOUT SECTION (v2-about) ───────────────────────────── */
.v2-about {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-bg);
}

.about-lead {
    font-size: var(--font-size-xl);
    color: var(--color-mid-gray);
    max-width: 800px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border-left: 3px solid var(--color-vibrant-red);
}

.usp-icon {
    color: var(--color-vibrant-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.usp-text {
    color: var(--color-light-gray);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* ── VISION & MISSION SECTION (v2-vision) ─────────────────── */
.v2-vision {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--color-section-alt);
    text-align: center;
    position: relative;
}

.v2-vision::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.vision-statement {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.vision-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-vibrant-red);
    margin-bottom: 1.5rem;
}

.vision-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.vision-content {
    max-width: 700px;
    margin: 0 auto;
}

.vision-text {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--color-light-gray);
    line-height: 1.7;
    max-width: 60ch;
    margin: 0 auto;
}

/* ── REFERENCES PAGE (page-referenzen) ────────────────────── */
.references-hero {
    padding: calc(var(--section-padding-y) * 2) var(--section-padding-x);
    background: linear-gradient(135deg, var(--color-graphite-bg) 0%, var(--color-section-alt) 100%);
    text-align: center;
}

.references-hero .page-title {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.references-hero .page-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-mid-gray);
    max-width: 700px;
    margin: 0 auto;
}

.references-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-graphite-bg);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reference-item {
    background: var(--color-section-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.reference-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.reference-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.reference-tag {
    background: var(--color-vibrant-red);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reference-content {
    padding: 1.5rem;
}

.reference-title {
    font-size: var(--font-size-lg);
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.reference-quote {
    font-style: italic;
    color: var(--color-mid-gray);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-vibrant-red);
}

.reference-source {
    display: block;
    color: var(--color-light-gray);
    font-size: var(--font-size-xs);
    margin-bottom: 1rem;
}

.references-cta {
    text-align: center;
    padding: 3rem;
    background: var(--color-section-bg);
    border-radius: 12px;
}

.cta-text {
    font-size: var(--font-size-xl);
    color: var(--color-mid-gray);
    margin-bottom: 1.5rem;
}

/* ── CONTACT PAGE (page-kontakt) ──────────────────────────── */
.contact-hero {
    padding: calc(var(--section-padding-y) * 2) var(--section-padding-x);
    background: linear-gradient(135deg, var(--color-graphite-bg) 0%, var(--color-section-alt) 100%);
    text-align: center;
}

.contact-hero .page-title {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-hero .page-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-mid-gray);
}

.contact-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-graphite-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-form-wrapper {
    background: var(--color-section-bg);
    padding: 2rem;
    border-radius: 12px;
}

.form-title {
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

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

.contact-form label {
    display: block;
    color: var(--color-mid-gray);
    font-size: var(--font-size-sm);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-dark);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Custom Dropdown (replaces native <select> for full styling control) */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown .dropdown-trigger {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.custom-dropdown .dropdown-trigger::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-white);
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .dropdown-trigger::after {
    transform: rotate(180deg);
}

.custom-dropdown .dropdown-options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--color-dark);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.custom-dropdown .dropdown-option {
    padding: 0.75rem 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-dropdown .dropdown-option:hover {
    background: rgba(230, 57, 70, 0.15);
}

.custom-dropdown .dropdown-option.selected {
    background: rgba(230, 57, 70, 0.25);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-vibrant-red);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-light-gray);
}

.form-gdpr .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-gdpr input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.form-gdpr a {
    color: var(--color-vibrant-red);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background: var(--color-section-bg);
    padding: 1.5rem;
    border-radius: 12px;
}

.info-title {
    font-size: var(--font-size-xl);
    color: var(--color-white);
    margin-bottom: 1rem;
}

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

.contact-details li {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-label {
    font-size: var(--font-size-xs);
    color: var(--color-light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: var(--color-mid-gray);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value:hover {
    color: var(--color-vibrant-red);
}

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

.location-card {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid var(--color-vibrant-red);
}

.location-card h3 {
    color: var(--color-vibrant-red);
    font-size: var(--font-size-lg);
    margin-bottom: 0.25rem;
}

.location-card p {
    color: var(--color-light-gray);
    font-size: var(--font-size-sm);
}

/* ============================================================
   CINEMATIC V2 EFFECTS
   ============================================================ */

/* ── HEADER ANIMATIONS ─────────────────────────────────────── */
.site-header {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(13, 13, 15, 0.92) !important;
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    #primary-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-graphite-bg);
        backdrop-filter: blur(30px);
        padding: 6rem 2rem 2rem;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        transform: translateX(100%);
        z-index: 998;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    #primary-menu.is-open {
        transform: translateX(0);
    }

    #primary-menu li {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #primary-menu.is-open li {
        opacity: 1;
        transform: translateX(0);
    }

    #primary-menu.is-open li:nth-child(1) { transition-delay: 0.1s; }
    #primary-menu.is-open li:nth-child(2) { transition-delay: 0.15s; }
    #primary-menu.is-open li:nth-child(3) { transition-delay: 0.2s; }
    #primary-menu.is-open li:nth-child(4) { transition-delay: 0.25s; }
    #primary-menu.is-open li:nth-child(5) { transition-delay: 0.3s; }
    #primary-menu.is-open li:nth-child(6) { transition-delay: 0.35s; }

    /* Hamburger Animation */
    .mobile-menu-toggle {
        position: relative;
        z-index: 999;
        width: 32px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-toggle .hamburger-line {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-white);
        position: absolute;
        left: 0;
        transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu-toggle .hamburger-line:nth-child(1) { top: 0; }
    .mobile-menu-toggle .hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .mobile-menu-toggle .hamburger-line:nth-child(3) { bottom: 0; }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(5px);
        z-index: 997;
        opacity: 0;
        animation: fadeIn 0.3s forwards;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 997;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    body.nav-open {
        overflow: hidden;
    }
}

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

/* ── BUTTON RIPPLE ─────────────────────────────────────────── */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ── CUSTOM CURSOR (Desktop only) ─────────────────────────── */
@media (pointer: fine) {
    body {
        cursor: auto;
    }

    .cursor-dot { display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background: var(--color-vibrant-red);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, background 0.3s;
        mix-blend-mode: difference;
    }

    .cursor-dot.cursor-hover {
        width: 40px;
        height: 40px;
        background: rgba(230, 57, 70, 0.3);
        border: 1px solid var(--color-vibrant-red);
    }

    a, button, .btn, input, textarea, select, label[for] {
        cursor: auto;
    }
}

/* ── FILM GRAIN OVERLAY ──────────────────────────────────── */
.film-grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: grain 0.5s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -2%); }
    20% { transform: translate(2%, 2%); }
    30% { transform: translate(-1%, 1%); }
    40% { transform: translate(1%, -1%); }
    50% { transform: translate(-2%, 2%); }
    60% { transform: translate(2%, -2%); }
    70% { transform: translate(-1%, -1%); }
    80% { transform: translate(1%, 1%); }
    90% { transform: translate(-2%, -1%); }
}

/* ── TYPEWRITER EFFECT ────────────────────────────────────── */
.typewriter-active {
    border-right: 3px solid var(--color-vibrant-red);
    animation: blinkCursor 0.8s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blinkCursor {
    0%, 100% { border-color: var(--color-vibrant-red); }
    50% { border-color: transparent; }
}

/* ── PARALLAX HERO ENHANCEMENT ──────────────────────────── */
.v2-hero .hero-media {
    will-change: transform;
}

/* ── MAGNETIC BUTTONS ───────────────────────────────────── */
.btn-primary {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.4);
}

/* ── SECTION DIVIDERS ─────────────────────────────────────── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-vibrant-red), transparent);
    opacity: 0.3;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-divider.divider-animated {
    transform: scaleX(1);
}

/* ── GLOW EFFECTS ON HOVER ──────────────────────────────── */
.reference-item:hover .reference-image img,
.service-category:hover {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.15);
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .film-grain-overlay,
    .cursor-dot { display: none !important;
        display: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Phone number obfuscation - JS-injected, not in raw HTML */
.phone-obfuscated {
    color: var(--color-white);
}

/* ════════════════════════════════════════════════════════════════
   ECOSYSTEM DESIGN SYSTEM v2.1 — June 2026
   Cinema Noir Multi-Audience Ecosystem Styles
   ════════════════════════════════════════════════════════════════ */

/* ── TEXT WRAP BALANCE for headlines ──────────────────────── */
h2, h3, .section-title, .module-title {
    text-wrap: balance;
}

/* ── ECOSYSTEM INTRO — Three Pillars ─────────────────────── */
.v2-ecosystem {
    padding: var(--section-padding-y) 0;
    background: var(--color-deep-black);
}

.ecosystem-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 768px) {
    .ecosystem-pillars {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecosystem-pillar {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    background: var(--color-elevated);
    border: var(--border-subtle);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    text-align: center;
}

.ecosystem-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(230, 57, 70, 0.2);
}

.ecosystem-pillar-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-vibrant-red);
    transition: transform 0.3s ease, color 0.3s ease;
}

.ecosystem-pillar:hover .ecosystem-pillar-icon {
    transform: scale(1.1);
    color: var(--color-warm-white);
}

.ecosystem-pillar-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: var(--color-warm-white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.ecosystem-pillar-desc {
    font-size: var(--font-size-sm);
    color: var(--color-mid-gray);
    line-height: 1.7;
    max-width: 42ch;
    margin: 0 auto;
}

.ecosystem-pillar-cta {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF6B6B !important;
}

.ecosystem-pillar-cta:hover {
    border-color: var(--color-vibrant-red);
}

/* Connection lines between pillars (desktop only) */
@media (min-width: 768px) {
    .ecosystem-pillars {
        position: relative;
    }
    .ecosystem-pillar:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: calc(-1 * clamp(0.75rem, 1.5vw, 1.25rem));
        width: clamp(0.75rem, 1.5vw, 1.25rem);
        height: 1px;
        background: linear-gradient(90deg, var(--color-vibrant-red), transparent);
        opacity: 0.4;
    }
}

.ecosystem-tagline {
    text-align: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--color-mid-gray);
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
}

/* ── AUDIENCE SWITCH ──────────────────────────────────────── */
.audience-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.audience-pill {
    padding: 0.6rem 1.5rem;
    min-height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-mid-gray);
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.audience-pill:hover {
    border-color: var(--color-vibrant-red);
    color: var(--color-warm-white);
    background: rgba(230, 57, 70, 0.08);
}

.audience-pill.active {
    border-color: var(--color-vibrant-red);
    background: rgba(230, 57, 70, 0.12);
    color: var(--color-warm-white);
}

/* ── TALENT ROSTER ────────────────────────────────────────── */
.v2-talent-roster {
    padding: var(--section-padding-y) 0;
    background: var(--color-section-bg);
}

.talent-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.talent-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: transparent;
    color: var(--color-light-gray);
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.talent-filter-btn:hover {
    border-color: rgba(230, 57, 70, 0.3);
    color: var(--color-warm-white);
}

.talent-filter-btn.active {
    border-color: var(--color-vibrant-red);
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-warm-white);
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.talent-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--color-elevated);
    border: var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                opacity 0.3s ease;
}

.talent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.talent-card.talent-hidden {
    display: none;
}

.talent-card-avatar {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    position: relative;
}

.talent-card-avatar .talent-avatar-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-elevated), var(--color-surface));
}

.talent-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(230, 57, 70, 0.12), transparent 70%),
        linear-gradient(160deg, var(--color-section-alt) 0%, var(--color-graphite-bg) 60%, var(--color-deep-black) 100%);
    position: relative;
    overflow: hidden;
}

.talent-avatar-initials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-vibrant-red) 30%, var(--color-vibrant-red) 70%, transparent);
    opacity: 0.15;
}

.talent-avatar-initials span {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-warm-white);
    letter-spacing: 0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: color 0.3s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.talent-card:hover .talent-avatar-initials span {
    color: var(--color-soft-red);
    transform: scale(1.08);
}

.talent-avatar-initials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-vibrant-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.talent-card:hover .talent-avatar-initials::after {
    opacity: 1;
}

.talent-avatar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,15,0.1) 0%, rgba(13,13,15,0.5) 70%, rgba(13,13,15,0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.talent-card:hover .talent-avatar-overlay {
    opacity: 1;
}

.talent-overlay-initials {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-warm-white);
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.talent-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.1) brightness(0.85);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.talent-card:hover .talent-card-avatar img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1.05) brightness(1);
}

.talent-card-body {
    padding: 1.5rem 1.25rem;
}

.talent-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-warm-white);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.talent-card-role {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--color-vibrant-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.talent-card-location {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
}

.talent-card-category {
    font-size: var(--font-size-xs);
    color: var(--color-light-gray);
}

.talent-card-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.8125rem;
    color: var(--color-mid-gray);
    margin-top: 0.75rem;
    line-height: 1.5;
    opacity: 0.85;
}

.talent-card-credits {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--color-light-gray);
    margin-top: 0.5rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.talent-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(13, 13, 15, 0.8);
    backdrop-filter: blur(8px);
    color: var(--color-vibrant-red);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

/* ── SPOTLIGHT STRIP ──────────────────────────────────────── */
.v2-spotlight {
    padding: var(--section-padding-y) 0;
    background: var(--color-deep-black);
    overflow: hidden;
}

.spotlight-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-vibrant-red) transparent;
}

.spotlight-strip::-webkit-scrollbar {
    height: 4px;
}
.spotlight-strip::-webkit-scrollbar-track {
    background: transparent;
}
.spotlight-strip::-webkit-scrollbar-thumb {
    background: var(--color-vibrant-red);
    border-radius: 2px;
}

.spotlight-item {
    flex: 0 0 clamp(280px, 40vw, 400px);
    scroll-snap-align: start;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--color-elevated);
    border: var(--border-subtle);
    transition: transform 0.3s ease;
}

.spotlight-item:hover {
    transform: scale(1.02);
}

.spotlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.spotlight-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 15, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.spotlight-item-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-warm-white);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.spotlight-item-meta {
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    color: var(--color-vibrant-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── SOCIAL MEDIA WALL ────────────────────────────────────── */
.v2-social-wall {
    padding: var(--section-padding-y) 0;
    background: var(--color-section-bg);
}

.social-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.social-wall-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: var(--color-elevated);
}

.social-wall-item img,
.social-wall-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-wall-item:hover img,
.social-wall-item:hover video {
    transform: scale(1.08);
}

.social-wall-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 15, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.social-wall-item:hover .social-wall-item-overlay {
    opacity: 1;
}

.social-wall-item-icon {
    font-size: 1.2rem;
    color: var(--color-warm-white);
}

.social-wall-cta {
    text-align: center;
    margin-top: 2rem;
}

.social-wall-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    color: var(--color-warm-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.social-wall-cta a:hover {
    border-color: var(--color-vibrant-red);
    background: rgba(230, 57, 70, 0.08);
}

/* ── MULTI-AUDIENCE CONTACT ───────────────────────────────── */
.v2-contact-multi {
    padding: var(--section-padding-y) 0;
    background: var(--color-deep-black);
}

.contact-audience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-audience-tab {
    padding: 0.75rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: transparent;
    color: var(--color-light-gray);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-audience-tab:hover {
    border-color: rgba(230, 57, 70, 0.3);
    color: var(--color-warm-white);
}

.contact-audience-tab.active {
    border-color: var(--color-vibrant-red);
    background: rgba(230, 57, 70, 0.08);
    color: var(--color-warm-white);
}

.contact-audience-panel {
    display: none;
    max-width: 640px;
    margin: 0 auto;
}

.contact-audience-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

.contact-audience-panel .contact-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--color-elevated);
    border: var(--border-subtle);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-audience-panel .contact-cta-btn:hover {
    border-color: var(--color-vibrant-red);
    box-shadow: var(--shadow-glow-red);
}

/* ── SCROLL PROGRESS INDICATOR ────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-vibrant-red), var(--color-soft-red));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── ECOSYSTEM SECTION TITLE ──────────────────────────────── */
.section-title-display {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    color: var(--color-warm-white) !important;
}

/* ── HERO SPLIT TEXT REVEAL ───────────────────────────────── */
.v2-headline {
    font-family: var(--font-display) !important;
}

.v2-headline .word {
    display: inline;
}

.v2-headline.is-visible .word {
    opacity: 1;
    transform: none;
}

/* ── ECOSYSTEM SECTION SPACING ────────────────────────────── */
.v2-about, .v2-vision, .v2-process, .v2-trust-bar,
.v2-services, .v2-testimonials, .v2-team, .v2-gallery,
.v2-events, .v2-contact {
    padding: var(--section-padding-y) 0;
}

.v2-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--color-deep-black);
    overflow: hidden;
}

/* Hero overlay — desktop gradient for text readability */
.v2-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(13,13,15,0.75) 0%, rgba(13,13,15,0.6) 40%, rgba(13,13,15,0.85) 100%);
    pointer-events: none;
}

/* Container above overlay */
.v2-hero .container {
    position: relative;
    z-index: 2;
    padding-top: clamp(5rem, 10vh, 8rem);
    padding-bottom: clamp(3rem, 8vh, 6rem);
}

/* Hero headline */
.v2-headline {
    font-family: var(--font-display) !important;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-warm-white);
    margin: 0 auto 1.5rem auto;
    max-width: 900px;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Hero subline */
.v2-subline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--color-mid-gray);
    margin: 0 auto 2rem auto;
    max-width: 680px;
    text-align: center;
}

/* Hero CTA buttons */
.v2-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Hero single stat */
.hero-single-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: clamp(2rem, 5vh, 3.5rem) auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 680px;
    justify-content: center;
}
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-vibrant-red);
    line-height: 1;
}
.hero-stat-label {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--color-mid-gray);
    line-height: 1.4;
}

/* ── Hero responsive ── */
@media (max-width: 768px) {
    .v2-hero {
        min-height: 80svh;
    }
    .v2-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .v2-subline {
        font-size: 1rem;
    }
    .v2-hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .v2-hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    .audience-switch {
        flex-direction: column;
        width: 100%;
    }
    .audience-pill {
        text-align: center;
    }
    .hero-single-stat {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.v2-about {
    background: var(--color-graphite-bg);
}

.v2-vision {
    background: var(--color-section-bg);
}

.v2-process {
    background: var(--color-graphite-bg);
}

.v2-trust-bar {
    background: var(--color-deep-black);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.v2-services {
    background: var(--color-section-bg);
}

.v2-testimonials {
    background: var(--color-graphite-bg);
}

.v2-team {
    background: var(--color-section-bg);
}

.v2-gallery {
    background: var(--color-graphite-bg);
}

.v2-events {
    background: var(--color-section-bg);
}

.v2-contact {
    background: var(--color-deep-black);
}

/* ============================================================
   MOBILE UX OPTIMIZATION — iPhone & Android
   ============================================================ */

/* ── Mobile CTA floating button ── */
.mobile-cta {
    display: none;
}

@media (max-width: 767px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        z-index: 996;
        background: var(--color-vibrant-red, #e63946);
        color: #fff;
        padding: 0.875rem 1.5rem;
        border-radius: 50px;
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        align-items: center;
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        min-height: 48px;
    }

    .mobile-cta:active {
        transform: scale(0.95);
        box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3);
    }
}

/* ── Hero Section Mobile ── */
@media (max-width: 767px) {
    .hero-section {
        min-height: 80svh;
        padding-top: 5rem;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin-bottom: 1.25rem;
    }

    .hero-subtext {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        line-height: 1.6;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-poster-img,
    .hero-poster-fallback {
        min-height: 80svh;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(13,13,15,0.7) 0%, rgba(13,13,15,0.85) 100%);
    }

    .hero-content {
        padding: 1rem;
        justify-content: center;
    }
}

/* ── Section Headers Mobile ── */
@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        margin-bottom: 0.75rem;
        color: var(--color-soft-red);
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .section-title-display {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 4vw, 1rem);
        line-height: 1.6;
        padding: 0 0.5rem;
    }
}

/* ── Service Modules Mobile ── */
@media (max-width: 767px) {
    .service-modules {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-module {
        display: flex;
        flex-direction: column;
        background: var(--color-elevated, #1a1a1a);
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .module-image {
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
        flex-shrink: 0;
    }

    .module-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .module-number {
        font-size: 0.75rem;
        padding: 0.5rem 1rem 0;
    }

    .module-title {
        font-size: 1.15rem;
        padding: 0.25rem 1rem 0.5rem;
    }

    .module-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 1rem 1.25rem;
    }

    .services-more {
        margin-top: 2rem;
    }

    .services-more .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ── Trust Bar Mobile ── */
@media (max-width: 767px) {
    .trust-bar-stats,
    .v2-trust-bar .trust-bar-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .stat-number {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* ── USPs Mobile ── */
@media (max-width: 767px) {
    .usps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .usp-item {
        padding: 1.25rem;
        text-align: left;
    }

    .usp-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .usp-title {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .usp-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ── Gallery Mobile ── */
@media (max-width: 767px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-item {
        margin: 0;
    }

    .gallery-image-wrapper {
        aspect-ratio: 1;
        overflow: hidden;
    }

    .gallery-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-caption {
        font-size: 0.7rem;
        padding: 0.5rem 0.25rem;
        line-height: 1.3;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-image-wrapper {
        aspect-ratio: 1;
    }
}

/* ── Social Wall Mobile ── */
@media (max-width: 767px) {
    .social-wall-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .social-wall-item {
        aspect-ratio: 1;
        border-radius: 4px;
    }

    .social-wall-item-overlay {
        opacity: 0.6;
    }

    .social-wall-item-icon {
        font-size: 0.9rem;
    }

    .social-wall-cta {
        margin-top: 1.5rem;
    }

    .social-wall-cta a {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        display: inline-block;
    }
}

@media (max-width: 420px) {
    .social-wall-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
}

/* ── Spotlight Mobile ── */
@media (max-width: 767px) {
    .spotlight-grid,
    .spotlight-items,
    .spotlight-strip {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .spotlight-item {
        flex: 0 0 auto;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 16/10;
    }

    .spotlight-item-overlay {
        padding: 1rem;
    }

    .spotlight-meta {
        font-size: 0.7rem;
    }

    .spotlight-title {
        font-size: 1rem;
        line-height: 1.3;
    }
}

/* ── Talent Roster Mobile ── */
@media (max-width: 767px) {
    .talent-grid,
    .talent-roster-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .talent-card {
        text-align: center;
    }

    .talent-card-body {
        padding: 0.875rem 0.625rem;
    }

    .talent-card-name {
        font-size: 0.875rem;
    }

    .talent-card-role {
        font-size: 0.6875rem;
        letter-spacing: 0.04em;
    }

    .talent-card-tagline {
        font-size: 0.75rem;
        margin-top: 0.4rem;
    }

    .talent-card-credits {
        font-size: 0.625rem;
        margin-top: 0.35rem;
    }

    .talent-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .talent-name {
        font-size: 0.95rem;
    }

    .talent-role {
        font-size: 0.75rem;
    }

    .talent-filter-btn {
        min-height: 44px;
        padding: 0.5rem 0.875rem;
    }
}

/* ── Touch Device: Permanent Overlay ── */
@media (hover: none) {
    .talent-avatar-overlay {
        opacity: 0.6;
    }
    .talent-card-avatar img {
        filter: grayscale(0.15) contrast(1.05) brightness(0.9);
    }
}

/* ── Contact Section Mobile ── */
@media (max-width: 767px) {
    .contact-content,
    .v2-contact .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        text-align: left;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* prevents iOS zoom */
        padding: 12px 14px;
        min-height: 48px;
    }

    .contact-form label {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }

    .contact-form .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
    }

    .multi-audience-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .audience-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .audience-card h3 {
        font-size: 1.1rem;
    }

    .audience-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .audience-card .btn {
        width: 100%;
        margin-top: 0.75rem;
    }
}

/* ── Footer Mobile ── */
@media (max-width: 767px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        padding: 2.5rem 0 1.5rem;
    }

    .footer-brand {
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .footer-col-title {
        font-size: 0.85rem;
        padding: 0.875rem 0;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-col-title::after {
        content: '+';
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--color-mid-gray);
        transition: transform 0.2s ease;
    }

    .footer-col-title[aria-expanded="true"]::after {
        transform: rotate(45deg);
    }

    .footer-col-title:focus-visible {
        outline: 2px solid var(--color-vibrant-red, #E63946);
        outline-offset: 2px;
    }

    .footer-links,
    .footer-social {
        padding-bottom: 0.875rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        transition: background 0.2s ease;
    }

    .social-links a:active {
        background: rgba(230, 57, 70, 0.2);
    }
}

/* ── Header & Nav Mobile ── */
@media (max-width: 767px) {
    .header-container {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .site-branding {
        flex: 0 0 auto;
        min-width: 0;
    }

    .site-logo-img {
        width: clamp(140px, 42vw, 180px) !important;
        height: auto;
    }

    .site-slogan {
        display: none;
    }

    .header-cta {
        display: none; /* floating mobile-cta replaces it */
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 999;
        flex-shrink: 0;
    }

    .main-navigation {
        flex: 0 0 auto;
    }

    /* Slide-in panel */
    #primary-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100svh;
        background: var(--color-graphite-bg, #161618);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 998;
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #primary-menu.is-open {
        right: 0;
        display: flex;
    }

    #primary-menu li {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        list-style: none;
    }

    #primary-menu.is-open li {
        opacity: 1;
        transform: translateX(0);
    }

    #primary-menu.is-open li:nth-child(1) { transition-delay: 0.1s; }
    #primary-menu.is-open li:nth-child(2) { transition-delay: 0.15s; }
    #primary-menu.is-open li:nth-child(3) { transition-delay: 0.2s; }
    #primary-menu.is-open li:nth-child(4) { transition-delay: 0.25s; }
    #primary-menu.is-open li:nth-child(5) { transition-delay: 0.3s; }
    #primary-menu.is-open li:nth-child(6) { transition-delay: 0.35s; }

    #primary-menu a {
        display: block;
        padding: 1rem 0.75rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--color-white, #fff);
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        min-height: 52px;
        display: flex;
        align-items: center;
    }

    #primary-menu a:active {
        background: rgba(230, 57, 70, 0.1);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 997;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-header.scrolled {
        background: rgba(13, 13, 15, 0.92) !important;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}

/* ── Back to Top Mobile ── */
@media (max-width: 767px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 5rem; /* above floating CTA */
        right: 1rem;
    }
}

/* ── iOS Safe Area Support ── */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 767px) {
        .mobile-cta {
            bottom: calc(1rem + env(safe-area-inset-bottom));
        }

        .site-header {
            padding-top: env(safe-area-inset-top);
        }

        #primary-menu {
            padding-top: calc(5rem + env(safe-area-inset-top));
        }
    }
}

/* ── Scroll-reveal: disable on mobile for instant content ── */
@media (max-width: 767px) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ── Prevent horizontal overflow ── */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Prose: prevent ch-based max-width from exceeding viewport */
    .prose {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .section-header,
    .v2-services,
    .v2-gallery,
    .v2-social-wall,
    .v2-contact,
    .v2-team,
    .v2-events,
    .v2-spotlight,
    .v2-values,
    .v2-awards,
    .v2-faq,
    .v2-lead-magnet,
    .v2-about,
    .v2-welcome,
    .v2-trust-bar,
    .v2-event-teaser {
        overflow-x: hidden;
    }

    /* Legal pages: prevent table/pre overflow */
    .legal-content,
    .page-content,
    .entry-content,
    .legal-content table,
    .page-content table,
    .entry-content table {
        max-width: 100%;
        overflow-x: auto;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .legal-content pre,
    .page-content pre,
    .entry-content pre {
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    /* Team grid: force single column */
    .team-grid,
    .v2-team .team-grid {
        grid-template-columns: 1fr !important;
    }

    /* Pillar grid: force single column */
    .pillar-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* FAQ details: full width */
    .faq-accordion,
    .faq-item {
        max-width: 100%;
        overflow: hidden;
    }

    /* Values grid: single column */
    .values-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Tap target sizes (WCAG 2.5.5 — minimum 44x44px) ── */
@media (max-width: 767px) {
    .btn,
    .social-links a,
    .footer-col ul li a,
    .back-to-top,
    .mobile-cta,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================================
   WELCOME & FRIENDLINESS OPTIMIZATIONS
   ============================================================ */

/* ── Welcome Strip ── */
.v2-welcome {
    background: var(--color-deep-black, #0d0d0f);
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.welcome-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.75rem 0;
    text-align: center;
}

.welcome-locations {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.welcome-loc {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mid-gray, #888);
}

.welcome-loc-dot {
    color: var(--color-vibrant-red, #e63946);
    font-size: 1rem;
}

.welcome-message {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--color-warm-gray, #ccc);
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .welcome-strip {
        padding: 1.25rem 0;
    }

    .welcome-loc {
        font-size: 0.7rem;
    }

    .welcome-message {
        font-size: 0.85rem;
    }
}

/* ── Friendlier section transitions ── */
.v2-about,
.v2-vision,
.v2-ecosystem,
.process-timeline,
.v2-services,
.v2-testimonials,
.v2-spotlight,
.v2-social-wall,
.v2-team,
.v2-gallery,
.v2-talent-roster,
.v2-events,
.v2-contact {
    position: relative;
}

.v2-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-vibrant-red, #e63946), transparent);
    opacity: 0.5;
}

/* ── Warmer Trust Bar ── */
.v2-trust-bar {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.trust-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-vibrant-red, #e63946);
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: var(--color-mid-gray, #888);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Audience pills: friendlier styling ── */
.audience-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: var(--color-white, #fff);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.audience-pill:hover {
    background: rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .audience-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
        margin: 0.25rem;
    }
}

/* ── Contact section: friendlier styling ── */
.contact-audience-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    color: var(--color-mid-gray, #888);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-audience-tab.active {
    background: var(--color-vibrant-red, #e63946);
    color: #fff;
    border-color: var(--color-vibrant-red, #e63946);
}

.contact-audience-tab:hover:not(.active) {
    background: rgba(255,255,255,0.1);
    color: var(--color-white, #fff);
}

.contact-cta-btn {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(230,57,70,0.02));
    border: 1px solid rgba(230,57,70,0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-cta-btn:hover {
    background: linear-gradient(135deg, rgba(230,57,70,0.12), rgba(230,57,70,0.04));
    border-color: rgba(230,57,70,0.25);
    transform: translateY(-2px);
}

.cta-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white, #fff);
}

.cta-email {
    font-size: 0.9rem;
    color: var(--color-mid-gray, #888);
}

/* ── Team avatars: warmer gradients ── */
.team-avatar-gradient {
    background: linear-gradient(135deg, #e63946 0%, #c1121f 50%, #780000 100%);
}

.team-avatar-gradient--alt {
    background: linear-gradient(135deg, #2a9d8f 0%, #264653 50%, #1d3557 100%);
}

/* ── Testimonial cards: warmer styling ── */
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(230,57,70,0.15);
    transform: translateY(-3px);
}

.testimonial-quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--color-vibrant-red, #e63946);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* ── Ecosystem pillars: friendlier hover ── */
.ecosystem-pillar {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.ecosystem-pillar:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(230,57,70,0.15);
    transform: translateY(-3px);
}

.ecosystem-pillar-cta {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.ecosystem-pillar-cta:hover {
    opacity: 0.8;
}

/* ── Service modules: friendlier cards ── */
.service-module {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.service-module:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(230,57,70,0.15);
    transform: translateY(-3px);
}

.module-image {
    overflow: hidden;
}

.module-image img {
    transition: transform 0.5s ease;
}

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

/* ── Vision section: warmer ── */
.v2-vision {
    padding: clamp(3rem, 7vw, 5rem) 0;
    text-align: center;
}

.vision-statement {
    max-width: 700px;
    margin: 0 auto;
}

.vision-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-vibrant-red, #e63946);
    margin-bottom: 1rem;
}

.vision-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.vision-text {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--color-warm-gray, #ccc);
}

/* ── Scroll indicator: friendlier ── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 767px) {
    .hero-scroll-indicator {
        bottom: 1rem;
    }
}

/* ── Header CTA: friendlier pill button ── */
.header-cta-btn {
    border-radius: 50px !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.2);
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
}

/* ── Mobile CTA: friendlier pill ── */
@media (max-width: 767px) {
    .mobile-cta {
        border-radius: 50px !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
    }
}

/* ============================================================
   VIDEO INTEGRATION — Service Modules, Showreel, Social Wall
   ============================================================ */

/* ── Service Module Videos ── */
.module-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-module:hover .module-video {
    transform: scale(1.05);
}

/* ── Showreel Video Strip ── */
.v2-showreel {
    padding: 0;
    overflow: hidden;
}

.showreel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.04);
}

.showreel-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d0d0f;
}

.showreel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.85);
}

.showreel-item:hover .showreel-video {
    transform: scale(1.05);
    filter: brightness(1);
}

.showreel-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

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

@media (max-width: 767px) {
    .showreel-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .showreel-item {
        aspect-ratio: 21/9;
    }

    .showreel-label {
        font-size: 0.65rem;
        bottom: 0.5rem;
        left: 0.5rem;
    }
}

/* ============================================================
   SUB-PAGE OPTIMIZATION — Friendlier styling across all pages
   ============================================================ */

/* ── Warmer page heroes (Leistungen, Referenzen, Kontakt) ── */
.services-hero,
.references-hero,
.contact-hero {
    padding: 6rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(230,57,70,0.04) 0%, transparent 100%);
}

.services-hero .page-title,
.references-hero .page-title,
.contact-hero .page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.services-hero .page-subtitle,
.references-hero .page-subtitle,
.contact-hero .page-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Pillar cards: softer, friendlier ── */
.pillar-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 100px;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    margin-bottom: 1rem;
    line-height: 1;
    opacity: 0.9;
}

.pillar-cta {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pillar-cta:hover {
    background: rgba(230,57,70,0.1);
    padding-left: 1.25rem;
}

/* ── Process Timeline ── */
.process-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-alt);
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.process-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--color-section-bg);
    border-radius: 12px;
    border-top: 3px solid var(--color-vibrant-red);
    transition: transform 0.3s ease;
}
.process-step:hover {
    transform: translateY(-4px);
}
.process-step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}
.process-step h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}
.process-step p {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── FAQ Accordion ── */
.faq-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-graphite-bg);
}
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    background: var(--color-section-bg);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
    border: 1px solid var(--color-border);
}
.faq-item[open] {
    border-color: var(--color-vibrant-red);
}
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-vibrant-red);
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item summary:hover {
    background: rgba(255,255,255,0.03);
}
.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Lead Magnet ── */
.lead-magnet-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-alt);
}
.lead-magnet-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-section-bg);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--color-border);
}
.lead-magnet-content {
    flex: 1;
}
.lead-magnet-content .section-title {
    font-size: 1.75rem;
    margin: 0.5rem 0 1rem;
}
.lead-magnet-content > p {
    color: var(--color-mid-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.lead-magnet-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.lead-magnet-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 0.9rem;
}
.lead-magnet-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-vibrant-red);
}
.lead-magnet-note {
    font-size: 0.8rem;
    color: var(--color-mid-gray);
    margin-top: 0.75rem;
    opacity: 0.7;
}
.lead-magnet-visual {
    flex-shrink: 0;
}
.lead-magnet-doc {
    width: 120px;
    height: 150px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.doc-line {
    height: 6px;
    background: rgba(230,57,70,0.2);
    border-radius: 3px;
}
.doc-line.short {
    width: 60%;
}
@media (max-width: 768px) {
    .lead-magnet-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    .lead-magnet-visual {
        display: none;
    }
}

/* ── MICE cards: warmer ── */
.mice-card {
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(230,57,70,0.3);
}

/* ── Case cards: friendlier hover ── */
.case-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.case-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Mobile: ensure images never overflow viewport */
@media (max-width: 767px) {
    .case-image img,
    .case-poster-img,
    .reference-image img,
    .reference-img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .case-grid,
    .references-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        overflow: hidden;
    }
    
    .case-card,
    .reference-item {
        max-width: 100%;
        overflow: hidden;
    }
}

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

.case-cta {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.case-cta:hover {
    background: rgba(230,57,70,0.1);
    padding-right: 1.5rem;
}

/* ── Case Filter Bar ── */
.case-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0 2.5rem;
}
.case-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: transparent;
    color: var(--color-mid-gray);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.2s ease;
}
.case-filter-btn:hover {
    border-color: var(--color-vibrant-red);
    color: var(--color-white);
}
.case-filter-btn.active {
    background: var(--color-vibrant-red);
    color: #fff;
    border-color: var(--color-vibrant-red);
}
.case-card.hidden-by-filter {
    display: none;
}

/* ── Case Metrics ── */
.case-metrics {
    display: flex;
    gap: 1.5rem;
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.case-metrics .metric {
    display: flex;
    flex-direction: column;
}
.case-metrics .metric-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    line-height: 1;
}
.case-metrics .metric-label {
    font-size: 0.75rem;
    color: var(--color-mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ── Blog cards: friendlier ── */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.blog-card-featured {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--color-section-bg);
    border-radius: 16px;
    margin-bottom: 2rem;
}
.blog-image-featured {
    flex: 0 0 50%;
    overflow: hidden;
    border-radius: 12px;
}
.blog-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content-featured {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-badge {
    display: inline-block;
    background: var(--color-vibrant-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    width: fit-content;
}
.blog-category-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-vibrant-red);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    margin-left: 0.5rem;
    border: 1px solid rgba(230, 57, 70, 0.2);
}
.blog-reading-time {
    font-size: 0.75rem;
    color: var(--color-mid-gray);
    margin-left: 0.75rem;
}
.blog-reading-time::before {
    content: '⏱ ';
}
@media (max-width: 768px) {
    .blog-card-featured {
        flex-direction: column;
    }
    .blog-image-featured {
        flex: none;
        max-height: 250px;
    }
}

.blog-newsletter {
    margin: 2rem 0;
}
.newsletter-card {
    background: var(--color-section-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}
.newsletter-card p {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 0.9rem;
}
.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-vibrant-red);
}

.blog-image img {
    transition: transform 0.5s ease;
}

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

.blog-link {
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* ── Contact form: warmer inputs ── */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(230,57,70,0.4);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
    outline: none;
}

.contact-form .btn-primary {
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230,57,70,0.3);
}

/* ── Location cards: friendlier ── */
.location-card {
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    border-color: rgba(230,57,70,0.3);
}

.location-card h3 {
    color: var(--color-white);
}

.location-card p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ── Audience switcher: pill style ── */
.audience-switch-link {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.audience-switch-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230,57,70,0.2);
}

/* ── Book-It: friendlier step headers ── */
.bookit-step .step-header h2 {
    font-weight: 700;
}

.bookit-step .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.bookit-hero {
    background: linear-gradient(180deg, rgba(230,57,70,0.04) 0%, transparent 100%);
}

/* ── Legal pages: keep formal but softer ── */
.legal-hero .hero-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-section .rich-text h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-section .rich-text p {
    line-height: 1.7;
    color: var(--color-text-muted);
}

.legal-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.legal-toc {
    flex: 0 0 220px;
    position: sticky;
    top: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
}
.legal-toc h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-mid-gray);
    margin-bottom: 1rem;
}
.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-toc li {
    margin-bottom: 0.5rem;
}
.legal-toc a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.legal-toc a:hover {
    color: var(--color-vibrant-red);
}
.legal-back-cta {
    margin-top: 2.5rem;
    text-align: center;
}
@media (max-width: 768px) {
    .legal-layout {
        flex-direction: column;
    }
    .legal-toc {
        position: static;
        flex: none;
        width: 100%;
    }
}

/* ── Responsive sub-page adjustments ── */
@media (max-width: 767px) {
    .services-hero,
    .references-hero,
    .contact-hero {
        padding: 4rem 0 2rem;
    }

    .services-hero .page-title,
    .references-hero .page-title,
    .contact-hero .page-title {
        font-size: 1.75rem;
    }

    .services-hero .page-subtitle,
    .references-hero .page-subtitle,
    .contact-hero .page-subtitle {
        font-size: 1rem;
    }

    .contact-form .btn-primary {
        width: 100%;
    }
}

/* ============================================================
   EVENT TEASER — Private Film Garden Afterparty
   ============================================================ */

.v2-event-teaser {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(230,57,70,0.06) 0%, rgba(13,13,15,0.4) 100%);
    position: relative;
    overflow: hidden;
}

.v2-event-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.event-teaser-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.event-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.event-teaser-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: event-pulse 2s ease-in-out infinite;
}

@keyframes event-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.v2-event-teaser .section-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-soft-red);
    margin-bottom: 0.75rem;
}

.event-teaser-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-teaser-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 560px;
}

.event-teaser-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    border-left: 2px solid var(--color-accent);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.event-teaser-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.event-teaser-meta strong {
    color: #fff;
}

.event-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(230,57,70,0.25);
}

.event-teaser-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230,57,70,0.35);
}

@media (max-width: 767px) {
    .v2-event-teaser {
        padding: 3rem 0;
    }

    .event-teaser-title {
        font-size: 1.5rem;
    }

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

    .event-teaser-cta--ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ── Panel teaser variant ── */
.v2-event-teaser--panel {
    background: linear-gradient(135deg, rgba(230,57,70,0.04) 0%, rgba(13,13,15,0.3) 100%);
}

.v2-event-teaser--panel::before {
    background: radial-gradient(circle, rgba(230,57,70,0.06) 0%, transparent 70%);
}

.event-teaser-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.event-teaser-cta--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    box-shadow: none;
}

.event-teaser-cta--ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
}

.event-teaser-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.event-teaser-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: grayscale(0.3) contrast(1.1);
}

.event-teaser-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, var(--color-graphite-bg) 0%, rgba(21,21,26,0.7) 50%, var(--color-graphite-bg) 100%);
}

.v2-event-teaser--panel .container { position: relative; z-index: 1; }

/* ── Event Teaser Urgency Badge ── */
.event-teaser-urgency {
    display: inline-block;
    background: rgba(230,57,70,0.15);
    border: 1px solid rgba(230,57,70,0.3);
    color: var(--color-vibrant-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    animation: urgency-pulse 2s ease-in-out infinite;
}
@keyframes urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ── Homepage Countdown ── */
.hp-countdown-section {
    padding: 2.5rem var(--section-padding-x);
    background: var(--color-graphite-bg);
    border-top: 1px solid rgba(230,57,70,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hp-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.hp-countdown-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-vibrant-red);
}
.hp-countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hp-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}
.hp-countdown-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 30px rgba(230,57,70,0.15);
}
.hp-countdown-unit-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-mid-gray);
    margin-top: 0.3rem;
}
.hp-countdown-sep {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: rgba(230,57,70,0.3);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.hp-countdown-cta {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-vibrant-red);
    text-decoration: none;
    border: 1px solid rgba(230,57,70,0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}
.hp-countdown-cta:hover {
    background: var(--color-vibrant-red);
    color: #fff;
    border-color: var(--color-vibrant-red);
}
@media (max-width: 600px) {
    .hp-countdown-unit { min-width: 55px; }
    .hp-countdown-sep { margin-bottom: 1.2rem; }
}

/* ── v2 Section Wrappers ── */
.v2-values {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-bg);
}
.v2-faq {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-graphite-bg);
}
.v2-lead-magnet {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-section-alt);
}

/* ── Value Card inner elements ── */
.value-icon {
    color: var(--color-vibrant-red);
    margin-bottom: 1rem;
    line-height: 1;
}
.value-icon svg {
    display: block;
}
.value-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-warm-white);
    margin-bottom: 0.75rem;
}
.value-desc {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Awards & Recognition ── */
.v2-awards {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--color-deep-black);
}
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.award-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.award-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230,57,70,0.2);
}
.award-icon {
    color: var(--color-vibrant-red);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}
.award-icon svg {
    display: block;
}
.award-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-warm-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.award-org {
    color: var(--color-mid-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.award-year {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (max-width: 600px) {
    .awards-grid { grid-template-columns: 1fr; }
}

/* ── Leeloo AI Chat Widget ────────────────────────────── */

/* Floating Action Button */
.leeloo-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-vibrant-red, #E63946);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(230,57,70,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leeloo-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(230,57,70,0.4);
}
.leeloo-fab:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.leeloo-fab-active {
    transform: rotate(90deg);
}
.leeloo-fab-pulse {
    animation: leeloo-pulse 1.5s ease-in-out infinite;
}
@keyframes leeloo-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(230,57,70,0.3); }
    50% { box-shadow: 0 4px 16px rgba(230,57,70,0.3), 0 0 0 12px rgba(230,57,70,0.1); }
}
.leeloo-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-vibrant-red, #E63946);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
    .leeloo-fab-pulse { animation: none; }
    .leeloo-fab { transition: none; }
}

/* Chat Panel */
.leeloo-panel {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 99999;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    max-height: calc(100vh - 130px);
    background: var(--color-section-bg, #1E1E24);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.leeloo-panel-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.leeloo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--color-deep-black, #0D0D0F);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.leeloo-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.leeloo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-vibrant-red, #E63946), #c1121f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.leeloo-name {
    font-family: var(--font-heading, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-warm-white, #F5F5F0);
}
.leeloo-status {
    font-size: 0.75rem;
    color: var(--color-mid-gray, #888);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.leeloo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}
.leeloo-close {
    background: none;
    border: none;
    color: var(--color-mid-gray, #888);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}
.leeloo-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.leeloo-close:focus-visible {
    outline: 2px solid var(--color-vibrant-red, #E63946);
    outline-offset: 2px;
}

/* Messages */
.leeloo-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.leeloo-messages::-webkit-scrollbar {
    width: 4px;
}
.leeloo-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}
.leeloo-msg {
    max-width: 85%;
    animation: leeloo-msg-in 0.3s ease;
}
@keyframes leeloo-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .leeloo-msg { animation: none; }
}
.leeloo-msg-bot {
    align-self: flex-start;
}
.leeloo-msg-user {
    align-self: flex-end;
}
.leeloo-msg-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.leeloo-msg-bot .leeloo-msg-content {
    background: rgba(255,255,255,0.06);
    color: var(--color-warm-white, #F5F5F0);
    border-bottom-left-radius: 4px;
}
.leeloo-msg-user .leeloo-msg-content {
    background: var(--color-vibrant-red, #E63946);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.leeloo-typing-indicator .leeloo-msg-content {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1.25rem;
}
.leeloo-dot-typing {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-mid-gray, #888);
    animation: leeloo-typing 1.4s infinite ease-in-out;
}
.leeloo-dot-typing:nth-child(2) { animation-delay: 0.2s; }
.leeloo-dot-typing:nth-child(3) { animation-delay: 0.4s; }
@keyframes leeloo-typing {
    0%, 60%, 100% { transform: scale(0.7); opacity: 0.4; }
    30% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .leeloo-dot-typing { animation: none; }
}

/* Suggestion chips */
.leeloo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.leeloo-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    background: rgba(230,57,70,0.08);
    border: 1px solid rgba(230,57,70,0.2);
    color: var(--color-light-gray, #ccc);
    font-size: 0.78rem;
    font-family: var(--font-body, sans-serif);
    cursor: pointer;
    transition: all 0.2s ease;
}
.leeloo-chip:hover {
    background: rgba(230,57,70,0.15);
    border-color: rgba(230,57,70,0.4);
}
.leeloo-chip:focus-visible {
    outline: 2px solid var(--color-vibrant-red, #E63946);
    outline-offset: 2px;
}

/* Input area */
.leeloo-input-area {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: var(--color-deep-black, #0D0D0F);
}
.leeloo-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    color: var(--color-warm-white, #F5F5F0);
    font-family: var(--font-body, sans-serif);
    font-size: 0.875rem;
    line-height: 1.4;
    resize: none;
    max-height: 100px;
    transition: border-color 0.2s ease;
}
.leeloo-input::placeholder {
    color: var(--color-mid-gray, #666);
}
.leeloo-input:focus,
.leeloo-input:focus-visible {
    outline: none;
    border-color: var(--color-vibrant-red, #E63946);
    box-shadow: 0 0 0 2px rgba(230,57,70,0.15);
}
.leeloo-send {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--color-vibrant-red, #E63946);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.leeloo-send:hover {
    background: #c1121f;
    transform: scale(1.05);
}
.leeloo-send:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Footer */
.leeloo-footer {
    padding: 0.4rem 1.25rem;
    font-size: 0.65rem;
    color: var(--color-mid-gray, #555);
    text-align: center;
    background: var(--color-deep-black, #0D0D0F);
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* Mobile */
@media (max-width: 767px) {
    .leeloo-panel {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .leeloo-fab {
        bottom: 16px;
        right: 16px;
    }
}

/* ── CSS Scroll-Driven Animations (native, no JS) ─────────────── */
/* Browser support: Chrome 115+, Safari 26+. Fallback: no animation. */
@supports (animation-timeline: view()) {
    /* Parallax hero background — subtle Y translation on scroll */
    .v2-hero .hero-bg,
    .v2-hero .hero-poster,
    .page-hero .hero-bg {
        animation: hero-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0 60vh;
    }
    @keyframes hero-parallax {
        to { transform: translateY(15%) scale(1.05); }
    }

    /* Section titles fade-in + slide-up on scroll (replaces JS observer) */
    .section-header,
    .scroll-reveal {
        animation: scroll-reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }
    @keyframes scroll-reveal {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Scroll progress bar — native CSS, replaces JS */
    .scroll-progress {
        animation: scroll-progress linear both;
        animation-timeline: scroll(root);
        transform-origin: left;
        width: 100%;
    }
    @keyframes scroll-progress {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
    }

    /* Card stagger: each card enters with slight delay */
    .pillar-card,
    .ecosystem-pillar,
    .talent-card,
    .reference-card {
        animation: card-enter linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 50%;
    }
    @keyframes card-enter {
        from { opacity: 0; transform: translateY(30px) scale(0.98); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}

/* Reduced motion: disable all scroll-driven animations */
@media (prefers-reduced-motion: reduce) {
    @supports (animation-timeline: view()) {
        .v2-hero .hero-bg,
        .v2-hero .hero-poster,
        .page-hero .hero-bg,
        .section-header,
        .scroll-reveal,
        .scroll-progress,
        .pillar-card,
        .ecosystem-pillar,
        .talent-card,
        .reference-card {
            animation: none !important;
        }
    }
}

/* ── Magnetic Social Icons ──────────────────────────────────── */
.footer-social-icon {
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .footer-social-icon {
        transition: none !important;
    }
}

/* ── Responsive Video Embeds (YouTube/Vimeo) ─────────────────── */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 auto;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Responsive Google Maps Embed ────────────────────────────── */
.event-location-grid iframe {
    width: 100%;
    max-width: 100%;
    height: 280px;
    border: 0;
    border-radius: 8px;
}
@media (max-width: 767px) {
    .event-location-grid {
        grid-template-columns: 1fr !important;
    }
    .event-location-grid iframe {
        height: 220px;
    }
}

/* ════════════════════════════════════════════════════════════════
   MISSING STYLES FOR NEW TEMPLATES — Cinema Noir Design System
   front-page.php · page-wir.php · page-referenzen.php ·
   home.php · page-blog.php · single.php
   ════════════════════════════════════════════════════════════════ */

/* ── Process Timeline (front-page.php) ── */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin-top: 3rem;
}
.process-step .step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}
.process-step .step-content h3 {
    font-size: 1.25rem;
    color: var(--color-warm-white);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}
.process-step .step-content p {
    color: var(--color-mid-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.step-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-mid-gray);
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}
.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-vibrant-red);
    opacity: 0.4;
    padding: 0 0.5rem;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }
    .process-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}

/* ── Testimonials (front-page.php) ── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.testimonial-source {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}
.source-role {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-warm-white);
}
.source-sector {
    font-size: 0.8rem;
    color: var(--color-mid-gray);
    letter-spacing: 0.02em;
}

/* ── Events System (front-page.php) ── */
.events-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0 2.5rem;
}
.events-tab {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: transparent;
    color: var(--color-mid-gray);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.events-tab:hover {
    border-color: var(--color-vibrant-red);
    color: var(--color-warm-white);
}
.events-tab.active {
    background: var(--color-vibrant-red);
    color: #fff;
    border-color: var(--color-vibrant-red);
}
.events-panels {
    margin-top: 1rem;
}
.events-panel {
    display: none;
}
.events-panel.active {
    display: block;
}
.events-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.events-card-grid--past {
    opacity: 0.85;
}
.event-tile {
    background: var(--color-section-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.event-tile--past {
    opacity: 0.7;
}
.event-tile-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-section-alt);
}
.event-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.event-tile:hover .event-tile-image img {
    transform: scale(1.05);
}
.event-tile-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-section-bg), var(--color-section-alt));
}
.event-tile-body {
    padding: 1.25rem;
}
.event-tile-datebox {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.event-tile-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    line-height: 1;
}
.event-tile-month {
    font-size: 0.85rem;
    color: var(--color-mid-gray);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.event-tile-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-warm-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.event-tile-location {
    font-size: 0.8rem;
    color: var(--color-mid-gray);
    line-height: 1.5;
}
.event-tile-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-vibrant-red);
    text-decoration: none;
    transition: color 0.2s ease;
}
.event-tile-link:hover {
    color: var(--color-soft-red);
}

/* Event Hero (featured event) */
.event-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: var(--color-section-bg);
}
.event-hero-image {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}
.event-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-hero-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-deep-red), var(--color-section-bg));
}
.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, var(--color-section-bg) 100%);
}
.event-hero-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-vibrant-red);
    margin-bottom: 1rem;
}
.event-hero-datebox {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.event-hero-day {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-vibrant-red);
    line-height: 1;
}
.event-hero-month {
    font-size: 1rem;
    color: var(--color-mid-gray);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.event-hero-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-warm-white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.event-hero-location {
    font-size: 0.9rem;
    color: var(--color-mid-gray);
    margin-bottom: 1.5rem;
}
.event-hero-cta {
    align-self: flex-start;
    padding: 0.7rem 1.5rem;
    background: var(--color-vibrant-red);
    color: #fff;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.event-hero-cta:hover {
    background: var(--color-soft-red);
    transform: translateY(-2px);
}
.events-empty {
    text-align: center;
    padding: 2rem;
    color: var(--color-mid-gray);
    font-style: italic;
}
.events-empty a {
    color: var(--color-vibrant-red);
}
@media (max-width: 767px) {
    .event-hero {
        grid-template-columns: 1fr;
    }
    .event-hero-image {
        min-height: 200px;
    }
    .event-hero-content {
        padding: 1.5rem;
    }
}

/* ── Case Studies (page-referenzen.php) ── */
.case-studies {
    padding: 4rem 0;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.case-content {
    padding: 1.5rem;
}
.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13,13,15,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.case-category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-vibrant-red);
    padding: 0.3rem 0.8rem;
    background: rgba(13,13,15,0.7);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.case-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-section-alt);
}
.case-poster-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover .case-poster-img {
    transform: scale(1.05);
}
.case-hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.case-card:hover .case-hover-video {
    opacity: 1;
}
.case-video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-warm-white);
    padding: 0.3rem 0.7rem;
    background: rgba(230,57,70,0.9);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.case-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-warm-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.case-section {
    margin-bottom: 1rem;
}
.case-section h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-vibrant-red);
    margin-bottom: 0.4rem;
}
.case-section p {
    font-size: 0.9rem;
    color: var(--color-mid-gray);
    line-height: 1.6;
}
.case-testimonial {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--color-vibrant-red);
    background: rgba(230,57,70,0.05);
    border-radius: 0 8px 8px 0;
}
.case-testimonial p {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-warm-white);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.case-testimonial cite {
    font-size: 0.8rem;
    color: var(--color-mid-gray);
    font-style: normal;
}
.case-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-vibrant-red);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition: all 0.2s ease;
}
.case-cta:hover {
    background: rgba(230,57,70,0.1);
    border-color: var(--color-vibrant-red);
    padding-right: 1.5rem;
}
.references-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.references-cta .cta-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-mid-gray);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Single Post (single.php) ── */
.single-post {
    max-width: 760px;
    margin: 0 auto;
}
.single-post .entry-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-mid-gray);
}
.single-post .entry-content h2,
.single-post .entry-content h3 {
    font-family: var(--font-display);
    color: var(--color-warm-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.single-post .entry-content h2 {
    font-size: 1.5rem;
}
.single-post .entry-content h3 {
    font-size: 1.25rem;
}
.single-post .entry-content p {
    margin-bottom: 1.25rem;
}
.single-post .entry-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}
.single-post .entry-content blockquote {
    border-left: 3px solid var(--color-vibrant-red);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(230,57,70,0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-warm-white);
}
.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.single-post .entry-content li {
    margin-bottom: 0.5rem;
}
.single-post .entry-content a {
    color: var(--color-vibrant-red);
    text-decoration: none;
    transition: color 0.2s ease;
}
.single-post .entry-content a:hover {
    color: var(--color-soft-red);
    text-decoration: underline;
}
.single-post .entry-content pre {
    background: var(--color-deep-black);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.85rem;
    margin: 1.5rem 0;
}
.single-post .entry-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    background: rgba(255,255,255,0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}
.single-post .entry-content pre code {
    background: transparent;
    padding: 0;
}
.page-links {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--color-section-bg);
    border-radius: 8px;
}
.page-links a {
    color: var(--color-vibrant-red);
    text-decoration: none;
}
.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.post-tags a {
    display: inline-block;
    margin: 0.2rem;
    padding: 0.25rem 0.7rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--color-mid-gray);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.post-tags a:hover {
    border-color: var(--color-vibrant-red);
    color: var(--color-warm-white);
}
.post-navigation {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.nav-previous a,
.nav-next a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-mid-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-previous a:hover,
.nav-next a:hover {
    color: var(--color-vibrant-red);
}
.back-to-blog {
    margin-top: 2rem;
    text-align: center;
}
.back-to-blog a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.back-to-blog a:hover {
    border-color: var(--color-vibrant-red);
    color: var(--color-vibrant-red);
}
.placeholder-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-mid-gray);
    font-style: italic;
}

/* ── Responsive: Case grid & Event tiles ── */
@media (max-width: 767px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
    .events-card-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* ── P1 Quick Win: text-wrap: balance for headlines ──────────── */
.section-title,
.section-title-display,
.event-teaser-title,
.hero-headline,
.hero-subline,
.page-title,
.form-title,
.info-title,
.footer-brand-headline,
.thankyou-title,
.value-title,
.module-title,
.talent-card-name,
.award-title {
    text-wrap: balance;
}

/* ── P4: Hero Split-Text Reveal (CSS clip-path) ──────────────── */
#hero-headline {
    clip-path: none;
    min-height: 1.2em;
}

/* Ensure images don't cause layout shifts */
.spotlight-item img,
.event-teaser-bg img,
.gallery-item img {
    aspect-ratio: 3 / 2;
}

.social-wall-item img {
    aspect-ratio: 1 / 1;
}

.team-avatar-img {
    aspect-ratio: 1 / 1;
}

/* Reserve space for hero poster */
.hero-poster-img {
    aspect-ratio: 1920 / 1080;
    max-width: 100%;
}

/* Mobile: prevent aspect-ratio from forcing super-wide images */
@media (max-width: 767px) {
    .hero-poster-img {
        aspect-ratio: unset;
    }

    .about-usps {
        grid-template-columns: 1fr !important;
    }

    .v2-hero {
        overflow-x: hidden;
    }
}

/* Reserve space for showreel videos */
.showreel-video {
    aspect-ratio: 16 / 9;
}

.hero-word {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: hero-word-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--word-index, 0) * 0.06s + 0.2s);
}

@keyframes hero-word-reveal {
    from {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-word {
        clip-path: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ── P1 Quick Win: content-visibility for below-fold sections ── */
/* Disabled: caused CLS 0.881 due to inaccurate contain-intrinsic-size estimates */
/*
.v2-about,
.v2-values,
.v2-testimonials,
.v2-awards,
.v2-spotlight,
.v2-social-wall,
.v2-team,
.v2-gallery,
.v2-showreel,
.v2-event-teaser,
.v2-talent-roster,
.v2-events,
.v2-faq,
.v2-lead-magnet,
.v2-contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
*/

/* ── P4: Form Micro-Interactions ─────────────────────────────── */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select,
.lead-magnet-form input[type="email"] {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.lead-magnet-form input:focus {
    outline: none;
    border-color: var(--color-vibrant-red, #E63946);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.contact-form input.is-valid,
.contact-form textarea.is-valid {
    border-color: rgba(72, 187, 120, 0.5);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: rgba(230, 57, 70, 0.6);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.contact-form .field-error {
    display: none;
    color: #ff8a95;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.contact-form .field-error.visible {
    display: block;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.contact-form .btn-primary[type="submit"] {
    transition: background 0.2s ease, transform 0.15s ease;
    position: relative;
}

.contact-form .btn-primary[type="submit"]:disabled,
.contact-form .btn-primary[type="submit"].is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.contact-form .btn-primary[type="submit"].is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .contact-form .field-error.visible,
    .contact-form .btn-primary[type="submit"].is-loading::after {
        animation: none !important;
    }
}

/* ── P6: Newsletter Footer ───────────────────────────────────── */
.footer-newsletter {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.footer-newsletter-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-mid-gray, #888);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.8rem;
    background: var(--color-section-bg, #1E1E24);
    border: 1px solid var(--color-border, rgba(255,255,255,0.1));
    border-radius: 8px;
    color: var(--color-white, #F5F5F0);
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-vibrant-red, #E63946);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.15);
}

.footer-newsletter-form button {
    padding: 0.6rem 1rem;
    background: var(--color-vibrant-red, #E63946);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    background: #d12d3a;
}

.footer-newsletter-note {
    font-size: 0.75rem;
    color: var(--color-mid-gray, #666);
    margin-top: 0.5rem;
}

.footer-newsletter-success {
    display: none;
    font-size: 0.85rem;
    color: #4ade80;
    margin-top: 0.5rem;
}

.footer-newsletter-success.visible {
    display: block;
}

@media (max-width: 767px) {
    .footer-newsletter-form {
        flex-direction: column;
    }
    .footer-newsletter-form button {
        width: 100%;
    }
}

/* ========================================
   MOBILE LAYOUT FIXES — Final Overrides
   Override all conflicting earlier rules
   ======================================== */
@media (max-width: 767px) {
    /* Container padding: 16px not 32px on mobile */
    .container,
    .site-header .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }

    /* Header: ensure proper spacing */
    .site-header {
        padding: 0.5rem 0 !important;
    }

    .site-header .container {
        gap: 0.5rem;
    }

    /* Logo: consistent size on all pages */
    .site-logo img,
    .site-logo-img,
    .custom-logo {
        height: 36px !important;
        width: auto !important;
        max-width: 160px !important;
    }

    .site-branding {
        flex: 0 0 auto;
        min-width: 0;
    }

    /* Burger menu: proper tap target, positioned at edge */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 999;
        flex-shrink: 0;
    }

    /* Mobile menu: slide-in panel from right */
    #primary-menu,
    .main-navigation ul {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: var(--color-graphite-bg, #15151a) !important;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 5rem 1.5rem 2rem !important;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
        z-index: 998 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        list-style: none !important;
        margin: 0 !important;
    }

    #primary-menu.is-open,
    .main-navigation ul.is-open,
    .main-navigation ul.active {
        right: 0 !important;
    }

    #primary-menu li,
    .main-navigation ul li {
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        transform: none !important;
    }

    #primary-menu a,
    .main-navigation ul a {
        display: block !important;
        width: 100% !important;
        padding: 1rem 0.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 500;
        color: var(--color-text, #f5f5f5) !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    #primary-menu a:hover,
    .main-navigation ul a:hover {
        color: var(--color-accent, #e63946) !important;
        background: rgba(230, 57, 70, 0.08);
    }

    /* Nav backdrop */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hide desktop nav layout on mobile */
    .main-navigation {
        flex: 0 0 auto !important;
    }

    .header-cta {
        display: none !important;
    }

    /* Images: prevent any overflow */
    img {
        max-width: 100% !important;
        height: auto;
    }

    .hero-poster-img,
    .hero-image {
        max-width: 100% !important;
        overflow: hidden;
    }

    /* Sections: prevent horizontal overflow */
    section,
    .v2-hero,
    .v2-spotlight,
    .v2-services,
    .v2-about,
    .v2-vision,
    .v2-events,
    .v2-gallery,
    .v2-team,
    .v2-testimonials,
    .v2-contact,
    .v2-ecosystem {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Grids: single column on mobile */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .about-usps,
    .ecosystem-pillars {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    .usp-item {
        max-width: 100% !important;
        overflow: hidden;
    }

    /* Case images: constrain */
    .case-image,
    .case-image img,
    .portfolio-item img,
    .portfolio-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto;
    }

    /* ── Centering fixes ── */

    /* Stats: stack vertically and center on mobile */
    .wir-stats .stats-row,
    .stats-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    .stat-item {
        align-items: center !important;
        text-align: center !important;
    }

    /* Location cards: single column, centered on mobile */
    .locations-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .location-card {
        text-align: center !important;
        border-left: none !important;
        border-top: 3px solid var(--color-vibrant-red) !important;
    }

    /* Event cards: balanced padding on mobile */
    .event-card {
        padding: 1.5rem 1.25rem !important;
    }

    .event-card .event-phase-marker {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .event-card > * {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .event-card h2,
    .event-card .event-card-desc,
    .event-card .event-card-meta,
    .event-card .event-card-cta,
    .event-card .event-card-badge {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .event-card .event-card-cta {
        display: inline-block !important;
    }

    .event-card .event-card-badge {
        justify-content: center !important;
    }

    /* Prose headings: center on mobile */
    .rich-text.prose h2,
    .rich-text.prose h3,
    .prose .cinematic-heading {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    .rich-text.prose {
        text-align: left;
    }

    .rich-text.prose p {
        text-align: left;
    }

    /* Section headers: ensure centering on mobile */
    .section-header,
    .section-title {
        text-align: center !important;
    }

    /* CTA groups: center on mobile */
    .cta-group,
    .hero-cta {
        justify-content: center !important;
        align-items: center !important;
    }

    /* Contact info: center on mobile */
    .contact-info,
    .contact-details,
    .contact-method {
        text-align: center !important;
    }

    /* Footer: center on mobile */
    .footer-bottom .container {
        text-align: center !important;
    }

    .footer-links,
    .footer-col {
        text-align: center !important;
    }

    /* About/Vision text: center headings on mobile */
    .about-text h2,
    .about-text h3,
    .vision-text h2,
    .vision-text h3 {
        text-align: center !important;
    }

    /* Trust bar stats: single column, centered on mobile */
    .trust-bar-stats,
    .v2-trust-bar .trust-bar-stats,
    .trust-stats {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    /* Section label: ensure it's centered on mobile */
    .section-label {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Case filter bar: center and wrap on mobile */
    .case-filter-bar {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .case-filter-btn {
        flex-shrink: 0;
    }

    /* ── Deep centering fixes ── */

    /* Menu: hide from flow on mobile (shown as slide-in panel) */
    .main-navigation ul,
    .main-navigation .menu {
        display: none !important;
    }

    .main-navigation ul.is-open,
    .main-navigation .menu.is-open {
        display: flex !important;
    }

    /* Hero single stat: center on mobile */
    .hero-single-stat {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .hero-single-stat .hero-stat-number,
    .hero-single-stat .hero-stat-label {
        text-align: center !important;
    }

    /* Welcome locations: center on mobile */
    .welcome-locations {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* Step tags: center on mobile */
    .step-tags {
        justify-content: center !important;
    }

    /* USP text: center on mobile */
    .usp-item {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .usp-text {
        text-align: center !important;
    }

    /* Footer brand block: center on mobile */
    .footer-brand-block {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-brand-label,
    .footer-cta-btn {
        text-align: center !important;
    }

    .footer-cta-btn {
        justify-content: center !important;
    }

    /* Pillar CTAs: center on mobile */
    .pillar-card {
        text-align: center !important;
    }

    .pillar-cta {
        display: inline-flex !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Case metrics: stack vertically and center on mobile */
    .case-metrics {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
    }

    .case-metrics .metric {
        align-items: center !important;
        text-align: center !important;
    }

    /* Case CTA: center on mobile */
    .case-content {
        text-align: center !important;
    }

    .case-cta {
        display: inline-flex !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Event connector: stack vertically and center on mobile */
    .event-phase-connector {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .connector-label {
        text-align: center !important;
        width: 100% !important;
    }

    /* Service module: center image on mobile */
    .service-module {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .service-module .module-image {
        width: 100% !important;
        margin: 0 auto !important;
    }

    .service-module .module-body,
    .service-module .module-content {
        text-align: center !important;
    }

    /* Hero images: prevent overflow */
    .hero-poster-img,
    .hero-image {
        max-width: 100vw !important;
        width: 100% !important;
        overflow: hidden !important;
        object-fit: cover !important;
    }

    /* Process timeline: center everything on mobile */
    .process-timeline {
        display: block !important;
        grid-template-columns: none !important;
    }

    .process-steps {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .process-step {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .process-step .step-number {
        text-align: center !important;
    }

    .process-step .step-content {
        text-align: center !important;
    }

    .process-step .step-content h3 {
        text-align: center !important;
    }

    .process-step .step-content p {
        text-align: center !important;
    }

    .process-arrow {
        transform: rotate(90deg) !important;
    }

    /* Mobile CTA: keep right but ensure no overflow */
    .mobile-cta {
        flex-shrink: 0;
    }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE CONTAINER & GRID FIXES (2026-07-04)
   Fixes broken .container max-width cascade and ensures all
   grids/layouts adapt properly across every breakpoint.
   These rules are placed LAST to override all conflicting rules above.
   ════════════════════════════════════════════════════════════════ */

/* ── Container max-width: proper cascade ── */
/* Mobile: full width */
@media (max-width: 600px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Tablet portrait: full width with padding */
@media (min-width: 601px) and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

/* Tablet landscape: full width with padding */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
}

/* Small desktop (1025-1280px): 1200px cap */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

/* Standard desktop (1281-1440px): 1400px cap */
@media (min-width: 1281px) {
    .container {
        max-width: 1400px;
        padding: 0 2.5rem;
    }
}

/* Large desktop (1441-1920px): 1600px cap */
@media (min-width: 1441px) {
    .container {
        max-width: 1600px;
        padding: 0 3rem;
    }
}

/* Full HD+ (1921px+): 1800px cap */
@media (min-width: 1921px) {
    .container {
        max-width: 1800px;
        padding: 0 4rem;
    }
}

/* ── Pillar grid: explicit responsive definition ── */
.pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 601px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1025px) {
    .pillar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
@media (min-width: 1441px) {
    .pillar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* ── MICE grid: explicit responsive definition ── */
.mice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 601px) {
    .mice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1025px) {
    .mice-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* ── Process timeline: ensure it fills container on all screens ── */
.process-timeline {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
@media (min-width: 1025px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
@media (min-width: 1441px) {
    .process-timeline {
        gap: 2.5rem;
    }
}

/* ── FAQ accordion: wider on desktop ── */
.faq-accordion {
    max-width: 100%;
}
@media (min-width: 769px) {
    .faq-accordion {
        max-width: 900px;
    }
}
@media (min-width: 1441px) {
    .faq-accordion {
        max-width: 1100px;
    }
}

/* ── Footer links grid: responsive ── */
.footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 769px) {
    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Locations grid: responsive ── */
.locations-grid {
    grid-template-columns: 1fr;
}
@media (min-width: 601px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1025px) {
    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ── Lead magnet: wider on desktop ── */
.lead-magnet-card {
    max-width: 100%;
}
@media (min-width: 769px) {
    .lead-magnet-card {
        max-width: 900px;
        margin: 0 auto;
    }
}
@media (min-width: 1441px) {
    .lead-magnet-card {
        max-width: 1100px;
    }
}

/* ── Section header: ensure full width within container ── */
.section-header {
    max-width: 100%;
}
@media (min-width: 769px) {
    .section-header {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 1441px) {
    .section-header {
        max-width: 900px;
    }
}

/* ── Services hero subtitle: wider on desktop ── */
.services-hero .page-subtitle,
.references-hero .page-subtitle,
.contact-hero .page-subtitle {
    max-width: 100%;
}
@media (min-width: 769px) {
    .services-hero .page-subtitle,
    .references-hero .page-subtitle,
    .contact-hero .page-subtitle {
        max-width: 800px;
    }
}
@media (min-width: 1441px) {
    .services-hero .page-subtitle,
    .references-hero .page-subtitle,
    .contact-hero .page-subtitle {
        max-width: 900px;
    }
}

/* ════════════════════════════════════════════════════════════════
   PROCESS SECTION — DEFENSIVE CENTERING FIX (2026-07-04)
   Explicitly forces the process section to be wide and centered.
   Uses direct child selectors and !important to override any cached,
   deferred, or conflicting rules that may cause left-alignment.
   ════════════════════════════════════════════════════════════════ */
.process-section {
    display: block;
    width: 100%;
    text-align: center;
}
.process-section .container {
    width: 100%;
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(1rem, 4vw, 4rem) !important;
    padding-right: clamp(1rem, 4vw, 4rem) !important;
    box-sizing: border-box;
}
.process-section .section-header {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.process-section .section-label,
.process-section .section-title,
.process-section .section-subtitle {
    text-align: center;
}
.process-section .process-timeline {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1025px) {
    .process-section .process-timeline {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1441px) {
    .process-section .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

/* ── Mice benefits: wider on desktop ── */
.mice-benefits {
    max-width: 100%;
}
@media (min-width: 769px) {
    .mice-benefits {
        max-width: 900px;
        margin: 3rem auto 0;
    }
}
@media (min-width: 1441px) {
    .mice-benefits {
        max-width: 1100px;
    }
}
