/*
Theme Name: Minimal Portfolio
Theme URI: https://example.com/minimal-portfolio
Author: Lent
Author URI: https://example.com
Description: Ein minimalistisches, hoch-performantes Portfolio-Theme mit Dark Mode Design.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-portfolio
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Colors - Dark Mode (Gallery at Night) - DEFAULT */
    --color-bg-primary: #050505;
    --color-bg-secondary: #0d0d0d;
    --color-bg-tertiary: #151515;
    --color-bg-card: #1a1a1a;
    --color-bg-hover: #222222;

    /* Text Colors */
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #8a8a8a;
    --color-text-muted: #555555;

    /* Accent Colors */
    --color-accent: #3b82f6;
    --color-accent-hover: #60a5fa;

    /* Borders */
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);
}

/* Light Mode */
[data-theme="light"] {
    --color-bg-primary: #fafafa;
    --color-bg-secondary: #f0f0f0;
    --color-bg-tertiary: #e5e5e5;
    --color-bg-card: #ffffff;
    --color-bg-hover: #f5f5f5;

    --color-text-primary: #111111;
    --color-text-secondary: #555555;
    --color-text-muted: #888888;

    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;

    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);
}

:root {
    /* Spacing - More Negative Space */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 7rem;

    /* Typography - Artistic Contrast */
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', 'Consolas', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.75rem;
    --font-size-2xl: 2.5rem;
    --font-size-3xl: 4rem;
    --font-size-4xl: 6rem;
    --font-size-hero: clamp(2.5rem, 10vw, 8rem);

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-normal: 1.6;

    /* Transitions - Slower, More Elegant */
    --transition-fast: 200ms ease;
    --transition-normal: 400ms ease;
    --transition-slow: 800ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);

    /* Container */
    --container-max: 1100px;
    --container-padding: var(--space-lg);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none;
    /* Firefox */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

/* Scroll Progress - Data Nerd Style */
.scroll-progress {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scroll-progress.is-visible {
    opacity: 1;
}

.scroll-progress::before {
    content: 'SCROLL: ';
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Glow pulse animation for BEWEGEN text */
@keyframes glowPulse {
    0% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.3);
    }

    100% {
        text-shadow: 0 0 40px rgba(0, 240, 255, 0.8), 0 0 80px rgba(0, 240, 255, 0.5), 0 0 120px rgba(0, 240, 255, 0.3);
    }
}

/* Film Grain Overlay - Subtle Texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
}

/* Hover State */
.cursor-circle.is-hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

.cursor-circle.is-hidden,
.cursor-dot.is-hidden {
    opacity: 0;
}

/* Hide default cursor on desktop */
@media (min-width: 992px) {

    body,
    a,
    button,
    input {
        cursor: none !important;
    }
}

/* Hide custom cursor on touch/mobile */
@media (hover: none) and (pointer: coarse),
(max-width: 991px) {

    .cursor-dot,
    .cursor-circle {
        display: none !important;
    }

    body,
    a,
    button,
    input {
        cursor: auto !important;
    }
}

/* Cursor Glow - Very Subtle Blue Light */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

/* Typography - Dramatic Serif Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--font-size-hero);
    font-weight: 500;
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    color: var(--color-text-secondary);
}

/* Monospace for Technical Elements */
.mono,
.case-label,
.tech-tag,
.meta-label {
    font-family: var(--font-mono);
}

/* ==========================================================================
   Blueprint Mode - Futuristic Screenshot Effect
   ========================================================================== */

.blueprint-mode {
    filter: invert(1) hue-rotate(180deg) contrast(1.1);
    mix-blend-mode: screen;
}

.blueprint-mode img {
    filter: grayscale(0.3) contrast(1.2);
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) 0 var(--space-md);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-sm) 0;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #00ff41;
    /* Hacker Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff41;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.status-separator {
    color: var(--color-border);
}

/* Sound Toggle */
.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-left: var(--space-sm);
}

.sound-toggle:hover {
    border-color: var(--color-text-muted);
}

.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.equalizer-bars .bar {
    width: 3px;
    background: var(--color-text-muted);
    border-radius: 1px;
    transition: height 0.1s ease;
}

/* Default state: paused/muted */
.equalizer-bars .bar:nth-child(1) {
    height: 4px;
}

.equalizer-bars .bar:nth-child(2) {
    height: 8px;
}

.equalizer-bars .bar:nth-child(3) {
    height: 6px;
}

.equalizer-bars .bar:nth-child(4) {
    height: 10px;
}

/* Playing state: animated */
.sound-toggle.is-playing .equalizer-bars .bar {
    background: #00ff41;
    animation: equalizerBounce 0.5s ease-in-out infinite alternate;
}

.sound-toggle.is-playing .equalizer-bars .bar:nth-child(1) {
    animation-delay: 0s;
}

.sound-toggle.is-playing .equalizer-bars .bar:nth-child(2) {
    animation-delay: 0.1s;
}

.sound-toggle.is-playing .equalizer-bars .bar:nth-child(3) {
    animation-delay: 0.2s;
}

.sound-toggle.is-playing .equalizer-bars .bar:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes equalizerBounce {
    0% {
        height: 4px;
    }

    100% {
        height: 12px;
    }
}

/* Nav alignment */
.main-navigation {
    justify-self: end;
}

.site-logo {
    justify-self: center;
}

.site-logo {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition-normal);
}

.site-logo img,
.custom-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}

.site-logo:hover {
    color: var(--color-text-primary);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-xs) 0;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-navigation a::before,
.main-navigation a::after {
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-navigation a::before {
    content: '[ ';
    transform: translateX(5px);
}

.main-navigation a::after {
    content: ' ]';
    transform: translateX(-5px);
}

.main-navigation a:hover {
    color: #0066FF;
}

.main-navigation a:hover::before,
.main-navigation a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--color-text-primary);
}

.main-navigation .current-menu-item a::after,
.main-navigation .current_page_item a::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section - Editorial Style
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlowBreathe 8s ease-in-out infinite;
}

@keyframes heroGlowBreathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    white-space: nowrap;
}

/* WebGL loading state - prevents flash */
.hero-title.webgl-loading {
    opacity: 0;
}

.hero-title.webgl-ready {
    opacity: 1;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-lg);
}

/* Split Text Animation */
.hero-title {
    perspective: 1000px;
}

.hero-title .char,
.section-title .char {
    display: inline-block;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--color-accent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        transform: translateY(200%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ==========================================================================
   Portfolio Grid
   ========================================================================== */

.portfolio-section {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-lg);
}

/* Portfolio Card - PREMIUM EDITORIAL DESIGN */
.portfolio-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

/* Card Frame - Subtle Border with Gradient */
.portfolio-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(0, 240, 255, 0.1) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

/* Corner Accents - Editorial Touch */
.portfolio-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 30px;
    height: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translate(-5px, -5px);
    transition: all 0.4s ease;
    z-index: 5;
}

.portfolio-card:hover::after {
    opacity: 1;
    transform: translate(0, 0);
    border-color: rgba(0, 240, 255, 0.4);
}

.portfolio-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0a;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.4s ease;
}

.portfolio-card:hover .portfolio-card-image {
    border-color: rgba(0, 240, 255, 0.2);
}

/* Cinematic Dark Overlay */
.portfolio-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image::before {
    opacity: 1;
}

/* Subtle Glow on Hover */
.portfolio-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0, 240, 255, 0.08);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image::after {
    opacity: 1;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1),
        filter 0.5s ease;
    filter: grayscale(0.15) brightness(0.95);
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.08);
    filter: grayscale(0) brightness(1);
}

/* Card Content - Floating Below */
.portfolio-card-content {
    padding: var(--space-md) 0;
    position: relative;
    z-index: 10;
    background: transparent;
}

/* Project Number/Index */
.portfolio-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.portfolio-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0;
    transition: color 0.3s ease, transform 0.3s ease;
    color: var(--color-text-primary);
    position: relative;
    z-index: 10;
}

.portfolio-card:hover .portfolio-card-title {
    color: #0066FF;
    transform: translateX(4px);
}

.portfolio-card-excerpt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-card-excerpt {
    color: rgba(0, 240, 255, 0.6);
}

.portfolio-card-link {
    position: absolute;
    inset: 0;
    z-index: 15;
}

/* Link Wrapper for clickable cards */
.portfolio-card .portfolio-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 10;
}

/* Reveal Animation for Archive */
.portfolio-card {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Placeholder */
.portfolio-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card-placeholder::before {
    content: '○';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
}

/* No Projects Message */
.no-projects {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-muted);
}

/* Portfolio More Section */
.portfolio-more {
    text-align: center;
    margin-top: var(--space-xl);
}

.mehr-button {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: inline-block;
}

.mehr-button:hover {
    color: #0066FF;
    border-color: #0066FF;
    background: rgba(0, 240, 255, 0.05);
}

/* ==========================================================================
   Kompetenzen Section - Brutalist Data Grid
   ========================================================================== */

.kompetenzen-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-primary);
}

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

.kompetenz-cell {
    padding: var(--space-xl);
    border: 1px solid #222;
    background: transparent;
    transition: background 0.3s ease;
}

.kompetenz-cell:hover {
    background: #0a0a0a;
}

.kompetenz-cell:hover .kompetenz-number {
    color: #0066FF;
}

.kompetenz-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: var(--space-md);
    display: block;
    transition: color 0.3s ease;
}

.kompetenz-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.kompetenz-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.kompetenz-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.kompetenz-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border-hover);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .kompetenzen-grid {
        grid-template-columns: 1fr;
    }

    .kompetenz-cell {
        padding: var(--space-lg);
    }

    .kompetenz-number {
        font-size: 2rem;
    }

    .kompetenz-title {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Single Portfolio - Editorial Design
   ========================================================================== */

.single-portfolio-article {
    min-height: 100vh;
}

.single-portfolio-wrapper {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
}

/* Two-Column Layout */
.single-portfolio-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
}

/* Main Content Area */
.single-portfolio-main {
    min-width: 0;
}

.single-portfolio-header {
    margin-bottom: var(--space-2xl);
    padding: 0;
}

/* Label - Minimal Monospace */
.single-portfolio-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    padding: 0;
    background: none;
    border-radius: 0;
}

/* Title - Syne Bold */
.single-portfolio-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-align: left;
    max-width: 100%;
    color: var(--color-text-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    word-wrap: break-word;
}

/* Intro/Subtitle - Elegant */
.single-portfolio-intro {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 0;
    max-width: 550px;
}

/* ==========================================================================
   Case Study Content - Clean Editorial Style
   ========================================================================== */

.case-study-content {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    counter-reset: case-counter;
}

/* Case Item - Numbered Sections */
.case-item {
    margin-bottom: var(--space-2xl);
    padding-left: 0;
    border-left: none;
    counter-increment: case-counter;
    position: relative;
}

.case-item:hover {
    border-left-color: transparent;
}

/* Results Highlight Section */
.case-results {
    border-left: 2px solid #00F0FF;
    padding-left: 1.5rem;
    margin-left: -1.5rem;
}

.case-results .case-label {
    color: #00F0FF;
    font-weight: 600;
}

.case-results .case-label::before {
    color: #00F0FF;
}

