/*
Theme Name: FW Politiker-Theme
Theme URI: https://github.com/
Author: AI-Assistent
Author URI: https://openai.com
Description: Ein minimalistisches Theme für Politiker im Stil der Freien Wähler Rheinland-Pfalz. Modern, klar und auf den Inhalt fokussiert.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: minimalist, political, one-column, custom-menu, featured-images
Text Domain: fw-politiker
*/

/* --- CSS Variablen (Hier kannst du einfach Farben anpassen) --- */
:root {
    --fw-orange: #f37a1f; /* Das typische FW Orange */
    --dark-gray: #333333;
    --medium-gray: #757575;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Allgemeine Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    margin: 0;
    word-wrap: break-word;
}

/* --- Layout --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 3px solid var(--fw-orange);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title a {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-gray);
    text-decoration: none;
    text-transform: uppercase;
}
.site-title a:hover {
    color: var(--fw-orange);
}

/* --- Navigation --- */
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 25px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    padding-bottom: 5px;
    transition: all 0.2s ease-in-out;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--fw-orange);
    border-bottom: 2px solid var(--fw-orange);
}

/* --- Hero Bereich (für die Startseite) --- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dunkler Filter für bessere Lesbarkeit */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-top: 0;
    margin-bottom: 10px;
}

.hero p {
    font-size: 22px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hauptinhalt --- */
.site-content {
    padding: 60px 0;
}

article {
    margin-bottom: 40px;
}

h1,h2,h3 {
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; color: var(--fw-orange); }
h3 { font-size: 24px; }

p { margin-top: 0; }
a { color: var(--fw-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
}
.site-footer a {
    color: var(--white);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .main-navigation li {
        margin: 5px 0;
    }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
}