/* ============================= */
/* VARIABLES */
/* ============================= */
:root {
    --color-bg-start: #1e1e2f; /* Dunkles Lila-Blau */
    --color-bg-end: #2a2a40;   /* Dunkles Grau-Blau */
    --color-text: #ffffff;     /* Weiß */
    --color-highlight: #ffcc66; /* Goldgelb */
    --color-accent: #ff6f61;   /* Korallenrot */
    --color-glass-bg: rgba(255, 255, 255, 0.1); /* Transparentes Weiß */
    --color-shadow: rgba(0, 0, 0, 0.3); /* Schwarz-Schatten */
    --color-brace: rgba(255, 255, 255, 0.05); /* Sehr helles Weiß */
    --color-button-text: #000000; /* Schwarz */
}

/* ============================= */
/* GLOBAL */
/* ============================= */
html body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-end));
    color: var(--color-text);
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* PAGE-CONTAINER für den Hauptinhalt */
.container-wrapper {
    flex: 1; /* füllt den verfügbaren Platz zwischen Header und Footer */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.img {
    max-width: 150px;
    max-height: fit-content;
    border-radius: 12px;
}


/* ============================= */
/* GLASS EFFECT */
/* ============================= */
.glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 30px var(--color-shadow);
}

/* ============================= */
/* HEADER */
/* ============================= */
header {
    padding: 1rem 0;
}

nav.glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    cursor: pointer;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--color-text);
    transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-highlight);
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: center;
}

/* Hero-Image fixiert Breite */
.hero-image img {
    width: 300px;
    max-width: 100%;
    border-radius: 12px;
}

/* Hero-Content nimmt Restbreite */
.hero-content {
    flex: 1;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--color-accent), var(--color-highlight));
    color: var(--color-button-text);
    font-weight: bold;
    text-decoration: none;
    transition: transform .2s;
}
.cta-button:hover {
    transform: scale(1.05);
}

/* ============================= */
/* FEATURES */
/* ============================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    text-align: center;
    transition: transform .3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ============================= */
/* BACKGROUND FLOATING BRACES */
/* ============================= */
.shape {
    position: absolute;
    font-size: 180px;
    font-weight: bold;
    color: var(--color-brace);
    animation: float 10s infinite ease-in-out;
    user-select: none;
    pointer-events: none;
}

.shape:nth-child(1) { top: 10%; left: 5%; }
.shape:nth-child(2) { bottom: 15%; right: 8%; animation-delay: 3s; }
.shape:nth-child(3) { top: 55%; left: 70%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ============================= */
/* PAGES */
/* ============================= */
.page { display: none; padding: 2rem 0; }
.page.active { display: block; }

.bugs-form input,
.bugs-form textarea,
.bugs-form button,
.bugs-form select,
.contact-form input,
.contact-form textarea,
.contact-form button,
.contact-form select {
    width: 95%;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    outline: none;
}


/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

/* Tablets (<= 992px) */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 80%;
        margin-bottom: 1rem;
    }
}

/* Mobiles (<= 600px) */
@media (max-width: 600px) {
    .hero-image img {
        width: 100%;
    }
}

