:root {
    --bg-black: #050005;
    --text-white: #ffffff;
}

body {
    background-color: var(--bg-black);
    background-image: radial-gradient(circle at center, #150015 0%, var(--bg-black) 100%);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout-Container für Sidebar und Main */
.main-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
}

.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    padding: 60px 20px;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(to bottom, #fff 20%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    width: 100%;
    max-width: 1100px;
    padding-bottom: 80px;
}

/* Multi-Accent Farben */
.card.pink { --accent: #ff00ff; --accent-glow: rgba(255, 0, 255, 0.3); }
.card.purple { --accent: #9d00ff; --accent-glow: rgba(157, 0, 255, 0.3); }
.card.magenta { --accent: #ff0080; --accent-glow: rgba(255, 0, 128, 0.3); }
.card.violet { --accent: #6600ff; --accent-glow: rgba(102, 0, 255, 0.3); }

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    /* Asymmetrische Form: Links oben & Rechts unten schräg */
    clip-path: polygon(15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%, 0% 15%);
    padding: 45px 25px 35px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    overflow: hidden;
}

/* Border-Top Ersatz mittels eines Pseudo-Elements (da clip-path echte border abschneidet) */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
    z-index: 10;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px var(--accent-glow);
}

.card:hover::before {
    height: 10px;
    opacity: 1;
    box-shadow: 0 0 15px var(--accent);
}

.icon-box {
    width: 55px;
    height: 55px;
    background: rgba(0, 0, 0, 0.4);
    /* Auch die Icon Box bekommt die Cyber-Form */
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.card h2 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background: rgba(20, 0, 20, 0.8);
    backdrop-filter: blur(15px);
    border-right: 2px solid #330033; /* Sichtbare Trennung */
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

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

.sidebar li {
    margin-bottom: 15px;
}

.sidebar a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.sidebar a:hover, .sidebar a.active {
    background: rgba(255, 0, 255, 0.1);
    color: #ff00ff;
    box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.1);
}

.sidebar .divider {
    height: 1px;
    background: #330033;
    margin: 20px 0;
}

footer {
    padding: 40px;
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-top: auto; /* Footer ans Ende des main-content schieben */
    width: 100%;
}
