/* =====================================================================
   Linke gegen Leerstand - campaign design system
   Aligned with the official Die Linke ("Lissi") corporate design:
   https://lissi.die-linke.de/

   - Colours: Die Linke Rot #FF0000 as the central colour, plus the
     official secondary pairs (Dunkelrot, Dunkelgrün/Türkis,
     Violett/Rosa, Blau/Hellblau).
   - Type: Work Sans for all headlines (Black 900 for presence, Light
     300 for contrast), mixed case - never all-caps. Inter for body.
   - Form: flat, geometric, sharp-cornered; the signature El-Lissitzky
     "red wedge" rendered as per-line red banner boxes on headlines.
   ===================================================================== */

:root {
	/* Primary */
	--lgl-red: #ff0000;        /* Die Linke Rot - large display fills only (>=24px / >=18.7px bold) */
	--lgl-red-ink: #cc0000;    /* Accessible red for normal-size white-on-red text & red text on white (>=5.9:1) */
	--lgl-red-dark: #6f003c;   /* Dunkelrot - hover */
	/* Secondary pairs */
	--lgl-teal: #004b5b;       /* Dunkelgrün */
	--lgl-turquoise: #00b19c;  /* Türkis */
	--lgl-violet: #8100a1;     /* Violett */
	--lgl-pink: #d675d8;       /* Rosa */
	--lgl-blue: #2e4fc4;       /* Blau */
	--lgl-blue-light: #d4d4ff; /* Hellblau */
	/* Neutrals */
	--lgl-ink: #111111;
	--lgl-ink-soft: #4a4a4a;
	--lgl-paper: #ffffff;
	--lgl-paper-soft: #f4f4f2;
	--lgl-paper-tint: #f7f7f4;
	--lgl-line: #e3e3e0;

	/* Work Sans drives every headline; Inter carries body copy. */
	--lgl-font-display: "Work Sans", system-ui, sans-serif;
	--lgl-font-head: "Work Sans", system-ui, sans-serif;
	--lgl-font-body: "Inter", system-ui, -apple-system, sans-serif;

	--lgl-wrap: 1120px;
	--lgl-wrap-narrow: 760px;
	--lgl-gap: clamp(1.25rem, 3vw, 2.5rem);
	--lgl-section-y: clamp(3.5rem, 8vw, 7rem);
	--lgl-radius: 0;           /* flat, geometric - sharp corners */
	--lgl-shadow: 0 12px 28px -22px rgba(0, 0, 0, 0.45);
}

/* ---- Base ---- */
.lgl-front,
.lgl-fullbleed {
	font-family: var(--lgl-font-body);
	color: var(--lgl-ink);
	background: var(--lgl-paper);
}

