/* FARBPALETTE BASIEREND AUF LOGO:
   Hintergrund: #080A14 (Sehr dunkles, tiefes Blau)
   HHintergrund Akzent: #14172C (Etwas hellere Boxen/Card Hintergrund)
   Primary Accent (Logo Blue): #00D1FF (Leuchtendes Cyan/Türkis)
   Secondary Accent (Warm/Support): #33FFB0 (Helles Grün/Mint)
   Text: #E9ECEF
*/

/* Globale Styles und Reset */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #080A14; 
    color: #E9ECEF;
    line-height: 1.65;
    scroll-behavior: smooth;
}

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

h1, h2 {
    font-weight: 800;
    color: #00D1FF; 
}

h3, h4 {
    color: #E9ECEF;
    font-weight: 700;
}

.soft-glow {
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
    color: #E9ECEF;
}

a {
    color: #33FFB0;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #66ffcc;
}

code {
    background-color: #14172C;
    padding: 4px 8px;
    border-radius: 6px; 
    font-size: 0.9em;
    color: #00D1FF;
    font-weight: 600;
}

/* Header/Hero Section */
.hero {
    background: linear-gradient(160deg, #14172C, #080A14); 
    padding: 160px 0 100px; 
    text-align: center;
    border-bottom: 5px solid #00D1FF; 
    border-radius: 0 0 50px 50px; /* Sanfte Abrundung unten */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: #33FFB0;
    color: #080A14; 
    padding: 18px 40px;
    border-radius: 12px; 
    font-size: 1.1em;
    font-weight: 800;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(51, 255, 176, 0.4); 
}

.cta-button:hover {
    background-color: #66ffcc;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(51, 255, 176, 0.6);
}

/* ------------------------------------- */
/* HAUPTINHALT GRID & WIDGET LOGIK */
/* ------------------------------------- */

.content-wrapper {
    padding: 60px 0;
}

.main-grid-container {
    display: grid;
    /* 1fr = flexibel (ca. 70%) | 350px = feste Breite des Widgets */
    grid-template-columns: 1fr 350px; 
    gap: 50px;
}

.main-content {
    /* Die linke Spalte scrollt normal */
    background-color: #14172C;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.sidebar-widget-container {
    /* Die rechte Spalte wird "sticky" */
    align-self: start; 
    position: sticky;
    top: 50px; /* Abstand vom oberen Rand */
}

.widget-box {
    width: 350px;
    background-color: #080A14;
    border-radius: 16px;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4); 
    border: 3px solid #00D1FF;
}

.widget-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #00D1FF;
}

.widget-box iframe {
    display: block;
    width: 350px;
    height: 500px;
}

.widget-cta-button {
    display: block;
    width: 80%;
    margin: 20px auto 0;
    background-color: #33FFB0;
    color: #080A14;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
}
.widget-cta-button:hover {
    background-color: #66ffcc;
}

/* ------------------------------------- */
/* INHALTSSEKTIONEN STYLING */
/* ------------------------------------- */
.section {
    padding: 40px 0;
    border-bottom: 1px dashed #080A14; /* Dezente Trennlinie */
}
.section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section h2 {
    font-size: 2em;
    text-align: left;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1em;
    color: #999;
    margin-bottom: 30px;
}

/* 2. Kernwert */
.core-value {
    padding-top: 0;
}

.accent-box {
    background-color: #080A14;
    border-left: 5px solid #33FFB0; /* Mint-Akzent */
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2em;
    color: #c4c4c4;
    border-radius: 8px;
}

/* 3. Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: #080A14;
    padding: 20px;
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #00D1FF; 
}

.feature-card h3 {
    color: #00D1FF;
    font-size: 1.1em;
}

/* 4. Struktur */
.channel-list {
    list-style: none;
    padding: 0;
}

.channel-list li {
    background-color: #080A14;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00D1FF; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.channel-list h4 {
    margin-top: 0;
    font-size: 1.1em;
    color: #E9ECEF;
}

/* Footer */
footer {
    background-color: #14172C;
    color: #c4c4c4;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 4px solid #33FFB0;
    margin-top: 50px;
}

.footer-links {
    margin: 20px 0;
    border-top: 1px solid #080A14;
    padding-top: 20px;
}

.footer-cta {
    background-color: #00D1FF;
    color: #080A14;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
}

.footer-cta:hover {
    background-color: #66ffff;
}

.disclaimer {
    color: #ff3399;
    font-weight: 600;
    margin-top: 15px;
}

.legal-links {
    margin: 10px 0 15px; /* Abstand über und unter dem Link */
    padding-bottom: 5px; 
}

.legal-links a {
    /* Dezente Formatierung für rechtliche Links */
    color: #99aab5; /* Hellgrau, ähnlich dem Discord-Grau */
    font-size: 0.85em;
    font-weight: 400;
    text-decoration: underline; /* Unterstreichung zur besseren Erkennung als Link */
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #00D1FF; /* Highlight beim Hovern mit dem Akzent-Türkis */
}

/* Responsivität: Single-Column Layout für kleine Bildschirme */
@media (max-width: 900px) {
    .main-grid-container {
        grid-template-columns: 1fr; /* Spalten untereinander stapeln */
        gap: 0;
    }
    
    .sidebar-widget-container {
        position: static; /* Sticky entfernen */
        order: -1; /* Widget nach oben schieben */
        margin-bottom: 40px;
        text-align: center;
    }

    .widget-box {
        margin: 0 auto;
        max-width: 350px;
        width: 100%;
        border-width: 1px;
    }

    .widget-box iframe {
        /* Passt das iframe an kleinere Bildschirme an */
        width: 100%;
        height: 400px;
    }

    .main-content {
        padding: 30px 20px;
        margin-top: 0;
    }
}