/* ========================================
   Aaron Kastl - Retro Terminal Design
   VOLLSTÄNDIG MIT MOBILE OPTIMIERUNGEN
   ======================================== */

:root {
    --bg-dark: #1A1A1A;
    --bg-card: #242424;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --accent-green: #00BFA5;
    --accent-blue: #4FC3F7;
    --accent-hover: #00E5CC;
    --border-color: #333333;
    --shadow: rgba(0, 0, 0, 0.5);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

.light-theme {
    --bg-dark: #F5F5F5;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --accent-green: #00897B;
    --accent-blue: #0288D1;
    --accent-hover: #00BFA5;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ========================================
   Boot Screen Animation
   ======================================== */

#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 0.5s ease 3s forwards;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.terminal-text {
    font-family: var(--font-mono);
    color: var(--accent-green);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.boot-line {
    opacity: 0;
    animation: bootLine 0.3s ease forwards;
    margin: 0.5rem 0;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    padding: clamp(0.3rem, 1vw, 0.5rem) 0;
}

.boot-line:nth-child(1) { animation-delay: 0.2s; }
.boot-line:nth-child(2) { animation-delay: 0.6s; }
.boot-line:nth-child(3) { animation-delay: 1s; }
.boot-line:nth-child(4) { animation-delay: 1.4s; }
.boot-line.ready { animation-delay: 1.8s; font-weight: bold; }

.cursor {
    animation: blink 1s infinite;
}

@keyframes bootLine {
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { 
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   Navigation - MOBILE OPTIMIERT
   ======================================== */

.main-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
}

.nav-brand {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--accent-green);
    z-index: 1001;
}

.prompt {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-green);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    z-index: 1001;
}

.theme-btn:hover {
    background: var(--bg-card);
    border-color: var(--accent-green);
}

/* Mobile Burger Menu */
.nav-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent-green);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: 0.25s ease-in-out;
}

.nav-toggle span:nth-child(1) {
    top: 0px;
}

