/* ============================================================
   SPD Corporate Design – Joachim Rahmann, SPD Neukölln
   Colours per SPD CD-Manual 2024, p. 10 & 44
   Font:    Open Sans (Google Freefont) – recommended for web, p.12
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --spd-red:      #E3000F;
  --spd-red-dark: #C0000D;
  --spd-black:    #000000;
  --spd-white:    #FFFFFF;
  --spd-gray:     #ededed;   /* recommended for online quote tiles, p.44 */
  --spd-gray-mid: #c8c8c8;
  --spd-gray-dk:  #6b6b6b;
  --nav-h:        72px;
  --container:    1200px;
  --gap:          24px;
}

html { scroll-behavior: smooth; font-size: 16px; }


body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--spd-black);
  background: var(--spd-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── LAYOUT HELPERS ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; }

.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ── TYPOGRAPHY SCALE ─────────────────────────────────────── */
/* SPD headlines: uppercase, Extra Bold 800 */
.t-display {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.93;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.t-h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.t-h2 {
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.t-h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.t-body-lg { font-size: 18px; line-height: 1.65; }
.t-body    { font-size: 15px; line-height: 1.75; }
.t-small   { font-size: 13px; line-height: 1.6; }
.t-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Section label with red rule */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--spd-red);
  flex-shrink: 0;
}
.section-label--white { color: rgba(255,255,255,.95); }
.section-label--white::before { background: rgba(255,255,255,.7); }

/* ── SPD DESIGN ELEMENT: ARROWS (»») ─────────────────────── */
.spd-arrows {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.spd-arrows__chevron {
  display: block;
  font-size: 1em;
  font-style: normal;
  font-weight: 800;
  color: currentColor;
  opacity: .3;
}
.spd-arrows__chevron.is-active { opacity: 1; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--spd-red); outline-offset: 2px; }

.btn--red    { background: var(--spd-red);   color: var(--spd-white); }
.btn--red:hover { background: var(--spd-red-dark); }

.btn--white  { background: var(--spd-white); color: var(--spd-red); }
.btn--white:hover { background: var(--spd-gray); }

.btn--black  { background: var(--spd-black); color: var(--spd-white); }
.btn--black:hover { background: #2a2a2a; }

.btn--outline-white {
  background: transparent;
  color: var(--spd-white);
  border-color: var(--spd-white);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); }

.btn--full { width: 100%; padding-block: 18px; }

/* ── IMAGE PLACEHOLDERS ───────────────────────────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(0,0,0,.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.img-placeholder svg { opacity: .5; }
.img-placeholder--light {
  background: var(--spd-gray);
  color: var(--spd-gray-dk);
}
.img-placeholder--light svg { opacity: .4; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--spd-white);
  border-bottom: 3px solid var(--spd-red);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 0; }
.nav__name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--spd-black);
}
.nav__name span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--spd-red);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
}
.nav__link {
  display: flex;
  align-items: center;
  padding-inline: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--spd-black);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--spd-red);
  border-bottom-color: var(--spd-red);
}
.nav__logo {
  height: 52px;
  width: auto;
  margin-left: 16px;
  flex-shrink: 0;
  object-fit: contain;
}
.nav__logo-link {
  display: flex;
  align-items: center;
}
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--spd-black);
  transition: .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none;
  position: fixed;
  inset-block-start: var(--nav-h);
  inset-inline: 0;
  background: var(--spd-white);
  border-top: 1px solid var(--spd-gray);
  padding: 12px var(--gap) 24px;
  z-index: 199;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  flex-direction: column;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--spd-black);
  padding-block: 14px;
  border-bottom: 1px solid var(--spd-gray);
  transition: color .2s;
  text-align: left;
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover,
.nav__mobile-link[aria-current="page"] { color: var(--spd-red); }

/* ── HERO – LANDING ───────────────────────────────────────── */
.hero {
  background: var(--spd-red);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
/* Decorative slash per SPD logo-form elements */
.hero::before {
  content: '';
  position: absolute;
  inset-block-end: -60px;
  inset-inline-end: -60px;
  width: 420px;
  height: 420px;
  background: rgba(0,0,0,.07);
  transform: rotate(-22deg);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 80px;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.7);
}
.hero__headline {
  font-size: clamp(56px, 8.5vw, 108px);
  font-weight: 800;
  line-height: .92;
  text-transform: uppercase;
  color: var(--spd-white);
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.hero__headline em {
  font-style: normal;
  display: block;
  -webkit-text-stroke: 2px var(--spd-white);
  color: transparent;
}
.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,.95);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__img-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__img-wrap {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── THEMEN SECTION ───────────────────────────────────────── */
.themen { padding-block: 100px; }
.themen__header { margin-bottom: 56px; }

.themen__card {
  padding: 44px 36px 40px;
  background: var(--spd-gray);
  cursor: default;
  transition: background .25s, color .25s;
  display: flex;
  flex-direction: column;
}
.themen__card:hover { background: var(--spd-red); color: var(--spd-white); }

.themen__card-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 24px;
  display: block;
}
.themen__card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: color .25s;
}
.themen__card-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--spd-red);
  transition: background .25s;
}
.themen__card:hover .themen__card-label { color: rgba(255,255,255,.95); }
.themen__card:hover .themen__card-label::before { background: rgba(255,255,255,.7); }

