/* Globale Definitionen und Reset */
:root {
    --color-primary-dark: #121212;   /* Tiefes Schwarz */
    --color-secondary-light: #ffffff; /* Reines Weiß */
    --color-accent-blue: #324A66;    /* BLUTGRAU (Dunkleres, satteres Blau mit Graustich) */
    --color-mid-grey: #e9e9e9;       /* Helles, kühles Grau */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

/* 1. ANIMIERTER HINTERGRUND & TYPOGRAFIE */
@keyframes backgroundFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-primary-dark);
    
    /* Hintergrund-Flow: Sehr subtiler, kühler Farbverlauf */
    background: linear-gradient(145deg, var(--color-mid-grey), var(--color-secondary-light), #f8f8f8, var(--color-mid-grey));
    background-size: 300% 300%; 
    animation: backgroundFlow 25s ease infinite alternate; /* Langsamer, edler Flow */
    min-height: 100vh;
}

/* 2. NAVBAR */
.navbar {
    position: sticky; /* Sticky statt Fixed für sauberes Scrollen */
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98); /* Kaum sichtbar transparent */
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    height: 80px;
    z-index: 1000;
}

.logo {
    font-size: 1.6em;
    font-weight: 900;
    color: var(--color-accent-blue);
    letter-spacing: 3px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary-dark);
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-links a:after { /* Unterstrich-Hover-Effekt */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--color-accent-blue);
    transition: width var(--transition-speed) ease;
}
.nav-links a:hover:after {
    width: 100%;
    left: 0;
    background: var(--color-accent-blue);
}

.cta-nav { /* CTA im Nav-Bereich */
    background-color: var(--color-accent-blue);
    color: var(--color-secondary-light) !important;
    padding: 8px 15px;
    border-radius: 4px;
    margin-left: 40px;
}
.cta-nav:hover {
    background-color: #2F5286;
}
.cta-nav:after { content: none; } /* Deaktiviert den Unterstrich beim Button */

/* 3. HERO SECTION (Layout und Stil) */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5vw 80px;
    background-color: var(--color-mid-grey); 
    gap: 50px;
}

.hero-content {
    max-width: 600px;
}

.pre-heading {
    font-weight: 600;
    color: var(--color-accent-blue);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.8em;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 1.3em;
    color: var(--color-dark-grey);
    border-left: 5px solid var(--color-accent-blue);
    padding-left: 20px;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--color-primary-dark);
    color: var(--color-secondary-light);
    text-decoration: none;
    border-radius: 50px; /* Abgerundet */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--color-accent-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.profile-figure {
    width: 350px;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 8px solid var(--color-accent-blue); /* Dicker Rahmen */
    border-radius: 10px;
    transition: transform 0.5s ease;
}
.profile-figure:hover {
    transform: rotate(1deg) scale(1.02);
}

.profile-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1); /* Kontrastreiches S/W */
}
.profile-figure figcaption {
    font-style: italic;
    font-size: 0.85em;
    text-align: center;
    color: var(--color-primary-dark);
    padding: 5px 0;
    background-color: var(--color-secondary-light);
    border-top: 1px solid #ccc;
}


/* 4. CONTENT SECTIONS & TYPOGRAPHY */
.content-section {
    padding: 80px 5vw;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--color-accent-blue);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}
.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary-dark);
}

/* Layouts */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.text-block h3 {
    color: var(--color-primary-dark);
    margin-top: 0;
}
.realist-note {
    font-style: italic;
    color: var(--color-accent-blue);
    border-left: 3px solid var(--color-accent-blue);
    padding-left: 10px;
    margin-top: 20px; /* Hinzugefügt für besseren Abstand */
}

.card {
    background: var(--color-secondary-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--color-accent-blue);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--color-accent-blue);
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* Style für hervorgehobenen Text (HIGHLIGHT) */
.highlight {
    font-weight: 700;
    font-size: 1.1em; 
    color: var(--color-primary-dark);
    background-color: var(--color-mid-grey);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.text-block h3 .highlight {
    font-size: 1em; 
    background-color: transparent;
    color: var(--color-accent-blue);
    padding: 0;
}

/* NEU: Bessere Listen-Formatierung für das Impressum */
.text-block ul {
    list-style: disc;
    padding-left: 25px;
    margin: 10px 0 20px 0;
}
/* Für Listen, die keine Aufzählungspunkte brauchen (z.B. Logfiles) */
.no-list-style {
    list-style: none;
    padding-left: 0;
}
.no-list-style li {
    padding-left: 1.3em; 
    text-indent: -1.3em; /* Hängt den Text ein */
    margin-bottom: 5px;
}
.no-list-style li::before {
    content: "•"; /* Bulletpoint als Icon */
    color: var(--color-accent-blue); 
    font-weight: bold; 
    display: inline-block;
    width: 1.3em; 
}


/* 5. FOOTER UND POLITISCHE BOTSCHAFT */
.footer {
    text-align: center;
    padding: 30px 5vw 15px;
    background-color: var(--color-primary-dark);
    color: var(--color-mid-grey);
}

.politische-botschaft {
    background-color: #A31C1C; /* Tieferes, ernsteres Rot */
    color: var(--color-secondary-light);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    animation: pulse 1s infinite alternate; 
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px #A31C1C; }
    100% { box-shadow: 0 0 15px #A31C1C, 0 0 25px rgba(163, 28, 28, 0.6); }
}

.accent-text {
    color: #ffcc00; /* Gelber Akzent in der Botschaft */
}

.copyright {
    font-size: 0.8em;
}

/* 6. RESPONSIVITÄT */
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }
    .nav-links a {
        margin-left: 15px;
    }

    .hero-section {
        flex-direction: column; 
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section .subtitle {
        font-size: 1.1em;
        padding-left: 0;
        border-left: none;
        border-bottom: 3px solid var(--color-accent-blue);
        padding-bottom: 10px;
    }

    .profile-figure {
        width: 100%;
        max-width: 300px;
        height: 350px;
        margin-bottom: 30px;
        order: 1;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-section {
        padding: 60px 20px;
    }
}