/* ==========================================================================
   SPD Löhnberg Modern - Main Theme Stylesheet
   Corporate Identity: SPD-Rot #E3000F, Anthrazit #121417, Weiß #FFFFFF
   Modern Trends: Bento Grid, Glassmorphism, Micro-Interactions, 3D Tilt, Scroll Reveal
   100% DSGVO-compliant (Zero external CDNs or remote font calls)
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--spd-font-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  color: var(--spd-dark, #121417);
  background-color: var(--spd-gray-bg, #F4F6F8);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--spd-red, #E3000F);
  color: #fff;
  padding: 12px 20px;
  z-index: 99999;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--spd-radius-md, 12px);
  box-shadow: 0 8px 24px rgba(227, 0, 15, 0.4);
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
  top: 15px;
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--spd-font-heading, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  color: var(--spd-dark, #121417);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

p {
  margin-bottom: 1.25em;
}

a {
  color: var(--spd-red, #E3000F);
  text-decoration: none;
  transition: var(--spd-transition, all 0.28s cubic-bezier(0.16, 1, 0.3, 1));
}
a:hover, a:focus {
  color: var(--spd-red-dark, #B8000C);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container */
.spd-container {
  width: 100%;
  max-width: var(--spd-container-max, 1240px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation (Glassmorphic & Sleek)
   ========================================================================== */

/* Top Utility Bar */
.spd-topbar {
  background-color: var(--spd-dark-soft, #1E2227);
  color: #adb5bd;
  font-size: 0.84rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--spd-red, #E3000F);
  position: relative;
  z-index: 1001;
}
.spd-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.spd-topbar-claim {
  font-weight: 600;
  color: #e9ecef;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spd-topbar-claim .dot {
  width: 8px;
  height: 8px;
  background-color: var(--spd-red, #E3000F);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--spd-red, #E3000F);
  animation: spdPulseDot 2s infinite ease-in-out;
}
@keyframes spdPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.spd-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.spd-topbar-links a {
  color: #adb5bd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.spd-topbar-links a:hover {
  color: #ffffff;
}

/* Main Site Header (Frosted Glassmorphism) */
.spd-site-header {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-site-header.spd-header-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.spd-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-site-header.spd-header-scrolled .spd-header-inner {
  padding: 11px 0;
}

/* Brand / Logo (Square 1:1 Badge & Wappen) */
.spd-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.spd-brand:hover {
  text-decoration: none;
}
.spd-brand-logo-badge {
  background: var(--spd-red, #E3000F);
  color: #ffffff;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -1px;
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: var(--spd-radius-sm, 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--spd-red-glow, rgba(227, 0, 15, 0.22));
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.spd-brand:hover .spd-brand-logo-badge {
  transform: scale(1.04);
  box-shadow: 0 6px 18px var(--spd-red-glow-strong, rgba(227, 0, 15, 0.45));
}
.spd-brand-titles {
  display: flex;
  flex-direction: column;
}
.spd-brand-wappen {
  display: flex;
  align-items: center;
  justify-content: center;
}
.spd-brand-wappen img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.12));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-brand:hover .spd-brand-wappen img {
  transform: scale(1.04);
}
.spd-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--spd-gray, #6C757D);
  line-height: 1.2;
}
.spd-brand-main {
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--spd-dark, #121417);
  line-height: 1.1;
  transition: color 0.2s ease;
}
.spd-brand-slogan {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--spd-gray, #6C757D);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-top: 2px;
}
.spd-brand:hover .spd-brand-main {
  color: var(--spd-red, #E3000F);
}

/* Primary Navigation Menu */
.spd-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spd-primary-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 6px;
}
.spd-primary-nav li {
  position: relative;
}
.spd-primary-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--spd-dark, #121417);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--spd-radius-full, 9999px);
  text-decoration: none;
  transition: var(--spd-transition, all 0.28s cubic-bezier(0.16, 1, 0.3, 1));
}
.spd-primary-nav a:hover,
.spd-primary-nav a:focus,
.spd-primary-nav li.current-menu-item > a,
.spd-primary-nav li.current-page-ancestor > a {
  color: var(--spd-red, #E3000F);
  background-color: var(--spd-red-light, #FFF0F1);
  text-decoration: none;
}

/* Glassmorphic Dropdown Sub-menus */
.spd-primary-nav ul ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border-radius: var(--spd-radius-md, 12px);
  border-top: 3px solid var(--spd-red, #E3000F);
  padding: 8px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  z-index: 100;
  animation: spdFadeSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes spdFadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.spd-primary-nav li:hover > ul,
.spd-primary-nav li:focus-within > ul {
  display: flex;
}
.spd-primary-nav ul ul a {
  padding: 9px 16px;
  border-radius: var(--spd-radius-sm, 6px);
  font-size: 0.9rem;
  font-weight: 500;
}
.spd-primary-nav ul ul a:hover {
  background-color: var(--spd-red-light, #FFF0F1);
  color: var(--spd-red, #E3000F);
}

/* Mobile Menu Toggle */
.spd-mobile-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--spd-border, #E2E6EA);
  border-radius: var(--spd-radius-md, 12px);
  padding: 8px 14px;
  cursor: pointer;
  color: var(--spd-dark, #121417);
  font-size: 1.25rem;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.spd-mobile-toggle:hover {
  background-color: var(--spd-red-light, #FFF0F1);
  border-color: var(--spd-red, #E3000F);
  color: var(--spd-red, #E3000F);
}
.spd-mobile-toggle:focus {
  outline: 2px solid var(--spd-red, #E3000F);
}

/* ==========================================================================
   Modern Buttons & Interactive Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--spd-radius-full, 9999px);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}
.btn:hover, .btn:focus {
  text-decoration: none;
}

.btn-spd {
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  border-color: var(--spd-red, #E3000F);
  box-shadow: 0 4px 14px var(--spd-red-glow, rgba(227, 0, 15, 0.22));
}
.btn-spd:hover, .btn-spd:focus {
  background-color: var(--spd-red-dark, #B8000C);
  border-color: var(--spd-red-dark, #B8000C);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px var(--spd-red-glow-strong, rgba(227, 0, 15, 0.45));
}

.btn-outline-spd {
  background-color: transparent;
  color: var(--spd-red, #E3000F);
  border-color: var(--spd-red, #E3000F);
}
.btn-outline-spd:hover, .btn-outline-spd:focus {
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--spd-red-glow, rgba(227, 0, 15, 0.22));
}

.btn-white {
  background-color: #ffffff;
  color: var(--spd-red, #E3000F);
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn-white:hover, .btn-white:focus {
  background-color: #ffffff;
  color: var(--spd-red-dark, #B8000C);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.btn-dark {
  background-color: var(--spd-dark, #121417);
  color: #ffffff;
  border-color: var(--spd-dark, #121417);
}
.btn-dark:hover, .btn-dark:focus {
  background-color: var(--spd-dark-soft, #1E2227);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* Category & Status Badges (Frosted Pills) */
.spd-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--spd-radius-full, 9999px);
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(227, 0, 15, 0.2);
}
.spd-badge-outline {
  background-color: transparent;
  border: 1px solid var(--spd-red, #E3000F);
  color: var(--spd-red, #E3000F);
  box-shadow: none;
}
.spd-badge-light {
  background-color: var(--spd-red-light, #FFF0F1);
  color: var(--spd-red, #E3000F);
  box-shadow: none;
}
.spd-badge-dark {
  background-color: var(--spd-dark, #121417);
  color: #ffffff;
}

/* ==========================================================================
   Hero Section (Bento Dark Aesthetics with Radiant Red Mesh)
   ========================================================================== */
.spd-hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(227, 0, 15, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(227, 0, 15, 0.1) 0%, transparent 40%),
              linear-gradient(135deg, #121417 0%, #1A1E24 100%);
  color: #ffffff;
  padding: 85px 0 95px;
  overflow: hidden;
  border-bottom: 4px solid var(--spd-red, #E3000F);
}
.spd-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}
.spd-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}
.spd-hero-content h1 {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}
.spd-hero-content h1 .highlight-red {
  color: #ff3344;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 24px rgba(227, 0, 15, 0.4);
}
.spd-hero-lead {
  font-size: 1.22rem;
  color: #ced4da;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 640px;
}
.spd-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Bento Card (Glassmorphic Visual) */
.spd-hero-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--spd-radius-xl, 24px);
  padding: 34px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spd-hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}
.spd-hero-card-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 800;
}
.spd-hero-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spd-hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #e9ecef;
  font-size: 0.95rem;
  line-height: 1.5;
}
.spd-hero-card-list .check-icon {
  color: #ffffff;
  background-color: var(--spd-red, #E3000F);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(227, 0, 15, 0.4);
}

/* ==========================================================================
   Visual Zoning: Contrasting Section Containers (Vorschlag 3)
   ========================================================================== */
.spd-section-zoned {
  background: linear-gradient(180deg, #EAEFF4 0%, #F4F7FA 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--spd-radius-xl, 24px);
  padding: 36px 30px 40px;
  margin-bottom: 50px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(0, 0, 0, 0.03);
}
.spd-section-zoned .spd-section-header {
  margin-bottom: 24px;
}
.spd-section-zoned .spd-topics-grid {
  margin: 0;
}
.spd-section-zoned .spd-topic-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
@media (max-width: 768px) {
  .spd-section-zoned {
    padding: 26px 18px 30px;
    border-radius: var(--spd-radius-lg, 18px);
  }
}

/* ==========================================================================
   Bento Grid Topics Section (Modern Geometric Cards - 4 in 1 Reihe auf Desktop)
   ========================================================================== */
.spd-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 40px;
}
@media (max-width: 1024px) {
  .spd-topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .spd-topics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.spd-topic-card {
  background: var(--spd-card-bg, #FFFFFF);
  border-radius: var(--spd-radius-lg, 18px);
  padding: 24px 20px;
  border: 1px solid var(--spd-border-subtle, rgba(0, 0, 0, 0.06));
  box-shadow: var(--spd-shadow-sm, 0 4px 10px rgba(0, 0, 0, 0.04));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.spd-topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--spd-red, #E3000F);
  opacity: 0.9;
}
.spd-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(227, 0, 15, 0.18);
}
.spd-topic-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--spd-radius-md, 12px);
  background: var(--spd-red-light, #FFF0F1);
  color: var(--spd-red, #E3000F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.spd-topic-card:hover .spd-topic-icon {
  background: var(--spd-red, #E3000F);
  color: #ffffff;
}
.spd-topic-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.3;
}
.spd-topic-card p {
  color: var(--spd-gray-dark, #495057);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
  flex: 1 1 auto;
}

/* ==========================================================================
   Modern Featured Post Slider (Cinematic Experience)
   ========================================================================== */
.spd-featured-slider-section {
  margin-bottom: 54px;
}
.spd-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--spd-radius-xl, 24px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.14);
  height: 480px;
  background-color: var(--spd-dark, #121417);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.spd-slider-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.spd-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease-in-out, visibility 0.75s ease-in-out;
  z-index: 1;
}
.spd-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.spd-slide.is-active .spd-slide-img {
  animation: spdKenBurns 10s ease-out forwards;
}
@keyframes spdKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.spd-slide.is-active .spd-slide-inner > * {
  animation: spdSlideInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.spd-slide.is-active .spd-slide-inner > *:nth-child(1) { animation-delay: 0.08s; }
.spd-slide.is-active .spd-slide-inner > *:nth-child(2) { animation-delay: 0.16s; }
.spd-slide.is-active .spd-slide-inner > *:nth-child(3) { animation-delay: 0.24s; }
.spd-slide.is-active .spd-slide-inner > *:nth-child(4) { animation-delay: 0.32s; }
.spd-slide.is-active .spd-slide-inner > *:nth-child(5) { animation-delay: 0.40s; }

@keyframes spdSlideInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.spd-slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.spd-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spd-slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #121417 0%, #20242B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.spd-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(18, 20, 23, 0.94) 0%, rgba(18, 20, 23, 0.76) 55%, rgba(18, 20, 23, 0.2) 100%);
}
.spd-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 44px 70px;
}
.spd-slide-inner {
  max-width: 680px;
}
.spd-slide-meta {
  color: #ced4da;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.spd-slide-title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 900;
}
.spd-slide-title a {
  color: #ffffff;
}
.spd-slide-title a:hover {
  color: #ffe5e7;
  text-decoration: underline;
}
.spd-slide-excerpt {
  color: #e9ecef;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Glassmorphic Slider Controls */
.spd-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  background: rgba(18, 20, 23, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-slider-arrow:hover {
  background: var(--spd-red, #E3000F);
  border-color: var(--spd-red, #E3000F);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(227, 0, 15, 0.5);
}
.spd-slider-prev { left: 24px; }
.spd-slider-next { right: 24px; }

.spd-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 70px;
  z-index: 100 !important;
  pointer-events: auto !important;
  display: flex;
  gap: 8px;
}
.spd-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--spd-radius-full, 9999px);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.spd-slider-dot.is-active,
.spd-slider-dot:hover {
  width: 36px;
  background: var(--spd-red, #E3000F);
  box-shadow: 0 0 12px rgba(227, 0, 15, 0.6);
}

/* ==========================================================================
   Main Content Layout (Bento Grid + Sidebar)
   ========================================================================== */
.spd-site-main {
  flex: 1 0 auto;
  padding: 44px 0 65px;
}

.spd-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.spd-layout-full {
  grid-template-columns: 1fr;
}

/* Post Cards Grid (Aktuelles / Bento Cards) */
.spd-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.spd-card {
  background: var(--spd-card-bg, #FFFFFF);
  border-radius: var(--spd-radius-lg, 18px);
  border: 1px solid var(--spd-border-subtle, rgba(0, 0, 0, 0.06));
  box-shadow: var(--spd-shadow-sm, 0 4px 10px rgba(0, 0, 0, 0.04));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  transform-style: preserve-3d;
}
.spd-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--spd-shadow-hover, 0 24px 48px -12px rgba(227, 0, 15, 0.12));
  border-color: rgba(227, 0, 15, 0.22);
}

.spd-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #121417;
  overflow: hidden;
}
.spd-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-card:hover .spd-card-thumb img {
  transform: scale(1.06);
}
.spd-card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.spd-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.spd-card-meta {
  font-size: 0.82rem;
  color: var(--spd-gray, #6C757D);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.spd-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
}
.spd-card-title a {
  color: var(--spd-dark, #121417);
  transition: color 0.2s ease;
}
.spd-card-title a:hover {
  color: var(--spd-red, #E3000F);
  text-decoration: none;
}
.spd-card-excerpt {
  color: var(--spd-gray-dark, #495057);
  font-size: 0.94rem;
  line-height: 1.58;
  margin-bottom: 20px;
  flex: 1 1 auto;
}
.spd-card-footer {
  border-top: 1px solid var(--spd-gray-light, #E9ECEF);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spd-card-readmore {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--spd-red, #E3000F);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spd-card-readmore:hover {
  color: var(--spd-red-dark, #B8000C);
  text-decoration: none;
}
.spd-card-readmore::after {
  content: "→";
  transition: transform 0.25s ease;
}
.spd-card:hover .spd-card-readmore::after {
  transform: translateX(5px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.spd-section-header {
  margin-bottom: 32px;
  border-left: 5px solid var(--spd-red, #E3000F);
  padding-left: 18px;
}
.spd-section-header.no-border {
  border-left: none;
  padding-left: 0;
}
.spd-section-subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--spd-red, #E3000F);
  margin-bottom: 6px;
}
.spd-section-title {
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   Full-Width CTA Banner (Over Full Grid Width)
   ========================================================================== */
.spd-cta-banner {
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, #E3000F 0%, #BA000C 50%, #8A000A 100%);
  color: #ffffff;
  border-radius: var(--spd-radius-xl, 24px);
  padding: 50px 48px;
  margin: 44px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 20px 42px -6px var(--spd-red-glow, rgba(227, 0, 15, 0.25)), 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.spd-cta-banner-full {
  width: 100%;
}
.spd-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px -6px var(--spd-red-glow-strong, rgba(227, 0, 15, 0.45));
}
.spd-cta-content h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.spd-cta-content p {
  color: #ffe5e7;
  font-size: 1.08rem;
  margin: 0;
  max-width: 640px;
  line-height: 1.6;
}

/* ==========================================================================
   Vorstand & Fraktion Team Cards
   ========================================================================== */
.spd-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin: 32px 0;
}
.spd-member-card {
  background: #ffffff;
  border-radius: var(--spd-radius-lg, 18px);
  border: 1px solid var(--spd-border-subtle, rgba(0, 0, 0, 0.06));
  box-shadow: var(--spd-shadow-sm, 0 4px 10px rgba(0, 0, 0, 0.04));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.spd-member-card:hover {
  box-shadow: var(--spd-shadow-md, 0 10px 25px -4px rgba(0, 0, 0, 0.07));
  transform: translateY(-5px);
}
.spd-member-photo {
  height: 230px;
  background-color: #121417;
  position: relative;
  overflow: hidden;
}
.spd-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.spd-member-card:hover .spd-member-photo img {
  transform: scale(1.05);
}
.spd-member-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9ecef 0%, #ced4da 100%);
  color: var(--spd-gray, #6C757D);
  font-size: 3rem;
  font-weight: 700;
}
.spd-member-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.spd-member-role {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spd-red, #E3000F);
  margin-bottom: 6px;
}
.spd-member-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.spd-member-details {
  font-size: 0.92rem;
  color: var(--spd-gray-dark, #495057);
  margin-bottom: 14px;
  flex: 1 1 auto;
}
.spd-member-contact {
  border-top: 1px solid var(--spd-gray-light, #E9ECEF);
  padding-top: 12px;
  font-size: 0.86rem;
}
.spd-member-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--spd-dark, #121417);
  font-weight: 600;
}
.spd-member-contact a:hover {
  color: var(--spd-red, #E3000F);
}

/* ==========================================================================
   Single Post & Page Layout
   ========================================================================== */
.spd-article {
  background: #ffffff;
  border-radius: var(--spd-radius-lg, 18px);
  padding: 40px 44px;
  border: 1px solid var(--spd-border-subtle, rgba(0, 0, 0, 0.06));
  box-shadow: var(--spd-shadow-sm, 0 4px 10px rgba(0, 0, 0, 0.04));
  margin-bottom: 40px;
}
.spd-article-header {
  margin-bottom: 26px;
  border-bottom: 1px solid var(--spd-border, #E2E6EA);
  padding-bottom: 22px;
}
.spd-article-title {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 900;
}
.spd-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--spd-gray, #6C757D);
  align-items: center;
}
.spd-featured-image {
  margin: 0 0 30px;
  border-radius: var(--spd-radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.spd-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Article Content Typography */
.spd-content {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--spd-dark, #121417);
}
.spd-content p {
  margin-bottom: 1.5em;
}
.spd-content h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--spd-red-light, #FFF0F1);
}
.spd-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.spd-content ul, .spd-content ol {
  margin-left: 24px;
  margin-bottom: 1.5em;
}
.spd-content li {
  margin-bottom: 6px;
}
.spd-content blockquote {
  border-left: 4px solid var(--spd-red, #E3000F);
  padding: 16px 24px;
  background-color: var(--spd-red-light, #FFF0F1);
  border-radius: 0 var(--spd-radius-md, 12px) var(--spd-radius-md, 12px) 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.12rem;
}
.spd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  border-radius: var(--spd-radius-md, 12px);
  overflow: hidden;
}
.spd-content th, .spd-content td {
  padding: 13px 16px;
  border: 1px solid var(--spd-border, #E2E6EA);
  text-align: left;
}
.spd-content th {
  background-color: var(--spd-gray-bg, #F4F6F8);
  font-weight: 700;
}
.spd-content tr:nth-child(even) {
  background-color: #fafbfc;
}

/* Post Navigation (Prev/Next) */
.spd-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--spd-border, #E2E6EA);
}
.spd-post-nav a {
  background: var(--spd-gray-bg, #F4F6F8);
  border: 1px solid var(--spd-border, #E2E6EA);
  border-radius: var(--spd-radius-md, 12px);
  padding: 18px;
  display: block;
  transition: all 0.25s ease;
}
.spd-post-nav a:hover {
  border-color: var(--spd-red, #E3000F);
  background: var(--spd-red-light, #FFF0F1);
  transform: translateY(-2px);
  text-decoration: none;
}
.spd-post-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--spd-red, #E3000F);
  margin-bottom: 4px;
}
.spd-post-nav-title {
  font-weight: 700;
  color: var(--spd-dark, #121417);
  font-size: 0.95rem;
}

/* ==========================================================================
   Sidebar & Dynamic Widgets (Modern Bento Surface)
   ========================================================================== */
.spd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.spd-widget {
  background: #ffffff;
  border-radius: var(--spd-radius-lg, 18px);
  border: 1px solid var(--spd-border-subtle, rgba(0, 0, 0, 0.06));
  box-shadow: var(--spd-shadow-sm, 0 4px 10px rgba(0, 0, 0, 0.04));
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.spd-widget:hover {
  box-shadow: var(--spd-shadow-md, 0 10px 25px -4px rgba(0, 0, 0, 0.07));
}
.spd-widget-title {
  font-size: 1.18rem;
  font-weight: 800;
  border-left: 4px solid var(--spd-red, #E3000F);
  padding-left: 12px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.spd-widget ul {
  list-style: none;
}
.spd-widget li {
  padding: 9px 0;
  border-bottom: 1px solid var(--spd-gray-light, #E9ECEF);
  font-size: 0.95rem;
}
.spd-widget li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spd-widget a {
  color: var(--spd-dark, #121417);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.spd-widget a:hover {
  color: var(--spd-red, #E3000F);
  transform: translateX(3px);
  text-decoration: none;
}

/* Custom Link Widget with Automatic Site Icons */
.spd-widget-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--spd-dark, #121417);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.spd-widget-links li a:hover {
  color: var(--spd-red, #E3000F);
  transform: translateX(3px);
  text-decoration: none;
}
.spd-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
}
.spd-link-icon-badge {
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(227, 0, 15, 0.3);
}
.spd-link-icon-wappen {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}
.spd-link-icon-fav {
  border-radius: 3px;
  object-fit: contain;
}
.spd-link-icon-fallback {
  font-size: 14px;
}
.spd-link-text {
  flex: 1 1 auto;
}
.spd-ext-arrow {
  color: var(--spd-gray, #6C757D);
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.spd-widget-links li a:hover .spd-ext-arrow {
  color: var(--spd-red, #E3000F);
  transform: translateX(2px) translateY(-1px);
}

/* Calendar Widget (#wp-calendar) */
.widget_calendar {
  overflow-x: auto;
}
#wp-calendar {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.92rem;
}
#wp-calendar caption {
  font-weight: 800;
  color: var(--spd-dark, #121417);
  padding: 8px 0 12px;
  text-align: center;
  caption-side: top;
  font-size: 1.02rem;
}
#wp-calendar thead th {
  background-color: var(--spd-dark, #121417);
  color: #ffffff;
  padding: 8px 4px;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--spd-radius-sm, 6px);
}
#wp-calendar tbody td {
  padding: 8px 4px;
  border: 1px solid var(--spd-border, #E2E6EA);
}
#wp-calendar tbody td#today {
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  font-weight: 800;
  border-radius: var(--spd-radius-sm, 6px);
  box-shadow: 0 2px 6px rgba(227, 0, 15, 0.4);
}
#wp-calendar tbody td#today a {
  color: #ffffff;
  font-weight: 800;
}
#wp-calendar tfoot {
  font-size: 0.85rem;
}
#wp-calendar tfoot td {
  padding-top: 10px;
}
.wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Core Search Widget */
.widget_search .search-form,
.widget_search form,
.spd-search-form {
  display: flex;
  gap: 8px;
}
.widget_search input[type="search"],
.spd-search-input {
  flex: 1 1 auto;
  padding: 10px 16px;
  border: 1px solid var(--spd-border, #E2E6EA);
  border-radius: var(--spd-radius-full, 9999px);
  font-size: 0.94rem;
  outline: none;
  background: var(--spd-gray-bg, #F4F6F8);
  transition: all 0.25s ease;
}
.widget_search input[type="search"]:focus,
.spd-search-input:focus {
  background: #ffffff;
  border-color: var(--spd-red, #E3000F);
  box-shadow: 0 0 0 3px var(--spd-red-glow, rgba(227, 0, 15, 0.22));
}
.widget_search input[type="submit"],
.widget_search button {
  background-color: var(--spd-red, #E3000F);
  color: #ffffff;
  border: none;
  border-radius: var(--spd-radius-full, 9999px);
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.widget_search input[type="submit"]:hover,
.widget_search button:hover {
  background-color: var(--spd-red-dark, #B8000C);
  transform: translateY(-1px);
}

/* Pagination */
.spd-pagination {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.spd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid var(--spd-border, #E2E6EA);
  border-radius: var(--spd-radius-md, 12px);
  color: var(--spd-dark, #121417);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.spd-pagination .page-numbers:hover {
  border-color: var(--spd-red, #E3000F);
  color: var(--spd-red, #E3000F);
  transform: translateY(-2px);
}
.spd-pagination .page-numbers.current {
  background: var(--spd-red, #E3000F);
  border-color: var(--spd-red, #E3000F);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--spd-red-glow, rgba(227, 0, 15, 0.22));
}

/* ==========================================================================
   Footer (Obsidian Dark with Red Accent Line)
   ========================================================================== */
.spd-site-footer {
  background-color: var(--spd-dark, #121417);
  color: #adb5bd;
  margin-top: auto;
  border-top: 4px solid var(--spd-red, #E3000F);
}
.spd-footer-top {
  padding: 65px 0 44px;
}
.spd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.spd-footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-left: 3px solid var(--spd-red, #E3000F);
  padding-left: 10px;
}
.spd-footer-col p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #ced4da;
}
.spd-footer-col ul {
  list-style: none;
}
.spd-footer-col li {
  margin-bottom: 11px;
  font-size: 0.92rem;
}
.spd-footer-col a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.2s ease;
}
.spd-footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.spd-footer-bottom {
  background-color: #0b0d0e;
  padding: 22px 0;
  border-top: 1px solid #1e2227;
  font-size: 0.85rem;
}
.spd-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.spd-legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.spd-legal-links a {
  color: #adb5bd;
}
.spd-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .spd-layout-grid {
    grid-template-columns: 1fr;
  }
  .spd-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .spd-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .spd-mobile-toggle {
    display: flex;
  }
  .spd-primary-nav {
    position: fixed;
    top: 0;
    right: -340px;
    width: min(320px, 86vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -8px 0 32px rgba(0,0,0,0.25);
    z-index: 10000;
    padding: 70px 24px 30px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .spd-primary-nav.is-open {
    right: 0;
  }
  .spd-primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .spd-primary-nav ul ul {
    position: static;
    display: block;
    box-shadow: none;
    border-top: none;
    padding-left: 14px;
    border-left: 2px solid var(--spd-red, #E3000F);
    margin-top: 6px;
    background: transparent;
  }
  .spd-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
  }
  .spd-nav-overlay.is-open {
    display: block;
  }
}

@media (max-width: 576px) {
  .spd-footer-grid {
    grid-template-columns: 1fr;
  }
  .spd-header-cta .btn {
    display: none;
  }
  .spd-article {
    padding: 26px 20px;
  }
  .spd-hero {
    padding: 42px 0 54px;
  }
  .spd-cta-banner {
    padding: 34px 24px;
  }
  .spd-post-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .spd-brand {
    gap: 10px;
  }
  .spd-brand-titles .spd-brand-slogan {
    display: none;
  }
  .spd-brand-logo-badge {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .spd-brand-wappen img {
    height: 44px;
  }
  .spd-brand-main {
    font-size: 1.2rem;
  }
  .spd-hero-lead {
    font-size: 1.05rem;
  }
  .spd-hero-buttons {
    flex-direction: column;
  }
  .spd-hero-buttons .btn {
    width: 100%;
  }
  .spd-slider {
    height: 400px;
  }
  .spd-slide-content {
    padding: 26px 20px;
  }
  .spd-slide-title {
    font-size: 1.38rem;
  }
  .spd-slide-excerpt {
    font-size: 0.92rem;
    line-height: 1.48;
  }
  .spd-cta-banner {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Scroll Reveal Animations & Motion Accessibility
   ========================================================================== */
.spd-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.spd-reveal.spd-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .spd-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .spd-slide.is-active .spd-slide-img {
    animation: none !important;
  }
  .spd-slide.is-active .spd-slide-inner > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
