/* Fade-In Animation für Sections */
.fade-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Light-Mode */
body.light-mode {
    background: #f3f3f3;
    color: #23272f;
}
body.light-mode header {
    background: #ffe066;
    color: #23272f;
}
body.light-mode .github-projects,
body.light-mode .project-card {
    background: #fffbe6;
    color: #23272f;
}
body.light-mode .project-card {
    box-shadow: 0 2px 12px #ffe06677;
}
body.light-mode .project-card a {
    background: #23272f;
    color: #ffe066;
}
body.light-mode .project-card a:hover {
    background: #ffe066;
    color: #23272f;
    border: 1px solid #23272f;
}

/* Accordion für Skills */
.skills ul.collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
    padding: 0;
    margin: 0;
}
.skills ul {
    max-height: 500px;
    transition: max-height 0.5s;
}
/* GitHub-Projektkarten */
.github-projects {
    background: #23272f;
    padding: 2.5rem 0 2.5rem 0;
}
.github-projects h3 {
    color: #ffe066;
    font-family: 'Orbitron', Arial, sans-serif;
    margin-bottom: 2rem;
    text-align: center;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 900px;
}
.project-card {
    background: #181a20;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0007;
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #ffe06644, 0 2px 12px #000a;
}
.project-card h4 {
    margin: 0 0 0.7rem 0;
    color: #ffe066;
    font-size: 1.2rem;
}
.project-card p {
    margin: 0 0 1.2rem 0;
    color: #f3f3f3;
    font-size: 1rem;
}
.project-card a {
    margin-top: auto;
    color: #23272f;
    background: #ffe066;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
}
.project-card a:hover {
    background: #23272f;
    color: #ffe066;
    border: 1px solid #ffe066;
}
/* Community Button */
.community-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 1.7rem;
    background: linear-gradient(90deg, #ffe066 60%, #23272f 100%);
    color: #23272f;
    font-family: 'Orbitron', Arial, sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #0006;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.community-btn:hover {
    background: linear-gradient(90deg, #ffe066 80%, #23272f 100%);
    color: #181a20;
    transform: scale(1.05);
}
/* Profilbild und Hero-Flexbox */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-profile {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profilbild {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #ffe066;
    box-shadow: 0 4px 24px #ffe06644, 0 2px 8px #000a;
    object-fit: cover;
    background: #23272f;
}
.hero-content {
    flex: 1 1 300px;
    min-width: 220px;
    text-align: left;
}
.hero-content h2 {
    margin-top: 0;
}
.alias {
    margin: 0.7rem 0 1.2rem 0;
    font-size: 1.1rem;
    color: #ffe066;
    font-family: 'Orbitron', Arial, sans-serif;
}
@media (max-width: 700px) {
    .hero-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-content {
        text-align: center;
    }
}

    /* Dynamische Animationen */
    .profilbild {
        animation: floatProfile 3.5s ease-in-out infinite;
    }
    @keyframes floatProfile {
        0% { transform: translateY(0); }
        50% { transform: translateY(-18px); }
        100% { transform: translateY(0); }
    }

    section h3 {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1.2s cubic-bezier(.4,1.4,.6,1) forwards;
        animation-delay: 0.3s;
    }
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .social-links a {
        will-change: transform;
    }
    .social-links a:hover {
        animation: wiggle 0.5s;
    }
    @keyframes wiggle {
        0% { transform: scale(1.15) rotate(0deg); }
        20% { transform: scale(1.18) rotate(-8deg); }
        40% { transform: scale(1.13) rotate(7deg); }
        60% { transform: scale(1.18) rotate(-5deg); }
        80% { transform: scale(1.15) rotate(3deg); }
        100% { transform: scale(1.15) rotate(0deg); }
    }

    section {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1.1s, transform 1.1s;
    }
    section.visible {
        opacity: 1;
        transform: translateY(0);
    }
/*
Modernes, dunkles und gaming-orientiertes Design für ZitroneEmu139
*/

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #181a20;
    color: #f3f3f3;
}

header {
    background: #23272f;
    box-shadow: 0 2px 8px #000a;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}
header h1 {
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 2.2rem;
    color: #ffe066;
    letter-spacing: 2px;
    margin: 0;
}
nav a {
    color: #f3f3f3;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    transition: color 0.2s;
}
nav a:hover {
    color: #ffe066;
}

.hero {
    background: linear-gradient(120deg, #23272f 60%, #ffe06622 100%);
    padding: 3rem 0 2rem 0;
    text-align: center;
}
.hero h2 {
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 2rem;
    color: #ffe066;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.social-links {
    margin-top: 1.5rem;
}
.social-links a {
    display: inline-block;
    margin: 0 0.7rem;
    transition: transform 0.2s;
}
.social-links img {
    width: 36px;
    height: 36px;
    filter: brightness(0.9) drop-shadow(0 0 6px #ffe06644);
}
.social-links a:hover {
    transform: scale(1.15);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    margin: 2.5rem 0;
}
section h3 {
    font-family: 'Orbitron', Arial, sans-serif;
    color: #ffe066;
    margin-bottom: 1rem;
}
.skills ul {
    list-style: none;
    padding: 0;
}
.skills li {
    background: #23272f;
    margin-bottom: 0.7rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    box-shadow: 0 1px 4px #0004;
    transition: box-shadow 0.25s, transform 0.22s, background 0.22s, color 0.22s;
    position: relative;
    cursor: pointer;
}
.skills li:hover {
    box-shadow: 0 4px 18px #ffe06688, 0 1px 4px #0004;
    background: #ffe066;
    color: #23272f;
    transform: translateY(-3px) scale(1.04);
    z-index: 1;
}
body.light-mode .skills li:hover {
    background: #23272f;
    color: #ffe066;
    box-shadow: 0 4px 18px #23272f44, 0 1px 4px #ffe06677;
}

body.light-mode .skills li {
    background: #fffbe6;
    color: #23272f;
    box-shadow: 0 1px 4px #ffe06677;
}

footer {
    background: #23272f;
    text-align: center;
    padding: 1.2rem 0;
    color: #aaa;
    font-size: 1rem;
    margin-top: 3rem;
}

@media (max-width: 600px) {
    header .container, .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    nav a {
        margin-left: 1rem;
        font-size: 1rem;
    }
    .hero h2 {
        font-size: 1.3rem;
    }
}

/* Bannerbild ganz oben */
.banner {
    width: 100%;
    background: transparent;
    overflow: hidden;
    line-height: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}
.banner-img {
    width: 100%;
    max-width: none;
    height: clamp(170px, 28vw, 360px);
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
@media (max-width: 950px) {
    .banner-img {
        height: clamp(150px, 33vw, 250px);
    }
}

/* Ticket-System */
.ticket-page {
    margin-top: 2.5rem;
    opacity: 1;
    transform: translateY(0);
}

.ticket-intro,
.ticket-hint {
    color: #cbd2e2;
    line-height: 1.55;
}

.ticket-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1.5rem;
    margin-top: 1.4rem;
}

.ticket-form {
    background: #1d212a;
    border: 1px solid #2f3746;
    border-radius: 12px;
    padding: 1.3rem;
    box-shadow: 0 6px 16px #0006;
}

.ticket-form label {
    display: block;
    margin-bottom: 0.45rem;
    color: #ffe066;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
}

.ticket-form input,
.ticket-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #3f4f6d;
    background: #10131a;
    color: #f3f3f3;
    border-radius: 8px;
    padding: 0.72rem 0.8rem;
    margin-bottom: 1rem;
    font: inherit;
}

.ticket-form input:focus,
.ticket-form textarea:focus {
    outline: none;
    border-color: #ffe066;
    box-shadow: 0 0 0 3px #ffe0662f;
}

.ticket-form button {
    border: none;
    background: linear-gradient(100deg, #ffe066 0%, #d5ad3c 100%);
    color: #191e27;
    font-family: 'Orbitron', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.74rem 1.15rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.ticket-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #ffe06655;
}

.ticket-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.telegram-card {
    background: linear-gradient(170deg, #252a36 0%, #1a1e27 100%);
    border: 1px solid #32425f;
    border-radius: 12px;
    padding: 1.3rem;
    text-align: center;
}

.telegram-card h3 {
    margin-top: 0;
}

.telegram-link {
    display: inline-block;
    color: #8ac3ff;
    font-size: 1.25rem;
    text-decoration: none;
    margin: 0.6rem 0 1rem 0;
}

.telegram-link:hover {
    text-decoration: underline;
}

.telegram-card img {
    width: 100%;
    max-width: 260px;
    border-radius: 12px;
    border: 2px solid #f3f3f3;
    box-shadow: 0 4px 14px #0007;
}

.ticket-status {
    margin-top: 1rem;
    border-radius: 10px;
    padding: 0.86rem 0.95rem;
    font-weight: 700;
    min-height: 1.3rem;
}

.ticket-status.sending {
    background: #283244;
    color: #c7d7f5;
}

.ticket-status.success {
    background: #193627;
    color: #7ce0a8;
}

.ticket-status.error {
    background: #422023;
    color: #ff9ea3;
}

@media (max-width: 820px) {
    .ticket-layout {
        grid-template-columns: 1fr;
    }
}
