/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* CSS Variables - Dark Theme (Standard) */
:root {
    --background: hsl(220, 20%, 8%);
    --foreground: hsl(48, 30%, 95%);
    --muted: hsl(220, 15%, 15%);
    --muted-foreground: hsl(48, 20%, 75%);
    --card: hsl(220, 15%, 12%);
    --card-foreground: hsl(48, 30%, 95%);
    --border: hsl(220, 15%, 25%);
    --primary: hsl(90, 30%, 60%);
    --primary-foreground: hsl(220, 20%, 8%);
    --secondary: hsl(220, 15%, 15%);
    --secondary-foreground: hsl(48, 30%, 95%);
    --accent: hsl(90, 30%, 60%);
    --accent-foreground: hsl(220, 20%, 8%);
    --destructive: hsl(0, 75%, 55%);
    --destructive-foreground: hsl(48, 30%, 95%);
    --ring: hsl(90, 30%, 60%);
    --radius: 0.5rem;
    
    /* Forest-specific colors */
    --forest-green: hsl(120, 40%, 20%);
    --warm-brown: hsl(25, 55%, 25%);
    --golden-yellow: hsl(45, 85%, 40%);
    --sage: hsl(90, 25%, 40%);
    --cream: hsl(48, 30%, 98%);
    --deep-forest: hsl(120, 50%, 5%);
    --midnight-blue: hsl(240, 90%, 15%);
    --silver: hsl(220, 15%, 65%);
    --lavender: hsl(270, 25%, 85%);
    --charcoal: hsl(220, 20%, 15%);
    
    /* Z-Index System */
    --z-background: -2;
    --z-overlay: -1;
    --z-base: 0;
    --z-section: 1;         /* Sections */
    --z-decorative: 5;      /* Eicheln - ÜBER sections */
    --z-content: 10;        /* Content über den Eicheln */
    --z-sticky: 100;        /* Für sticky Elemente */
    --z-modal: 500;         /* Für Modals */
    --z-navigation: 1000;   /* Navigation immer oben */
    --z-tooltip: 1100;      /* Tooltips über allem */
}

body {
    background-color: var(--background);
    color: var(--foreground);
}

/* Sections brauchen keinen z-index, nur position relative */
section {
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: var(--z-content);
}

/* Alle Content-Elemente müssen über den Eicheln sein */
.skill-category,
.timeline-card,
.experience-card,
.network-section,
.contact-grid,
.contact-actions {
    position: relative;
    z-index: var(--z-content);
}

/* Buttons müssen auch über den Eicheln sein */
.btn {
    position: relative;
    z-index: var(--z-content);
}

/* Alle Text-Elemente müssen über den Eicheln sein */
.hero-name,
.hero-subtitle,
.hero-description,
.section-title,
.section-description,
.section-subdescription,
.category-title,
.timeline-client,
.timeline-title,
.timeline-description,
.experience-title,
.experience-description,
.network-title,
.network-description,
.contact-title,
.contact-description,
p, h1, h2, h3, h4, h5, h6,
.skill-pill,
.tag,
.footer-title,
.footer-description,
.footer-heading,
.footer-list {
    position: relative;
    z-index: var(--z-content);
}

/* Navigation */
.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navigation);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(var(--primary), 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: var(--foreground);
    font-size: 1.25rem;
}

.theme-toggle:hover {
    background-color: rgba(var(--primary), 0.1);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--foreground);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-menu {
    display: none;
    background: rgba(var(--background), 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(var(--border), 0.2);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
    background-color: rgba(var(--primary), 0.1);
}

/* Parallax and Sections */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: var(--z-background);
    will-change: transform;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: var(--z-overlay);
    background: rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
}

.hero-bg {
    background-position-y: top;
    background-image: url('../images/backgrounds/hero-canopy.jpg');
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    max-width: 800px;
    z-index: var(--z-content);
    position: relative;
}

/* Claude Code Logo in Hero */
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-claude-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
    filter: brightness(1.1);
}

.hero-claude-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

.hero-content * {
    color: #ffffff;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.hero-name {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--foreground);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.section-subdescription {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* Skills Section */
.skills-section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
}

.skills-bg {
    background-image: url('../images/backgrounds/trunk-texture.jpg');
    background-size: 200%;
}

.skills-grid {
    display: grid;
    gap: 3rem;
}