.themen__card-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
}
.themen__card-text {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  flex: 1;
  transition: color .25s;
}
.themen__card:hover .themen__card-text { color: rgba(255,255,255,.95); }

.themen__card-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--spd-red);
  color: var(--spd-white);
  transition: background .25s, color .25s;
  align-self: flex-start;
}
.themen__card:hover .themen__card-cta {
  background: var(--spd-white);
  color: var(--spd-red);
}

/* ── QUOTE STRIP ──────────────────────────────────────────── */
.quote-strip { background: var(--spd-red); padding-block: 80px; }
.quote-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  max-width: 960px;
}
.quote-strip__arrows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: .85;
}
.quote-strip__arrow {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: var(--spd-white);
  opacity: .22;
  font-style: normal;
  transition: opacity .2s;
}
.quote-strip__arrow.is-active { opacity: 1; }
.quote-strip__text {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  color: var(--spd-white);
  line-height: 1.35;
  font-style: italic;
}
.quote-strip__author {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

/* ── CTA STRIP ────────────────────────────────────────────── */
.cta-strip { background: var(--spd-black); padding-block: 80px; }
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-strip__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--spd-white);
  line-height: 1;
}
.cta-strip__headline em { font-style: normal; color: var(--spd-red); }
.cta-strip__right { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.cta-strip__body { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.7; }

/* ── ABOUT HERO ───────────────────────────────────────────── */
.about-hero { background: var(--spd-red); padding-block-start: 80px; }
.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-end;
}
.about-hero__text { padding-block-end: 72px; }
.about-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.about-hero__eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: rgba(255,255,255,.7);
}
.about-hero__name {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--spd-white);
  line-height: .93;
  letter-spacing: -.015em;
  margin-bottom: 24px;
}
.about-hero__tagline {
  font-size: 17px;
  color: rgba(255,255,255,.95);
  line-height: 1.65;
  max-width: 400px;
}
.about-hero__img {
  max-width: 420px;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  justify-self: end;
}
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── ABOUT BIO ────────────────────────────────────────────── */
.about-bio { padding-block: 100px; }
.about-bio__lead {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 32px;
}
.about-bio__body { font-size: 15px; line-height: 1.8; color: #333; }
.about-bio__body p + p { margin-top: 20px; }

/* Fact sidebar */
.fact-card {
  background: var(--spd-gray);
  padding: 24px 28px;
  margin-bottom: 2px;
}
.fact-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 6px;
}
.fact-card__value { font-size: 15px; font-weight: 700; line-height: 1.4; }
.fact-card__value a { color: var(--spd-red); font-weight: 800; }

/* ── SCHWERPUNKTE ─────────────────────────────────────────── */
.schwerpunkte { background: var(--spd-red); padding-block: 100px; }
.schwerpunkte__title { color: var(--spd-white); margin-bottom: 48px; }
.schwerpunkte__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.schwerpunkte__item {
  background: rgba(0,0,0,.15);
  padding: 36px 28px;
  transition: background .25s;
}
.schwerpunkte__item:hover { background: rgba(0,0,0,.28); }
.schwerpunkte__num {
  font-size: 52px;
  font-weight: 800;
  color: var(--spd-white);
  line-height: 1;
  margin-bottom: 12px;
}
.schwerpunkte__name {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--spd-white);
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.schwerpunkte__desc { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.92); }

