/* ==========================================================================
   Liste Zukunft 08 – Main Stylesheet
   ========================================================================== */

:root {
	--za08-accent: #8b1538;
	--za08-accent-dark: #6a0f2a;
	--za08-blue: #1d4ed8;
	--za08-ink: #17181c;
	--za08-ink-soft: #4b4d55;
	--za08-bg: #ffffff;
	--za08-bg-alt: #f7f6f4;
	--za08-border: #e7e5e1;
	--za08-radius: 14px;
	--za08-shadow: 0 4px 20px rgba(23, 24, 28, 0.06);
	--za08-shadow-hover: 0 10px 30px rgba(23, 24, 28, 0.1);
	--za08-max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--za08-ink);
	background: var(--za08-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--za08-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.screen-reader-text {
	position: absolute; left: -9999px;
}
.skip-link:focus {
	left: 10px; top: 10px; position: fixed; z-index: 10000;
	background: #fff; padding: 10px 16px; border-radius: 8px;
}

.container {
	max-width: var(--za08-max);
	margin: 0 auto;
	padding: 0 24px;
}
.container-narrow { max-width: 760px; }

h1, h2, h3, h4 {
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

/* ---------------- Header ---------------- */
.site-header {
	position: sticky; top: 0; z-index: 500;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--za08-border);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 10px;
	background: var(--za08-accent); color: #fff;
	font-weight: 800; font-size: 1.1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .95rem; color: var(--za08-ink); }
.brand-text small { color: var(--za08-ink-soft); font-size: .78rem; }

.nav-list {
	display: flex; gap: 26px; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
	color: var(--za08-ink); font-weight: 600; font-size: .92rem;
}
.nav-list a:hover { color: var(--za08-accent); text-decoration: none; }

.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--za08-ink); }

