/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLE DEFINITIONS
   ========================================================================== */
:root {
    /* Luxon Farbpalette (Cantha / Ozean-Thema) */
    --bg-main: #060b0e;            /* Tiefes Ozean-Dunkelblau */
    --bg-surface: #0f1b24;         /* Hintergrund der Karten */
    --bg-surface-hover: #162835;   /* Aufhellung bei Hover */
    
    --color-primary: #00b4d8;      /* Luxon-Cyan/Türkis */
    --color-secondary: #0077b6;    /* Dunkleres Blau für Rahmen und Tiefe */
    --color-accent: #48cae4;       /* Helles Cyan für Interaktionen */
    --color-luxon-jade: #7bf1a8;   /* Jadegrün für das Fraktions-Highlight */
    
    --text-light: #f0f6fc;         /* Primärer Text */
    --text-muted: #8b9bb4;         /* Sekundärer Text / Beschreibungen */
    
    /* Layout-Konstanten */
    --max-width: 1100px;
    --border-radius: 8px;
    --transition: all 0.25s ease-in-out;
    --glow-effect: 0 0 15px rgba(0, 180, 216, 0.25);
}

/* ==========================================================================
   2. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 180, 216, 0.15);
    padding-bottom: 8px;
}

p {
    margin-bottom: 15px;
}

p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   3. HEADER & HERO SECTION
   ========================================================================== */
.main-header {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
    border-bottom: 2px solid var(--color-secondary);
    padding: 60px 20px;
    text-align: center;
}

.header-content {
    max-width: 700px;
    margin: 0 auto;
}

.guild-tag {
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 4px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.main-header h1 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.header-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Der "Jetzt beitreten" Button */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--bg-main);
    text-decoration: none;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--color-accent);
    box-shadow: var(--glow-effect);
    transform: translateY(-2px);
}

/* ==========================================================================
   4. COMPONENTS (LUXON BADGE & CARDS)
   ========================================================================== */

/* Das neue Fraktions-Banner */
.luxon-badge {
    background: linear-gradient(135deg, var(--bg-surface), #132430);
    border-left: 4px solid var(--color-luxon-jade);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 40px 0 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.badge-faction {
    color: var(--color-luxon-jade);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
}

.badge-title {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 6px;
    border: none;
    padding: 0;
}

.badge-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Grid Layout für die 4 Boxen */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Card Styling */
.card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
}

.card:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--glow-effect);
}

/* Listen-Optimierungen */
.styled-list, .contact-list {
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

/* Custom Bulletpoints im Luxon-Stil */
.styled-list li::before {
    content: "▪";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    top: -2px;
}

/* Kontaktliste & Details */
.contact-list li {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 2px solid var(--color-primary);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ==========================================================================
   5. FOOTER & RESPONSIVENESS
   ========================================================================== */
.main-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Anpassungen für kleinere Bildschirme (Mobilgeräte) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Wechselt auf einspaltig */
        gap: 20px;
    }
    
    .main-header {
        padding: 40px 20px;
    }
    
    .main-header h1 {
        font-size: 1.8rem;
    }

    .luxon-badge {
        border-left: none;
        border-top: 4px solid var(--color-luxon-jade);
        border-radius: var(--border-radius);
    }
}