:root {
    --bg-main: #f8f8f8;
    --bg-surface: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    
    --accent-yellow: #fde162;
    --accent-red: #ff5064;
    --accent-blue: #005ea8;
    
    --border-color: #e6e6e6;
    --border-width: 1px;
    
    --font-main: 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
}

a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* Header & Nav */
header {
    background: var(--bg-surface);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 1rem 0;
}
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--accent-red); }
.brand span { color: var(--accent-red); }

.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { 
    font-weight: 600; 
    font-size: 1rem; 
    color: var(--text-primary); 
    text-decoration: none;
}
.nav-links a:hover { color: var(--accent-blue); text-decoration: none; }

/* Highlight Button (Melden!) */
.btn-highlight {
    background: var(--accent-yellow);
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 700 !important;
    display: inline-block;
    transition: background 0.2s;
}
.btn-highlight:hover { background: #eecd4a; text-decoration: none; }

/* Search Form */
.search-form { 
    display: flex; 
    align-items: center; 
    background: var(--bg-main); 
    border: var(--border-width) solid var(--border-color);
    padding: 0;
}
.search-form input { 
    background: none; 
    border: none; 
    color: var(--text-primary); 
    font-family: var(--font-main); 
    outline: none; 
    padding: 0.5rem 1rem; 
    width: 180px; 
}
.search-form button { 
    background: none; 
    color: var(--text-secondary); 
    border: none; 
    cursor: pointer; 
    padding: 0.5rem 1rem; 
}
.search-form button:hover { color: var(--text-primary); }

/* Container */
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }

/* Home Hero */
.hero {
    text-align: left;
    padding: 4rem 0 3rem;
    max-width: 800px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--text-primary);
}
.hero p { 
    font-size: 1.4rem; 
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0; 
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Post Card */
.post-card {
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.post-card-thumb {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}
.post-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.post-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}
.post-title { 
    font-size: 1.5rem; 
    font-weight: 800; 
    margin: 0 0 1rem; 
    line-height: 1.2; 
}
.post-excerpt { 
    font-size: 1rem; 
    color: var(--text-secondary);
    margin-bottom: 1.5rem; 
    flex-grow: 1; 
}
.read-more {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.post-card:hover .read-more { color: var(--accent-blue); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 4rem; }
.btn { 
    display: inline-block; 
    padding: 0.75rem 1.5rem; 
    background: var(--bg-surface); 
    color: var(--text-primary); 
    font-weight: 600;
    border: 1px solid var(--border-color);
    cursor: pointer; 
    text-decoration: none; 
}
.btn:hover { background: var(--bg-main); text-decoration: none;}

/* Single Post View */
.single-post-header { margin-bottom: 3rem; margin-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; text-align: left;}
.single-post-title { 
    font-size: 3rem; 
    font-weight: 800; 
    line-height: 1.15; 
    margin-bottom: 1.5rem; 
}

.media-embed {
    width: 100%;
    margin-bottom: 4rem;
    background: var(--bg-surface);
    aspect-ratio: 16/9;
}
.media-embed iframe { width: 100%; height: 100%; border: none; }

.debunk-section { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto;}

.panel {
    padding: 0;
    border-top: 4px solid var(--border-color);
    background: transparent;
}
.panel-bullshit { border-top-color: var(--text-primary); }
.panel-fact { border-top-color: var(--accent-yellow); }

.panel-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Formatted Content */
.formatted-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
}
.formatted-content p { margin-bottom: 1.5rem; }
.formatted-content h2, .formatted-content h3 { font-size: 1.8rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem;}
.formatted-content a { color: var(--accent-blue); text-decoration: underline; }
.formatted-content blockquote { 
    border-left: 4px solid var(--accent-yellow); 
    margin: 2rem 0; 
    padding-left: 1.5rem; 
    font-size: 1.3rem; 
    font-style: italic; 
    color: var(--text-secondary); 
}

/* Bullshit Meter */
.voting-section {
    margin-top: 5rem;
    padding: 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.voting-section h3 { font-size: 2rem; font-weight: 800; margin-top: 0; margin-bottom: 1rem; }
.vote-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;}
.vote-btn {
    padding: 1rem 2rem;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-primary);
}
.vote-btn:hover { background: var(--bg-surface); border-color: var(--text-secondary); }
.btn-bullshit:hover { background: var(--accent-red); color: #fff; border-color: var(--accent-red); }
.btn-fact:hover { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }

.meter-bar-container {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    margin-top: 2rem;
    display: flex;
}
.meter-red { background: var(--accent-red); height: 100%; transition: width 0.5s ease; }
.meter-green { background: var(--accent-blue); height: 100%; transition: width 0.5s ease; }
.meter-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Deepfake Image Compare Slider */
.image-compare-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
}
.image-original { width: 100%; height: 100%; object-fit: contain; background: var(--bg-main); }
.image-fake-wrapper { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; border-right: 2px solid var(--text-primary); }
.image-fake-wrapper img { width: 100vw; max-width: 1000px; height: 100%; object-fit: contain; background: var(--bg-main); }
.compare-slider { position: absolute; top: 0; left: 50%; width: 40px; height: 100%; margin-left: -20px; display: flex; justify-content: center; align-items: center; cursor: ew-resize; z-index: 10; }
.slider-line { position: absolute; width: 2px; height: 100%; background: var(--text-primary); }
.slider-button { width: 30px; height: 30px; background: var(--text-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center;}
.compare-label { position: absolute; bottom: 15px; padding: 4px 10px; font-weight: 700; font-size: 0.85rem; z-index: 5; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); }
.label-fake { left: 15px; }
.label-real { right: 15px; }

/* Badges */
.badge {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--accent-red);
    color: #fff;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Social Share */
.social-share { margin-top: 4rem; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto;}
.social-share h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.share-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.share-btn { padding: 0.5rem 1rem; font-weight: 600; color: #fff; text-decoration: none; font-size: 0.9rem; }
.share-btn:hover { opacity: 0.9; text-decoration: none; color: #fff;}
.share-wa { background: #25D366; }
.share-tw { background: #000000; }
.share-fb { background: #1877F2; }

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
footer a { color: var(--text-primary); }