.lgl-front .site-content,
.lgl-fullbleed .site-content {
	display: block;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

.lgl-front .content-area,
.lgl-fullbleed .content-area,
.lgl-front .lgl-main,
.lgl-fullbleed .lgl-main {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
	float: none;
}

/* Two-register colour system:
   - Information register (most of the page): neutral paper + ink, teal as the
     working accent for data, sourcing and links - reads as a calm, authoritative
     briefing for a cross-party audience.
   - Advocacy register (clearly attributed to Die Linke): the strong red, reserved
     for the hero banners, the primary CTA, the measures section and the closing
     claim. Red signals "Die Linke's position", not the page background. */
.lgl-main p { line-height: 1.7; }
.lgl-main a { color: var(--lgl-teal); }
.lgl-main a:hover { color: var(--lgl-red-ink); }

.lgl-wrap {
	width: 100%;
	max-width: var(--lgl-wrap);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.lgl-wrap--narrow { max-width: var(--lgl-wrap-narrow); }

.lgl-section { padding-block: var(--lgl-section-y); }

/* Eyebrow = small red banner box (the red-wedge motif at label scale).
   Mixed case, never all-caps, per the Die Linke type rules. */
.lgl-eyebrow {
	display: inline-block;
	font-family: var(--lgl-font-head);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.2;
	color: #fff;
	background: var(--lgl-red-ink);
	padding: 0.35em 0.7em;
	margin: 0 0 1.1rem;
}
.lgl-eyebrow--invert { color: #fff; background: rgba(255, 255, 255, 0.22); }
/* Teal eyebrow for the information register (data / sourcing / wayfinding). */
.lgl-eyebrow--info { background: var(--lgl-teal); }

.lgl-section__title {
	font-family: var(--lgl-font-display);
	font-weight: 900;
	line-height: 1.04;
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	letter-spacing: -0.015em;
	margin: 0 0 1.5rem;
	color: var(--lgl-ink);
}
.lgl-section__title--invert { color: var(--lgl-paper); }
.lgl-section__lead {
	font-family: var(--lgl-font-head);
	font-weight: 400;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.4;
	color: var(--lgl-ink-soft);
	max-width: 60ch;
	margin: 0 0 2.5rem;
}

/* ---- Buttons ---- */
.lgl-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1;
	padding: 1rem 1.8rem;
	border-radius: 0;
	text-decoration: none;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
	border: 2px solid transparent;
}
.lgl-btn.lgl-btn--primary { background: var(--lgl-red-ink); color: #fff; }
.lgl-btn.lgl-btn--primary:hover { background: var(--lgl-red-dark); transform: translateY(-2px); color: #fff; }
.lgl-btn.lgl-btn--ghost { background: transparent; color: var(--lgl-red-ink); border-color: var(--lgl-red-ink); }
.lgl-btn.lgl-btn--ghost:hover { background: var(--lgl-red-ink); color: #fff; }
/* Light ghost - for use on dark photo/colour (e.g. the hero). */
.lgl-btn.lgl-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.lgl-btn.lgl-btn--light:hover { background: #fff; color: var(--lgl-ink); transform: translateY(-2px); }
.lgl-btn:focus-visible { outline: 3px solid var(--lgl-ink); outline-offset: 2px; }
.lgl-btn--light:focus-visible { outline-color: #fff; }

.lgl-cta { margin-top: 2rem; }
.lgl-link { color: var(--lgl-teal); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }
.lgl-link:hover { color: var(--lgl-red-ink); }

/* ---- Icons (Lucide, inline SVG) ----
   Sized in em so they scale with the font-size of their context, and coloured
   via currentColor so the design-system palette applies through CSS `color`. */
.lgl-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex: 0 0 auto; }

/* ---- Hero ---- */
.lgl-hero {
	position: relative;
	min-height: clamp(420px, 85vh, 720px);
	display: flex;
	align-items: flex-end;
	background-image: var(--lgl-hero-image);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}
/* Dark scrim (not red): keeps the building photo legible and lets the
   red headline banners read as the dominant brand colour on top. */
.lgl-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
}
.lgl-hero__inner { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: clamp(6rem, 7vw, 5.5rem); }
/* Headline as per-line red banner boxes - the El-Lissitzky red wedge.
   `display: inline` + box-decoration-break wraps each line in its own
   solid red box; Work Sans Black, mixed case. */
.lgl-hero__title {
	display: inline;
	font-family: var(--lgl-font-display);
	font-weight: 900;
	font-size: clamp(2.6rem, 7vw, 5rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
	color: #fff;
	background: var(--lgl-red);
	padding: 0.08em 0.28em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
/* Hero dek: one calm orienting line under the headline banners. Sits in its own
   dark plate so it stays legible over the photo without competing with the red. */
.lgl-hero__dek {
	max-width: 46ch;
	margin: 1.5rem 0 0;
	font-family: var(--lgl-font-head);
	font-weight: 500;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.5;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.lgl-hero__cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lgl-scroll-arrow {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	transform: translateX(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 1.5rem;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	animation: lgl-bounce 1.8s infinite;
}
.lgl-scroll-arrow:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }
@keyframes lgl-bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .lgl-scroll-arrow { animation: none; } }

/* ---- Intro ---- */
.lgl-intro { background: var(--lgl-paper); text-align: center; }
.lgl-intro__lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--lgl-ink); line-height: 1.65; }
.lgl-intro__lead p { margin: 0 0 1.1rem; }
/* Callout = a highlighted Die-Linke demand, but rendered in the information
   register: attribution carried by the bold "Die Linke" in the text, not by a
   full red plate. Teal accent bar keeps it calm and accessible. */
.lgl-callout {
	margin: 2.5rem auto;
	max-width: 640px;
	text-align: left;
	background: var(--lgl-paper-soft);
	color: var(--lgl-ink);
	border-left: 5px solid var(--lgl-teal);
	border-radius: var(--lgl-radius);
	padding: 1.4rem 1.6rem;
	font-family: var(--lgl-font-head);
	font-size: 1.15rem;
	line-height: 1.5;
	box-shadow: var(--lgl-shadow);
}
.lgl-callout p { margin: 0; }
.lgl-callout strong { color: var(--lgl-red-ink); }
.lgl-intro__note { color: var(--lgl-ink-soft); max-width: 52ch; margin-inline: auto; }

/* Quick-nav cards */
.lgl-quicknav {
	list-style: none;
	margin: 3.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, 1fr);
}
/* Wayfinding cards: restrained neutral surfaces with a single coloured accent
   bar from the official secondary palette - readable and calm, not four
   competing colour blocks. */
.lgl-quicknav__item a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
	height: 100%;
	min-height: 150px;
	padding: 1.4rem;
	text-align: left;
	text-decoration: none;
	color: var(--lgl-ink);
	background: var(--lgl-paper);
	border: 1px solid var(--lgl-line);
	border-top: 4px solid var(--lgl-teal);
	border-radius: var(--lgl-radius);
	box-shadow: var(--lgl-shadow);
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* Official secondary colour pairs, one accent per card. */
.lgl-quicknav__item:nth-child(1) a { border-top-color: var(--lgl-teal); }
.lgl-quicknav__item:nth-child(2) a { border-top-color: var(--lgl-violet); }
.lgl-quicknav__item:nth-child(3) a { border-top-color: var(--lgl-blue); }
.lgl-quicknav__item:nth-child(4) a { border-top-color: var(--lgl-red-ink); }
.lgl-quicknav__item a:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.5); }
.lgl-quicknav__arrow { font-size: 1.4rem; color: var(--lgl-teal); }
.lgl-quicknav__item:nth-child(2) .lgl-quicknav__arrow { color: var(--lgl-violet); }
.lgl-quicknav__item:nth-child(3) .lgl-quicknav__arrow { color: var(--lgl-blue); }
.lgl-quicknav__item:nth-child(4) .lgl-quicknav__arrow { color: var(--lgl-red-ink); }

/* ---- Stat blocks ---- */
.lgl-stat--muc { background: var(--lgl-paper-soft); }
.lgl-stat--bayern { background: var(--lgl-paper); }
.lgl-stat__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: var(--lgl-gap);
	align-items: start;
}
.lgl-stat__grid--reverse .lgl-stat__figures { order: 2; }
.lgl-stat__figures { display: grid; gap: 1.5rem; }
/* Fact card (information register): the figure reads as sourced data, not a
   slogan. Big teal number, a plain-language interpretation, neutral surface. */
.lgl-stat__fig {
	background: var(--lgl-paper);
	color: var(--lgl-ink);
	border: 1px solid var(--lgl-line);
	border-left: 5px solid var(--lgl-teal);
	border-radius: var(--lgl-radius);
	padding: 1.5rem 1.6rem;
	box-shadow: var(--lgl-shadow);
}
.lgl-stat__num {
	display: block;
	font-family: var(--lgl-font-display);
	font-weight: 900;
	font-size: clamp(2.6rem, 6vw, 4rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--lgl-teal);
}
.lgl-stat__label { display: block; margin-top: 0.5rem; font-family: var(--lgl-font-head); font-weight: 600; color: var(--lgl-ink); }
/* Interpretation line - the "so what" that turns a number into understanding. */
.lgl-stat__note { display: block; margin-top: 0.7rem; font-family: var(--lgl-font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.35; color: var(--lgl-ink-soft); padding-top: 0.7rem; border-top: 1px solid var(--lgl-line); }
.lgl-stat__body h2 { font-family: var(--lgl-font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 0 1rem; }
.lgl-stat__body p { color: var(--lgl-ink-soft); }
.lgl-stat__body p.lgl-eyebrow { color: #fff; }

/* Source citation line (stats + vacancy cards). Makes provenance explicit. */
.lgl-source { margin: 1rem 0 0; font-family: var(--lgl-font-head); font-size: 0.88rem; color: var(--lgl-ink-soft); }
.lgl-source__label { font-weight: 700; color: var(--lgl-ink); }
.lgl-source__link { color: var(--lgl-teal); text-decoration: underline; text-underline-offset: 0.15em; }
.lgl-source__link:hover { color: var(--lgl-red-ink); }
/* Freshness / methodology note. */
.lgl-datanote { margin: 0.5rem 0 0; font-family: var(--lgl-font-head); font-size: 0.82rem; color: var(--lgl-ink-soft); }

/* ---- Card grids (causes & measures) ---- */
.lgl-cards--causes { background: var(--lgl-paper); }
.lgl-cards--measures { background: var(--lgl-teal); }
.lgl-grid { display: grid; gap: var(--lgl-gap); }
.lgl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lgl-grid--2 { grid-template-columns: repeat(2, 1fr); }

.lgl-card {
	background: var(--lgl-paper);
	border: 1px solid var(--lgl-line);
	border-radius: var(--lgl-radius);
	padding: 1.75rem;
	box-shadow: var(--lgl-shadow);
}
.lgl-card__icon { font-size: 2.25rem; margin-bottom: 0.75rem; color: var(--lgl-teal); line-height: 1; }
.lgl-card__icon .lgl-emoji { font-size: 2.25rem; }
.lgl-card__title { font-family: var(--lgl-font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin: 0 0 0.75rem; color: var(--lgl-ink); }
.lgl-card__text { color: var(--lgl-ink-soft); font-size: 0.98rem; line-height: 1.6; }
.lgl-card__text p { margin: 0 0 0.75rem; }
.lgl-card__text p:last-child { margin-bottom: 0; }

/* Causes: rotate the official secondary palette across the open card icons so
   each reason carries a distinct brand colour (calm info register, not red). */
.lgl-cards--causes .lgl-card:nth-child(7n+2) .lgl-card__icon { color: var(--lgl-blue); }
.lgl-cards--causes .lgl-card:nth-child(7n+3) .lgl-card__icon { color: var(--lgl-violet); }
.lgl-cards--causes .lgl-card:nth-child(7n+4) .lgl-card__icon { color: var(--lgl-turquoise); }
.lgl-cards--causes .lgl-card:nth-child(7n+5) .lgl-card__icon { color: var(--lgl-pink); }
.lgl-cards--causes .lgl-card:nth-child(7n+6) .lgl-card__icon { color: var(--lgl-red-dark); }
.lgl-cards--causes .lgl-card:nth-child(7n+7) .lgl-card__icon { color: var(--lgl-red-ink); }

/* Measures: numbered editorial cards, fully readable, on the teal advocacy band. */
.lgl-card--measure { display: flex; gap: 1.25rem; align-items: flex-start; }
.lgl-card--measure .lgl-card__body { flex: 1 1 auto; min-width: 0; }
.lgl-card--measure .lgl-card__title { margin-top: 0.15rem; }
.lgl-card__num {
	flex: 0 0 auto;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	background: var(--lgl-red-ink); color: #fff;
	font-family: var(--lgl-font-display); font-weight: 900; font-size: 1.4rem;
	border-radius: 0;
}
.lgl-card__icon-inline { margin-right: 0.35rem; color: var(--lgl-teal); }
.lgl-card__icon-inline .lgl-icon { font-size: 1.1em; vertical-align: -0.15em; }

/* ---- Causes: stacked accordion ---- */
.lgl-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.lgl-accordion__item {
	background: var(--lgl-paper);
	border: 1px solid var(--lgl-line);
	border-radius: var(--lgl-radius);
	box-shadow: var(--lgl-shadow);
	overflow: hidden;
}
.lgl-accordion__summary {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1.1rem 1.5rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--lgl-ink);
}
.lgl-accordion__summary::-webkit-details-marker { display: none; }
.lgl-accordion__summary:focus-visible { outline: 2px solid var(--lgl-red); outline-offset: -2px; }
.lgl-accordion__icon { font-size: 1.6rem; line-height: 1; color: var(--lgl-red); flex: 0 0 auto; }
.lgl-accordion__icon .lgl-emoji { font-size: 1.6rem; }
/* Causes: rotate the official secondary palette across the icons so each row
   carries a different brand colour (design-system colour rule). */
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+2) .lgl-accordion__icon { color: var(--lgl-blue); }
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+3) .lgl-accordion__icon { color: var(--lgl-violet); }
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+4) .lgl-accordion__icon { color: var(--lgl-teal); }
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+5) .lgl-accordion__icon { color: var(--lgl-turquoise); }
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+6) .lgl-accordion__icon { color: var(--lgl-pink); }
.lgl-accordion:not(.lgl-accordion--measures) .lgl-accordion__item:nth-child(7n+7) .lgl-accordion__icon { color: var(--lgl-red-dark); }
.lgl-accordion__title { flex: 1 1 auto; }
.lgl-accordion__chevron {
	flex: 0 0 auto;
	display: inline-flex;
	font-size: 1.35rem;
	color: var(--lgl-ink-soft);
	transition: transform 0.2s ease;
}
.lgl-accordion__item[open] .lgl-accordion__chevron { transform: rotate(180deg); }
.lgl-accordion__text {
	padding: 0 1.5rem 1.4rem;
	color: var(--lgl-ink-soft);
	font-size: 0.98rem;
}
.lgl-accordion__text p { margin: 0 0 0.75rem; }
.lgl-accordion__text p:last-child { margin-bottom: 0; }

