/* Ressourcen-Hub CSS */

:root {
    --gold: #d4a724;
    --gold-light: #e8c45a;
    --gold-dark: #b8911f;
    --navy: #4469a0;
    --navy-dark: #35527c;
    --black: #1a1a1a;
    --white: #ffffff;
    --bg-white: #faf8f5;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-600: #666666;
    --gray-800: #333333;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

/* Base Styles */
body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    margin: 0;
    padding: 0;
}

/* Navigation Links - Sans-Serif Body Font */
.nav-links a {
    font-family: var(--font-body);
}

.nav-logo-text {
    font-family: var(--font-display);
}

/* Hero Section - Navy Blue wie Über-mich */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 9rem 2rem 3rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Styling */
.section {
    padding: 4rem 2rem;
}

.section-alt {
    background: var(--gray-100);
}

.section h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.section-intro {
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* Tools Grid - Eigene Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.tool-card-icon {
    width: 56px;
    height: 56px;
    stroke: var(--gold);
}

.tool-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
    color: var(--black);
}

.tool-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
    flex-grow: 1;
}

.tool-card-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.tool-card-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    align-self: flex-end;
    margin-top: auto;
}

/* Tests Grid - Externe Tests */
.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.test-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.test-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.test-card-icon {
    width: 40px;
    height: 40px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.test-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
    color: var(--black);
}

.test-card-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.test-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.test-card-badge.free {
    background: #d4edda;
    color: #155724;
}

.test-card-badge.paid {
    background: #fff3cd;
    color: #856404;
}

/* Books Section */
.books-category {
    margin-bottom: 3rem;
}

.books-category:last-child {
    margin-bottom: 0;
}

.books-category h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.book-card {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.book-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
    color: var(--black);
}

.book-card .author {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.lang-badge {
    display: inline-block;
    background: var(--gray-200);
    color: var(--gray-800);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.book-card p {
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.book-card .book-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.book-card .book-links a {
    font-size: 0.85rem;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

.book-card .book-links a:hover {
    text-decoration: underline;
}

/* Podcast in Book Card */
.book-card-podcast {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.book-card-podcast-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    color: var(--gold);
    margin-top: 0.25rem;
}

.book-card-podcast-content h4 {
    margin-top: 0;
}

.book-card-podcast-content .author {
    margin-bottom: 0.5rem;
}

.book-card-podcast-content p {
    margin: 0 0 0.75rem;
}

/* Podcasts Section */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.podcast-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.podcast-card-icon {
    width: 48px;
    height: 48px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.podcast-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
    color: var(--black);
}

.podcast-card .podcast-show {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.podcast-card p {
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.podcast-card .podcast-links {
    display: flex;
    gap: 0.75rem;
}

.podcast-card .podcast-links a {
    font-size: 0.8rem;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all 0.2s;
}

.podcast-card .podcast-links a:hover {
    background: var(--gold);
    color: var(--white);
}

/* Warning Section */
.warning-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #e8c4c4;
}

.warning-intro {
    background: var(--white);
    border-left: 4px solid #c9a227;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.warning-intro h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--black);
}

.warning-intro p {
    font-size: 1rem;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.6;
}

.warning-signs {
    background: var(--white);
    padding: 1.5rem 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 8px;
}

.warning-signs h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--black);
}

.warning-signs ul {
    margin: 0;
    padding-left: 1.5rem;
}

.warning-signs li {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Disclaimer */
/* Disclaimer im Hero - weiße Schrift */
.hero .disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-style: italic;
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.download-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.download-card-icon {
    width: 64px;
    height: 64px;
    stroke: var(--gold);
}

.download-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0;
    color: var(--black);
}

.download-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.download-card .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: background 0.2s;
}

.download-card:hover .btn-download {
    background: var(--gold-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Responsive */
@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .section {
        padding: 3rem 1.5rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Hero Section */
.blog-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('../../images/blog-hero-bg-optimized.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(68, 105, 160, 0.85) 0%, rgba(53, 82, 124, 0.9) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.blog-hero-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.blog-hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.blog-hero-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
}

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

/* Gestaffelte Animationen für Blog Hero */
.blog-hero-content h2 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.blog-hero-content p {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.blog-hero-btn {
    animation: fadeInUp 0.8s ease-out 0.6s backwards, subtlePulse 3s ease-in-out 1.5s infinite;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-hero-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-hero-btn:hover::after {
    transform: translateX(4px);
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(201, 162, 39, 0.6);
    }
}

/* Mobile: Disable parallax for better performance */
@media (max-width: 768px) {
    .blog-hero {
        height: 300px;
        background-attachment: scroll;
    }

    .blog-hero-content h2 {
        font-size: 2rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .blog-hero-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Badge für Klienten-Bereich */
.badge {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