.case-results .case-text {
    font-size: 1.1em;
    color: #fff;
}

/* Label - Monospace with Number */
.case-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    opacity: 1;
}

.case-label::before {
    content: "0" counter(case-counter);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-accent);
    letter-spacing: 0;
}

/* Case Text */
.case-text {
    color: var(--color-text-primary);
    line-height: 1.8;
    margin: 0;
    font-size: var(--font-size-base);
    max-width: 600px;
}

/* Highlight - Accent Card */
.case-highlight {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.case-highlight .case-label {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    opacity: 1;
}

.case-highlight .case-label::before {
    display: none;
}

.highlight-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

.highlight-desc {
    color: var(--color-text-secondary);
    display: block;
    font-size: var(--font-size-base);
    line-height: 1.7;
}

/* Tech Stack - Pills with Hover */
.case-tech {
    margin: var(--space-xl) 0;
}

.case-tech .case-label {
    margin-bottom: var(--space-md);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-tag {
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* Feature Box - Glass Card */
.feature-box {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(59, 130, 246, 0.3), transparent);
}

.feature-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.feature-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .case-item {
        padding-left: var(--space-sm);
    }

    .highlight-title {
        font-size: var(--font-size-base);
    }
}

/* Legacy content styles removed - using case study layout now */

/* Meta Footer */
.single-portfolio-meta {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xl);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.meta-label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.meta-value {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text-primary);
}

/* Sidebar Image - Premium Effects */
.single-portfolio-sidebar {
    position: sticky;
    top: calc(80px + var(--space-lg));
}

.single-portfolio-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s ease;
}

.single-portfolio-image:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(59, 130, 246, 0.1);
}

/* Sidebar Gallery Grid */
.sidebar-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.sidebar-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.sidebar-gallery-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
}

.sidebar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.single-portfolio-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.single-portfolio-image:hover::before {
    opacity: 1;
}

.single-portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.single-portfolio-image:hover img {
    transform: scale(1.02);
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .single-portfolio-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .single-portfolio-sidebar {
        position: relative;
        top: 0;
        order: -1;
        max-width: 500px;
    }

    .single-portfolio-title {
        text-align: center;
    }

    .single-portfolio-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .single-portfolio-header {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .single-portfolio-sidebar {
        max-width: 100%;
    }

    .single-portfolio-meta {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.back-link svg {
    width: 16px;
    height: 16px;
}

/* CTA Button */
.single-portfolio-cta {
    margin: var(--space-xl) 0;
}

.portfolio-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.portfolio-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    color: var(--color-text-primary);
}

.portfolio-button svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.portfolio-button:hover svg {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Portfolio Gallery - Elegant Photo Display
   ==========================================================================*/

.portfolio-gallery {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

/* Gallery Item */
.gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-link img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item:hover .gallery-link img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .gallery-link img {
        aspect-ratio: 1 / 1;
    }
}

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

    .gallery-link img {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   Profile Page - Editorial Style
   ========================================================================== */

.profile-page {
    min-height: 100vh;
}

/* Profile Hero */
.profile-hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
}

.profile-hero-content {
    max-width: 800px;
}

.profile-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: var(--space-md);
}

.profile-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.profile-title {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

/* Profile Sections */
.profile-section {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
}

.profile-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-2xl);
}

.profile-section-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 0;
}

.section-name {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

/* Bio */
.profile-bio {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text-primary);
    max-width: 600px;
}

/* System Metrics - Terminal Style */
.system-metrics {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--color-border);
    padding: var(--space-lg);
    font-family: var(--font-mono);
}

