*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #A32D2D;
    --green-light: #FCEBEB;
    --green-mid: #C94040;
    --green-dark: #791F1F;
    --teal-accent: #E24B4A;
    --ink: #1a1a18;
    --ink-mid: #444441;
    --ink-light: #888780;
    --surface: #fafaf8;
    --surface-alt: #f2f0e8;
    --border: rgba(0, 0, 0, 0.1);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-brand {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--green-dark);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-mid);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green);
}

/* HERO */
.hero {
    padding: 0;
    max-width: 100%;
    margin: 0;
    background: url("../img/hero.png") no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(10, 8, 6, 0.45) 0%,
            rgba(10, 8, 6, 0.3) 50%,
            rgba(10, 8, 6, 0.6) 100%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 5rem;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-kicker::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1.5rem;
    max-width: 750px;
}

.hero h1 em {
    font-style: italic;
    color: #f9b3b3;
}

#stadtteil {
    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    line-height: 1.75;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
}

/* SECTION BASE */
section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1rem;
    color: var(--ink-mid);
    max-width: 560px;
    margin-bottom: 3rem;
}

/* DIVIDER */
hr.divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

/* GOALS */
#ziele {
    background: var(--surface-alt);
}

.goal-clusters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.goal-cluster {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.goal-cluster-icon {
    width: 36px;
    height: 36px;
    background: var(--green-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.goal-cluster-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--green);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.goal-cluster h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.goal-cluster ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.goal-cluster li {
    font-size: 0.875rem;
    color: var(--ink-mid);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.goal-cluster li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal-accent);
    font-size: 0.8rem;
    top: 0.05em;
}

/* ANTRÄGE */
#antraege {
    background: var(--surface);
}

.antrag-summary {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-top: 0.35rem;
    line-height: 1.5;
}

.antraege-placeholder {
    border: 1.5px dashed var(--border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--ink-light);
}

.antraege-placeholder p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.antraege-placeholder .placeholder-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.antraege-placeholder .placeholder-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--green);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.antrag-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.antrag-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.antrag-card:hover {
    border-color: var(--green-mid);
}

.antrag-meta {
    font-size: 0.75rem;
    color: var(--ink-light);
    margin-bottom: 0.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.antrag-type {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--green-light);
    color: var(--green-dark);
    letter-spacing: 0.04em;
}

.antrag-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.antrag-link {
    font-size: 0.8rem;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.2s, color 0.2s;
}

.page-btn:hover {
    border-color: var(--green-mid);
    color: var(--green);
}

.page-btn.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

/* PERSONEN */
#fraktion {
    background: var(--surface-alt);
}

.persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.person-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.person-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.person-card:hover {
    border-color: var(--green-mid);
    transform: translateY(-2px);
}

/* PERSON OVERLAY */
.person-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.55);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.person-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.person-box {
    background: var(--surface);
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    position: relative;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.person-overlay.open .person-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.person-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.person-box h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.person-box-role {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green-mid);
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.person-box-party {
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 1.25rem;
}

.person-box-party img {
    width:100px;
}

.person-box-bio {
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.person-box-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.avatar-md {
    background: #E1F5EE;
    color: var(--green-dark);
}

.avatar-pl {
    background: var(--surface-alt);
    color: var(--ink-mid);
    border: 1px solid var(--border);
}

.person-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.person-role {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green-mid);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.person-party {
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 1.25rem;
}

.person-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-mid);
    text-decoration: none;
}

.contact-item:hover {
    color: var(--green);
}

.contact-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* KONTAKT */
#kontakt {
    background: var(--surface);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
}

.kontakt-info p {
    font-size: 0.95rem;
    color: var(--ink-mid);
    margin-bottom: 1.5rem;
}

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kontakt-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--ink-mid);
}

.kontakt-detail svg {
    width: 16px;
    height: 16px;
    stroke: var(--green);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-mid);
}

.btn-primary {
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background: var(--green);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-primary:hover {
    background: var(--green-dark);
}

/* LOGO */
.logo-mark {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-svg {
    flex-shrink: 0;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--green-dark);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--ink-light);
    text-transform: uppercase;
}

.hero-logo {
    margin-bottom: 2.5rem;
}

/* IMPRESSUM MODAL */
.impressum-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(20,18,16,0.55);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.impressum-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.impressum-overlay.open .impressum-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.impressum-box {
    background: var(--surface);
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    padding: 2rem 2rem 1.5rem;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.impressum-box h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.impressum-box h3 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin: 1.25rem 0 0.4rem;
}

.impressum-box p, .impressum-box a {
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.6;
}

.impressum-box a {
    color: var(--green);
}

.impressum-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--surface-alt);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--ink-mid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.impressum-close:hover {
    background: var(--border);
}

/* FOOTER */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.5);
    padding: 2.5rem 2rem;
    font-size: 0.8rem;
    text-align: center;
}

footer strong {
    color: rgba(255, 255, 255, 0.8);
}

/* RESPONSIVE */
@media (max-width: 960px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 4rem 1.25rem 3.5rem;
    }

    section {
        padding: 3.5rem 1.25rem;
    }
}