/* ==========================================================================
   RFP CLAN & PARK - MASTER STYLESHEET
   Version: 2.0 (Mobile Optimized & High End)
   ========================================================================== */

   :root {
    --clan-red: #e62e2e;        /* Das Haupt-Rot */
    --clan-red-glow: rgba(230, 46, 46, 0.5);
    --bg-dark: #050505;         /* Hintergrund Schwarz */
    --bg-panel: #111111;        /* Karten Hintergrund */
    --bg-light: #1a1a1a;        /* Hellerer Hintergrund */
    --text-main: #f0f0f0;       /* Haupttext Weiß */
    --text-muted: #aaaaaa;      /* Nebentext Grau */
    --border: #333333;          /* Rahmenfarbe */
    
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- 1. GLOBAL RESET & BASIS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    /* Carbon Textur Overlay */
    background-image: linear-gradient(rgba(0,0,0,0.92), rgba(0,0,0,0.92)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    font-family: var(--font-stack);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* Verhindert seitliches Wackeln auf Handy */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.section-padding { padding: 80px 0; border-bottom: 1px solid var(--border); }
.bg-dark { background: #0f0f0f; }
.bg-panel { background: var(--bg-panel); }
.bg-gray { background: #181818; }

/* Typografie */
h1, h2, h3 { text-transform: uppercase; font-weight: 900; color: #fff; margin-bottom: 15px; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    border-left: 5px solid var(--clan-red);
    padding-left: 20px;
    display: inline-block;
}

.section-subtitle {
    color: var(--clan-red);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* --- 3. HEADER & NAVIGATION (MOBILE READY) --- */
header {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 2px solid var(--clan-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    height: 80px;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    z-index: 1002;
}
.logo span { color: var(--clan-red); }

/* Desktop Menu */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 0;
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--clan-red);
}

/* Hamburger Icon (Standard: versteckt) */
.hamburger { display: none; cursor: pointer; z-index: 1002; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: white; transition: 0.3s; }

/* --- 4. HERO SECTIONS --- */
/* Index Hero */
.clan-hero {
    min-height: 85vh;
    padding: 100px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), #050505), 
                url('https://via.placeholder.com/1920x1080/0f0f0f/e62e2e?text=RFP+CLAN+BASE') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 4px solid var(--clan-red);
}

/* Service Hero */
.service-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), 
                url('https://via.placeholder.com/1920x800/111/aa0000?text=CLAN+SERVICES') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-title, .hero-h1 {
    font-size: 4.5rem;
    line-height: 1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}
.hero-subtitle { font-size: 1.4rem; color: #ddd; max-width: 800px; margin: 0 auto; }
.clan-tag-display { background: var(--clan-red); color: #fff; padding: 5px 15px; font-weight: bold; display: inline-block; margin-bottom: 20px; box-shadow: 0 0 20px var(--clan-red-glow); }

/* --- 5. CARDS & GRIDS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.responsive-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    align-items: center;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-7px); border-color: var(--clan-red); }

/* Service Icons */
.service-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* --- 6. SPEZIAL COMPONENTS --- */

/* Progress Bars */
.progress-wrapper {
    background: #000; padding: 20px; border: 1px solid var(--border); margin-bottom: 20px; border-radius: 4px;
}
.bar-bg { background: #222; height: 12px; border-radius: 10px; overflow: hidden; margin-top: 10px; }
.bar-fill { height: 100%; width: 0%; transition: width 1s; }

/* Member Cards */
.member-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.rank-card {
    background: #111; border: 1px solid #333; width: 250px; text-align: center; transition: 0.3s;
}
.rank-card:hover { transform: translateY(-10px); border-color: var(--clan-red); }
.rank-header { padding: 20px; background: #1a1a1a; font-weight: bold; letter-spacing: 1px; }
.rank-owner { color: #aa0000; }
.avatar-placeholder {
    width: 100px; height: 100px; background-color: #000; border-radius: 50%; margin: 20px auto; border: 2px solid #333;
    background-size: cover; background-position: center;
}

/* Service Rows (Bild + Text) */
.service-row { display: flex; gap: 50px; margin-bottom: 100px; align-items: center; }
.service-row.reverse { flex-direction: row-reverse; }

/* Workflow Steps */
.workflow-steps { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; }
.step-item { background: #111; padding: 30px; flex: 1; border: 1px solid #333; position: relative; }
.step-num { font-size: 3rem; font-weight: 900; color: rgba(255, 255, 255, 0.05); position: absolute; top: 10px; right: 20px; }

/* Trust Box */
.trust-box { background: rgba(230, 46, 46, 0.05); border: 1px solid var(--clan-red); padding: 30px; border-radius: 8px; margin-bottom: 40px; }

/* --- 7. BUTTONS --- */
.btn, .btn-clan {
    background: var(--clan-red); color: #fff; padding: 15px 40px; text-decoration: none;
    font-weight: bold; text-transform: uppercase; display: inline-block; border-radius: 4px; transition: 0.3s;
    text-align: center; border: none; cursor: pointer;
}
.btn:hover, .btn-clan:hover { background: #ff4444; box-shadow: 0 0 20px var(--clan-red-glow); transform: translateY(-2px); }

.btn-outline {
    background: transparent; border: 2px solid #fff; color: #fff; padding: 13px 38px;
    text-decoration: none; font-weight: bold; text-transform: uppercase; display: inline-block; border-radius: 4px;
}
.btn-outline:hover { background: #fff; color: #000; }

/* --- 8. PREISTABELLE (MOBILE READY) --- */
.price-table { width: 100%; border-collapse: collapse; margin-top: 30px; background: #111; border: 1px solid #333; }
.price-table th { background: #000; color: #fff; text-align: left; padding: 15px; border-bottom: 2px solid var(--clan-red); }
.price-table td { padding: 15px; border-bottom: 1px solid #222; color: #ccc; }
.price-highlight { color: var(--clan-red); font-weight: bold; }

/* --- 9. FOOTER --- */
footer {
    background: #080808; border-top: 3px solid var(--clan-red); padding: 60px 20px; margin-top: auto; text-align: center;
}
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: #aaa; font-weight: bold; text-transform: uppercase; padding: 5px; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer { font-size: 0.8rem; color: #666; max-width: 700px; margin: 20px auto; line-height: 1.5; }

/* ==========================================================================
   10. MOBILE OPTIMIERUNG (MEDIA QUERIES) - DER WICHTIGE TEIL
   ========================================================================== */
@media (max-width: 768px) {
    
    /* Typografie Anpassung */
    .hero-title, .hero-h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; padding: 0 10px; }
    .section-title { font-size: 1.8rem; padding-left: 15px; border-width: 3px; }

    /* Header & Navigation (Slide Menu) */
    .hamburger { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 100%;
        background-color: #0a0a0a; flex-direction: column; justify-content: center;
        transition: 0.4s ease; gap: 40px; z-index: 1001;
    }
    .nav-links.active { right: 0; }
    .nav-links li a { font-size: 1.5rem; }
    
    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Layout Stack (Alles untereinander) */
    .responsive-split, .service-row, .service-row.reverse, .workflow-steps {
        flex-direction: column; gap: 30px;
    }
    
    .rank-card { width: 100%; } /* Member Karten volle Breite */
    .btn, .btn-clan, .btn-outline { width: 100%; display: block; box-sizing: border-box; }
    .section-padding { padding: 50px 0; }

    /* Footer Mobile */
    .footer-links { flex-direction: column; gap: 15px; }
    .footer-links span { display: none; } /* Trennstriche weg */
    .footer-links a { background: #111; border: 1px solid #333; width: 100%; display: block; border-radius: 4px; }

    /* Preistabelle zu Karten machen */
    .price-table, .price-table thead, .price-table tbody, .price-table th, .price-table td, .price-table tr { 
        display: block; 
    }
    .price-table thead tr { position: absolute; top: -9999px; left: -9999px; }
    .price-table tr { margin-bottom: 20px; border: 1px solid #333; background: #1a1a1a; }
    .price-table td { 
        border: none; border-bottom: 1px solid #222; position: relative; padding-left: 50%; text-align: right; 
    }
    .price-table td:before { 
        position: absolute; top: 15px; left: 15px; width: 45%; white-space: nowrap; text-align: left; font-weight: bold; color: #888;
        content: attr(data-label); 
    }
}