/* ── CONTACT HERO ─────────────────────────────────────────── */
.contact-hero { background: var(--spd-red); padding-block: 80px; }
.contact-hero__headline { color: var(--spd-white); margin-bottom: 20px; }
.contact-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.95);
  line-height: 1.65;
  max-width: 500px;
}

/* ── LEGAL / IMPRESSUM ───────────────────────────────────── */
.legal-hero { background: var(--spd-red); padding-block: 80px; }
.legal-hero__headline { color: var(--spd-white); margin-bottom: 20px; }
.legal-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.95);
  line-height: 1.65;
  max-width: 560px;
}

.legal-body { padding-block: 100px; }
.legal-section + .legal-section { margin-top: 44px; }
.legal-panel {
  background: var(--spd-gray);
  padding: 28px 32px;
}
.legal-panel--white {
  background: var(--spd-white);
  border: 2px solid var(--spd-gray);
}
.legal-note {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-top: 16px;
}
.legal-list {
  display: grid;
  gap: 18px;
}
.legal-list__item {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.legal-list__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.legal-list__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.legal-list__value {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.legal-list__value a {
  color: var(--spd-red);
  font-weight: 700;
}
.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-sidebar .fact-card { margin-bottom: 0; }

/* ── TERMINE / VERANSTALTUNGEN ──────────────────────────── */
.termine-aside { justify-self: end; }
.termine-aside__card { width: 100%; }

/* ── WAHLKAMPF IN DATEN ───────────────────────────────────── */
.wahlkampf-data { padding-block: 100px; }
.data-tile {
  background: var(--spd-gray);
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.data-tile__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.data-tile__value {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
}
.data-tile__hint {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.termine-hero {

  background: var(--spd-red);
  padding-block: 80px;
}
.termine-hero__headline {
  color: var(--spd-white);
  margin-bottom: 20px;
  max-width: 760px;
}

.termine-body { padding-block: 100px; }
.termine-section__title { margin-bottom: 18px; }
.termine-aside { align-self: start; }
.termine-section__lead {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  max-width: 720px;
  margin-bottom: 28px;
}
.termine-hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.94);
  max-width: 560px;
  margin-top: 0;
}

.termine-section__label--more {
  margin-top: 44px;
}

.termine-groups {
  display: grid;
  gap: 28px;
}
.termine-group {
  display: grid;
  gap: 14px;
}
.termine-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.termine-group__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.termine-group__count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
}

.termine-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.termine-link:hover { color: var(--spd-red-dark); }

.termine-featured {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 28px 30px;
  background: var(--spd-gray);
  border-left: 4px solid var(--spd-red);
  margin-bottom: 28px;
}
.termine-featured__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2px;
}
.termine-featured__day {
  font-size: 58px;
  font-weight: 800;
  line-height: .9;
  color: var(--spd-red);
}
.termine-featured__month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-top: 8px;
}
.termine-featured__content { min-width: 0; }
.termine-featured__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 8px;
}
.termine-featured__title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 10px;
}
.termine-featured__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}
.termine-featured__meta-separator { margin: 0 8px; }
.termine-featured__location {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: #222;
  margin-bottom: 10px;
}
.termine-featured__description {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.termine-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.termine-list {
  display: grid;
  gap: 22px;
}

.termine-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  background: var(--spd-white);
  border: 2px solid var(--spd-gray-mid);
  padding: 22px 24px;
  align-items: start;
}
.termine-row--featured {
  border-color: var(--spd-red);
  box-shadow: 0 0 0 3px rgba(227,0,15,.08);
}
.termine-row__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.termine-row__day {
  font-size: 42px;
  font-weight: 800;
  line-height: .9;
  color: var(--spd-red);
}
.termine-row__month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-top: 6px;
}
.termine-row__content { min-width: 0; }
.termine-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.termine-row__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.termine-row__relative {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #666;
}
.termine-row__title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}
.termine-row__time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
}
.termine-row__location {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  color: #222;
  margin-bottom: 8px;
}
.termine-row__description {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}
.termine-row__actions {
  margin-top: 16px;
}

.termine-empty {
  background: var(--spd-gray);
  padding: 32px;
  border-left: 4px solid var(--spd-red);
}
.termine-empty--compact {
  margin-top: 6px;
}
.termine-empty__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 8px;
}
.termine-empty__title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 12px;
}
.termine-empty__text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}
.termine-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #555;
}