/* Measures accordion: numbered badge */
.lgl-accordion__num {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--lgl-red); color: #fff;
	font-family: var(--lgl-font-display); font-weight: 900; font-size: 1.2rem;
	border-radius: 0;
}
.lgl-accordion__icon-inline { margin-right: 0.4rem; color: var(--lgl-teal); }
.lgl-accordion__icon-inline .lgl-icon { font-size: 1.2em; vertical-align: -0.2em; }
.lgl-accordion--measures .lgl-accordion__text { padding-left: calc(1.5rem + 40px + 0.85rem); }

/* ---- Aktion ---- */
.lgl-aktion { background: var(--lgl-paper-tint); text-align: center; }
.lgl-aktion__text { font-size: 1.1rem; color: var(--lgl-ink-soft); line-height: 1.7; max-width: 62ch; margin-inline: auto; }

/* ---- Examples ---- */
.lgl-examples { background: var(--lgl-paper-soft); }
.lgl-citybar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2.5rem; }
.lgl-citybar__label { font-family: var(--lgl-font-head); font-weight: 600; color: var(--lgl-ink-soft); }
.lgl-citybar ul { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }

/* ---- Vacancy cards ---- */
.lgl-examples__preview { margin-bottom: 1rem; }
.lgl-vacancy-list { display: grid; gap: var(--lgl-gap); grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.lgl-vacancy {
	background: var(--lgl-paper);
	border: 1px solid var(--lgl-line);
	border-top: 4px solid var(--lgl-teal);
	border-radius: var(--lgl-radius);
	overflow: hidden;
	box-shadow: var(--lgl-shadow);
	display: flex;
	flex-direction: column;
}
.lgl-vacancy__media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.lgl-vacancy__body { padding: 1.5rem; }
.lgl-vacancy__title { font-family: var(--lgl-font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin: 0 0 1rem; color: var(--lgl-ink); }
/* Meta presented as a compact data sheet: teal labels, clear values. */
.lgl-vacancy__meta { display: grid; gap: 0.45rem; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--lgl-line); }
.lgl-vacancy__meta > div { display: flex; gap: 0.5rem; }
.lgl-vacancy__meta dt { font-family: var(--lgl-font-head); font-weight: 700; min-width: 110px; color: var(--lgl-teal); margin: 0; }
.lgl-vacancy__meta dd { margin: 0; color: var(--lgl-ink); }
.lgl-vacancy__owner { font-weight: 600; }
.lgl-vacancy__story h4, .lgl-vacancy__press h4 { font-family: var(--lgl-font-head); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--lgl-teal); margin: 1rem 0 0.4rem; }
.lgl-vacancy__story { color: var(--lgl-ink-soft); font-size: 0.96rem; line-height: 1.6; }
/* Press = sourced citations. */
.lgl-vacancy__press ul { list-style: none; margin: 0; padding: 0; }
.lgl-vacancy__press li { margin-bottom: 0.3rem; padding-left: 1.1rem; position: relative; font-size: 0.92rem; }
.lgl-vacancy__press li::before { content: "›"; position: absolute; left: 0; color: var(--lgl-teal); font-weight: 700; }
.lgl-vacancy__press a { color: var(--lgl-teal); text-underline-offset: 0.15em; }
.lgl-vacancy__press a:hover { color: var(--lgl-red-ink); }

