* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Particle Background */
#particle-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3);
    width: 100%;
    height: 100%;
    background-image: url("material/particles.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #9333ea, transparent);
    top: 5%;
    left: 10%;
    animation: float 12s ease-in-out infinite;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #0071e3, transparent);
    bottom: 10%;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #9333ea, transparent);
    top: 50%;
    right: 5%;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(40px, -40px);
    }
}

/* Main Container */
.datenschutz-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 140px 2rem 4rem;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9333ea;
    background: rgba(147, 51, 234, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #9333ea, #0071e3);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* Table of Contents - Premium Design */
.toc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    position: relative;
    overflow: hidden;
}

.toc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #0071e3, #9333ea);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.toc-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.toc-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    list-style: none;
}

.toc-item {
    position: relative;
}

.toc-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.toc-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(0, 113, 227, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.toc-item a:hover::before {
    opacity: 1;
}

.toc-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(147, 51, 234, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.toc-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9333ea, #0071e3);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.toc-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.toc-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.toc-item a:hover .toc-arrow {
    color: #9333ea;
    transform: translateX(3px);
}

/* Content Card */
.content-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #0071e3);
}

.content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, #9333ea, #0071e3);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1rem;
    border-left: 2px solid rgba(147, 51, 234, 0.3);
}

.section-content {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content strong {
    color: #fff;
    font-weight: 600;
}

.section-content ul {
    margin: 1rem 0 1rem 1.5rem;
    list-style: none;
}

.section-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.section-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #9333ea;
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    margin: 2rem 0;
    padding: 1.8rem;
    background: rgba(147, 51, 234, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #9333ea, #0071e3);
}

.highlight-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.highlight-box ul {
    margin: 0.5rem 0 0 1.5rem;
    list-style: none;
}

.highlight-box ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.highlight-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 700;
}

/* Contact Box */
.contact-box {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    text-align: center;
}

.contact-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.contact-box a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0071e3, #9333ea);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.contact-box a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .datenschutz-container {
        padding: 120px 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .toc-card {
        padding: 2rem 1.5rem;
    }

    .toc-header {
        margin-bottom: 2rem;
    }

    .toc-title {
        font-size: 1.5rem;
    }

    .toc-subtitle {
        font-size: 0.9rem;
    }

    .toc-grid {
        grid-template-columns: 1fr;
    }

    .toc-item a {
        padding: 1.1rem 1.2rem;
    }

    .toc-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .content-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .orb-1, .orb-2, .orb-3 {
        width: 200px;
        height: 200px;
    }

    .hero-title{
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
