/* ===================================
   REGELWERK SPECIFIC STYLES
   =================================== */

.container-fluid {
    max-width: 100%;
    padding: 0;
}

.regelwerk-hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070');
    background-size: cover;
    background-position: center;
}

.regelwerk-section {
    padding: 0;
    min-height: calc(100vh - 40vh);
}

.regelwerk-wrapper {
    display: flex;
    min-height: calc(100vh - 40vh);
}

/* ===================================
   SIDEBAR
   =================================== */

.regelwerk-sidebar {
    width: 280px;
    background: rgba(0,0,0,0.3);
    border-right: 1px solid rgba(41,108,209,0.3);
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 2rem 0;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(41,108,209,0.3);
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    color: var(--accent-blue);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    padding: 1rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(41,108,209,0.1);
    color: var(--text-light);
    border-left-color: var(--accent-blue);
}

.sidebar-link.active {
    background: rgba(41,108,209,0.2);
    color: var(--accent-blue);
    border-left-color: var(--accent-blue);
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
}

/* ===================================
   MAIN CONTENT
   =================================== */

.regelwerk-content {
    flex: 1;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.regel-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.regel-section h2 {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(41,108,209,0.3);
}

.section-intro {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* ===================================
   REGEL CARDS
   =================================== */

.regel-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(41,108,209,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.regel-card:hover {
    border-color: rgba(87,160,192,0.6);
    box-shadow: 0 0 15px rgba(87,160,192,0.2);
}

.regel-card h3 {
    color: var(--accent-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.regel-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.regel-card ul {
    list-style: none;
    padding-left: 0;
}

.regel-card ul li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.regel-card ul li::before {
    content: '•';
    color: var(--accent-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* ===================================
   SPECIAL BOXES
   =================================== */

.regel-example {
    background: rgba(41,108,209,0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.regel-example strong {
    color: var(--accent-blue);
}

.regel-warning {
    background: rgba(255, 150, 0, 0.1);
    border-left: 4px solid #ff9600;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.regel-warning i {
    color: #ff9600;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.regel-warning strong {
    color: #ff9600;
}

.regel-tip {
    background: rgba(0, 255, 100, 0.1);
    border-left: 4px solid #00ff64;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.regel-tip i {
    color: #00ff64;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.regel-tip strong {
    color: #00ff64;
}

/* ===================================
   STRAFEN TABLE
   =================================== */

.strafen-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.strafen-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(41,108,209,0.3);
    border-radius: 12px;
    overflow: hidden;
}

.strafen-table thead {
    background: rgba(41,108,209,0.2);
}

.strafen-table th {
    padding: 1rem;
    text-align: left;
    color: var(--accent-blue);
    font-weight: 600;
    border-bottom: 2px solid rgba(41,108,209,0.4);
}

.strafen-table td {
    padding: 1rem;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(41,108,209,0.2);
}

.strafen-table tbody tr:hover {
    background: rgba(41,108,209,0.1);
}

.strafen-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 968px) {
    .regelwerk-wrapper {
        flex-direction: column;
    }
    
    .regelwerk-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(41,108,209,0.3);
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-link {
        flex: 1;
        min-width: 150px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .sidebar-link:hover,
    .sidebar-link.active {
        border-left: none;
        border-bottom-color: var(--accent-blue);
    }
    
    .regelwerk-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .regelwerk-hero {
        height: 30vh;
    }
    
    .regelwerk-content {
        padding: 1.5rem 1rem;
    }
    
    .regel-section h2 {
        font-size: 1.5rem;
    }
    
    .sidebar-header {
        text-align: center;
    }
    
    .sidebar-nav {
        flex-direction: column;
    }
    
    .sidebar-link {
        min-width: auto;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
}