.skill-category {
    position: relative;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-line {
    width: 2rem;
    height: 4px;
    background: var(--primary);
    margin-right: 1rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.category-line-flex {
    flex: 1;
    height: 1px;
    background: var(--border);
    margin-left: 1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-left: 3rem;
}

.skill-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.skill-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.skill-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--border);
}

.skill-secondary:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.skill-accent {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.skill-accent:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.skill-sage {
    background: hsl(90, 30%, 60%);
    color: hsl(220, 20%, 8%);
    border-color: hsl(90, 30%, 60%);
}
.skill-sage:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.skill-forest {
    background: hsl(120, 40%, 40%);
    color: hsl(220, 20%, 8%);
    border-color: hsl(120, 40%, 40%);
}

.skill-forest:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Projects Section */
.projects-section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
}

.projects-bg {
    background-image: url('../images/backgrounds/trunk-texture.jpg');
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--warm-brown), var(--forest-green));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-left {
    justify-content: flex-end;
}

.timeline-right {
    justify-content: flex-start;
}

.timeline-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

.timeline-client {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.tag {
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 4px solid var(--background);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: calc(var(--z-content) + 1); /* Leicht über den Karten */
    box-shadow: 0 0 0 4px rgba(var(--primary), 0.2);
}

.timeline-dot-primary {
    background: var(--primary);
}

.timeline-dot-accent {
    background: var(--accent);
}

.timeline-card-special {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(107, 142, 35, 0.1));
    backdrop-filter: blur(10px);
    color: var(--cream);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.timeline-card-special .timeline-client,
.timeline-card-special .timeline-title,
.timeline-card-special .timeline-date,
.timeline-card-special .timeline-description {
    color: var(--cream);
}

.timeline-dot-special {
    background: var(--golden-yellow);
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.3);
}

.timeline-cta {
    margin-top: 1.5rem;
}

.timeline-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--golden-yellow);
    color: var(--deep-forest);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--cream);
    border-color: var(--golden-yellow);
}

.timeline-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Experience Section */
.experience-section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
}

.experience-bg {
    background-image: url('../images/backgrounds/roots-texture.jpg');
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.experience-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.experience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--sage);
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-foreground);
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Network Section */
.network-section {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 0.75rem;
    padding: 3rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.network-header {
    text-align: center;
    margin-bottom: 2rem;
}

.network-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.network-description {
    color: var(--foreground);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.network-category {
    text-align: left;
}

.network-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.network-companies {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.875rem;
}

.network-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.network-footer p {
    color: var(--muted-foreground);
    font-style: italic;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background-image: url('../images/backgrounds/growth-leaves.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.contact-section > * {
    position: relative;
    z-index: var(--z-content);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
}

.contact-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-icon-svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.contact-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 2rem 0;
}

.footer .container {
    max-width: 900px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section {
    text-align: left;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-foreground);
}

.footer-logo {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.footer-description {
    color: var(--primary-foreground);
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--primary-foreground);
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    color: var(--primary-foreground);
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--primary-foreground);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* Footer Email Link */
.footer-email-link {
    color: var(--primary-foreground);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-email-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer Legal Section */
.footer-legal {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-legal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.footer-legal-title:first-child {
    margin-top: 0;
}

.footer-legal-content {
    color: var(--primary-foreground);
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 826px;
    margin: 0 auto;
    text-align: left;
}

.footer-legal-content p {
    margin-bottom: 1.5rem;
}

.footer-legal-content strong {
    color: var(--primary-foreground);
    opacity: 1;
}

.footer-legal-content a {
    color: var(--primary-foreground);
    opacity: 0.9;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-legal-content a:hover {
    opacity: 1;
}

/* Falling Leaves Animation */
.falling-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-decorative); /* Über sections aber unter content */
    overflow: hidden;
}

.falling-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.6;
    animation: fall linear infinite;
}

.falling-leaf img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(20%) saturate(80%) hue-rotate(60deg) brightness(0.8);
}

@keyframes fall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(var(--drift, 0)) rotate(180deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 4rem;
    }
    
    .timeline-card {
        width: calc(100% - 4rem);
    }
    
    .timeline-dot {
        left: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .network-section {
        padding: 2rem 1rem;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .falling-leaves {
        display: none;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav-glass,
    .falling-leaves,
    .hero-actions,
    .contact-actions {
        display: none;
    }
    
    .parallax-bg,
    .section-overlay {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}