/* ── Q&A ─────────────────────────────────────────────────── */
.qa-hero {
  background: var(--spd-red);
  padding-block: 80px;
}
.qa-hero__headline {
  color: var(--spd-white);
  margin-bottom: 20px;
  max-width: 760px;
}
.qa-hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.94);
  max-width: 640px;
  margin-top: 0;
}
.qa-body { padding-block: 100px; }
.qa-section__title { margin-bottom: 18px; }
.qa-section__lead {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  max-width: 720px;
  margin-bottom: 28px;
}
.qa-app { display: grid; }
.qa-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.qa-search {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: var(--spd-gray);
  border-left: 4px solid var(--spd-red);
}
.qa-search__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.qa-search__input {
  width: 100%;
  padding: 13px 16px;
  background: var(--spd-white);
  border: 2px solid var(--spd-gray-mid);
  font-size: 15px;
  color: var(--spd-black);
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
}
.qa-search__input:focus { border-color: var(--spd-red); }
.qa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.qa-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--spd-white);
  border: 2px solid var(--spd-gray-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--spd-black);
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.qa-chip:hover { transform: translateY(-1px); }
.qa-chip.is-active {
  background: var(--spd-red);
  border-color: var(--spd-red);
  color: var(--spd-white);
}
.qa-list {
  display: grid;
  gap: 12px;
}
.qa-item {
  background: var(--spd-white);
  border: 2px solid var(--spd-gray-mid);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.qa-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.qa-item--featured { border-left: 4px solid var(--spd-red); }
.qa-item.is-open {
  border-color: var(--spd-red);
  box-shadow: 0 0 0 3px rgba(227,0,15,.08);
}
.qa-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
}
.qa-trigger__meta {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.qa-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
}
.qa-item--featured .qa-badge { color: var(--spd-black); }
.qa-question {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--spd-black);
}
.qa-item.is-open .qa-question { color: var(--spd-red); }
.qa-trigger__icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--spd-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--spd-red);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform .2s, background .2s, color .2s;
}
.qa-item.is-open .qa-trigger__icon {
  background: var(--spd-red);
  color: var(--spd-white);
  transform: rotate(45deg);
}
.qa-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transition: max-height .28s ease, opacity .2s ease;
}
.qa-item.is-open .qa-panel {
  max-height: 900px;
  opacity: 1;
  padding-bottom: 24px;
}
.qa-answer {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.qa-answer__paragraph + .qa-answer__paragraph { margin-top: 14px; }
.qa-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.qa-panel__meta span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #666;
}
.qa-empty {
  background: var(--spd-gray);
  padding: 28px 30px;
  border-left: 4px solid var(--spd-red);
  margin-bottom: 18px;
}
.qa-empty--loading { margin-top: 4px; }
.qa-empty__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 8px;
}
.qa-empty__title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 12px;
}
.qa-empty__text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
/* ── CONTACT BODY ─────────────────────────────────────────── */
.contact-body { padding-block: 100px; }

/* Form */
.form-heading { margin-bottom: 36px; }
.form-group   { margin-bottom: 22px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--spd-white);
  border: 2px solid var(--spd-gray-mid);
  font-size: 15px;
  color: var(--spd-black);
  outline: none;
  transition: border-color .2s;
  appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--spd-red); }