/* Teaser card: links through to the full, indexable example page. */
.lgl-vacancy--teaser .lgl-vacancy__body { display: flex; flex-direction: column; flex: 1; }
.lgl-vacancy__media { display: block; }
.lgl-vacancy__title a { color: inherit; text-decoration: none; }
.lgl-vacancy__title a:hover { color: var(--lgl-red-ink); }
.lgl-vacancy__excerpt { color: var(--lgl-ink-soft); font-size: 0.96rem; line-height: 1.6; margin: 0 0 1.25rem; }
.lgl-vacancy__more { display: inline-flex; align-items: center; gap: 0.35em; margin-top: auto; font-family: var(--lgl-font-head); font-weight: 700; color: var(--lgl-red-ink); text-decoration: none; }
.lgl-vacancy__more:hover { color: var(--lgl-red-dark); }

/* ---- Vacancy single (full, indexable example page) ---- */
/* Shares the generic content-page layout: full page-hero header + centered
   narrow body (.lgl-wrap--narrow), matching page.php. */
.lgl-breadcrumb { margin-bottom: 1rem; }
.lgl-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.lgl-breadcrumb li { display: flex; align-items: center; gap: 0.45rem; color: rgba(255, 255, 255, 0.8); }
.lgl-breadcrumb li:not(:last-child)::after { content: "/"; opacity: 0.55; }
.lgl-breadcrumb a { color: #fff; text-decoration: none; text-underline-offset: 0.15em; }
.lgl-breadcrumb a:hover { text-decoration: underline; }
.lgl-breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }
.lgl-vacancy-single__body { padding-block: var(--lgl-section-y); }
.lgl-vacancy-single__media { margin: 0 0 2rem; }
.lgl-vacancy-single__media img { width: 100%; height: auto; display: block; border-radius: var(--lgl-radius); }
.lgl-vacancy-single__story, .lgl-vacancy-single__press { margin-top: 2.5rem; }
.lgl-vacancy-single__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.lgl-vacancy-single__related { background: var(--lgl-paper-tint); border-top: 1px solid var(--lgl-line); }