.metrics-header {
    font-size: 0.7rem;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.metric-row {
    display: flex;
    align-items: baseline;
    font-size: 0.8rem;
}

.metric-label {
    color: var(--color-text-muted);
    white-space: nowrap;
}

.metric-dots {
    flex: 1;
    border-bottom: 1px dotted var(--color-text-muted);
    opacity: 0.3;
    margin: 0 var(--space-sm);
    transform: translateY(-4px);
}

.metric-value {
    color: var(--color-text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.metric-status {
    color: #00FF88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.skill-item {
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.skill-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.skill-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.contact-value {
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
}

a.contact-value:hover {
    color: var(--color-accent);
}

.contact-available {
    color: #22c55e;
}

/* CTA Button */
.contact-cta {
    margin-top: var(--space-xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

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

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

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* Massive CTA */
.footer-cta {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.cta-massive {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    line-height: 1.2;
}

.cta-massive:hover {
    color: #0066FF;
    -webkit-text-stroke: 1px #0066FF;
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.4);
}

/* Footer Data Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.col-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.footer-data {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Bracket Hover Links */
.bracket-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.bracket-link::before,
.bracket-link::after {
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bracket-link::before {
    content: '[ ';
    transform: translateX(5px);
}

.bracket-link::after {
    content: ' ]';
    transform: translateX(-5px);
}

.bracket-link:hover {
    color: #0066FF;
}

.bracket-link:hover::before,
.bracket-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Footer */
@media (max-width: 768px) {
    .cta-massive {
        font-size: 10vw;
        line-height: 1.1;
        word-wrap: break-word;
        max-width: 100%;
        display: inline-block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }
}

/* ==========================================================================
   Tech Stack Ticker (Marquee)
   ========================================================================== */

.tech-ticker {
    width: 100%;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: ticker 30s linear infinite;
}

.ticker-content {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    opacity: 0.5;
    white-space: nowrap;
    padding-right: 0;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

.tech-ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-sm);
    }

    .header-inner {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .main-navigation ul {
        gap: var(--space-md);
    }

    .hero-section {
        min-height: 60vh;
        padding-top: calc(120px + var(--space-xl));
    }

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

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

@media (max-width: 480px) {
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

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

.mb-0 {
    margin-bottom: 0 !important;
}

/* WordPress Generated Classes */
.alignleft {
    float: left;
    margin-right: var(--space-md);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE - TABLET (max-width: 992px)
   ========================================================================== */

@media (max-width: 992px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-section {
        min-height: 70vh;
        padding: var(--space-xl) 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 5rem);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .portfolio-card-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 3rem);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }

    /* Header Mobile */
    .site-header {
        padding: var(--space-md) 0;
    }

    .header-inner {
        flex-direction: column;
        gap: var(--space-md);
    }

    .main-navigation ul {
        gap: var(--space-md);
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation a {
        font-size: 0.7rem;
    }

    /* Hero Mobile */
    .hero-section {
        min-height: 60vh;
        padding: var(--space-lg) 0;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 3rem);
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

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

    .scroll-indicator {
        display: none;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .portfolio-card-title {
        font-size: 1.25rem;
    }

    .portfolio-card-excerpt {
        font-size: 0.65rem;
    }

    .portfolio-card-content {
        padding: var(--space-sm);
    }

    /* Section Headers */
    .section-header {
        margin-bottom: var(--space-lg);
    }

    .section-title {
        font-size: clamp(1.25rem, 6vw, 2rem);
    }

    /* Profile Page Mobile */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .profile-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Single Portfolio Mobile */
    .single-portfolio-wrapper {
        grid-template-columns: 1fr;
    }

    .single-portfolio-sidebar {
        position: relative;
        top: 0;
    }

    /* Footer Mobile */
    .site-footer {
        padding: var(--space-lg) 0;
    }
}

/* ==========================================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .hero-title {
        font-size: clamp(1.5rem, 12vw, 2.5rem);
    }

    .main-navigation ul {
        gap: var(--space-sm);
    }

    .main-navigation a {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    .portfolio-card-title {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .profile-title {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */

.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) 0;
}

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

.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 15rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-text-primary);
    position: relative;
    margin-bottom: var(--space-md);
    letter-spacing: -0.05em;
}

/* Glitch Effect */
.glitched-text {
    position: relative;
}

.glitched-text::before,
.glitched-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitched-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitched-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(40px, 9999px, 80px, 0);
    }

    15% {
        clip: rect(20px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    25% {
        clip: rect(50px, 9999px, 60px, 0);
    }

    30% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    35% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    45% {
        clip: rect(40px, 9999px, 30px, 0);
    }

    50% {
        clip: rect(20px, 9999px, 90px, 0);
    }

    55% {
        clip: rect(70px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 20px, 0);
    }

    65% {
        clip: rect(50px, 9999px, 60px, 0);
    }

    70% {
        clip: rect(30px, 9999px, 40px, 0);
    }

    75% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    80% {
        clip: rect(60px, 9999px, 70px, 0);
    }

    85% {
        clip: rect(20px, 9999px, 30px, 0);
    }

    90% {
        clip: rect(50px, 9999px, 90px, 0);
    }

    95% {
        clip: rect(10px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 50px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    5% {
        clip: rect(60px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(30px, 9999px, 40px, 0);
    }

    15% {
        clip: rect(90px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(40px, 9999px, 80px, 0);
    }

    25% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    30% {
        clip: rect(70px, 9999px, 10px, 0);
    }

    35% {
        clip: rect(30px, 9999px, 30px, 0);
    }

    40% {
        clip: rect(80px, 9999px, 50px, 0);
    }

    45% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    50% {
        clip: rect(50px, 9999px, 80px, 0);
    }

    55% {
        clip: rect(20px, 9999px, 20px, 0);
    }

    60% {
        clip: rect(60px, 9999px, 60px, 0);
    }

    65% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    70% {
        clip: rect(40px, 9999px, 70px, 0);
    }

    75% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 40px, 0);
    }

    85% {
        clip: rect(50px, 9999px, 90px, 0);
    }

    90% {
        clip: rect(30px, 9999px, 20px, 0);
    }

    95% {
        clip: rect(70px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 50px, 0);
    }
}

.error-title {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.error-message {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-output {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Courier New', Courier, monospace;
}

.cmd {
    display: block;
    color: #00ff00;
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.cmd.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hamburger Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .main-navigation {
        position: static;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: block;
        opacity: 1;
        visibility: visible;
        width: auto;
        height: auto;
        padding-top: 10px;
    }

    .main-navigation ul {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .main-navigation a {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }

    /* Hamburger Animation when Open */
    .mobile-menu-toggle.is-open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Ensure toggle is above the overlay */
    .mobile-menu-toggle.is-open {
        z-index: 1002;
    }

    .mobile-menu-toggle.is-open .hamburger-line {
        background: var(--color-text-primary);
    }
}

/* Kompetenzen Section Mobile */
@media (max-width: 768px) {
    .kompetenzen-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .kompetenz-cell {
        padding: var(--space-lg);
    }

    .kompetenz-title {
        font-size: 1.2rem;
    }

    .kompetenz-desc {
        font-size: 0.8rem;
    }

    .kompetenz-tags {
        flex-wrap: wrap;
    }

    .kompetenz-tag {
        font-size: 0.6rem;
    }
}

/* Metrics Section Mobile */
@media (max-width: 480px) {
    .system-metrics {
        padding: var(--space-md);
    }

    .metric-row {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .metric-label {
        font-size: 0.65rem;
    }

    .metric-value {
        font-size: 0.7rem;
    }

    .metric-dots {
        display: none;
    }
}

/* Page Transition Overlay Removed */

/* ==========================================================================
   Marquee CTA Section
   ========================================================================== */

.marquee-cta {
    padding: var(--space-xl) 0;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-right: var(--space-xl);
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: #0066FF;
}

.marquee-content .separator {
    width: 10px;
    height: 10px;
    background: #0066FF;
    border-radius: 50%;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Profile Page - Fullscreen Hero
   ========================================================================== */

.profile-hero--fullscreen {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 0 0 var(--space-2xl) 0;
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.profile-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Subtle Pulsing Effect - No color just brightness */
.profile-hero-pulse {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: laserPulse 3s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes laserPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
        background: radial-gradient(circle at 50% 35%, rgba(255, 50, 50, 0.15) 0%, transparent 40%);
    }
}

/* Vignette + Gradient Overlay */
.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%),
        linear-gradient(to top,
            rgba(5, 5, 5, 0.95) 0%,
            rgba(5, 5, 5, 0.4) 25%,
            transparent 50%);
    z-index: 1;
}

.profile-hero--fullscreen .container {
    position: relative;
    z-index: 2;
}

.profile-hero--fullscreen .profile-hero-content {
    text-align: center;
}

.profile-hero--fullscreen .profile-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.profile-hero--fullscreen .profile-title {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: var(--space-lg);
}

/* Scroll Indicator */
.profile-hero--fullscreen::after {
    content: '';
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    z-index: 3;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }
}

/* Metric Status Colors */
.metric-value.metric-status {
    color: #00ff41;
}

.metric-value.metric-warning {
    color: #ff6b00;
}

/* Uptime Ticker Animation */
.uptime-ticker {
    font-variant-numeric: tabular-nums;
    animation: tickerBlink 1s step-end infinite;
}

@keyframes tickerBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

/* ==========================================================================
   HUD Dashboard - Bento Grid
   ========================================================================== */

.hud-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.hud-card {
    position: relative;
    background: #0a0a0a;
    border: 1px solid #222;
    padding: var(--space-lg);
}

.hud-card--wide {
    grid-column: span 2;
}

/* Corner Markers */
.hud-card-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: #333;
    border-style: solid;
}

.hud-card-corner--tl {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.hud-card-corner--tr {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.hud-card-corner--bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.hud-card-corner--br {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.hud-card-header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

/* Hero Stat */
.hud-stat--hero {
    margin-bottom: var(--space-lg);
}

.hud-stat--hero .hud-stat-value {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
}

.hud-stat--hero .hud-stat-unit {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #555;
    margin-left: 0.5rem;
}

.hud-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: var(--space-xs);
}

/* Progress Bar */
.hud-progress {
    height: 3px;
    background: #1a1a1a;
    margin: var(--space-sm) 0;
    overflow: hidden;
}

.hud-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00cc33);
    transition: width 1s ease;
}

.hud-progress--warning .hud-progress-bar {
    background: linear-gradient(90deg, #ff6b00, #ff4400);
}

/* Small Stats Row */
.hud-stats-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid #1a1a1a;
}

.hud-stat--small .hud-stat-value {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: #fff;
    display: block;
}

/* Color States */
.hud-stat--green {
    color: #00ff41 !important;
}

.hud-stat--warning {
    color: #ff6b00 !important;
}

/* Audio Wave Animation */
.hud-audio-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    margin-left: var(--space-sm);
}

.hud-audio-wave span {
    width: 3px;
    background: #0066FF;
    animation: audioWave 0.8s ease-in-out infinite;
}

.hud-audio-wave span:nth-child(1) {
    animation-delay: 0s;
    height: 8px;
}

.hud-audio-wave span:nth-child(2) {
    animation-delay: 0.1s;
    height: 16px;
}

.hud-audio-wave span:nth-child(3) {
    animation-delay: 0.2s;
    height: 12px;
}

.hud-audio-wave span:nth-child(4) {
    animation-delay: 0.3s;
    height: 18px;
}

.hud-audio-wave span:nth-child(5) {
    animation-delay: 0.4s;
    height: 10px;
}

@keyframes audioWave {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Bio Grid */
.hud-bio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.hud-bio-grid .hud-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    display: block;
}

.hud-bio-grid .hud-stat-unit {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #555;
}

.hud-ticker {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #00ff41;
    animation: tickerBlink 1s step-end infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hud-bento {
        grid-template-columns: 1fr;
    }

    .hud-card--wide {
        grid-column: span 1;
    }

    .hud-bio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* HUD Card Hover Effect */
.hud-card {
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hud-card:hover {
    border-color: #444;
    background: #0f0f0f;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

.hud-card:hover .hud-card-corner {
    border-color: #555;
}

/* Fog Background Canvas */
.fog-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Portfolio Archive Hero
   ========================================================================== */

.archive-hero {
    padding: calc(var(--header-height) + var(--space-3xl) + 2rem) 0 var(--space-xl);
}

.archive-hero-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.archive-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.portfolio-archive {
    padding-top: var(--space-lg);
}

/* Header Transparency on Scroll */
.site-header {
    transition: background 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
    background: rgba(10, 10, 10, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.03);
}

/* Staggered Reveal Animation */
/* The instruction refers to .statement-text, but no such class exists in the provided document.
   Assuming the intent was to remove these properties from .reveal-element based on the context provided in the instruction.
   However, the instruction explicitly states .statement-text. Since .statement-text is not present,
   and to avoid making assumptions, no changes are made to .reveal-element.
   If .statement-text were present, its opacity, transform, and transition properties would be removed. */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Enhanced Homepage Hero
   ========================================================================== */

/* Grid Overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes gridFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

/* Hero Label */
.hero-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #0066FF;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

/* Glowing Title */
.hero-title--glow {
    text-shadow: 0 0 80px rgba(0, 240, 255, 0.15);
    transition: text-shadow 0.5s ease;
}

.hero-title--glow:hover {
    text-shadow: 0 0 100px rgba(0, 240, 255, 0.3);
}

/* Status Bar */
.hero-status-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 0.1em;
}

.status-ping {
    width: 6px;
    height: 6px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff41;
    animation: statusPulse 2s infinite;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 2s;
    animation-duration: 17s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 22s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Delayed Fade-In Animations for Hero Elements */
.hero-grid-overlay {
    opacity: 0;
    animation: fadeInDelay 1.5s ease 0.5s forwards;
}

.hero-status-bar {
    opacity: 0;
    animation: fadeInDelay 1s ease 1.5s forwards;
}

.hero-particles .particle {
    opacity: 0;
    animation: particleFloat 15s linear 2s infinite, fadeInDelay 1s ease 1s forwards;
}

@keyframes fadeInDelay {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ==========================================================================
   CTA Section - Bold Call to Action
   ========================================================================== */

.cta-section {
    padding: var(--space-3xl) 0;
    text-align: center;
    border-top: 1px solid #222;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.02) 100%);
}

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

.cta-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #0066FF;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.cta-button-main {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: 1px solid #0066FF;
    color: #0066FF;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-main:hover {
    background: #0066FF;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.cta-button-arrow {
    transition: transform 0.3s ease;
}

.cta-button-main:hover .cta-button-arrow {
    transform: translateX(5px);
}

/* Footer CTA New Styling */
.footer-cta-new {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
}

.footer-cta-new .cta-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #0066FF;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.footer-cta-new .cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.footer-cta-new .cta-desc {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Partner Section - Area17 Style
   ========================================================================== */

.partner-section {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.partner-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.partner-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.partner-track {
    display: inline-flex;
    align-items: center;
    animation: partnerScroll 25s linear infinite;
}

.partner-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text-primary);
    padding: 0 var(--space-md);
    transition: color 0.3s ease;
}

.partner-name:hover {
    color: #0066FF;
}

.partner-dot {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-muted);
    padding: 0 var(--space-sm);
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-marquee:hover .partner-track {
    animation-play-state: paused;
}


/* ==========================================================================
   Partner Section - Area17 Style (Clean Rebuild)
   ========================================================================== */

.partner-section-scroll {
    height: 250vh;
    position: relative;
    z-index: 10;
}

.partner-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    overflow: hidden;
}

.partner-intro {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.partner-section-scroll.is-visible .partner-intro {
    opacity: 1;
    transform: translateY(0);
}

.partner-names {
    position: relative;
    height: clamp(4rem, 10vw, 8rem);
    width: 100%;
}

.partner-name-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.1;

    /* Default: Hidden below */
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Active: Visible */
.partner-name-item.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Past: Hidden above */
.partner-name-item.is-past {
    opacity: 0;
    transform: translateY(-60px);
}

/* Fix: Prevent text wrapping */
.partner-name-item {
    white-space: nowrap;
    font-size: clamp(2rem, 6vw, 5rem);
}

/* ==========================================================================
   Partner Section - Premium Effects
   ========================================================================== */

/* Video Background */
.partner-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%) contrast(1.2);
}

/* 3D Perspective Container */
.partner-sticky {
    perspective: 1000px;
}

/* 3D Rotation on Names */
.partner-name-item {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.partner-name-item.is-active {
    transform: translateY(0) rotateX(0deg);
}

.partner-name-item.is-past {
    transform: translateY(-60px) rotateX(-15deg);
}

/* Names coming in from below with 3D rotation */
.partner-name-item:not(.is-active):not(.is-past) {
    transform: translateY(60px) rotateX(15deg);
}

/* Split Text Animation - Each char animates */
.partner-name-item .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateY(20deg);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.partner-name-item.is-active .char {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
}

/* Stagger effect via CSS custom property */
.partner-name-item .char {
    transition-delay: calc(var(--char-index, 0) * 0.03s);
}

/* ==========================================================================
   Transparent Header
   ========================================================================== */

.site-header {
    background: transparent !important;
    backdrop-filter: none;
}

/* Add subtle blur background when scrolled */
.site-header.is-scrolled {
    background: rgba(10, 10, 12, 0.85) !important;
    backdrop-filter: blur(10px);
}

/* Hide Header/Navigator completely */
.site-header {
    display: none !important;
}

/* Show header again but hide only navigation */
.site-header {
    display: flex !important;
}

.main-navigation {
    display: none !important;
}

/* Header Profil Link */
.header-profil-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-profil-link:hover {
    color: var(--color-accent);
}

/* Make partner video more subtle */
.partner-video-bg {
    opacity: 0.08 !important;
}

/* Make partner video even more subtle */
.partner-video-bg {
    opacity: 0.03 !important;
}

/* ==========================================================================
   Dynamic Header Effects
   ========================================================================== */

/* Base Header - Transparent by default */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: transform 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Gradient Line under header */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 255, 0.3) 20%,
            rgba(255, 0, 255, 0.3) 50%,
            rgba(0, 255, 255, 0.3) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Blur-on-Scroll with Glassmorphism */
.site-header.is-scrolled {
    background: rgba(10, 10, 12, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.site-header.is-scrolled::after {
    opacity: 1;
}

/* Scroll-Hide: Header hides when scrolling down */
.site-header.is-hidden {
    transform: translateY(-100%);
}

/* Hide brackets around logo name */
.logo-bracket {
    display: none;
}

/* ==========================================================================
   HBO-Style Intro Animation
   ========================================================================== */

/* Intro Overlay */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.intro-overlay.is-hidden {
    display: none;
}

/* Logo in center */
.intro-logo {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--color-text-primary);
    opacity: 0;
    transform: scale(0.8);
    animation: logoFadeIn 1s ease 0.3s forwards;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* TV-Off Effect */
.intro-tvoff {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-bg);
    transform: translateY(-50%);
    z-index: 10001;
}

.intro-overlay.tv-off .intro-logo {
    animation: none;
    opacity: 0;
}

.intro-overlay.tv-off .intro-tvoff {
    animation: tvOffEffect 0.4s ease forwards;
}

@keyframes tvOffEffect {
    0% {
        height: 0;
        box-shadow: 0 0 50px 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        height: 4px;
        box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.8);
    }

    100% {
        height: 100vh;
        box-shadow: none;
    }
}

.intro-overlay.fade-out {
    animation: overlayFadeOut 0.5s ease forwards;
}

@keyframes overlayFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Remove old glow effect */
.hero-title--glow {
    text-shadow: none !important;
    filter: none !important;
}

/* Hero title animation after intro */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
}

.hero-title.is-visible {
    animation: heroReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Improved HBO-Style TV-Off Effect
   ========================================================================== */

/* Better logo animation */
.intro-logo {
    font-family: var(--font-display);
    font-size: clamp(5rem, 20vw, 12rem);
    font-weight: 700;
    color: var(--color-text-primary);
    opacity: 0;
    transform: scale(0.9);
    animation: logoReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
    }

    50% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

/* Enhanced TV-Off effect - CRT style */
.intro-overlay.tv-off .intro-logo {
    animation: logoFlicker 0.15s ease forwards;
}

@keyframes logoFlicker {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }

    75% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

/* CRT scan line collapse */
.intro-overlay.tv-off .intro-tvoff {
    animation: crtOff 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@keyframes crtOff {
    0% {
        height: 0;
        background: white;
        box-shadow: 0 0 100px 50px rgba(255, 255, 255, 0.8);
    }

    30% {
        height: 3px;
        background: white;
        box-shadow: 0 0 150px 80px rgba(255, 255, 255, 1);
    }

    60% {
        height: 2px;
        background: rgba(0, 255, 255, 0.8);
        box-shadow: 0 0 80px 40px rgba(0, 255, 255, 0.6);
    }

    100% {
        height: 100vh;
        background: var(--color-bg);
        box-shadow: none;
    }
}

/* Smoother overlay fade */
.intro-overlay.fade-out {
    animation: overlayFadeSmooth 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes overlayFadeSmooth {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

/* Hero Title - Simple Fade-In Animation (no complex intro) */
.hero-title {
    opacity: 1 !important;
    transform: none !important;
}

.hero-title.is-visible {
    animation: none !important;
}

/* ==========================================================================
   Premium Micro-Interactions & Smooth Scroll
   ========================================================================== */

/* Smooth Scroll Container (Lenis) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Magnetic Button Effect */
.btn-primary,
.cta-button-main,
.nav-link-arrow {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.btn-primary:hover,
.cta-button-main:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 255, 0.3);
}

/* Link Underline Reveal */
a:not(.btn-primary):not(.cta-button-main):not(.site-logo):not(.header-profil-link) {
    position: relative;
    text-decoration: none;
}

a:not(.btn-primary):not(.cta-button-main):not(.site-logo):not(.header-profil-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:not(.btn-primary):not(.cta-button-main):not(.site-logo):not(.header-profil-link):hover::after {
    width: 100%;
}

/* Image Hover Zoom */
.project-thumb img,
.portfolio-card-image img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.project-thumb:hover img,
.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05) !important;
}

/* Cursor Interaction Classes */
.has-magnetic-pull {
    display: inline-block;
}

/* ==========================================================================
   Updated Arbeiten + Kompetenzen Sections - Premium Match
   ========================================================================== */

/* Portfolio Section - Softer, Premium Look */
.portfolio-section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* Portfolio Cards - Clean, Minimal */
.portfolio-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.portfolio-card-content {
    background: transparent !important;
    padding: var(--space-md) 0;
}

.portfolio-card-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    text-shadow: none !important;
    color: var(--color-text-primary) !important;
}

.portfolio-card:hover .portfolio-card-title {
    color: var(--color-accent) !important;
    text-shadow: none !important;
}

.portfolio-card-excerpt {
    color: var(--color-text-secondary) !important;
    opacity: 1 !important;
    font-size: 0.85rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Kompetenzen Section - Softer Grid */
.kompetenzen-section {
    padding: var(--space-3xl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.kompetenz-cell {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: var(--space-xl) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kompetenz-cell:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.kompetenz-number {
    font-size: 2rem !important;
    font-weight: 300 !important;
    color: var(--color-accent) !important;
    opacity: 0.5;
    margin-bottom: var(--space-sm) !important;
}

.kompetenz-cell:hover .kompetenz-number {
    opacity: 1;
    color: var(--color-accent) !important;
}

.kompetenz-title {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.kompetenz-desc {
    font-family: var(--font-body);
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    opacity: 0.7;
}

.kompetenz-tag {
    border: none !important;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary) !important;
    padding: 6px 12px !important;
    font-size: 0.7rem !important;
}

/* MEHR ANZEIGEN Button - Premium */
.mehr-button {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: var(--space-lg);
}

.mehr-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ==========================================================================
   Cinematic Scroll Reveal Animations - ARBEITEN & KOMPETENZEN
   ========================================================================== */

/* Section Label - Subtle Mono Tag */
.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-sm);
}

/* Scroll Reveal Section Base */
.scroll-reveal-section {
    overflow: hidden;
    position: relative;
}

/* Header Animation */
.scroll-reveal-header {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-header.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Title Split Animation */
.scroll-title .char {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
}

.scroll-reveal-header.is-revealed .scroll-title .char {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Staggered Grid */
.scroll-reveal-grid {
    perspective: 1000px;
}

/* Card Reveal Base */
.scroll-reveal-card {
    opacity: 0;
    transform: translateY(80px) rotateX(10deg);
    filter: blur(10px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Card Revealed State */
.scroll-reveal-card.is-revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0px);
}

/* Stagger delays via CSS custom properties */
.scroll-reveal-card[data-reveal-index="0"] {
    transition-delay: 0ms;
}

.scroll-reveal-card[data-reveal-index="1"] {
    transition-delay: 150ms;
}

.scroll-reveal-card[data-reveal-index="2"] {
    transition-delay: 300ms;
}

.scroll-reveal-card[data-reveal-index="3"] {
    transition-delay: 450ms;
}

/* Portfolio Card Specific Animations */
.portfolio-section .scroll-reveal-card {
    transform: translateY(100px) scale(0.95);
    filter: blur(8px);
}

.portfolio-section .scroll-reveal-card.is-revealed {
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Hover Enhancement for Revealed Cards */
.scroll-reveal-card.is-revealed:hover {
    transform: translateY(-8px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* More Button Animation */
.scroll-reveal-more {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
    text-align: center;
    margin-top: var(--space-xl);
}

.scroll-reveal-more.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced MEHR Button */
.mehr-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

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

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

.mehr-button:hover {
    border-color: #0066FF;
    color: #0066FF;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.mehr-text {
    font-weight: 500;
}

.mehr-count {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-left: 4px;
}

/* Kompetenzen Cell Enhanced */
.kompetenzen-section .scroll-reveal-card {
    transform: translateY(60px) translateX(-20px);
    filter: blur(5px);
    transform-origin: left center;
}

.kompetenzen-section .scroll-reveal-card.is-revealed {
    transform: translateY(0) translateX(0);
    filter: blur(0px);
}

/* Number Animation */
.scroll-reveal-card .kompetenz-number {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal-card.is-revealed .kompetenz-number {
    opacity: 1;
    transform: scale(1);
    transition-delay: inherit;
}

/* Smooth Section Flow - Visual Separator Between Sections */
.scroll-reveal-section+.scroll-reveal-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Grid Separator Line Animation */
.scroll-reveal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
    transition: width 1s ease, left 1s ease;
}

.scroll-reveal-section.is-active::before {
    width: 100%;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .scroll-reveal-card {
        transform: translateY(50px);
    }

    .scroll-reveal-card.is-revealed {
        transform: translateY(0);
    }

    .scroll-reveal-card[data-reveal-index="0"],
    .scroll-reveal-card[data-reveal-index="1"],
    .scroll-reveal-card[data-reveal-index="2"],
    .scroll-reveal-card[data-reveal-index="3"] {
        transition-delay: 0ms;
    }

    .section-label {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   Homepage Profile Section
   ========================================================================== */

.profile-homepage-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

/* Profile Hero Card - Horizontal Layout */
.profile-hero-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.profile-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066FF, #3b82f6, #0066FF);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.profile-hero-card-image {
    position: relative;
    width: 280px;
    height: 320px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.profile-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.profile-hero-card:hover .profile-card-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.02);
}

.profile-hero-card-pulse {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-md);
    animation: profilePulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes profilePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.profile-hero-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md) 0;
}

.profile-hero-card-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.profile-hero-card-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0066FF;
    margin-bottom: var(--space-md);
}

.profile-hero-card-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 550px;
}

/* Homepage HUD Bento Grid */
.homepage-hud {
    margin-bottom: var(--space-xl);
}

.homepage-hud.hud-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.homepage-hud .hud-card--wide {
    grid-column: 1 / -1;
}

/* Contact CTA for Homepage */
.profile-contact-cta {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.contact-grid-homepage {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.contact-grid-homepage .contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-grid-homepage .contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.contact-grid-homepage .contact-value {
    font-size: 0.95rem;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.contact-grid-homepage .contact-value:hover {
    color: #0066FF;
}

.contact-grid-homepage .contact-available {
    color: #00ff41;
    position: relative;
    padding-left: 16px;
}

.contact-grid-homepage .contact-available::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff41;
    animation: statusPulse 2s infinite;
}

.cta-button--homepage {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, #0066FF 0%, #3b82f6 100%);
    color: #050505;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.cta-button--homepage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
    color: #050505;
}

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

.cta-button--homepage:hover svg {
    transform: translateX(4px);
}

/* Homepage Uptime Ticker */
.homepage-uptime-ticker {
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* Responsive Profile Section */
@media (max-width: 900px) {
    .profile-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-hero-card-image {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }

    .profile-hero-card-content {
        align-items: center;
    }

    .profile-hero-card-bio {
        max-width: 100%;
    }
}

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

    .profile-contact-cta {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid-homepage {
        justify-content: center;
    }
}

/* ==========================================================================
   Statement Section - Bold Manifesto
   ========================================================================== */

.statement-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

/* Subtle grid background */
.statement-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.statement-wrapper {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.statement-lines {
    margin-bottom: var(--space-xl);
}

.statement-lines--secondary {
    margin-bottom: 0;
    margin-top: var(--space-xl);
}

.statement-line {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
}

.statement-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    display: inline-block;
    /* Start hidden */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reveal when line is visible */
.statement-line.is-visible .statement-text {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for CSS fallback */
.no-js .statement-line .statement-text:nth-child(2),
.statement-line .statement-text:nth-child(2) {
    transition-delay: 0.1s;
}

.no-js .statement-line .statement-text:nth-child(3),
.statement-line .statement-text:nth-child(3) {
    transition-delay: 0.2s;
}

/* Accent line styling */
.statement-line--accent .statement-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-text-primary);
    text-stroke: 2px var(--color-text-primary);
}

/* Highlight word - Clean color, no glow */
.statement-text--highlight {
    color: #00F0FF !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    position: relative;
}



/* Divider line */
.statement-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066FF, #3b82f6, transparent);
    margin: var(--space-lg) 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.statement-section.is-active .statement-divider {
    width: 200px;
}

/* Parallax effect on scroll */
.statement-line[data-speed] {
    will-change: transform;
}

/* Responsive */
@media (max-width: 768px) {
    .statement-section {
        min-height: auto;
        padding: var(--space-xl) var(--space-md);
    }

    .statement-text {
        font-size: clamp(1.8rem, 12vw, 4rem);
    }

    .statement-line--accent .statement-text {
        -webkit-text-stroke: 1px var(--color-text-primary);
        text-stroke: 1px var(--color-text-primary);
    }
}

@media (max-width: 480px) {
    .statement-text {
        font-size: clamp(1.5rem, 14vw, 2.5rem);
    }
}

/* ==========================================================================
   Premium Portfolio Cards
   ========================================================================== */

.portfolio-grid--premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.portfolio-card--premium {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

/* Project Index Number */
.portfolio-card-index {
    position: absolute;
    top: -20px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card--premium:hover .portfolio-card-index {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 240, 255, 0.5);
    transform: translateX(10px);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* Media Container */
.portfolio-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

.portfolio-card-media .portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

.portfolio-card--premium:hover .portfolio-card-img {
    transform: scale(1.08);
    filter: brightness(0.7) saturate(1.2);
}

/* Overlay */
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 240, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card--premium:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-overlay-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.portfolio-card--premium:hover .portfolio-card-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Button */
.portfolio-card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0066FF;
    padding: 12px 24px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.portfolio-card--premium:hover .portfolio-card-cta:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: #0066FF;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.portfolio-card--premium:hover .portfolio-card-cta:hover svg {
    transform: translate(4px, -4px);
}

/* Scanlines Effect */
.portfolio-card-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card--premium:hover .portfolio-card-scanlines {
    opacity: 1;
    animation: scanlineMove 0.1s linear infinite;
}

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

    100% {
        transform: translateY(4px);
    }
}

/* Corner Brackets */
.portfolio-card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(0, 240, 255, 0);
    border-style: solid;
    border-width: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.portfolio-card-corner--tl {
    top: 0;
    left: 0;
    border-top-width: 2px;
    border-left-width: 2px;
}

.portfolio-card-corner--tr {
    top: 0;
    right: 0;
    border-top-width: 2px;
    border-right-width: 2px;
}

.portfolio-card-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.portfolio-card-corner--br {
    bottom: 0;
    right: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.portfolio-card--premium:hover .portfolio-card-corner {
    border-color: #0066FF;
    width: 30px;
    height: 30px;
}

.portfolio-card--premium:hover .portfolio-card-corner--tl {
    transform: translate(-5px, -5px);
}

.portfolio-card--premium:hover .portfolio-card-corner--tr {
    transform: translate(5px, -5px);
}

.portfolio-card--premium:hover .portfolio-card-corner--bl {
    transform: translate(-5px, 5px);
}

.portfolio-card--premium:hover .portfolio-card-corner--br {
    transform: translate(5px, 5px);
}

/* Card Info */
.portfolio-card-info {
    padding: var(--space-md) 0;
}

.portfolio-card-type {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0066FF;
    margin-bottom: var(--space-xs);
    padding: 4px 10px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.portfolio-card--premium .portfolio-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    transition: color 0.3s ease;
}

.portfolio-card--premium:hover .portfolio-card-title {
    color: #0066FF;
}

.portfolio-card--premium .portfolio-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Responsive Premium Cards */
@media (max-width: 900px) {
    .portfolio-grid--premium {
        grid-template-columns: 1fr;
    }

    .portfolio-card-index {
        font-size: 3rem;
        top: -10px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid--premium {
        gap: var(--space-lg);
    }

    .portfolio-card-media {
        aspect-ratio: 4 / 3;
    }

    .portfolio-card-index {
        display: none;
    }
}

/* ==========================================================================
   Motion Circles Section - Dynamic Scroll Transition
   ========================================================================== */

.motion-circles-section {
    min-height: 150vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.motion-circles-container {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Circle */
.motion-circle--main {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.1s ease-out;
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.3),
        inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.motion-circle-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #0066FF;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease, font-size 0.3s ease;
    white-space: nowrap;
}

/* Orbit Circles */
.motion-circle--orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-circle--1 {
    width: 150px;
    height: 150px;
}

.motion-circle--2 {
    width: 250px;
    height: 250px;
}

.motion-circle--3 {
    width: 400px;
    height: 400px;
}

.motion-circle--4 {
    width: 600px;
    height: 600px;
}

/* Active states controlled by JS */
.motion-circles-section.is-active .motion-circle--main {
    width: 300px;
    height: 300px;
    border-width: 3px;
    box-shadow:
        0 0 60px rgba(0, 240, 255, 0.5),
        0 0 120px rgba(0, 240, 255, 0.3),
        inset 0 0 60px rgba(0, 240, 255, 0.2);
}

.motion-circles-section.is-active .motion-circle-text {
    opacity: 1;
    font-size: 1rem;
}

.motion-circles-section.is-active .motion-circle--orbit {
    opacity: 1;
}

.motion-circles-section.is-active .motion-circle--1 {
    width: 400px;
    height: 400px;
    animation: orbitPulse 3s ease-in-out infinite;
}

.motion-circles-section.is-active .motion-circle--2 {
    width: 550px;
    height: 550px;
    animation: orbitPulse 3s ease-in-out infinite 0.5s;
}

.motion-circles-section.is-active .motion-circle--3 {
    width: 750px;
    height: 750px;
    animation: orbitPulse 3s ease-in-out infinite 1s;
}

.motion-circles-section.is-active .motion-circle--4 {
    width: 1000px;
    height: 1000px;
    animation: orbitPulse 3s ease-in-out infinite 1.5s;
}

@keyframes orbitPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Exploded state (when scrolling past) */
.motion-circles-section.is-exploded .motion-circle--main {
    width: 2000px;
    height: 2000px;
    opacity: 0;
    border-color: rgba(0, 240, 255, 0.1);
}

.motion-circles-section.is-exploded .motion-circle-text {
    opacity: 0;
}

.motion-circles-section.is-exploded .motion-circle--orbit {
    opacity: 0;
    transform: scale(3);
}

/* ==========================================================================
   Clean Portfolio Section
   ========================================================================== */

.portfolio-section--clean {
    padding: var(--space-2xl) 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.portfolio-section--clean.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-header-minimal {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.portfolio-title-big {
    font-family: var(--font-display);
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-text-primary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.portfolio-section--clean.is-visible .portfolio-title-big {
    opacity: 1;
    transform: translateY(0);
}

/* Clean Portfolio Grid */
.portfolio-grid--clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.portfolio-card--clean {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-section--clean.is-visible .portfolio-card--clean {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-section--clean.is-visible .portfolio-card--clean:nth-child(1) {
    transition-delay: 0.3s;
}

.portfolio-section--clean.is-visible .portfolio-card--clean:nth-child(2) {
    transition-delay: 0.45s;
}

.portfolio-section--clean.is-visible .portfolio-card--clean:nth-child(3) {
    transition-delay: 0.6s;
}

/* Responsive Clean Portfolio */
@media (max-width: 768px) {
    .motion-circles-section {
        min-height: 100vh;
    }

    .motion-circles-section.is-active .motion-circle--main {
        width: 200px;
        height: 200px;
    }

    .motion-circles-section.is-active .motion-circle--4 {
        display: none;
    }

    .portfolio-grid--clean {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Circle Expand Section - Sticky Scroll with Growing Circle
   ========================================================================== */

.circle-expand-section {
    height: 300vh;
    position: relative;
    background: var(--color-bg-primary);
}

.circle-expand-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expanding-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    transition: none;
    will-change: transform, width, height, opacity;
}

/* ==========================================================================
   ARBEITEN Reveal Section
   ========================================================================== */

.arbeiten-reveal-section {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.arbeiten-reveal-content {
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.arbeiten-reveal-section.is-visible .arbeiten-reveal-content {
    opacity: 1;
    transform: scale(1);
}

.arbeiten-title-reveal {
    font-family: var(--font-display);
    font-size: clamp(4rem, 20vw, 15rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

/* ==========================================================================
   New Portfolio Section
   ========================================================================== */

.portfolio-section-new {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-primary);
}

.portfolio-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 90vw;
    margin: 0 auto;
}

.portfolio-card-new {
    position: relative;
    overflow: hidden;

    /* Cinematic Reveal Setup - HEAVY PHYSICS */
    opacity: 0 !important;
    transform: translateY(120px) !important;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    will-change: transform, opacity;
}

.portfolio-card-new.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.portfolio-card-new .portfolio-card-media {
    position: relative;
    aspect-ratio: 21 / 9;
    /* Cinematic Widescreen */
    overflow: hidden;
    background: transparent;
    border: none;
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    /* Soft bottom fade */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.portfolio-card-new .portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.portfolio-card-new:hover .portfolio-card-img {
    transform: scale(1.03);
    /* Subtle, expensive zoom */
    filter: brightness(1.1);
    /* Slight pop instead of darkening */
}

/* Clean hover - no overlay, just subtle scale and brightness */
.portfolio-card-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card-new:hover::after {
    opacity: 0.5;
}

.portfolio-card-new .portfolio-card-info {
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: none;
}

.portfolio-card-new:hover .portfolio-card-info {
    border: none;
}

.portfolio-card-new .portfolio-card-type {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.portfolio-card-new .portfolio-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-align: center;
    transition: color 0.4s ease;
}

.portfolio-card-new:hover .portfolio-card-title {
    color: #00F0FF;
}

/* New 3-column layout */
.portfolio-card-layout {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    gap: 1.5rem;
    align-items: center;
}

.portfolio-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.portfolio-card-meta-left {
    text-align: right;
}

.portfolio-card-meta-right {
    text-align: left;
}

.portfolio-card-meta .meta-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-style: italic;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.portfolio-card-meta .meta-value {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.portfolio-card-new .portfolio-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    /* Above WebGL canvas (z-1) */
}

/* Link wrapper approach - makes whole card clickable */
.portfolio-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 15;
}

/* Mobile: Stack meta below image */
@media (max-width: 768px) {
    .portfolio-card-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-card-meta {
        display: none;
    }
}

/* ==========================================================================
   All Works Section
   ========================================================================== */

.all-works-section {
    min-height: 60vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-works-content {
    text-align: center;
}

.all-works-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    transition: all 0.4s ease;
}

.all-works-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.4s ease;
}

.all-works-button:hover .all-works-text {
    color: #fff;
}

.all-works-count {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.all-works-button:hover .all-works-count {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive New Portfolio */
@media (max-width: 768px) {
    .circle-expand-section {
        height: 200vh;
    }

    .arbeiten-title-reveal {
        font-size: clamp(2.5rem, 15vw, 8rem);
    }

    .portfolio-grid-new {
        grid-template-columns: 1fr;
    }

    .all-works-text {
        font-size: clamp(1.5rem, 10vw, 3rem);
    }
}

/* ==========================================================================
   ARBEITEN Title Inside Circle
   ========================================================================== */

.arbeiten-title-inside {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(3rem, 18vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.circle-expand-section.show-title .arbeiten-title-inside {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Emergence Section - Coming out of the hole
   ========================================================================== */

.emergence-section {
    height: 200vh;
    position: relative;
    background: #000;
}

.emergence-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.emergence-circle {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, #000 0%);
    transition: none;
    z-index: 5;
}

.emergence-light {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    z-index: 1;
}

/* Different style - hole shrinks revealing light */
.emergence-section.is-active .emergence-circle {
    background: radial-gradient(circle at center, transparent var(--hole-size, 0%), #000 var(--hole-size, 0%));
}

@media (max-width: 768px) {
    .arbeiten-title-inside {
        font-size: clamp(2rem, 15vw, 6rem);
    }
}

/* ==========================================================================
   Fixed Contact Element - Bottom Left
   ========================================================================== */

.fixed-contact {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 100;
    mix-blend-mode: difference;
}

.fixed-contact-email {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.fixed-contact-email:hover {
    opacity: 0.7;
}

.fixed-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fixed-contact-cta:hover {
    color: #fff;
}


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

.fixed-contact-cta:hover svg {
    transform: translate(2px, -2px);
}

/* Hide on small screens */
@media (max-width: 768px) {
    .fixed-contact {
        display: none;
    }
}

/* ==========================================================================
   Minimal Header - Adrian Mayer Style
   ========================================================================== */

.site-header--minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    z-index: 1000;
    mix-blend-mode: difference;
}

.header-left,
.header-right {
    flex: 1;
}

.header-right {
    text-align: right;
}

.header-descriptor,
.header-location {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
}

.header-logo-minimal {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-first {
    color: #fff;
}

.logo-last {
    color: #ff3333;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .site-header--minimal {
        padding: 1rem;
    }

    .header-descriptor,
    .header-location {
        display: none;
    }

    .header-logo-minimal {
        font-size: 0.75rem;
    }

    .header-left,
    .header-right {
        flex: 0;
    }
}

/* Ensure body has padding for fixed header */
body {
    padding-top: 0;
}

/* Fix for potential unwanted vertical lines */
body::before,
body::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
}

.site-header--minimal+.site-main {
    margin-top: 0;
}

/* ==========================================================================
   OVERRIDE - Minimal Header Fixes
   ========================================================================== */

.site-header.site-header--minimal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.5rem 2rem !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-bottom: none !important;
    z-index: 1000 !important;
    mix-blend-mode: difference !important;
    transform: none !important;
}

.site-header.site-header--minimal::after {
    display: none !important;
}

.site-header.site-header--minimal.is-scrolled,
.site-header.site-header--minimal.is-hidden {
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

/* Logo - All White, no red accent */
.logo-first,
.logo-last {
    color: #fff !important;
}

/* Optional: Make last name slightly bolder for subtle difference */
.logo-last {
    font-weight: 600;
}

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

.hero-section--minimal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--color-bg-primary);
}

.hero-content-minimal {
    text-align: center;
}

.hero-word {
    font-family: var(--font-display);
    font-size: clamp(4rem, 20vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

/* Minimal Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    display: block;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

/* Hide old scroll indicator */
.scroll-indicator {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-word {
        font-size: clamp(2.5rem, 15vw, 8rem);
    }

    .scroll-arrow {
        bottom: 2rem;
    }
}

/* Fix Hero Word Size - Smaller */
.hero-word {
    font-size: clamp(3rem, 12vw, 10rem) !important;
}

@media (max-width: 768px) {
    .hero-word {
        font-size: clamp(2rem, 10vw, 5rem) !important;
    }
}

/* ==========================================================================
   Page Load Animations - Fixed Elements
   ========================================================================== */

/* Initial hidden state */
.header-descriptor,
.header-logo-minimal,
.header-location,
.fixed-contact-email,
.fixed-contact-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Animate in on load */
.page-loaded .header-descriptor {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.page-loaded .header-logo-minimal {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.page-loaded .header-location {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.page-loaded .fixed-contact-email {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.page-loaded .fixed-contact-cta {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 1.1s;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   WERKSCHAU - Mobile Fix & Animation
   ========================================================================== */

/* Better mobile sizing */
.hero-word {
    font-size: clamp(2rem, 10vw, 10rem) !important;
    opacity: 0;
    transform: translateX(-100px);
}

/* Animate from left to right on load */
.page-loaded .hero-word {
    animation: slideInFromLeft 1s ease forwards;
    animation-delay: 0.2s;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile specific */
@media (max-width: 768px) {
    .hero-word {
        font-size: clamp(1.8rem, 12vw, 4rem) !important;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 480px) {
    .hero-word {
        font-size: clamp(1.5rem, 14vw, 3rem) !important;
    }
}

/* ==========================================================================
   Letter by Letter Animation
   ========================================================================== */

.hero-word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-word .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.page-loaded .hero-word .char {
    animation: charReveal 0.5s ease forwards;
    animation-delay: calc(0.1s + var(--i) * 0.08s);
}

@keyframes charReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Animation Sequence - WERKSCHAU first, then UI elements
   ========================================================================== */

/* Override previous animations */
.page-loaded .header-descriptor {
    animation: slideFromLeft 0.6s ease forwards !important;
    animation-delay: 1.2s !important;
}

.page-loaded .header-logo-minimal {
    animation: slideFromBottom 0.6s ease forwards !important;
    animation-delay: 1.4s !important;
}

.page-loaded .header-location {
    animation: slideFromRight 0.6s ease forwards !important;
    animation-delay: 1.6s !important;
}

.page-loaded .fixed-contact-email {
    animation: slideFromLeft 0.6s ease forwards !important;
    animation-delay: 1.8s !important;
}

.page-loaded .fixed-contact-cta {
    animation: slideFromBottom 0.6s ease forwards !important;
    animation-delay: 2.0s !important;
}

/* Different directions */
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Scroll Indicator - Prettier + Animated Last
   ========================================================================== */

.scroll-arrow {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    color: var(--color-text-muted);
}

.scroll-arrow::before {
    content: 'SCROLL';
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-arrow svg {
    display: block;
    stroke: rgba(255, 255, 255, 0.5);
}

/* Animate in last */
.page-loaded .scroll-arrow {
    animation: fadeInUp 0.8s ease forwards, scrollFloat 2s ease-in-out infinite 3s;
    animation-delay: 2.5s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ==========================================================================
   Hero Polish - Breathing Room + Cleaner Scroll
   ========================================================================== */

/* More space between WERKSCHAU and scroll */
.hero-content-minimal {
    margin-bottom: 15vh;
}

/* Scroll indicator - just arrow, no text */
.scroll-arrow::before {
    display: none !important;
}

.scroll-arrow {
    bottom: 4rem !important;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 1;
    opacity: 0.4;
}

/* Coords icon styling */
.coords-icon {
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.7;
}

.header-descriptor {
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   WERKSCHAU - Smoother Character Animation
   ========================================================================== */

.hero-word .char {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
}

.page-loaded .hero-word .char {
    animation: charRevealSmooth 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    animation-delay: calc(0.2s + var(--i) * 0.06s) !important;
}

@keyframes charRevealSmooth {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }

    60% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ==========================================================================
   Immersive Profile Section - Fullscreen Photo with Laser
   ========================================================================== */

.profile-immersive {
    background: var(--color-bg-primary);
}

.profile-photo-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.profile-photo-fullscreen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(30%);
}

/* Laser Scan Effect */
.laser-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent 100%);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: laserScan 4s ease-in-out infinite;
}

@keyframes laserScan {

    0%,
    100% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Overlay Content */
.profile-overlay-content {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    padding: 0 var(--space-xl);
}

.profile-info-flow {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.profile-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-tag:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Bio Section Below Photo */
.profile-bio-section {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.profile-bio-large {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.profile-skills-flow {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.skill-item {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .profile-photo-container {
        height: 70vh;
    }

    .profile-bio-large {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Fix Profile Photo - Full Photo + Red Glow Behind
   ========================================================================== */

.profile-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
    min-height: 100vh;
    padding: var(--space-2xl) 0;
}

.profile-photo-fullscreen {
    width: auto !important;
    height: auto !important;
    max-width: 500px;
    max-height: 80vh;
    object-fit: contain !important;
    filter: none !important;
    position: relative;
    z-index: 2;
}

/* Red Glow Effect Behind Photo */
.profile-photo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(255, 50, 50, 0.4) 0%,
            rgba(255, 50, 50, 0.2) 30%,
            rgba(255, 50, 50, 0.05) 60%,
            transparent 80%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Remove laser scan */
.laser-scan-line {
    display: none !important;
}

/* Remove tags overlay on photo */
.profile-overlay-content {
    display: none !important;
}

/* ==========================================================================
   Profile Photo - CLEAN (No WebGL effects)
   ========================================================================== */

/* Ensure profile photo is not affected by any effects */
.profile-photo-fullscreen,
.profile-photo-container img {
    filter: none !important;
    mix-blend-mode: normal !important;
}

/* No canvas overlays on profile */
.profile-photo-container canvas {
    display: none !important;
}

/* Remove any weird red filter */
.profile-immersive,
.profile-photo-container {
    mix-blend-mode: normal !important;
}

/* ==========================================================================
   Profile Photo - Enhanced Quality
   ========================================================================== */

.profile-photo-fullscreen {
    /* Enhance low-quality photo */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;

    /* Boost contrast and sharpness visually */
    filter: contrast(1.1) brightness(1.05) saturate(1.1) !important;

    /* Smooth scaling */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);

    /* Limit size to avoid pixelation */
    max-width: 400px !important;
    max-height: 600px !important;
    width: auto !important;
    height: auto !important;

    /* Add subtle shadow for depth */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Dark vignette overlay to hide edges/quality issues */
.profile-photo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
            transparent 30%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 3;
}

/* ==========================================================================
   Profile Photo - Hide Rectangle Edges
   ========================================================================== */

.profile-photo-fullscreen {
    /* Soft mask to blend into dark background */
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at center,
            black 40%,
            transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at center,
            black 40%,
            transparent 70%);
}

/* Remove box shadow since we are fading edges */
.profile-photo-fullscreen {
    box-shadow: none !important;
}

/* Stronger vignette */
.profile-photo-container::after {
    background: radial-gradient(circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.9) 80%,
            var(--color-bg-primary) 100%) !important;
}

/* ==========================================================================
   ALL WORKS Section - Fullscreen Dynamic
   ========================================================================== */

.all-works-section {
    min-height: 100vh !important;
    /* Full viewport for proper centering */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    position: relative;
}

.all-works-button {
    font-size: clamp(1.5rem, 5vw, 4rem) !important;
    /* Reduced from 8vw/6rem */
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.all-works-button:hover {
    transform: scale(1.05);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Emergence Circle - Smooth Transition to Profile
   ========================================================================== */

.emergence-section {
    min-height: 200vh !important;
    background: #000 !important;
}

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

.emergence-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vmax;
    height: 150vmax;
    background: radial-gradient(circle,
            transparent var(--hole-size, 100%),
            #000 var(--hole-size, 100%));
    transition: none;
    pointer-events: none;
}

/* Light/content behind the hole */
.emergence-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    z-index: -1;
}

/* Smooth connection to profile section */
.profile-immersive {
    margin-top: -1px;
    background: var(--color-bg-primary) !important;
}

/* ==========================================================================
   ALL WORKS - Sticky Scroll Behavior
   ========================================================================== */

.all-works-section {
    height: 200vh !important;
    min-height: 200vh !important;
    position: relative;
    background: #000 !important;
}

/* Portfolio Section New - Reduced Bottom Spacing */
.portfolio-section-new {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
    background: var(--color-bg-primary);
}

.portfolio-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 90vw;
    margin: 0 auto;
}

/* ... existing styles ... */

.all-works-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 15vh;
    /* Starts higher up, closer to projects */
    justify-content: center;
    background: #000;
}

.all-works-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
}

.all-works-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.all-works-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.all-works-count::before {
    content: '[ ';
}

.all-works-count::after {
    content: ' PROJECTS ]';
}

/* ==========================================================================
   Emergence - FAST Transition
   ========================================================================== */

.emergence-section {
    height: 100vh !important;
    min-height: 100vh !important;
}

/* Profile appears immediately after emergence */
.profile-immersive {
    position: relative;
    z-index: 10;
}

.profile-photo-container {
    min-height: auto !important;
    height: auto !important;
    padding: var(--space-xl) 0 !important;
}

/* ==========================================================================
   Emergence Section - Photo INSIDE Closing Circle
   ========================================================================== */

.emergence-section {
    height: 150vh !important;
    min-height: 150vh !important;
    position: relative;
    background: #000 !important;
}

.emergence-sticky {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #000 !important;
}

/* Photo behind the circle */
.emergence-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.emergence-photo img {
    max-width: 400px;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Circle overlay that closes */
.emergence-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 200vmax !important;
    height: 200vmax !important;
    background: radial-gradient(circle,
            transparent var(--hole-size, 100%),
            #000 var(--hole-size, 100%)) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Bio section after sticky */
.emergence-section .profile-bio-section {
    position: relative;
    z-index: 10;
    background: var(--color-bg-primary);
    padding: var(--space-2xl) 0;
}

/* ==========================================================================
   COMPLETE FIX - Emergence Circle + Photo
   ========================================================================== */

/* Force emergence styles */
.emergence-section {
    background: #000 !important;
    min-height: 150vh !important;
    position: relative !important;
}

.emergence-sticky {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    overflow: hidden !important;
}

/* Photo - Round with soft edges */
.emergence-photo {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.emergence-photo img {
    width: 300px !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 50% !important;
    box-shadow: 0 0 80px rgba(255, 50, 50, 0.3) !important;
}

/* Circle mask that closes - covers the photo */
.emergence-circle {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at center,
            transparent calc(var(--hole-size, 100%) * 1.5),
            #000 calc(var(--hole-size, 100%) * 1.5 + 1px)) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   NEW CIRCLE REVEAL SECTION - CLEAN IMPLEMENTATION
   ========================================================================== */

.circle-reveal-section {
    min-height: 300vh;
    background: #000;
    position: relative;
}

.circle-reveal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

/* Visible white circle that shrinks */
.shrinking-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--circle-size, 120vmax);
    height: var(--circle-size, 120vmax);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2), inset 0 0 50px rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none;
}

/* Photo in center */
.reveal-photo {
    position: relative;
    z-index: 5;
    opacity: var(--photo-opacity, 0);
    transform: scale(var(--photo-scale, 0.5));
    transition: opacity 0.3s ease;
}

.reveal-photo img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(255, 50, 50, 0.4);
}

/* Bio section after */
.circle-reveal-section .profile-bio-section {
    position: relative;
    z-index: 20;
    background: var(--color-bg-primary);
    padding: var(--space-2xl) 0;
}

/* ==========================================================================
   FIX - Bio Section hidden during circle animation
   ========================================================================== */

/* Bio section must be BELOW the sticky area, not visible during animation */
.circle-reveal-section .profile-bio-section {
    position: relative;
    z-index: 100;
    background: #0a0a0a;
    margin-top: 0;
    padding-top: var(--space-3xl);
}

/* Make sticky area cover full height */
.circle-reveal-sticky {
    z-index: 50;
}

/* Ensure bio stays hidden until you scroll past the sticky section */
.circle-reveal-section {
    background: #0a0a0a !important;
}

/* ==========================================================================
   Bio Section - Standalone (after circle reveal)
   ========================================================================== */

.profile-bio-standalone {
    background: var(--color-bg-primary);
    padding: var(--space-3xl) 0;
    text-align: center;
}

/* Circle reveal section - no extra content showing through */
.circle-reveal-section {
    min-height: 200vh !important;
}

/* ==========================================================================
   PREMIUM BIO SECTION - Award-worthy
   ========================================================================== */

.profile-bio-standalone {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    padding: 15vh 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grid background */
.profile-bio-standalone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Bio text - HUGE and impactful */
.profile-bio-large {
    font-family: var(--font-display) !important;
    font-size: clamp(1.5rem, 4vw, 2.8rem) !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
    color: #fff !important;
    max-width: 900px !important;
    margin: 0 auto var(--space-2xl) !important;
    letter-spacing: -0.01em;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Skills as floating pills with glow */
.profile-skills-flow {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    font-family: var(--font-mono) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 12px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 100px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.skill-item:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Animate skills on scroll */
.skill-item {
    opacity: 0;
    transform: translateY(20px);
    animation: skillFadeIn 0.6s ease forwards;
}

.skill-item:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-item:nth-child(2) {
    animation-delay: 0.2s;
}

.skill-item:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-item:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-item:nth-child(5) {
    animation-delay: 0.5s;
}

.skill-item:nth-child(6) {
    animation-delay: 0.6s;
}

.skill-item:nth-child(7) {
    animation-delay: 0.7s;
}

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

/* Circle animation improvements */
.shrinking-circle {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 0 100px rgba(255, 255, 255, 0.15),
        inset 0 0 100px rgba(255, 255, 255, 0.05) !important;
}

.reveal-photo img {
    box-shadow:
        0 0 80px rgba(255, 50, 50, 0.5),
        0 0 160px rgba(255, 50, 50, 0.3) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .profile-bio-standalone {
        padding: 10vh var(--space-lg);
    }

    .profile-bio-large {
        font-size: 1.2rem !important;
    }

    .skill-item {
        padding: 10px 18px !important;
        font-size: 0.6rem !important;
    }
}

/* ==========================================================================
   PROFILE ZOOM SECTION - Premium Scroll Experience
   ========================================================================== */

.profile-zoom-section {
    min-height: 100vh;
    /* Was 300vh - reduced for speed */
    background: #000;
    position: relative;
}

.profile-zoom-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

/* Photo - starts small, zooms in */
.profile-zoom-photo {
    transform: scale(var(--photo-scale, 0.3));
    opacity: var(--photo-opacity, 0);
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.profile-zoom-photo img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%) contrast(1.1);
}

/* Name appears below photo */
.profile-zoom-name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, var(--name-opacity, 0));
    margin-top: 3rem;
    transition: color 0.1s ease-out;
}

/* Red glow behind photo */
.profile-zoom-photo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 50, 50, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    opacity: var(--photo-opacity, 0);
}

.profile-zoom-photo {
    position: relative;
}

/* Mobile */
@media (max-width: 768px) {
    .profile-zoom-photo img {
        width: 200px;
        height: 280px;
    }

    .profile-zoom-name {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
    }
}

/* ==========================================================================
   Profile Photo - Soft Edges + Red Glow
   ========================================================================== */

/* Soft vignette mask to hide rectangle edges */
.profile-zoom-photo img {
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center,
            black 50%,
            transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at center,
            black 50%,
            transparent 100%);
}

/* Red glow behind photo - like blue behind WERKSCHAU */
.profile-zoom-sticky::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
            rgba(200, 30, 30, 0.25) 0%,
            rgba(150, 20, 20, 0.15) 30%,
            rgba(100, 10, 10, 0.05) 60%,
            transparent 80%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.profile-zoom-photo {
    z-index: 1;
}

.profile-zoom-name {
    z-index: 1;
}

/* Hide that random circle in top left */
.shrinking-circle,
.emergence-circle,
.circle-reveal-section {
    display: none !important;
}

/* ==========================================================================
   FORCE - Hide Photo Rectangle Completely
   ========================================================================== */

.profile-zoom-photo img {
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at center 40%,
            black 30%,
            transparent 70%) !important;
    mask-image: radial-gradient(ellipse 60% 55% at center 40%,
            black 30%,
            transparent 70%) !important;
}

/* Also add overlay vignette on top */
.profile-zoom-photo::before {
    content: '' !important;
    position: absolute !important;
    top: -20% !important;
    left: -20% !important;
    right: -20% !important;
    bottom: -20% !important;
    background: radial-gradient(ellipse 50% 45% at center 40%,
            transparent 30%,
            #000 70%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   RESET - Remove funeral vibes, make it ALIVE
   ========================================================================== */

/* Remove all that dark vignette stuff */
.profile-zoom-photo img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    width: 350px !important;
    height: auto !important;
    max-height: 500px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.profile-zoom-photo::before {
    display: none !important;
}

.profile-zoom-photo::after {
    display: none !important;
}

/* Keep the red glow but make it more vibrant/alive */
/* Subtle "Ghost Light" - Depth without Color */
.profile-zoom-sticky::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 60%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    display: block !important;
}

/* Make the name pop more */
.profile-zoom-name {
    font-weight: 400 !important;
    letter-spacing: 0.2em !important;
}

/* ==========================================================================
   Animated Red Glow - Breathing/Pulsing
   ========================================================================== */

.profile-zoom-sticky::before {
    animation: glowPulse 4s ease-in-out infinite !important;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Also hide that circle in top left */
.profile-zoom-sticky .shrinking-circle,
.all-works-sticky .shrinking-circle {
    display: none !important;
}

/* Any random circles */
body>.shrinking-circle {
    display: none !important;
}

/* ==========================================================================
   Fix Photo Loading - Start bigger, blur until ready
   ========================================================================== */

.profile-zoom-photo {
    /* Start at 70% size minimum, not tiny */
    transform: scale(max(var(--photo-scale, 0.3), 0.7)) !important;
}

/* Add blur that clears as photo zooms in */
.profile-zoom-photo img {
    filter: blur(calc(10px * (1 - var(--photo-opacity, 0)))) grayscale(20%) contrast(1.1) !important;
    transition: filter 0.3s ease-out !important;
}

/* [Block removed: caused conflicts with new animation] */

/* But not other important circles */
.status-dot {
    display: block !important;
    visibility: visible !important;
}

/* ==========================================================================
   Profile Statement - Powerful Quote
   ========================================================================== */

.profile-statement {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    opacity: var(--statement-opacity, 0);
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.profile-statement::before {
    content: '" ;

}

.profile-statement::after {
    content: \';
}

/* ==========================================================================
   Profile Ticker - Big scrolling statement
   ========================================================================== */

/* ==========================================================================
   Magazine Hero Layout
   ========================================================================== */

.magazine-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 150;
    /* Above closing-circle (z-100) */
    text-align: center;
    width: 90%;
    max-width: 1200px;
    opacity: 0;
    pointer-events: none;
}

.magazine-location {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.magazine-statement {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.magazine-photo-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    /* Ensure sizing matches photos */
    width: clamp(200px, 30vw, 350px);
}

.magazine-photo {
    width: 100%;
    /* Fill container */
    height: auto;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    /* Base filter */
    display: block;
}

.photo-base {
    position: relative;
    z-index: 1;
}

.photo-liquid {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    filter: url(#liquid-marble) grayscale(20%) contrast(1.1);
    /* Always distorted */
    opacity: 0;
    /* Hidden by default */
    /* Dynamic Mask */
    -webkit-mask-image: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), black 0%, transparent 100%);
    mask-image: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), black 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Remove hover effect from base */
.magazine-photo:hover {
    /* No CSS change */
}

/* Remove effect from CSS - handled by JS */

.magazine-title-left,
.magazine-title-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 4rem);
    /* Smaller to fit */
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.magazine-title-left {
    right: calc(100% + 1rem);
}

.magazine-title-right {
    left: calc(100% + 1rem);
}

/* Make sure photo is above ticker */
.profile-zoom-photo {
    z-index: 5 !important;
    position: relative !important;
}

.profile-zoom-name {
    z-index: 5 !important;
    position: relative !important;
}

/* ==========================================================================
   FIX - Restore cursor circle
   ========================================================================== */

.custom-cursor {
    display: block !important;
    visibility: visible !important;
}

/* ==========================================================================
   FIX - Restore Circle Expand Section (ARBEITEN)
   ========================================================================== */

/* Override the hide-all-circles rule for this specific section */
.circle-expand-section,
.circle-expand-section *,
.expanding-circle,
.circle-expand-sticky {
    display: block !important;
    visibility: visible !important;
}

.circle-expand-section {
    min-height: 200vh;
    background: #000;
    position: relative;
}

.circle-expand-sticky {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    overflow: hidden !important;
}

.expanding-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: var(--circle-size, 0px) !important;
    height: var(--circle-size, 0px) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}



.arbeiten-title-inside {
    font-family: var(--font-display) !important;
    font-size: clamp(3rem, 15vw, 12rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    opacity: var(--title-opacity, 0) !important;
    z-index: 10 !important;
    position: relative !important;
}

/* ==========================================================================
   FULL FIX - Cursor Circle + Expanding Circle
   ========================================================================== */

/* REMOVE the hide-all-circles rule - it was too aggressive */
[class*='circle'],
[class*='shrinking'] {
    display: block !important;
    visibility: visible !important;
}

/* Custom Cursor - Circle with blue dot */
.custom-cursor {
    position: fixed !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.2s, height 0.2s, border-color 0.2s !important;
    display: block !important;
    visibility: visible !important;
}

.custom-cursor::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--color-primary, #00d4ff) !important;
    border-radius: 50% !important;
}

/* Expanding Circle for ARBEITEN - force visible */
.expanding-circle {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
}

.circle-expand-section {
    display: block !important;
    visibility: visible !important;
}

/* ==========================================================================
   Circle Expand Section - FORCE CORRECT STYLES
   ========================================================================== */

.circle-expand-section {
    min-height: 300vh !important;
    height: 300vh !important;
    background: #000 !important;
    position: relative !important;
    overflow: visible !important;
    /* Allow circle to expand without clipping */
}

.circle-expand-sticky {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    overflow: visible !important;
    /* Allow circle to expand without clipping */
    z-index: 10 !important;
}

.expanding-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);

    width: 10px;
    height: 10px;

    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    border-radius: 50% !important;
    pointer-events: none !important;

    transition: none !important;
    will-change: width, height, opacity !important;
    transform-origin: center center !important;
    display: block !important;
    opacity: 1;
    z-index: 50 !important;
}

.arbeiten-title-inside {
    font-family: var(--font-display) !important;
    font-size: clamp(3rem, 10vw, 8rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    line-height: 0.9 !important;
    text-align: center !important;

    /* Clean look - no glow */
    text-shadow: none !important;

    visibility: visible !important;
    z-index: 9999 !important;
    position: relative !important;
    mix-blend-mode: normal !important;
    width: 100%;
    margin: 0;
    display: block !important;
    pointer-events: none;

    /* Ensure opacity is managed by JS but base is visible if JS fails */
    opacity: 0;
    transition: opacity 0.5s ease !important;
}

/* Ensure section is tall enough for the scroll effect */
.circle-expand-section {
    min-height: 250vh !important;
    height: 250vh !important;
}

/* ==========================================================================
   Cursor Hover Interaction
   ========================================================================== */
.custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   URGENT FIX - Hide Default Cursor
   ========================================================================== */
html,
body,
a,
button,
input,
select,
textarea,
.interactive {
    cursor: none !important;
}

/* Ensure custom cursor is top of everything */
.custom-cursor {
    z-index: 999999 !important;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }

    html,
    body,
    a,
    button,
    input,
    select,
    textarea,
    .interactive {
        cursor: auto !important;
    }
}

/* ==========================================================================
   Closing Circle Transition - Iris Wipe
   ========================================================================== */

.closing-circle-section {
    height: 350vh;
    /* Extended for circle close + skills reveal */
    background: #000;
    position: relative;
    z-index: 50;
    /* Above regular content */
    margin-top: -1px;
}

.closing-circle-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.closing-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vmax;
    /* Start massive (Open) */
    height: 150vmax;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* Same white style as top */
    /* The "Outside" of the circle is black */
    box-shadow: 0 0 0 500vmax #000;
    will-change: width, height;
    z-index: 100;
    /* Above skills content */
}

/* Skills content - revealed after circle closes */
.skills-content {
    position: relative;
    z-index: 150;
    /* Above the circle (100) */
    width: 100%;
    padding: clamp(4rem, 10vh, 6rem) 0;
    pointer-events: auto;
}

/* ==========================================================================
   Bio Section - Keyword Stack Layout
   ========================================================================== */

.bio-keyword-section {
    background: #000;
    /* Dark to match site */
    padding: clamp(4rem, 10vh, 8rem) 0;
    color: #fff;
}

.bio-keyword-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.bio-side-text {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.bio-side-text.bio-left {
    text-align: right;
}

.bio-side-text.bio-right {
    text-align: left;
}

.bio-keywords {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.bio-keywords .keyword {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bio-keyword-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-side-text.bio-left,
    .bio-side-text.bio-right {
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .bio-side-text.bio-left {
        order: 2;
    }

    .bio-keywords {
        order: 1;
    }

    .bio-side-text.bio-right {
        order: 3;
    }
}

/* ==========================================================================
   Fixed Social Links - Bottom Right
   ========================================================================== */

.fixed-social {
    position: fixed;
    bottom: 5rem;
    /* Higher to avoid scroll indicator */
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.fixed-social-link {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-style: italic;
    /* Match other fixed elements */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fixed-social-link:hover {
    color: #fff;
}

/* ==========================================================================
   Footer - Bold CTA Style
   ========================================================================== */

.site-footer {
    background: #000;
    padding: clamp(6rem, 15vh, 12rem) 2rem clamp(2rem, 5vh, 4rem);
}

/* Big CTA Hero */
.footer-cta-hero {
    text-align: center;
    margin-bottom: clamp(6rem, 15vh, 10rem);
}

.footer-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 2rem 0;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #0066FF;
    /* Orange accent like reference */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-cta-button:hover {
    color: #3388FF;
}

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

.footer-cta-button:hover svg {
    transform: translate(4px, -4px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-name {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: #9B8FFF;
    /* Light purple/lavender */
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #C4BBFF;
    /* Lighter purple on hover */
}

/* Mobile */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz)
   ========================================================================== */

.legal-page {
    background: #000;
    min-height: 100vh;
    padding: clamp(6rem, 15vh, 10rem) 2rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p,
.legal-section li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.legal-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

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

.legal-section a {
    color: #0066FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #3388FF;
}

/* ==========================================================================
   Archive Hero - Portfolio Page
   ========================================================================== */

.archive-hero {
    padding: clamp(8rem, 20vh, 12rem) 0 clamp(3rem, 8vh, 5rem);
    background: #000;
}

.archive-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}

/* ==========================================================================
   Skills Section - Kompetenzen
   ========================================================================== */

.skills-section {
    padding: clamp(6rem, 15vh, 10rem) 0;
    background: #000;
}

.skills-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(3rem, 8vh, 5rem);
    text-align: center;
}

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

.skill-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.skill-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-4px);
}

.skill-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.skill-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-name {
    color: #00F0FF;
}

.skill-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-tags span {
    border-color: rgba(0, 240, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
}

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

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

    .skill-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Profile Statement Section
   ========================================================================== */

.profile-statement-section {
    padding: clamp(6rem, 15vh, 10rem) 0;
    background: #000;
}

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

.profile-statement-text {
    padding-right: 2rem;
}

.profile-statement-text .statement-line {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.profile-statement-text .statement-line:last-child {
    color: rgba(255, 255, 255, 0.5);
}

.profile-statement-image {
    position: relative;
}

.profile-statement-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.profile-titles {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.profile-titles .title-left {
    color: #00F0FF;
}

.profile-titles .title-right {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .profile-statement-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .profile-statement-text {
        padding-right: 0;
    }

    .profile-statement-image img {
        max-width: 280px;
    }
}

/* ==========================================================================
   404 Minimal Page
   ========================================================================== */

.error-404-minimal {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 6rem 0;
}

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

.error-number {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 700;
    line-height: 0.8;
    margin: 0 0 2rem;
    color: #fff;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: #00F0FF;
}

.error-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-button {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.error-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ==========================================================================
   Mobile Headline Fix (Geheimtipp)
   ========================================================================== */
@media (max-width: 768px) {
    .statement-text {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        /* Allow wrapping */
        word-wrap: break-word !important;
    }

    .statement-line {
        height: auto !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
        /* Ensure block layout for wrapping */
    }

    .statement-lines {
        display: block !important;
    }

    .statement-section {
        padding: 4rem 1rem !important;
        min-height: auto !important;
    }
}

/* ==========================================================================
   MOBILE FIX: Remove Closing Circle Animation in Kompetenzen - ULTRA FORCE
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. Hide the Circle Element & Pseudo-elements */
    html body .closing-circle,
    html body .closing-circle::before,
    html body .closing-circle::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        content: none !important;
    }

    /* 2. Force Content Visibility */
    html body .skills-content {
        opacity: 1 !important;
        pointer-events: all !important;
        transform: none !important;
        position: relative !important;
        z-index: 10 !important;
        margin-top: 0 !important;
    }

    /* 3. Kill Sticky Scroll Behavior */
    html body .closing-circle-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-top: 4rem !important;
        /* var(--space-xl) */
        padding-bottom: 4rem !important;
        overflow: visible !important;
        position: relative !important;
    }

    html body .closing-circle-sticky {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
    }
}