.nav-toggle span:nth-child(2) {
    top: 10px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

.nav-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.nav-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* ========================================
   Hero Section - MOBILE OPTIMIERT
   ======================================== */

.hero {
    padding: clamp(2rem, 8vw, 6rem) 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.8;
}

.typing-text {
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: clamp(140px, 30vw, 180px);
    min-height: 44px;
}

.btn-primary {
    background: var(--accent-green);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 165, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: #000;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========================================
   Terminal Window - MOBILE OPTIMIERT
   ======================================== */

.hero-terminal {
    animation: fadeIn 1s ease 3.5s backwards;
}

.terminal-window {
    background: #0D0D0D;
    border: 1px solid var(--border-color);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    overflow: hidden;
    box-shadow: 0 10px 50px var(--shadow);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.terminal-header {
    background: #1E1E1E;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background: #FF5F56; }
.terminal-button.yellow { background: #FFBD2E; }
.terminal-button.green { background: #27C93F; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: var(--text-secondary);
    margin-left: auto;
}

.terminal-body {
    padding: clamp(1rem, 3vw, 1.5rem);
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    line-height: 1.6;
}

.terminal-line {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.terminal-output {
    color: var(--accent-green);
    margin: 1rem 0;
    line-height: 1.8;
}

.cursor-blink {
    animation: blink 1s infinite;
}

/* ========================================
   Info Cards - MOBILE OPTIMIERT
   ======================================== */

.info-cards {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: var(--bg-card);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.info-card {
    background: var(--bg-dark);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px var(--shadow);
}

.card-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.info-card h3 {
    color: var(--accent-green);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ========================================
   Projects - MOBILE OPTIMIERT
   ======================================== */

.projects-header {
    padding: clamp(2rem, 6vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
    text-align: center;
}

.projects-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    padding: clamp(1rem, 3vw, 2rem) 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    white-space: nowrap;
    min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-green);
    color: #000;
    border-color: var(--accent-green);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 4rem);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px var(--shadow);
}

.project-image {
    width: 100%;
    height: clamp(200px, 40vw, 250px);
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: clamp(1rem, 3vw, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    padding: clamp(0.2rem, 0.5vw, 0.25rem) clamp(0.6rem, 1.5vw, 0.75rem);
    background: var(--accent-green);
    color: #000;
    border-radius: 0.25rem;
    font-size: clamp(0.7rem, 1.5vw, 0.75rem);
    font-weight: 600;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    font-family: var(--font-mono);
    width: fit-content;
}

.project-card h3 {
    color: var(--text-primary);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.project-links {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-top: clamp(0.75rem, 2vw, 1rem);
    padding-top: clamp(0.75rem, 2vw, 1rem);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
}

.project-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    font-family: var(--font-mono);
    transition: all 0.3s ease;
    min-height: 44px;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-link.github {
    border-color: #569c36;
}

.project-link.github:hover {
    background: #6cc644;
    color: #fff;
    border-color: #569c36;
}

.project-link.youtube {
    border-color: #FF0000;
}

.project-link.youtube:hover {
    background: #FF0000;
    color: #fff;
    border-color: #FF0000;
}

.no-projects {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

/* ========================================
   About Page - MOBILE OPTIMIERT
   ======================================== */

.about-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.about-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-header p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    background: var(--bg-card);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--border-color);
    line-height: 1.8;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.interest-card {
    background: var(--bg-card);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
}

.interest-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.interest-card h3 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.interest-card p {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

/* ========================================
   Contact Form - MOBILE OPTIMIERT
   ======================================== */

.contact-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
    min-height: 70vh;
}

.contact-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.contact-form,
.contact-info {
    background: var(--bg-card);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.form-group label {
    display: block;
    margin-bottom: clamp(0.4rem, 1vw, 0.5rem);
    color: var(--text-primary);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 0.875rem);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: clamp(0.375rem, 1vw, 0.5rem);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.form-group textarea {
    min-height: clamp(120px, 30vw, 150px);
    resize: vertical;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.consent-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: clamp(18px, 4vw, 20px);
    height: clamp(18px, 4vw, 20px);
    min-width: 18px;
}

.consent-group label {
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: clamp(0.875rem, 2.5vw, 1rem);
    background: var(--accent-green);
    color: #000;
    border: none;
    border-radius: clamp(0.375rem, 1vw, 0.5rem);
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 165, 0.4);
}

.success-message {
    padding: 1rem;
    background: rgba(0, 191, 165, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 0.5rem;
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-message {
    padding: 1rem;
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid #FF5F56;
    border-radius: 0.5rem;
    color: #FF5F56;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-info h2 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    min-height: 44px;
}

.social-link:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ========================================
   Legal Pages - MOBILE OPTIMIERT
   ======================================== */

.legal-section {
    padding: clamp(2rem, 6vw, 4rem) 0;
    min-height: 70vh;
}

.legal-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.legal-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    color: var(--accent-green);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: clamp(1.05rem, 2.2vw, 1.1rem);
    margin-top: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.legal-content ul {
    margin-left: 2rem;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-content a {
    color: var(--accent-green);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ========================================
   Status Bar - MOBILE OPTIMIERT
   ======================================== */

.status-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.status-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    font-family: var(--font-mono);
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: var(--text-secondary);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: var(--accent-green);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Footer - MOBILE OPTIMIERT
   ======================================== */

.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
}

.footer-content p {
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

.footer-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

.footer-links a:hover {
    color: var(--accent-green);
}

/* ========================================
   Scroll to Top Button
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.6);
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    animation: fadeIn 1s ease 3.5s backwards;
}

.slide-up {
    animation: slideUp 0.6s ease backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small Mobile */
@media (max-width: 480px) {
    .terminal-line {
        font-size: 0.8rem;
    }
    
    .maintenance-message br {
        display: none;
    }
}

/* Tablets und größere Phones */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--bg-card);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--accent-green);
        color: #000;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .status-bar .container {
        justify-content: center;
    }
    
    .project-links {
        flex-direction: column;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        text-align: left;
    }
    
    .status-bar .container {
        justify-content: space-between;
    }
}

/* Large Tablets and Small Laptops */
@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .project-links {
        flex-direction: row;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .terminal-window {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .info-cards {
        padding: 1.5rem 0;
    }
    
    .projects-header {
        padding: 2rem 0 1rem;
    }
    
    .terminal-box {
        padding: 1.5rem;
    }
    
    .maintenance-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .maintenance-container {
        max-width: 900px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn,
    .filter-btn,
    .project-link,
    .social-link {
        border-width: 2px;
    }
}

/* Touch Optimierungen */
@media (hover: none) and (pointer: coarse) {
    /* Touch-Geräte */
    .btn,
    .filter-btn,
    .project-link,
    .social-link {
        min-height: 44px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}