/* ===================================================
   PRO WINDESHEIM e.V. — Stylesheet
   Design: Modern, angular, sophisticated
   =================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #111820;
  --dark-2:     #1A2634;
  --dark-3:     #243347;
  --blue:       #1A6EB5;
  --blue-mid:   #1560A0;
  --blue-light: #2E80CF;
  --blue-pale:  #EBF3FB;
  --blue-deep:  #0D4A82;
  --white:      #FFFFFF;
  --off-white:  #F7F6F4;
  --light-gray: #EDECEA;
  --text:       #1A1A1A;
  --text-muted: #6B7280;
  --border:     #E0DDD8;

  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-cards: 'DM Sans', sans-serif;

  --max-w: 1220px;
  --section-pad: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--off-white); }
.section-dark  { background: var(--dark-2); }
.mt-2 { margin-top: 24px; display: inline-block; }

/* ---- Typography ---- */
.label-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  border-left: 3px solid var(--blue-light);
  padding-left: 10px;
  margin-bottom: 18px;
}
.label-tag-light { color: #7EB8F0; border-color: #7EB8F0; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }

.section-text {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label-tag { display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn-full { width: 100%; text-align: center; }

/* ==============================
   HEADER / NAV
   ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(17,24,32,1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
}
.nav-logo .logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-active { color: #7EB8F0 !important; }
.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--blue-light);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,22,0.92) 0%,
    rgba(10,15,22,0.55) 40%,
    rgba(10,15,22,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.hero-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
  border-left: 3px solid var(--blue-light);
  padding-left: 10px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: #FFC947;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.hero-scroll span {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to top, rgba(255,255,255,0.4), transparent);
}

/* ==============================
   LED BOARD STRIP
   ============================== */
.led-strip {
  background: #080E16;
  border-top: 1px solid #0F1D2E;
  border-bottom: 1px solid #0F1D2E;
  padding: 0;
  overflow: hidden;
}
.led-strip-header {
  background: #050A10;
  border-bottom: 1px solid #0F1D2E;
}
.led-strip-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}
.led-strip-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.led-strip-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.led-clock {
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #F0F8FF;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(46,128,207,0.7), 0 0 28px rgba(46,128,207,0.3);
  min-width: 62px;
}
.led-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.led-status-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
}
.led-sb-schule  { color: #60A5FA; border-color: #1e4d8c; background: rgba(30,77,140,0.2); }
.led-sb-ferien  { color: #86EFAC; border-color: #166534; background: rgba(22,101,52,0.2); }
.led-sb-sonn    { color: #D1D5DB; border-color: #374151; background: rgba(55,65,81,0.2); }
.led-sb-warn    { color: #FCA5A5; border-color: #7f1d1d; background: rgba(127,29,29,0.2); }
.led-link-small {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  transition: color 0.2s;
}
.led-link-small:hover { color: rgba(255,255,255,0.5); }

/* Line filter buttons */
.led-filter {
  display: flex;
  align-items: center;
  gap: 2px;
}
.led-filter-btn {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border: 1px solid #1e2a38;
  background: #0a1219;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.15s;
}
.led-filter-btn:hover { color: rgba(255,255,255,0.7); }
.led-filter-btn.active-all  { background: #1e2a38; color: var(--white); border-color: #2a3a50; }
.led-filter-btn.active-234  { background: #1a3d6e; color: #60A5FA; border-color: #2060B0; }
.led-filter-btn.active-240  { background: #14472a; color: #86EFAC; border-color: #16a34a; }

/* Board rows */
.led-board-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 16px;
}
.led-dep-row {
  display: grid;
  grid-template-columns: 52px 1fr auto auto;
  align-items: center;
  gap: 0 20px;
  padding: 14px 0;
  border-bottom: 1px solid #0F1D2E;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.15s;
}
.led-dep-row:hover { background: rgba(255,255,255,0.02); }
.led-dep-row.is-next {
  background: rgba(26,110,181,0.1);
  border-bottom-color: rgba(26,110,181,0.22);
  border-left-color: var(--blue);
}
.led-dep-row.is-gone { opacity: 0.35; }
.led-dep-row.no-deps {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 28px 0;
  font-family: var(--font-head);
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  cursor: default;
}

.led-line-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lb-234 { background: #1a5ea8; color: #B8D8FF; }
.lb-240 { background: #145a2a; color: #A7F3C0; }

.led-dest { flex: 1; }
.led-dest-main {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #E8F4FF;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.led-dest-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}
.led-vb-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  margin-top: 4px;
  border: 1px solid;
}
.tag-s   { color: #93C5FD; border-color: #1e4d8c; background: rgba(30,77,140,0.25); }
.tag-f   { color: #86EFAC; border-color: #166534; background: rgba(22,101,52,0.25); }
.tag-fr  { color: #FDE68A; border-color: #92400e; background: rgba(146,64,14,0.25); }
.tag-x   { color: #FCA5A5; border-color: #7f1d1d; background: rgba(127,29,29,0.25); }

.led-next-stop {
  text-align: right;
  min-width: 130px;
}
.led-next-stop-name {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  display: block;
}
.led-next-stop-time {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  display: block;
}

.led-time-col {
  text-align: center;
  min-width: 72px;
}
.led-min-display {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #E8F4FF;
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 0 16px rgba(46,128,207,0.55), 0 0 40px rgba(46,128,207,0.2);
  display: block;
}
.led-min-display.sofort {
  font-size: 16px;
  color: #86EFAC;
  text-shadow: 0 0 12px rgba(134,239,172,0.4);
}
.led-min-display.gone { font-size: 12px; color: rgba(255,255,255,0.25); text-shadow: none; }
.led-time-uhr {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  display: block;
  text-align: center;
}
.led-next-label {
  font-family: var(--font-head);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

/* Expandable stops detail */
.led-stops-detail {
  display: none;
  grid-column: 1 / -1;
  padding: 10px 0 4px 64px;
  border-top: 1px solid #0F1D2E;
  margin-top: 4px;
}
.led-stops-detail.open { display: block; }
.led-stops-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.led-stop-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.led-stop-item.current { color: #86EFAC; }
.led-stop-item.future  { color: rgba(255,255,255,0.55); }
.led-stop-sep {
  color: rgba(255,255,255,0.15);
  font-size: 9px;
}
.led-stop-zeit {
  font-family: 'Courier New', monospace;
  font-size: 10px;
}

/* LED More CTA */
.led-more-band {
  background: #060C14;
  border-top: 1px solid #1A2E45;
}
.led-more-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.led-more-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.led-more-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.led-more-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
.led-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(26,110,181,0.12);
  border: 1px solid rgba(26,110,181,0.3);
  padding: 10px 20px;
  transition: all 0.2s;
  white-space: nowrap;
}
.led-more-btn:hover {
  background: rgba(26,110,181,0.22);
  border-color: rgba(26,110,181,0.55);
  color: #A8D4FF;
}

/* Ticker */
.led-ticker {
  background: #050A10;
  border-top: 1px solid #0F1D2E;
  overflow: hidden;
  height: 26px;
  display: flex;
  align-items: center;
}
.led-ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ledTicker 40s linear infinite;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  padding-left: 100%;
}
@keyframes ledTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==============================
   ÜBER UNS
   ============================== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.about-img {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-text {
  background: var(--off-white);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text .section-text { max-width: 100%; }

/* ==============================
   PROJECTS GRID
   ============================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-card {
  background: var(--dark-3);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.project-card:hover { transform: translateY(-4px); }
.project-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-info { padding: 24px; }
.project-info h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.project-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ==============================
   MEMBER CARDS — VORSTAND (statisch)
   ============================== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}
.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid transparent;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-top-color 0.2s ease, transform 0.2s ease;
}
.member-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  border-top-color: var(--blue);
  transform: translateY(-2px);
}
.member-card.featured {
  background: var(--dark-2);
  border-color: var(--blue);
  border-top-color: var(--blue);
}
.member-mono-sq {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  overflow: hidden;
}
.member-mono-sq img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.member-card.featured .member-mono-sq {
  background: var(--blue);
  color: var(--white);
}
.member-card-body {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 18px 18px 0;
}
.member-name {
  font-family: var(--font-cards);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.2;
}
.member-card.featured .member-name { color: var(--white); }
.member-role {
  font-family: var(--font-cards);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.member-card.featured .member-role { color: var(--blue-light); }
.member-desc {
  font-family: var(--font-cards);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 8px;
}
.member-card.featured .member-desc { color: rgba(255,255,255,0.4); }

/* ==============================
   COUNCIL CARDS — GEMEINDERAT (statisch)
   ============================== */
.council-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 0;
}
.council-card {
  background: var(--dark-3);
  border-left: 3px solid transparent;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-left-color 0.15s, background 0.15s;
}
.council-card:hover {
  border-left-color: var(--blue);
  background: rgba(26,110,181,0.07);
}
.council-card-mono {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-light);
  flex-shrink: 0;
  overflow: hidden;
}
.council-card-mono img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 5%;
  display: block;
}
.council-card-body { flex: 1; min-width: 0; }
.council-card-name {
  font-family: var(--font-cards);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2px;
}
.council-card-role {
  font-family: var(--font-cards);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* Mayor showcase */
.council-card.mayor-card {
  grid-column: span 3;
  background: linear-gradient(135deg, #0D1B2E 0%, #152840 100%);
  border: 1px solid rgba(26,110,181,0.4);
  border-left: 5px solid var(--blue);
  padding: 28px 32px;
  gap: 28px;
  margin-bottom: 12px;
}
.council-card.mayor-card:hover {
  background: rgba(26,110,181,0.06);
  border-left-color: var(--blue);
}
.council-card.mayor-card .council-card-mono {
  width: 96px; height: 96px;
  font-size: 28px;
  background: var(--blue);
  color: var(--white);
}
.mayor-badge-tag {
  font-family: var(--font-cards);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(26,110,181,0.15);
  border: 1px solid rgba(26,110,181,0.3);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 6px;
}
.mayor-name-lg {
  font-family: var(--font-cards) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  margin-bottom: 6px !important;
}

/* Ratssystem Header-Link */
.rats-header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.rats-header-link:hover {
  color: var(--blue-light);
  border-bottom-color: rgba(46,128,207,0.5);
}

.council-info-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: rgba(26,110,181,0.1);
  border: 1px solid rgba(26,110,181,0.22);
  border-left: 4px solid var(--blue);
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.council-info-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 6px;
}
.council-info-text { flex: 1; min-width: 260px; }
.council-info-band p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0;
  line-height: 1.55;
}

/* ==============================
   SECTION TEASER IMAGE
   ============================== */
.section-teaser-img {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.section-teaser-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.75);
}
.teaser-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(10,15,22,0.8), transparent);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ==============================
   INFOBRIEFE — EDITORIAL DARK
   ============================== */
.infobriefe-section {
  background: linear-gradient(150deg, #0D1520 0%, #172438 100%);
  padding: var(--section-pad) 0;
}

.infobriefe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.infobriefe-text-col .section-title { margin-bottom: 24px; }

.infobriefe-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.48);
  line-height: 1.72;
  max-width: 360px;
  margin-bottom: 14px;
}

.infobriefe-cards-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Document-Karte */
.ib-doc-card {
  background: var(--white);
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 6px 20px rgba(0,0,0,0.3);
}
.ib-doc-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.65),
    0 10px 30px rgba(0,0,0,0.35);
}

.ib-doc-header {
  background: var(--blue);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ib-doc-org {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.ib-doc-badge {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 12px;
}

.ib-doc-body {
  padding: 32px 24px 24px;
}
.ib-doc-edition {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.ib-doc-date {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}
.ib-doc-divider {
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 18px;
}
.ib-doc-meta {
  display: flex;
  gap: 20px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ib-doc-meta span + span::before {
  content: '·';
  margin-right: 20px;
  color: var(--border);
}

.ib-doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ib-doc-card:hover .ib-doc-footer {
  background: var(--blue);
  color: var(--white);
  border-top-color: var(--blue);
}
.ib-doc-footer svg { transition: transform 0.2s; }
.ib-doc-card:hover .ib-doc-footer svg { transform: translateX(5px); }

/* Legacy classes (used in info.html) */
.infobrief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px;
  margin-bottom: 24px;
}
.infobrief-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  user-select: none;
}
.infobrief-card:hover {
  background: var(--light-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.infobrief-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue);
}
.infobrief-meta { flex: 1; }
.infobrief-date {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.infobrief-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}
.infobrief-size { font-size: 12px; color: var(--text-muted); }
.infobrief-arrow { flex-shrink: 0; color: var(--blue); transition: transform 0.2s; }
.infobrief-card:hover .infobrief-arrow { transform: translateX(4px); }

/* ==============================
   PDF MODAL
   ============================== */
.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,10,18,0.92);
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pdf-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.pdf-modal {
  background: var(--dark-2);
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.pdf-modal-overlay.open .pdf-modal {
  transform: translateY(0);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.pdf-modal-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdf-modal-title svg { color: var(--blue-light); }
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdf-modal-btn {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pdf-modal-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.pdf-modal-btn.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.pdf-modal-btn.btn-blue:hover { background: var(--blue-light); }
.pdf-modal-close {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.15s;
  margin-left: 4px;
  font-size: 18px;
  line-height: 1;
}
.pdf-modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.pdf-modal-body {
  flex: 1;
  overflow: hidden;
  background: #3a3a3a;
}
.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  display: block;
}

/* ==============================
   KONTAKT + MITMACHEN (MERGED)
   ============================== */
.join-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.join-info {}
.join-info .section-text { max-width: 100%; }
.join-highlight {
  margin-top: 24px;
  padding: 20px 20px 20px 20px;
  border-left: 3px solid var(--blue);
  background: var(--off-white);
}
.join-highlight p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.join-highlight strong { color: var(--text); }
.contact-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-item strong { color: var(--text); }
.contact-item a { color: var(--blue); border-bottom: 1px solid transparent; }
.contact-item a:hover { border-bottom-color: currentColor; }
.contact-item-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--blue-pale);
  border: 1px solid rgba(26,110,181,0.2);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-check-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.form-check-label strong { color: var(--blue-mid); }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 240px;
}
.footer-nav h4,
.footer-service h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-service p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-service-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  border-bottom: 1px solid rgba(46,128,207,0.4);
  transition: border-color 0.2s;
}
.footer-service-link:hover { border-color: var(--blue-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ==============================
   INFO PAGE
   ============================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark-2);
}
.page-hero-inner { max-width: 640px; }
.page-hero .label-tag { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ---- Infobrief Full Card (info.html) ---- */
.infobrief-year-group { margin-bottom: 48px; }
.infobrief-year-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.infobrief-year-label span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.infobrief-year-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.infobrief-list { display: flex; flex-direction: column; gap: 2px; }
.infobrief-card-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  gap: 24px;
}
.infobrief-card-full:hover {
  background: var(--light-gray);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.ibf-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.ibf-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue);
}
.ibf-number {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.ibf-meta h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}
.ibf-meta p { font-size: 14px; color: var(--text-muted); margin: 0; }
.ibf-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.ibf-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--blue);
  color: var(--white);
  padding: 3px 10px;
}
.ibf-size { font-size: 12px; color: var(--text-muted); }
.ibf-arrow { color: var(--blue); transition: transform 0.2s; }
.infobrief-card-full:hover .ibf-arrow { transform: translateX(4px); }
.infobrief-cta {
  text-align: center;
  padding: 56px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.infobrief-cta p { font-size: 15px; color: var(--text-muted); }

/* ==============================
   IMPRESSUM / DATENSCHUTZ
   ============================== */
.legal-content {
  padding: 80px 0 120px;
  max-width: 760px;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 10px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 8px;
  display: inline-block;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--blue); border-bottom: 1px solid transparent; }
.legal-content a:hover { border-bottom-color: currentColor; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-img { min-height: 360px; }
  .about-text { padding: 48px 40px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .council-grid { grid-template-columns: repeat(2, 1fr); }
  .council-card.mayor-card { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .join-contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .infobriefe-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(17,24,32,0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 28px; font-size: 16px; width: 100%; }
  .nav-links .nav-cta { margin: 12px 28px 0; display: inline-block; width: auto; }
  .nav-toggle { display: flex; }

  .hero { height: 100svh; min-height: 560px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(44px, 13vw, 72px); }
  .hero-scroll { display: none; }

  .led-strip-header-inner { padding: 10px 16px; gap: 10px; }
  .led-board-body { padding: 0 16px 12px; }
  .led-more-inner { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .led-dep-row { grid-template-columns: 44px 1fr auto; gap: 0 12px; }
  .led-next-stop { display: none; }
  .led-min-display { font-size: 20px; }

  .projects-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .council-grid { grid-template-columns: 1fr 1fr; }
  .council-card.mayor-card { grid-column: span 2; }
  .council-info-band { flex-direction: column; align-items: flex-start; gap: 16px; }
  .infobriefe-layout { grid-template-columns: 1fr; gap: 40px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .pdf-modal { height: 100vh; max-height: 100vh; }
  .pdf-modal-body iframe { min-height: 0; }
}

@media (max-width: 480px) {
  .board-grid { grid-template-columns: 1fr; }
  .council-grid { grid-template-columns: 1fr; }
  .council-card.mayor-card { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .led-filter-btn { padding: 4px 10px; font-size: 10px; }
}
