/* ==== Seite: index ==== */

/* index.html nutzt einen kompakteren Button-Stil */
body.page-index .tool-button {
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: none;
    position: static;
    overflow: visible;
}

body.page-index .tool-card .tool-button {
    margin-top: auto;
}

body.page-index .tool-card:hover .tool-button {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Hero Badges */
body.page-index .hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

body.page-index .badge {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Kategorie-Karten */
body.page-index .categories-section {
    margin-bottom: 50px;
}

body.page-index .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

body.page-index .category-card {
    background: linear-gradient(165deg, rgba(102, 126, 234, 1) 5%, rgba(255, 255, 255, 0.95) 25%);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

body.page-index .category-card .category-link {
    margin-top: auto;
}

body.page-index .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

body.page-index .category-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

body.page-index .category-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.page-index .category-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: center;
    flex-shrink: 0;
}

body.page-index .category-description {
    color: var(--c-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

body.page-index .category-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

body.page-index .category-card:hover .category-link {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Dark Theme – Seite: index */
body.dark-theme.page-index .category-card {
    background: linear-gradient(165deg, rgba(102, 126, 234, 0.3) 5%, #1e1e2e00 25%);
    color: var(--c-text);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: none;
}

body.dark-theme.page-index .category-card:hover {
    background: linear-gradient(165deg, rgba(102, 126, 234, 0.4) 5%, #1e1e2e00 25%);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

body.dark-theme.page-index .category-title {
    color: var(--c-text);
}

body.dark-theme.page-index .category-description {
    color: var(--c-muted);
}

body.dark-theme.page-index .hero {
    background: linear-gradient(135deg, rgb(116, 69, 180) 0%, rgb(80, 100, 210) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 22px rgba(102, 126, 234, 0.10);
}

body.dark-theme.page-index .hero h1 {
    color: var(--c-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

body.dark-theme.page-index .hero .subtitle {
    color: rgba(220, 220, 240, 0.95);
}

body.dark-theme.page-index .badge {
    background: rgba(255,255,255,0.1);
    color: var(--c-text);
}

body.dark-theme.page-index .trust-section {
    background: var(--c-surface)00;
    color: var(--c-text);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: none;
}

body.dark-theme.page-index .trust-item {
    background: linear-gradient(165deg, rgba(113, 137, 243, 0.3) 5%, #272e3e2b 25%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

body.dark-theme.page-index .trust-item:hover {
    background: linear-gradient(165deg, rgba(13, 137, 243, 0.3) 5%, #272e3e2b 25%);
}

/* Responsive – Seite: index */
@media (max-width: 768px) {
    body.page-index .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}