/* --- TERMS PAGE STYLES --- */

/* Scrollbar erlauben */
html, body {
    overflow-y: auto !important;
    height: auto !important;
    scroll-behavior: smooth;
}

/* Chrome Scrollbar verstecken */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

.legal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
    min-height: 100vh;
}

/* --- HEADER --- */
.legal-header {
    margin-bottom: 60px;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.bc-home-icon {
    color: #a1a1aa;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.bc-home-icon:hover { color: white; }
.bc-separator { color: #52525b; display: flex; align-items: center; }
.bc-current { color: var(--primary-orange); font-weight: 600; font-size: 0.95rem; }

/* Titel */
.legal-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.last-updated {
    color: #52525b;
    font-size: 0.9rem;
    font-family: 'Consolas', monospace;
}

/* --- LAYOUT GRID --- */
.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start;
}

/* --- SIDEBAR --- */
.legal-sidebar {
    position: sticky;
    top: 120px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.sidebar-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #71717a;
    margin-bottom: 16px;
    font-weight: 700;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    text-decoration: none;
    color: #a1a1aa;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: block;
    position: relative;
}

.toc-list a:hover {
    color: white;
}

.toc-list a.active {
    color: var(--primary-orange);
    font-weight: 600;
}
.toc-list a.active::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

/* --- CONTENT --- */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intro-text {
    font-size: 1.1rem;
    color: #d4d4d8;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Cards */
.legal-card {
    background-color: rgba(12, 11, 9, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    scroll-margin-top: 120px;
}

.legal-card h2 {
    font-size: 1.5rem;
    color: white;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-card p {
    color: #a1a1aa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Listen */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
}

.legal-list li {
    padding-left: 20px;
    position: relative;
    color: #d4d4d8;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.legal-list li::before {
    content: "•";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Highlight Box */
.highlight-text {
    color: white !important;
    font-weight: 600;
    border-left: 3px solid var(--primary-orange);
    padding-left: 15px;
    margin-top: 20px;
}

/* Grid für kleine Infos (AI Section) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-item {
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    color: #d4d4d8;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-sidebar {
        display: none;
    }
    .legal-title { font-size: 2.5rem; }
}