/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 40%, #3a2d4a 70%, #2d3e50 100%);
    color: #f5f5f5;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    color: #f0dcc4;
    font-weight: 300;
    margin-bottom: 10px;
}

.header-description {
    color: #a0a0a0;
    margin-top: 15px;
    font-size: 1rem;
}

/* Hero Images */
.hero-image,
.footer-hero {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 20px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover,
.footer-hero:hover {
    transform: scale(1.02);
}

.footer-hero {
    margin: 60px auto 40px;
    box-shadow: 0 20px 60px rgba(138, 118, 200, 0.3);
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Wechselnde Kategorie-Hintergründe */
.category-section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(240, 220, 196, 0.08) 0%, rgba(240, 220, 196, 0.03) 100%);
}

.category-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(138, 118, 200, 0.08) 0%, rgba(138, 118, 200, 0.03) 100%);
}

.category-section:nth-child(3n) {
    background: linear-gradient(135deg, rgba(100, 160, 210, 0.08) 0%, rgba(100, 160, 210, 0.03) 100%);
}

/* Category Titles */
.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Wechselnde Kategorie-Titel-Farben */
.category-section:nth-child(odd) .category-title {
    color: #f0dcc4;
}

.category-section:nth-child(even) .category-title {
    color: #b8a0e8;
}

.category-section:nth-child(3n) .category-title {
    color: #84c7e8;
}

.category-title::before {
    content: '';
    width: 8px;
    height: 50px;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8E53 100%);
    border-radius: 4px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

/* Tool Cards */
.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8E53 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

/* Tool Content */
.tool-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FF8E53;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-description {
    color: #d5d5d5;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tool Links */
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.tool-link::after {
    content: '→';
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    color: #f0dcc4;
}

footer p {
    font-size: 0.95rem;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

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

    .category-title {
        font-size: 1.6rem;
    }

    .category-section {
        padding: 30px 20px;
    }

    .hero-image,
    .footer-hero {
        border-radius: 12px;
    }
}

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

.tool-card {
    animation: fadeIn 0.5s ease-out;
}

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