/* ---- Examples pages ---- */
.lgl-examples-page { background: var(--lgl-paper); }
.lgl-examples-page__head { margin-bottom: 1.5rem; }
.lgl-examples-page__intro { max-width: 62ch; color: var(--lgl-ink-soft); margin-bottom: 1.5rem; }
.lgl-citytabs ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 2.5rem; padding: 0; border-bottom: 2px solid var(--lgl-line); }
.lgl-citytab { display: inline-block; padding: 0.7rem 1.2rem; font-family: var(--lgl-font-head); font-weight: 700; text-decoration: none; color: var(--lgl-ink-soft); border-radius: 8px 8px 0 0; }
.lgl-citytab.is-active, .lgl-citytab:hover { color: var(--lgl-teal); box-shadow: inset 0 -3px 0 var(--lgl-teal); }
.lgl-city-block { margin-bottom: 3rem; }
.lgl-city-block__title { font-family: var(--lgl-font-display); font-weight: 800; font-size: 1.8rem; margin: 0 0 1.25rem; }

.lgl-empty { color: var(--lgl-ink-soft); font-style: italic; }

/* ---- Generic content pages (Template: Inhaltsseite) ---- */
.lgl-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(220px, 38vh, 360px);
	background: var(--lgl-red-ink);
	color: #fff;
	overflow: hidden;
}
.lgl-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, var(--lgl-red-ink) 0%, var(--lgl-red-ink) 45%, var(--lgl-red-dark) 100%);
}
.lgl-page-hero__inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4rem); }
.lgl-page-hero__title {
	font-family: var(--lgl-font-display);
	font-weight: 900;
	font-size: clamp(2.2rem, 5.5vw, 3.6rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0;
	max-width: 22ch;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.lgl-page-hero__lead {
	font-family: var(--lgl-font-head);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	max-width: 52ch;
	margin: 1.25rem 0 0;
}

.lgl-page-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.5rem 0 0;
	font-family: var(--lgl-font-head);
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
}
.lgl-page-meta__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.lgl-page-meta__item + .lgl-page-meta__item::before {
	content: "";
	width: 4px;
	height: 4px;
	margin-right: 1.1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
}

.lgl-content-page { background: var(--lgl-paper); }

/* Rich text rendered from the WordPress editor (the_content). */
.lgl-prose { color: var(--lgl-ink); font-size: 1.05rem; }
.lgl-prose > *:first-child { margin-top: 0; }
.lgl-prose > *:last-child { margin-bottom: 0; }
.lgl-prose p { line-height: 1.7; margin: 0 0 1.4rem; }
.lgl-prose h2 {
	font-family: var(--lgl-font-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 2.75rem 0 1rem;
}
.lgl-prose h3 {
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	margin: 2.25rem 0 0.75rem;
}
.lgl-prose h4 {
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: 1.15rem;
	margin: 1.75rem 0 0.6rem;
}
.lgl-prose ul, .lgl-prose ol { margin: 0 0 1.4rem; padding-left: 1.4rem; line-height: 1.7; }
.lgl-prose li { margin-bottom: 0.4rem; }
.lgl-prose a { color: var(--lgl-teal); text-underline-offset: 0.15em; }
.lgl-prose a:hover { color: var(--lgl-red-ink); }
.lgl-prose strong { font-weight: 700; }
.lgl-prose img,
.lgl-prose .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--lgl-radius); }
.lgl-prose figure { margin: 2rem 0; }
.lgl-prose figcaption { font-size: 0.9rem; color: var(--lgl-ink-soft); margin-top: 0.5rem; }
.lgl-prose blockquote {
	margin: 2rem 0;
	padding: 0.5rem 0 0.5rem 1.4rem;
	border-left: 4px solid var(--lgl-red);
	font-family: var(--lgl-font-head);
	font-size: 1.2rem;
	color: var(--lgl-ink-soft);
}
.lgl-prose blockquote p:last-child { margin-bottom: 0; }
.lgl-prose hr { border: 0; border-top: 2px solid var(--lgl-line); margin: 2.5rem 0; }
.lgl-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.lgl-prose th, .lgl-prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--lgl-line); text-align: left; }
.lgl-prose th { font-family: var(--lgl-font-head); font-weight: 700; }
.lgl-page-links { margin-top: 2rem; font-family: var(--lgl-font-head); font-weight: 600; }
.lgl-page-links a { margin: 0 0.35rem; }