/* ---------------- Hero ---------------- */
.hero {
	padding: 80px 0 60px;
	background: linear-gradient(180deg, var(--za08-bg-alt) 0%, var(--za08-bg) 100%);
	text-align: center;
}
.hero--has-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	padding: 130px 0;
}
.hero--has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17,18,22,.55) 0%, rgba(17,18,22,.78) 100%);
}
.hero--has-bg .container { position: relative; z-index: 1; }
.hero--has-bg .eyebrow { color: rgba(255,255,255,.85); }
.hero--has-bg h1 { color: #fff; }
.hero--has-bg .hero-text { color: rgba(255,255,255,.92); }
.hero--has-bg .hero-tags li {
	background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff;
}
.eyebrow {
	text-transform: uppercase; letter-spacing: .06em; font-size: .8rem;
	font-weight: 700; color: var(--za08-ink-soft); margin-bottom: 18px;
}
.hero h1 { max-width: 780px; margin-left: auto; margin-right: auto; }
.hero h1 em { color: var(--za08-accent); font-style: normal; }
.hero-cycle {
	display: inline-block;
	color: var(--za08-accent);
	text-align: left;
	position: relative;
	transition: opacity .35s ease, transform .35s ease;
}
.hero--has-bg .hero-cycle { color: #fff; text-decoration: underline; text-decoration-color: var(--za08-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero-cycle.is-swapping { opacity: 0; transform: translateY(8px); }
.hero-text {
	max-width: 640px; margin: 18px auto 26px; color: var(--za08-ink-soft); font-size: 1.05rem;
}
.hero-tags {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
	list-style: none; margin: 0; padding: 0;
}
.hero-tags li {
	padding: 6px 16px; border-radius: 999px; background: #fff;
	border: 1px solid var(--za08-border); font-size: .82rem; font-weight: 600;
	color: var(--za08-ink-soft);
}

/* ---------------- Sections ---------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--za08-bg-alt); }
.kicker {
	text-transform: uppercase; letter-spacing: .06em; font-size: .78rem;
	font-weight: 700; color: var(--za08-accent); margin-bottom: 10px;
}
.section-intro { color: var(--za08-ink-soft); max-width: 640px; }
.section-more { margin-top: 32px; }
.empty-hint { color: var(--za08-ink-soft); font-style: italic; }

/* ---------------- Grid & Cards ---------------- */
.grid { display: grid; gap: 22px; margin-top: 34px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-people { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
	background: #fff; border: 1px solid var(--za08-border); border-radius: var(--za08-radius);
	padding: 26px; box-shadow: var(--za08-shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--za08-shadow-hover); transform: translateY(-2px); }

.card-schwerpunkt .card-icon {
	width: 44px; height: 44px; margin-bottom: 14px;
	display: flex; align-items: center; justify-content: center;
	color: var(--za08-accent);
}
.card-schwerpunkt .card-icon svg { width: 100%; height: 100%; }
.card-schwerpunkt .card-headline {
	text-transform: uppercase; letter-spacing: .04em; font-size: .74rem;
	font-weight: 700; color: var(--za08-accent); margin: 0 0 4px;
}
.card-schwerpunkt ul { margin: 0; padding-left: 18px; color: var(--za08-ink-soft); font-size: .92rem; }
.card-schwerpunkt li { margin-bottom: 6px; }

.badge-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.badge {
	display: inline-block; padding: 3px 12px; border-radius: 999px;
	font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	color: #fff;
}
.badge-red { background: var(--za08-accent); }
.badge-blue { background: var(--za08-blue); }
.date { color: var(--za08-ink-soft); font-size: .82rem; }
.link-arrow { font-weight: 700; font-size: .88rem; }

.card-news { padding: 0; overflow: hidden; cursor: pointer; }
.card-news .card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--za08-bg-alt); }
.card-news .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-news:hover .card-img img { transform: scale(1.04); }
.card-news .card-body { padding: 22px; }
.card-news h3 { font-size: 1.05rem; }
.card-news p { color: var(--za08-ink-soft); font-size: .92rem; }

.card-person { text-align: center; cursor: pointer; }
.person-photo {
	width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
	margin: 0 auto 14px; background: var(--za08-accent);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials {
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 800; font-size: 1.3rem;
}
.person-photo.large { width: 130px; height: 130px; }
.person-rolle { font-weight: 700; margin-bottom: 2px; }
.person-partei { color: var(--za08-ink-soft); font-size: .88rem; margin-bottom: 10px; }
.person-email { font-size: .88rem; font-weight: 600; }

/* ---------------- Buttons ---------------- */
.btn {
	display: inline-block; padding: 12px 26px; border-radius: 999px;
	font-weight: 700; font-size: .92rem; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--za08-accent); color: #fff; }
.btn-primary:hover { background: var(--za08-accent-dark); }
.btn-outline { border-color: var(--za08-ink); color: var(--za08-ink); background: transparent; }
.btn-outline:hover { background: var(--za08-ink); color: #fff; }

/* ---------------- Modal ---------------- */
.modal {
	display: none; position: fixed; inset: 0; z-index: 1000;
	background: rgba(23,24,28,.6); padding: 30px 16px; overflow-y: auto;
}
.modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal-inner {
	background: #fff; border-radius: var(--za08-radius); padding: 36px;
	max-width: 640px; width: 100%; position: relative; margin: auto;
}
.modal-close {
	position: absolute; top: 16px; right: 16px; background: var(--za08-bg-alt);
	border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem;
}
.modal-img, .single-img { border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.modal-content { color: var(--za08-ink-soft); }
.modal .person-photo { margin-bottom: 16px; }

body.modal-lock { overflow: hidden; }

/* ---------------- Contact ---------------- */
.contact-grid {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 34px;
}
.contact-info p { color: var(--za08-ink-soft); }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .88rem; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--za08-border);
	border-radius: 8px; font-family: inherit; font-size: .95rem; background: var(--za08-bg-alt);
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none; border-color: var(--za08-accent); background: #fff;
}
.hp-field { position: absolute; left: -9999px; }
.form-message { padding: 12px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 18px; }
.form-success { background: #e8f5e9; color: #1b5e20; }
.form-error { background: #fdecea; color: #b3261e; }

/* ---------------- Footer ---------------- */
.site-footer {
	background: var(--za08-ink); color: #cfcfd4; padding: 40px 0; font-size: .88rem;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }

/* ---------------- Misc / single pages ---------------- */
.entry-content { margin-top: 12px; }
.lead { font-size: 1.05rem; color: var(--za08-ink-soft); }
.pagination { margin-top: 30px; display: flex; gap: 10px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.nav-list {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--za08-border);
		display: none; gap: 16px;
	}
	.nav-list.is-open { display: flex; }
	.nav-toggle { display: flex; }
	.grid-4, .grid-3 { grid-template-columns: 1fr; }
	.hero { padding: 56px 0 40px; }
	.section { padding: 52px 0; }
}
