/* Grundlayout */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f5f7fa;
}

/* Farben: anpassbar */
:root {
    --primary: #1ABC9C;      /* Kampagnen-Hauptfarbe */
    --primary-dark: #003f82;
    --secondary: #fbbf24;    /* Akzentfarbe (z.B. gelb) */
    --light: #ffffff;
    --gray-light: #e5e7eb;
    --gray: #9aa5b1;
    --danger: #b91c1c;
    --max-width: 1100px;
}

/* Helfer */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header / Navigation */
.site-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.top-bar {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.top-bar strong {
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-line1 {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.brand-line2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-line3 {
    font-size: 0.95rem;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.nav-links a.nav-cta {
    background: var(--secondary);
    color: #1f2933;
    font-weight: 600;
}

.nav-links a.nav-cta:hover {
    background: #f59e0b;
}

/* Hero-Bereich */
.hero {
    padding: 2.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-chip {
    background: rgba(15,23,42,0.18);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: var(--secondary);
    color: #1f2933;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.hero-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-photo {
    background: rgba(15,23,42,0.2);
    border-radius: 1.25rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-photo-inner {
    background: linear-gradient(145deg, #f9fafb, #e5e7eb);
    border-radius: 0.9rem;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.2rem;
    position: relative;
}

/* Platzhalter für Kandidatenbild */
.candidate-placeholder {
    width: 100%;
    max-width: 260px;
    height: 260px;
    border-radius: 999px;
    border: 4px solid var(--primary);
    background: linear-gradient(135deg, #e5e7eb, #cbd2d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #52606d;
}

/* Badge im Bild */
.photo-badge {
    position: absolute;
    bottom: 1.4rem;
    right: 1.2rem;
    background: var(--primary);
    color: var(--light);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

/* Abschnitts-Header */
.section {
    padding: 3rem 0;
    background: #f5f7fa;
}

.section.alt {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 0.98rem;
    color: var(--gray);
}

/* Drei-Spalten-Kacheln (z.B. Programm) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    padding: 1.4rem;
    box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.card .card-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Liste mit Icons */
.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.icon-list span.icon {
    font-size: 1rem;
}

/* Zitat / Statement */
.quote-block {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem 1.7rem;
    border-left: 4px solid var(--primary);
    font-size: 1rem;
    margin-top: 1.5rem;
}

.quote-block p {
    margin-bottom: 0.8rem;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Timeline / Termine */
.timeline {
    border-left: 2px solid #d1d5db;
    padding-left: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    margin-bottom: 1.2rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -1.2rem;
    top: 0.15rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
}

.timeline-heading {
    font-weight: 600;
    font-size: 0.95rem;
}

.timeline-meta {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Formular */
.form {
    max-width: 580px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 1rem;
}

.form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd2d9;
    font-size: 0.95rem;
    font-family: inherit;
}

.form textarea {
    min-height: 130px;
    resize: vertical;
}

.form small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.2rem;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Seitenkopf (Unterseiten) */
.page-hero {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
}

.page-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.page-hero p {
    max-width: 40rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Seiten-Content */
.page-content {
    padding: 2.5rem 0;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.4rem;
}

.page-content p,
.page-content li {
    font-size: 0.97rem;
    color: #374151;
}

.page-content ul {
    margin-left: 1.2rem;
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-photo {
        order: -1;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .page-hero {
        padding: 1.6rem 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }
}