/* ---- Closing claim ---- */
.lgl-closing { background: var(--lgl-red); color: #fff; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.lgl-closing__line1 { font-family: var(--lgl-font-head); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); margin: 0 0 1rem; }
.lgl-closing__line2 { font-family: var(--lgl-font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 3.75rem); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }

/* ---- Footer ---- */
.lgl-footer { background: var(--lgl-ink); color: #fff; }
.lgl-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; }
.lgl-footer__brand img { width: 150px; height: auto; }
.lgl-footer__social { text-align: center; }
.lgl-footer__social-heading { font-family: var(--lgl-font-head); font-weight: 600; margin: 0 0 0.75rem; }
.lgl-footer__social ul { display: flex; gap: 1rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.lgl-footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 0; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.2rem; text-decoration: none; transition: background 0.15s ease; }
.lgl-footer__social a:hover { background: var(--lgl-red-ink); }
.lgl-footer__menu { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.lgl-footer__menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-family: var(--lgl-font-head); }
.lgl-footer__menu a:hover { color: #fff; text-decoration: underline; }
.lgl-footer__copy { border-top: 1px solid rgba(255,255,255,0.15); }
.lgl-footer__copy .lgl-wrap { padding-block: 1.25rem; }
.lgl-footer__copy p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* =====================================================================
   Burger navigation (GeneratePress primary menu)
   The header/menu markup comes from the GeneratePress parent. We force its
   .menu-toggle hamburger to show at every width, pin it to the top-right
   corner, and turn the #primary-menu list into a drop-down panel. GeneratePress
   JS adds the `toggled` class on .main-navigation when the button is clicked.
   ===================================================================== */

/* Lift the GeneratePress site header out of the document flow so the hero starts
   at the very top of the page; the header sits transparently on top, overlapping
   the hero completely instead of pushing it down. */
.lgl-front .site-header,
.lgl-fullbleed .site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	background: transparent;
}

/* Keep the nav bar out of the layout flow so the campaign sections run full-bleed;
   the toggle and panel are positioned on top of the page instead. */
.main-navigation {
	background: transparent;
	border: 0;
	min-height: 0;
}
.main-navigation .inside-navigation { padding: 0; }

/* Always-visible hamburger button, pinned top-right */
.main-navigation .menu-toggle {
	display: flex !important;
	visibility: visible !important;
	align-items: center;
	gap: 0.5rem;
	position: fixed;
	top: clamp(1rem, 2.5vw, 1.5rem);
	right: clamp(1rem, 5vw, 2.5rem);
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.7rem 1.15rem;
	background: var(--lgl-red);
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--lgl-font-head);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--lgl-shadow);
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.main-navigation .menu-toggle { background: var(--lgl-red-ink); }
/* GeneratePress forces the toggle transparent on :hover/:focus/:active (mobile.css).
   We must restate all three or the button turns transparent once it keeps focus after
   a click and never returns. transform is on :hover only so a click doesn't nudge it. */
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus,
.main-navigation .menu-toggle:active { background: var(--lgl-red-dark); }
.main-navigation .menu-toggle:hover { transform: translateY(-1px); }
.main-navigation .menu-toggle:focus-visible { outline: 3px solid var(--lgl-teal); outline-offset: 2px; }
.main-navigation .menu-toggle .gp-icon { display: inline-flex; }
.main-navigation .menu-toggle .mobile-menu { font-family: var(--lgl-font-head); }

