/* Grundlegende Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;        /* Blau statt Discord-Lila */
    --secondary-color: #2c3e50;      /* Dunkelblau/Grau statt Discord-Dunkelgrau */
    --accent-color: #1abc9c;         /* Türkis als Akzentfarbe */
    --text-color: #ecf0f1;           /* Hellgrau */
    --background-color: #121f2c;     /* Dunkler Blauton */
    --card-bg: #1e2c3a;              /* Leicht hellerer Kartenuntergrund */
    --white-color: #f5f5f5;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --gradient-start: #3498db;
    --gradient-end: #1abc9c;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 80%, rgba(26, 188, 156, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    font-weight: 600;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    margin: 0.8rem auto 0;
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    margin: 25px auto;
    max-width: 1200px;
    background-color: rgb(30, 44, 58);    /* Leicht transparent */
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

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

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-links li a:hover::before {
    width: 80%;
}

.nav-links li a:hover {
    color: var(--accent-color);
    background-color: rgba(26, 188, 156, 0.1);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Trennlinie */
hr.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

/* Bots Section */
.bots-section {
    padding: 5rem 0;
}

.bot-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.bot-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.bot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: all 0.4s ease;
}

.bot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.bot-card:hover::before {
    height: 7px;
}

.bot-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    transition: all 0.4s ease;
    object-fit: cover;
}

.bot-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bot-card h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.bot-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.invite-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--white-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-right: 0.3rem;
    margin-left: 0.3rem;
    box-shadow: 0 4px 10px rgba(26, 188, 156, 0.3);
}

.invite-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(26, 188, 156, 0.4);
}

/* Legal Buttons Container */
.legal-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-btn:hover {
    background: rgba(26, 188, 156, 0.2);
    color: var(--accent-color);
    transform: translateY(-2px);
    border-color: rgba(26, 188, 156, 0.3);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--card-bg);
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    transition: all 0.4s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.feature:hover::before {
    width: 7px;
}

.feature i {
    font-size: 2.2rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid rgba(26, 188, 156, 0.3);
    box-sizing: border-box;
}

.feature h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.7;
}

/* Scroll-to-top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.5);
}

.scroll-top i {
    color: var(--white-color);
    font-size: 1.5rem;
}

/* Footer */
footer {
    margin: 25px auto;
    max-width: 1200px;
    background-color: rgba(30, 44, 58, 0.9);
    padding: 3.5rem 2.5rem 1.5rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    margin-top: 0.5rem;
    border-radius: 4px;
}

.footer-section a, .footer-section p {
    display: block;
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Hamburger-Menü Basis-Styles */
.hamburger-menu {
    display: none;
}

#hamburg {
    display: none;
}

.hamburg {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.line {
    background-color: var(--white-color);
    height: 3px;
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        margin: 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        margin-top: 15px;
        width: calc(100%);
        border-radius: 16px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 16px;
    }

    .nav-links li a::before {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hamburg {
        display: flex;
    }

    /* Animation für das Hamburger-Menü */
    #hamburg:checked + .hamburg .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #hamburg:checked + .hamburg .line:nth-child(2) {
        opacity: 0;
    }

    #hamburg:checked + .hamburg .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .bot-cards {
        grid-template-columns: 1fr;
    }

    /* Footer an Navbar anpassen */
    footer {
        margin: 20px;
        width: calc(100% - 40px);
        padding: 2.5rem 1.5rem 1.5rem;
    }

    /* Footer Content anpassen */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-section h3::after {
        margin: 0.5rem auto 0;
    }
}