/* Farben */
:root {
    --bg: #f9f9f9;
    --text: #111111;
    --accent: #007aff;
    /* Apple-Blau */
    --card: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body.dark {
    --bg: #0e0e11;
    --text: #f0f0f0;
    --card: #16161d;
    --accent: #0af;
    --shadow: rgba(0, 0, 0, 0.5);
}

/* Grundlayout */
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.logo-wrapper {
    padding: 12px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

/* Logo responsive machen */
.logo-wrapper img {
    width: 100%;
    /* maximale Größe auf Desktop */
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}
/* Speziell für Links im Header */
header a {
    color: var(--text); /* Verwendet dein Schwarz (Light Mode) oder Weiß (Dark Mode) */
    text-decoration: none;
    font-weight: 700; /* Extra bold */
    position: relative;
    padding: 4px 0;
}

/* Der animierte Strich unter dem Link */
header a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

header a:hover::after {
    transform: scaleX(1);
}
/* Links modernisieren */
a {
    color: var(--accent); /* Nutzt dein Blau/Hellblau aus den Variablen */
    text-decoration: none; /* Entfernt die langweilige Unterstreichung */
    font-weight: 600; /* Macht den Link bold */
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7; /* Dezenter Effekt beim Drüberfahren */
}

/* Optional: Ein sehr feiner, moderner Underline-Effekt, der nur beim Hover erscheint */
a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* Buttons */
button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

#hero button {
    font-size: 1.1rem;
}
#redunderline {
--accent: RED;
}
/* Sections */
section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--card);
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Footer optional */
footer {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
}

/* Dark mode toggle */
#mode-toggle {
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.server-card {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;

}
.warning-box {
    /* Gleiche Breite wie deine anderen Sections */
    max-width: 1000px; 
    /* Zentriert die Box und hält den Abstand wie bei den Sections */
    margin: 1.5rem auto; 
    
    /* Dein Design mit Transparenz */
    border: 2px solid #f5a623;
    background-color: rgba(245, 166, 35, 0.2); 
    color: #856404;
    padding: 15px 2rem; /* Padding an deine Sektionen angepasst */
    border-radius: 24px; /* Gleicher Radius wie deine Sektionen */
    
    /* Verhindert, dass die Box bei kleinem Fenster ausbricht */
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    
    /* Schriftstil von dir übernommen */
    font-family: inherit;
}
/* Mobile Styles */

/* Für Bildschirme bis 800px */
@media (max-width: 800px) {
    .server-grid {
        grid-template-columns: 1fr;
    }
} 

/* Für Bildschirme bis 600px */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    #hero {
        padding: 3rem 1rem;
    }
    #hero h2 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }
    #hero button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    footer {
        font-size: 0.85rem;
        padding: 2rem 1rem;
    }

    button {
        width: 90%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    nav {
        display: none;
    }
    #menu-toggle {
        display: block;
    }
} 

/* Für sehr kleine Bildschirme bis 400px */
@media (max-width: 400px) {
    .server-card {
        padding: 1.2rem;
        font-size: 1.2rem;
    }

    section {
        padding: 1rem;
        margin: 1.5rem;
    }

    .logo-wrapper img {
        max-width: 180px;
    }
}

.btn-eject::after {
    display: none !important;
}
textarea.chique-textarea {
    width: 100%;
    background: var(--bg);
    color: var(--text);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 14px;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
}

textarea.chique-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

body.dark textarea.chique-textarea:focus {
    box-shadow: 0 0 0 4px rgba(10, 170, 255, 0.25);
}

textarea.chique-textarea::placeholder {
    color: var(--text);
    opacity: 0.4;
}
