@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;900&family=Plus+Jakarta+Sans:wght@300;400;500;700&display=swap');

:root {
    --primary: hsl(250, 100%, 65%);
    --primary-alt: hsl(280, 100%, 60%);
    --accent: hsl(190, 100%, 50%);
    --bg-dark: hsl(240, 20%, 3%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-white: rgba(255, 255, 255, 0.1);
    
    --radius-xl: 32px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- IMMERSIVE MESH BACKGROUND --- */
.mesh-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.mesh-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 0% 50%, hsla(250,100%,65%,0.1) 0, transparent 50%), 
        radial-gradient(at 100% 50%, hsla(190,100%,50%,0.1) 0, transparent 50%), 
        radial-gradient(at 0% 100%, hsla(339,49%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 50% 100%, hsla(225,39%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(253,16%,7%,1) 0, transparent 50%);
    animation: rotateMesh 40s linear infinite;
}

@keyframes rotateMesh {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

header {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

header p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    max-width: 600px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

.section-card, .card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(40px);
    border-radius: var(--radius-xl);
    padding: 35px 45px;
    margin-bottom: 35px;
    border: 1px solid var(--border-white);
    overflow: hidden;
}

.section-card > *, .card > * {
    position: relative;
    z-index: 1;
}

.section-card h2, .card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-card h2 i {
    color: var(--primary);
}

/* --- ULTRA GRID --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.link-card i {
    font-size: 2rem;
    color: var(--primary);
}

/* --- DECOR --- */
.merke {
    border-left: 0;
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.1), transparent);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.warnung, .example {
    background: rgba(255, 95, 87, 0.05);
    border: 1px solid rgba(255, 95, 87, 0.2);
}

.example.good {
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

/* --- FOOTER --- */
footer {
    padding: 100px 20px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid var(--border-white);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }


