:root {
    --primary: #ff4757;
    --secondary: #2f3542;
    --accent: #ffa502;
    --bg: #f1f2f6;
    --card-dark: #24292e;
    --section-gap: 20px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--bg);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--secondary), #000);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    text-shadow: 3px 3px 0px var(--primary);
}

.motto {
    font-style: italic;
    color: #ced4da;
    font-size: 1.2rem;
    margin-top: 10px;
}

footer {
    background: linear-gradient(135deg, var(--secondary), #000);
    color: white;
    padding: 1rem 1rem; 
    text-align: center;
}

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

footer li {
    margin: 0.2rem 0; 
}

footer a {
    text-decoration: none;
    color: inherit;
    font-size: 0.85rem; 
}

footer a:hover {
    color: var(--primary);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--card-dark);
    color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: var(--section-gap);
    text-align: center;
    border-bottom: 4px solid var(--primary);
}

.card h2 {
    color: var(--accent);
    margin-top: 0;
}

.btn {
    display: inline-block;
    background: white;
    color: var(--card-dark);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.wurstometer-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    height: 18px;
    margin: 15px 0;
}

.wurstometer-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    height: 100%;
}

.back-link {
    display: inline-block;
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
}

.back-link:hover {
    color: var(--primary);

}

.mitglied-link{
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
}

.mitglied-link:hover {
    color: var(--primary);
} 

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: var(--card-dark);
    border-right: 3px solid var(--primary);
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 1000;
    transform: translateX(-100%);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.sidebar-span {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.sidebar-span:hover {    
    color: var(--primary);
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.2s;
}

.nav-links a:hover {
    background: var(--primary);
    transform: translateX(10px);
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
    display: block;
    transition: left 0.3s ease;
}

.sidebar-open .sidebar {
    transform: translateX(0);
}

.sidebar-open body {
    padding-left: 250px;
}

.sidebar-open .menu-toggle {
    left: 270px;
}