:root {
    --primary-color: #1e3a8a; /* Trustworthy dark blue */
    --secondary-color: #3b82f6; /* Modern bright blue */
    --accent-color: #f59e0b; /* Attention/Action color */
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-main: #f9fafb;
    --bg-surface: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--bg-surface);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Editorial Notice */
.editorial-notice {
    background-color: #fffbeb;
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    margin: -30px auto 40px;
    max-width: 900px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.editorial-notice p {
    color: #92400e;
    font-size: 0.95rem;
    margin: 0;
}

/* Typography & Content Formatting */
main {
    flex: 1;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary-color);
}

.content-block {
    background-color: var(--bg-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}

.content-block h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-block p {
    margin-bottom: 15px;
}

/* Transparency & Disclosure */
.disclosure-box {
    background-color: #f3f4f6;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Dashboard / Comparison Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-main);
    font-weight: 600;
    color: var(--text-muted);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-specialized { background-color: #dbeafe; color: #1e40af; }
.badge-general { background-color: #f3f4f6; color: #374151; }

.check-icon { color: var(--success-color); font-weight: bold; }
.cross-icon { color: var(--border-color); }

/* Review Cards Grid */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background-color: var(--bg-surface);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.review-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.review-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.features-list {
    margin-bottom: 20px;
}

.features-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '✓';
    color: var(--success-color);
    margin-right: 8px;
    font-weight: bold;
}

/* Filters */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Platform Icons */
.platform-section {
    text-align: center;
    padding: 40px 0;
    background-color: var(--bg-surface);
    margin: 40px 0;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
}

.platform-item svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    fill: currentColor;
}

/* Articles List */
.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-item {
    background-color: var(--bg-surface);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.article-item h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Ratgeber Specific */
.ratgeber-nav {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.ratgeber-nav ul {
    columns: 2;
}
@media(max-width:768px) {
    .ratgeber-nav ul { columns: 1; }
}

.ratgeber-nav li {
    margin-bottom: 10px;
}

.ratgeber-section {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    background-color: var(--bg-surface);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px; /* arbitrary max-height for animation */
    border-top: 1px solid var(--border-color);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-family);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #111827;
    color: #f9fafb;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #6b7280;
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.copyright {
    font-size: 0.85rem;
    color: #4b5563;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1000;
    display: none; /* hidden by default, shown by JS */
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--primary-color);
}

.btn-accept-all { background-color: var(--primary-color); color: white; }
.btn-essential { background-color: white; color: var(--primary-color); }
.btn-manage { background-color: transparent; border: none; text-decoration: underline; color: var(--text-muted); }

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-surface);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
}