:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a90e2;
    --text-color: #ffffff;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://source.unsplash.com/random/1920x1080?solar-energy') center/cover;
    opacity: 0.03;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.5s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .test-link {
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    opacity: 1;
    transition: all 0.3s ease;
}

.nav-links .test-link:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.nav-links .test-link::after {
    display: none;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--accent-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color);
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 10%;
    background: transparent;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: -1;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.95;
}

.section-description {
    text-align: center;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: block;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Footer */
footer {
    background: transparent;
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.5;
    z-index: -1;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Downloads Section */
.downloads-section {
    padding: 5rem 10%;
    background: transparent;
    position: relative;
}

.downloads-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: -1;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.5s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.download-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.download-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* Websites Section */
.websites-section {
    padding: 5rem 10%;
    background: transparent;
    position: relative;
}

.websites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: -1;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.website-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.website-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.website-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.website-item:hover::before {
    transform: translateX(100%);
}

.website-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.website-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .websites-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 3rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

.gallery-section h2,
.downloads-section h2,
.websites-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.95;
}

/* Stile für den Test-Link */
.test-link {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.test-link:hover {
    background-color: #4CAF50; /* Ein helleres Grün */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.status-message.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 193, 7, 0.2);
    display: block;
}