/**
 * ASLAN4U - Main Stylesheet
 * Clean, Premium, Modern Design with SERIOUS/LAB Modes
 */

/* ============================================
   CSS VARIABLES & THEMES
   ============================================ */
:root {
    /* Colors - SERIOUS Mode (Default) */
    --primary: #E67E22;           /* Orange - Murat's Brand */
    --primary-dark: #D35400;
    --primary-light: #F39C12;
    --secondary: #2C3E50;
    --accent: #3498DB;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --black: #000000;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
    --content-width: 900px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* LAB Mode Colors */
.privat-mode {
    --primary: #9CA3AF;           /* Cyan/Teal - Tech/Nerd */
    --primary-dark: #6B7280;
    --primary-light: #D1D5DB;
    --secondary: #0A0A0F;
    --accent: #78716C;

    --gray-50: #18181B;
    --gray-100: #1F1F23;
    --gray-200: #27272A;
    --gray-300: #3F3F46;
    --gray-400: #52525B;
    --gray-500: #71717A;
    --gray-600: #A1A1AA;
    --gray-700: #D4D4D8;
    --gray-800: #E4E4E7;
    --gray-900: #F4F4F5;

    --white: #0F0F12;
    --black: #FAFAFA;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.privat-mode body {
    color: var(--gray-800);
    background-color: var(--secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 0.5em;
}

.privat-mode h1, .privat-mode h2, .privat-mode h3,
.privat-mode h4, .privat-mode h5, .privat-mode h6 {
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--gray-600); }
.text-muted { color: var(--gray-500); }

.font-mono { font-family: var(--font-mono); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-sm {
    padding: 4rem 0;
}

.section-lg {
    padding: 8rem 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

/* ============================================
   iPad QUERFORMAT (Landscape) - 1024px bis 1400px
   ============================================ */
@media (min-width: 1024px) and (max-width: 1400px) {
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Skills Grid - 2 Spalten */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Expertise Grid - 2 Spalten mit gleichen Abständen */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Now Block - gleiche Abstände */
    .now-block {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.5rem; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition);
}

.privat-mode .header {
    background: rgba(15, 15, 18, 0.95);
    border-bottom-color: var(--gray-200);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.privat-mode .logo {
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text span {
    color: var(--primary-dark);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.privat-mode .nav-links a {
    color: var(--gray-600);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.privat-mode .nav-links a:hover,
.privat-mode .nav-links a.active {
    background: var(--gray-100);
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
}

.mode-toggle span {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    color: var(--gray-500);
}

.mode-toggle span.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.privat-mode .mode-toggle {
    background: var(--gray-200);
}

.privat-mode .mode-toggle span.active {
    background: var(--gray-100);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 1.5rem;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
}

.mobile-nav.open {
    transform: translateX(0);
}

.privat-mode .mobile-nav {
    background: var(--secondary);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--gray-100);
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.privat-mode .hero {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--gray-50) 100%);
}

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

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-subtitle span {
    position: relative;
}

.hero-subtitle span:not(:last-child)::after {
    content: '•';
    margin-left: 0.5rem;
    color: var(--gray-400);
}

.hero-pitch {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.privat-mode .hero-pitch {
    color: var(--gray-600);
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.2;
}

/* Hero Image HUD Tags */
.hero-image-hud {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 10;
}

.hud-tag {
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(230, 126, 34, 0.3);
    backdrop-filter: blur(5px);
}

.privat-mode .hud-tag {
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary);
    border-color: rgba(156, 163, 175, 0.4);
    box-shadow: 0 0 10px rgba(156, 163, 175, 0.2);
    animation: hudPulse 2s ease-in-out infinite;
}

@keyframes hudPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ============================================
   PAGE HEADER (for non-hero pages)
   ============================================ */
.page-header {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.privat-mode .page-header {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--gray-50) 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.page-header .page-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 600px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--gray-500);
}

.page-header .breadcrumb a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    color: var(--primary);
}

.page-header .breadcrumb i {
    font-size: 0.65rem;
    opacity: 0.5;
}

/* Home Page Header - Special Layout */
.home-header {
    padding-bottom: 2rem;
}

.home-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-header-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.3);
}

.home-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.home-header-text h1 {
    margin-bottom: 0.25rem;
}

.home-header-text .page-subtitle {
    margin-bottom: 0.75rem;
}

.home-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-header-tags span {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
}

.home-header-tags span.highlight {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.privat-mode .home-header-tags span {
    background: rgba(230, 126, 34, 0.2);
}

/* Home Intro Section */
.home-intro {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.home-intro-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.home-intro .hero-status-badge {
    display: inline-flex;
    margin-bottom: 1rem;
}

.home-intro .hero-pitch {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.home-intro .hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image-hud {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.privat-mode .btn-outline {
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.privat-mode .card {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

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

.card-image {
    margin: -2rem -2rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.badge-live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-aktiv {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.badge-konzept {
    background: rgba(168, 85, 247, 0.1);
    color: #78716C;
}

.badge-archiv {
    background: rgba(100, 116, 139, 0.1);
    color: var(--gray-500);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

.privat-mode .tag {
    background: var(--gray-200);
}

/* ============================================
   NOW BLOCK
   ============================================ */
.now-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin: 4rem 0;
}

.now-block h2 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.now-block h2 i {
    font-size: 0.8em;
}

.now-block p {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-category h3 {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.skill-bar-track {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

.privat-mode .timeline-item::before {
    border-color: var(--secondary);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

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

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

.gallery-item-title {
    color: white;
    font-weight: 600;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-800);
    transition: border-color var(--transition-fast);
}

.privat-mode .form-input,
.privat-mode .form-select,
.privat-mode .form-textarea {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.privat-mode .footer {
    background: var(--gray-50);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin-top: 1rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.privat-mode .footer h4 {
    color: var(--gray-900);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.privat-mode .footer-social a {
    background: var(--gray-200);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.privat-mode .footer-bottom {
    border-top-color: var(--gray-300);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ============================================
   PROGRESSIVE READING (Kurz/Mittel/Deep)
   ============================================ */
.reading-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.reading-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: all var(--transition-fast);
}

.reading-tab:hover {
    color: var(--gray-700);
}

.reading-tab.active {
    color: var(--primary);
    background: var(--gray-100);
}

.reading-content {
    display: none;
}

.reading-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ============================================
   PROJEKT FILTER
   ============================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* ============================================
   LAB MODE EXTRAS
   ============================================ */
.privat-mode .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(156, 163, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Scanline effect for LAB mode (subtle) */
.privat-mode .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    border-radius: var(--radius-xl);
}

/* Terminal-style badge in LAB mode */
.privat-mode .card-badge {
    font-family: var(--font-mono);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

/* Responsive visibility */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */
.bg-light {
    background-color: var(--gray-50);
}

.privat-mode .bg-light {
    background-color: var(--gray-100);
}

.bg-dark {
    background-color: var(--gray-900);
    color: var(--gray-100);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.bg-gradient {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.privat-mode .bg-gradient {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--gray-50) 100%);
}

/* ============================================
   ACCESSIBILITY - Skip Link (WCAG 2.1)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* ============================================
   FIX: KEINE DOPPELTE SCROLLBAR AUF MOBILE
   ============================================ */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        overflow-y: scroll !important; /* NUR html scrollt */
        height: 100%;
    }

    body {
        overflow-x: hidden;
        overflow-y: visible !important; /* body NICHT separat scrollen */
        min-height: 100%;
    }
}