/* Hide the inline menu until the button is toggled */
.main-navigation:not(.toggled) #primary-menu,
.main-navigation:not(.toggled) .main-nav > ul {
	display: none;
}

/* Drop-down panel anchored under the hamburger */
.main-navigation.toggled #primary-menu {
	display: block;
	position: fixed;
	top: clamp(3.6rem, 2.5vw + 2.4rem, 4.4rem);
	right: clamp(1rem, 5vw, 2.5rem);
	z-index: 999;
	width: min(280px, calc(100vw - 2rem));
	max-height: calc(100vh - 6rem);
	overflow-y: auto;
	padding: 0.5rem;
	background: var(--lgl-paper);
	border-radius: var(--lgl-radius);
	box-shadow: var(--lgl-shadow);
}
.main-navigation.toggled #primary-menu > ul { display: block; }

.main-navigation .main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.main-navigation .main-nav ul li { width: 100%; float: none; }
.main-navigation .main-nav ul li a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--lgl-ink);
	font-family: var(--lgl-font-head);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-radius: 8px;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
	background: var(--lgl-paper-soft);
	color: var(--lgl-red-ink);
}

/* Sub-menus render inline within the panel rather than flying out. GeneratePress
   keeps sub-menus hidden (position:absolute; left:-99999px; opacity:0; height:0;
   visibility:hidden) and only reveals them by adding a .toggled-on class when its
   injected .dropdown-menu-toggle arrow is clicked. Our city sub-menu is appended via
   the wp_nav_menu_items filter *after* GP's walker runs, so it never gets that arrow
   and can never be toggled open. We therefore force every sub-menu permanently open
   inside the panel. The #primary-menu id raises specificity above GP's
   `.main-navigation.toggled .main-nav ul ul` (0,3,2) hide rule; !important guards the
   off-screen positioning props for good measure. */
.main-navigation #primary-menu .sub-menu {
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	height: auto !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
	display: block !important;
	float: none !important;
	pointer-events: auto !important;
	box-shadow: none !important;
	border-bottom: 0 !important;
	padding-left: 0.75rem;
}
.main-navigation #primary-menu .sub-menu li a { font-weight: 500; font-size: 0.95rem; padding: 0.5rem 1rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
	.lgl-quicknav { grid-template-columns: repeat(2, 1fr); }
	.lgl-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.lgl-stat__grid, .lgl-stat__grid--reverse { grid-template-columns: 1fr; }
	.lgl-stat__grid--reverse .lgl-stat__figures { order: 0; }
	.lgl-vacancy-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.lgl-quicknav { grid-template-columns: 1fr; }
	.lgl-grid--3, .lgl-grid--2 { grid-template-columns: 1fr; }
	.lgl-footer__inner { flex-direction: column; text-align: center; }
	.lgl-accordion--measures .lgl-accordion__text { padding-left: 1.5rem; }
}