.form-input.is-error,
.form-textarea.is-error { border-color: var(--spd-red); box-shadow: 0 0 0 3px rgba(227,0,15,.15); }
.form-textarea  { height: 160px; resize: vertical; }
.form-select    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-error-msg { font-size: 12px; color: var(--spd-red); margin-top: 5px; display: none; }
.form-error-msg.is-visible { display: block; }
.form-check { display: flex; gap: 12px; align-items: flex-start; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--spd-red); cursor: pointer; }
.form-check label { font-size: 13px; line-height: 1.6; color: #333; cursor: pointer; }
.form-check a { color: var(--spd-red); font-weight: 700; }
.form-note { font-size: 11px; color: #666; margin-top: 10px; line-height: 1.5; }

/* Alert boxes */
.alert {
  padding: 28px 32px;
  margin-top: 24px;
  border-left: 4px solid var(--spd-red);
  background: var(--spd-gray);
  display: none;
}
.alert.is-visible { display: block; }
.alert--success { border-left-color: var(--spd-red); }
.alert--error   { background: #fff0f0; border-left-color: #c00; }
.alert__title   { font-size: 17px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.alert__body    { font-size: 14px; color: #444; line-height: 1.7; }

/* Contact info sidebar */
.info-card {
  padding: 28px 32px;
  background: var(--spd-gray);
  margin-bottom: 2px;
}
/* Make sure cards line up nicely in the contact grid */
.info-card,
.info-card--red {
  height: fit-content;
}

.info-card--red { background: var(--spd-red); color: var(--spd-white); }
.info-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 10px;
}
.info-card--red .info-card__label { color: rgba(255,255,255,.95); }
.info-card__body { font-size: 15px; line-height: 1.75; }
.info-card__body a { color: var(--spd-red); font-weight: 700; }
.info-card--red .info-card__body { color: rgba(255,255,255,.98); }
.info-card--red .info-card__body a { color: var(--spd-white); text-decoration: underline; }

.social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(255,255,255,.18);
  color: var(--spd-white);
  transition: background .2s;
}
.social-link:hover { background: rgba(255,255,255,.32); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--spd-black); padding-block: 60px 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 320px) minmax(220px, 1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 36px;
}
.footer__brand-name {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--spd-white);
  margin-bottom: 8px;
}
.footer__brand-name span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,.72);
  letter-spacing: .14em;
  margin-top: 2px;
}
.footer__brand-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 210px;
  margin-top: 12px;
}
.footer__support {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}
.footer__support-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}
.footer__support-logo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
}
.footer__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.footer__nav-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 4px;
}
.footer__nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .2s;
  text-align: left;
}
.footer__nav-link:hover { color: var(--spd-red); }

.footer__logo-wrap img {
  height: 44px;
  width: auto;
  transition: opacity .2s;
  object-fit: contain;
}
.footer__logo-wrap { display: flex; align-items: flex-start; justify-content: flex-end; }
.footer__logo-wrap img:hover { opacity: .9; }

.footer__divider { border: none; border-top: 1px solid rgba(255,255,255,.14); margin-bottom: 20px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal { font-size: 11px; color: rgba(255,255,255,.72); line-height: 1.7; }
.footer__legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal-link {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .2s;
}
.footer__legal-link:hover { color: var(--spd-red); }

/* ── FLASH MESSAGES (PHP) ─────────────────────────────────── */
.flash {
  padding: 20px 28px;
  border-left: 4px solid var(--spd-red);
  background: var(--spd-gray);
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}
.flash--error { background: #fff0f0; border-left-color: #c00; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-2-1 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3-2 { grid-template-columns: 1fr; gap: 48px; }

  /* callout goes below list on smaller screens */
  .termine-aside { margin-top: 40px; }

  .schwerpunkte__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__aside { align-items: flex-start; }
  .footer__nav { align-items: flex-start; }
  .footer__logo-wrap { justify-content: flex-start; }
  .termine-featured { grid-template-columns: 1fr; }
  .termine-row { grid-template-columns: 1fr; }
}


@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__inner  { grid-template-columns: 1fr; }
  .hero__img-col { order: -1; }
  .hero__img-wrap { max-width: 100%; aspect-ratio: 4 / 3; }
  .grid-2   { grid-template-columns: 1fr; gap: 40px; }
  .grid-3   { grid-template-columns: 1fr; }
  .about-hero__inner { grid-template-columns: 1fr; }
  .about-hero__img { justify-self: stretch; max-width: 100%; aspect-ratio: 4 / 3; }
  .quote-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .termine-featured__date { flex-direction: row; align-items: baseline; gap: 12px; }
  .termine-featured__day { font-size: 52px; }
  .termine-row__date { flex-direction: row; align-items: baseline; gap: 12px; }
  .termine-row__day { font-size: 36px; }
  .qa-toolbar { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__headline { font-size: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .schwerpunkte__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__support-logo { max-width: 220px; }
  .footer__support-logo img { max-width: 220px; max-height: 72px; }
  .termine-hero__sub { font-size: 16px; }
  .termine-group__header { flex-direction: column; align-items: flex-start; }
  .termine-group__count { white-space: normal; }
  .qa-hero__sub { font-size: 16px; }
  .qa-question { font-size: 16px; }
  .qa-trigger { padding: 20px; }
  .qa-panel { padding: 0 20px; }
  .qa-item.is-open .qa-panel { padding-bottom: 20px; }
  .qa-empty { padding: 24px; }
  .termine-featured { padding: 22px; }
  .termine-featured__title { font-size: 22px; }
  .termine-row { padding: 20px; }
  .termine-row__title { font-size: 16px; }
  .termine-empty { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
