/* Allgemeines Layout */
body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #222, #111);
    color: white;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('/images/hero-bg.jpg') center/cover;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: fadeIn 2s ease-in-out;
}

/* Container */
.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(10px);
}

/* Profilbild */
.profile-img {
    width: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
    transition: transform 0.3s ease-in-out;
}

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

/* Links */
.links-section h2 {
    color: #00ffcc;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Container für gleich große Buttons */
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Glühende Buttons mit einheitlicher Größe */
.glow-button {
    display: inline-block;
    width: 260px;
    padding: 14px;
    text-align: center;
    font-size: 18px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #00ffcc;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.glow-button:hover {
    box-shadow: 0 0 15px #00ffcc;
    background-color: #00ffcc;
    color: black;
}

/* Hauptbutton für "Über mich" */
.main-button {
    width: 280px;
    font-size: 20px;
    font-weight: bold;
}

/* Trennlinien */
.divider {
    width: 50%;
    height: 2px;
    background: #00ffcc;
    margin: 30px auto;
    opacity: 0.7;
}

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

/* Fade-in mit Verzögerung */
.fade-in {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }
/* Weicher Übergang für den Rahmen */
.glow-button, .divider, .hero, .container {
    transition: border-color 1s ease-in-out, box-shadow 1s ease-in-out;
}

/* Damit Text nicht blinkt */
h1, h2, p {
    transition: none;
}
@media (hover: hover) {
    .glow-button:hover {
        transform: scale(1.05);
    }
}

/* 🌟 MOBILE-OPTIMIERUNG 🌟 */
@media screen and (max-width: 768px) {
    .hero {
        height: 30vh;
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        max-width: 90%;
        padding: 20px;
    }

    .profile-img {
        width: 100px;
    }

    .glow-button {
        width: 90%;
        font-size: 16px;
        padding: 12px;
    }

    .main-button {
        width: 95%;
        font-size: 18px;
    }

    .divider {
        width: 70%;
    }
}

/* Extra kleine Geräte (Handys im Hochformat) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .profile-img {
        width: 90px;
    }

    .glow-button {
        font-size: 15px;
        padding: 10px;
    }

    .divider {
        width: 80%;
    }
}
