/* ── Subpage shell (Startseiten-Atmosphäre) ── */
body.subpage {
  position: relative;
  background-color: var(--color-background, #fcf9f8);
}

body.subpage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 95% 10%, rgba(var(--color-primary-rgb), 0.07), transparent 55%),
    radial-gradient(ellipse 50% 42% at 5% 90%, rgba(77, 184, 220, 0.05), transparent 58%),
    radial-gradient(ellipse 70% 50% at 50% 45%, rgba(var(--color-primary-rgb), 0.035), transparent 68%),
    linear-gradient(
      180deg,
      var(--section-surface-light, #f4f7fa) 0%,
      var(--color-background, #fcf9f8) 22%,
      var(--color-background, #fcf9f8) 78%,
      var(--section-surface-light, #f4f7fa) 100%
    );
}

body.subpage::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(ellipse 50% 35% at 50% 18%, rgba(var(--color-primary-rgb), 0.04), transparent 70%),
    radial-gradient(ellipse 40% 30% at 82% 72%, rgba(77, 184, 220, 0.05), transparent 68%);
}

body.subpage main {
  position: relative;
  isolation: isolate;
}

/* ── Subpage hero ── */
.subpage-hero {
  --subpage-hero-bg: #050a10;
  --subpage-hero-accent: #00b4d8;
  --subpage-hero-accent-soft: rgba(0, 180, 216, 0.35);
  --subpage-hero-text: rgba(255, 255, 255, 0.94);
  --subpage-hero-muted: rgba(255, 255, 255, 0.62);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--subpage-hero-text);
  background: var(--subpage-hero-bg);
  padding: calc(var(--header-height) + 2.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  transform: none !important;
}

.subpage-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.subpage-hero__waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--subpage-hero-bg);
}

.subpage-hero__waves-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.subpage-hero--static .subpage-hero__waves {
  display: none;
}

.subpage-hero--waves:not(.subpage-hero--static) .subpage-hero__bg-glow,
.subpage-hero--waves:not(.subpage-hero--static) .subpage-hero__bg-grid,
.subpage-hero--waves:not(.subpage-hero--static) .subpage-hero__bg-noise {
  display: none;
}

.subpage-hero--waves:not(.subpage-hero--static) .subpage-hero__waves {
  background: var(--subpage-hero-bg);
}

.subpage-hero__bg-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(0, 180, 216, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 88% 8%, rgba(0, 132, 180, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(29, 150, 189, 0.12) 0%, transparent 70%);
  animation: subpage-hero-glow 9s ease-in-out infinite alternate;
}

.subpage-hero__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 88%);
}

.subpage-hero__bg-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.subpage-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}

.subpage-hero__breadcrumb {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  animation: subpage-hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.subpage-hero__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0.45rem 0.85rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(8, 18, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0.5px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 32px rgba(0, 0, 0, 0.22);
}

.subpage-hero__breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.subpage-hero__breadcrumb-link {
  color: var(--subpage-hero-muted);
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.subpage-hero__breadcrumb-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.subpage-hero__breadcrumb-link:focus-visible {
  outline: 2px solid var(--subpage-hero-accent);
  outline-offset: 2px;
}

.subpage-hero__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.28);
  font-size: 1rem;
  user-select: none;
}

.subpage-hero__breadcrumb-current {
  color: #fff;
  padding: 0.2rem 0.55rem;
}

.subpage-hero__content {
  max-width: 42rem;
}

.subpage-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(3, 23, 43, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: subpage-hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.subpage-hero__eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--subpage-hero-accent);
  box-shadow: 0 0 12px var(--subpage-hero-accent-soft);
}

.subpage-hero__eyebrow-icon {
  font-size: 1.05rem;
  color: var(--subpage-hero-accent);
}

.subpage-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 1.6rem + 3.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: subpage-hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.subpage-hero__title-accent {
  background: linear-gradient(120deg, #fff 0%, #b8ecff 48%, var(--subpage-hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subpage-hero__lead {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: 300;
  line-height: 1.65;
  color: var(--subpage-hero-muted);
  max-width: 36rem;
  margin: 0 0 1rem;
  animation: subpage-hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.subpage-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  animation: subpage-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.subpage-hero__meta::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--subpage-hero-accent), transparent);
}

@keyframes subpage-hero-glow {
  0% { opacity: 0.82; transform: translate3d(-1%, 0, 0); }
  100% { opacity: 1; transform: translate3d(1.5%, 1%, 0); }
}

@keyframes subpage-hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-hero__bg-glow,
  .subpage-hero__breadcrumb,
  .subpage-hero__eyebrow,
  .subpage-hero__title,
  .subpage-hero__lead,
  .subpage-hero__meta {
    animation: none;
  }
}

/* ── Subpage prose (content) ── */
.subpage-body.site-section {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.subpage-body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 40% at 95% 8%, rgba(var(--color-primary-rgb), 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 92%, rgba(77, 184, 220, 0.04), transparent 58%),
    var(--color-background, #fcf9f8);
}

.subpage-body > .site-container {
  position: relative;
  z-index: 1;
}

.subpage-prose h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-title-md);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.subpage-prose h2:first-child {
  margin-top: 0;
}

.subpage-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.subpage-prose p,
.subpage-prose li {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.subpage-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.subpage-prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.subpage-prose a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.subpage-notice {
  border-left: 4px solid #585a74;
  background: #f6f3f2;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
}

.subpage-notice p {
  margin-bottom: 0.5rem;
}

.subpage-notice p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SUBPAGE COMPONENT LIBRARY
   Shared across: Über uns, Karriere, Kontakt, Datenschutz
═══════════════════════════════════════════════════════════════ */

/* ── Layout Utilities ── */
.sp-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.sp-section--dark {
  background: #050a10;
  color: rgba(255,255,255,0.92);
}

.sp-section--surface {
  background: var(--section-surface, #faf9f6);
}

.sp-section--light {
  background: var(--section-surface-light, #f4f7fa);
}

.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(29, 150, 189, 0.08);
  border: 1px solid rgba(29, 150, 189, 0.18);
}

.sp-eyebrow--dark {
  color: rgba(255,255,255,0.88);
  background: rgba(3, 23, 43, 0.65);
  border-color: rgba(255,255,255,0.1);
}

.sp-eyebrow__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.sp-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-title-lg);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0 0 1.25rem;
}

.sp-section-lead {
  font-size: var(--fs-body-lg);
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 0 3rem;
}

/* ── Stat Grid ── */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  margin: 0 0 3rem;
}

.sp-stat {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29, 150, 189, 0.12);
  box-shadow: 0 8px 32px rgba(29, 150, 189, 0.07);
  backdrop-filter: blur(8px);
  text-align: center;
  overflow: hidden;
  transition: box-shadow 280ms ease;
}

.sp-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(29,150,189,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.sp-stat:hover {
  box-shadow: 0 16px 48px rgba(29, 150, 189, 0.14);
}

.sp-stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  position: relative;
}

.sp-stat__label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

/* ── Timeline ── */
.sp-timeline {
  position: relative;
  padding-left: 2.5rem;
  list-style: none;
  margin: 0;
}

.sp-timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(29,150,189,0.15) 100%);
}

.sp-timeline__item {
  position: relative;
  padding-bottom: 3rem;
}

.sp-timeline__item:last-child {
  padding-bottom: 0;
}

.sp-timeline__marker {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-background);
  box-shadow: 0 0 0 2px var(--color-primary), 0 4px 12px rgba(29,150,189,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.sp-timeline__year {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(29,150,189,0.08);
  border: 1px solid rgba(29,150,189,0.18);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.65rem;
}

.sp-timeline__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.sp-timeline__text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Value Cards ── */
.sp-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.sp-value-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29,150,189,0.1);
  box-shadow: 0 4px 24px rgba(29,150,189,0.06);
  transition: box-shadow 280ms ease, border-color 280ms ease;
  position: relative;
  overflow: hidden;
}

.sp-value-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-value-card:hover {
  box-shadow: 0 16px 48px rgba(29,150,189,0.14);
  border-color: rgba(29,150,189,0.22);
}

.sp-value-card:hover::after {
  transform: scaleX(1);
}

.sp-value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(29,150,189,0.1);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: background 280ms ease, transform 280ms ease;
}

.sp-value-card:hover .sp-value-card__icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.sp-value-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.625rem;
}

.sp-value-card__text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Team Cards ── */
.sp-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.sp-team-card {
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(29,150,189,0.1);
  box-shadow: 0 4px 24px rgba(29,150,189,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 300ms cubic-bezier(0.25, 1, 0.5, 1),
    transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.sp-team-card.is-row-expanded,
.sp-team-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(29,150,189,0.16);
}

.sp-team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #e8f4f8 0%, #c8e8f4 100%);
  position: relative;
  overflow: hidden;
}

.sp-team-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sp-team-card__photo-placeholder {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(29,150,189,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 2.25rem;
}

.sp-team-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(5,10,16,0.55) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.sp-team-card:hover .sp-team-card__overlay,
.sp-team-card:focus-within .sp-team-card__overlay {
  opacity: 1;
}

.sp-team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 200ms ease;
}

.sp-team-card__linkedin:hover {
  background: rgba(255,255,255,0.3);
}

.sp-team-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-team-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.2rem;
}

.sp-team-card__role {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.sp-team-card__toggle {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(29,150,189,0.18);
  border-radius: 999px;
  background: rgba(29,150,189,0.06);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.sp-team-card__toggle:hover {
  background: rgba(29,150,189,0.12);
  border-color: rgba(29,150,189,0.28);
}

.sp-team-card__toggle-icon {
  font-size: 1rem;
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.sp-team-card.is-row-expanded .sp-team-card__toggle-icon {
  transform: rotate(180deg);
}

.sp-team-card__bio-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition:
    grid-template-rows 300ms ease-in-out,
    opacity 300ms ease-in-out,
    margin-top 300ms ease-in-out;
}

.sp-team-card__bio-wrap > .sp-team-card__bio {
  overflow: hidden;
  min-height: 0;
}

.sp-team-card__bio {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.sp-team-card.is-row-expanded .sp-team-card__bio-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.75rem;
}

@media (hover: none), (pointer: coarse) {
  .sp-team-card__toggle {
    display: inline-flex;
  }
}

/* ── Benefit Cards ── */
.sp-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}

.sp-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(29,150,189,0.1);
  box-shadow: 0 4px 16px rgba(29,150,189,0.06);
  transition: box-shadow 260ms ease;
}

.sp-benefit-card:hover {
  box-shadow: 0 12px 36px rgba(29,150,189,0.13);
}

.sp-benefit-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(29,150,189,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: background 260ms ease;
}

.sp-benefit-card:hover .sp-benefit-card__icon {
  background: var(--color-primary);
  color: #fff;
}

.sp-benefit-card__body {
  width: 100%;
}

.sp-benefit-card__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.sp-benefit-card__text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Job Cards ── */
.sp-jobs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp-job-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(29,150,189,0.1);
  box-shadow: 0 4px 20px rgba(29,150,189,0.06);
  transition: box-shadow 280ms ease, border-color 280ms ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.sp-job-card:hover,
.sp-job-card:focus-visible {
  box-shadow: 0 16px 48px rgba(29,150,189,0.14);
  border-color: rgba(29,150,189,0.28);
}

.sp-job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sp-job-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.35rem;
}

.sp-job-card__dept {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sp-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(29,150,189,0.08);
  color: var(--color-primary);
  border: 1px solid rgba(29,150,189,0.15);
}

.sp-tag--neutral {
  background: rgba(71,85,105,0.08);
  color: var(--color-muted);
  border-color: rgba(71,85,105,0.15);
}

.sp-job-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  transition: gap 200ms ease;
}

.sp-job-card:hover .sp-job-card__action {
  gap: 0.4rem;
}

/* ── Job-Detail Modal ── */
.sp-job-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 1.5rem;
}

.sp-job-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-job-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,16,0.7);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.sp-job-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  background: var(--color-background);
  box-shadow: 0 32px 80px rgba(5,10,16,0.35);
  overscroll-behavior: contain;
}

.sp-job-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--color-background);
  border-bottom: 1px solid rgba(29,150,189,0.12);
}

.sp-job-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(29,150,189,0.2);
  background: transparent;
  cursor: pointer;
  color: var(--color-muted);
  transition: background 200ms ease, color 200ms ease;
}

.sp-job-modal__close:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.sp-job-modal__body {
  padding: 2rem 2rem 2.5rem;
}

.sp-job-modal__body h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.75rem 0 0.75rem;
}

.sp-job-modal__body h3:first-child {
  margin-top: 0;
}

.sp-job-modal__body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.sp-job-modal__body li {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

/* ── Contact Info ── */
.sp-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sp-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(29,150,189,0.1);
  box-shadow: 0 4px 20px rgba(29,150,189,0.06);
}

.sp-contact-item__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(29,150,189,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.sp-contact-item__body {
  width: 100%;
}

.sp-contact-item__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.sp-contact-item__value {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

a.sp-contact-item__value:hover {
  color: var(--color-primary);
}

/* ── Premium Form ── */
.sp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .sp-form__row {
    grid-template-columns: 1fr;
  }
}

.sp-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-form__label {
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.sp-form__label--required::after {
  content: " *";
  color: var(--color-primary);
}

.sp-form__input,
.sp-form__select,
.sp-form__textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(88,90,116,0.2);
  background: rgba(255,255,255,0.92);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
  -webkit-appearance: none;
}

.sp-form__input:focus,
.sp-form__select:focus,
.sp-form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29,150,189,0.12);
}

.sp-form__input::placeholder,
.sp-form__textarea::placeholder {
  color: rgba(71,85,105,0.5);
}

.sp-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23475569' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.sp-form__textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.65;
}

.sp-form__hint {
  font-size: var(--fs-micro);
  color: var(--color-muted);
}

/* Checkbox / DSGVO */
.sp-form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sp-form__checkbox {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border: 1.5px solid rgba(88,90,116,0.3);
  border-radius: 4px;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-top: 0.15rem;
}

.sp-form__checkbox-label {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.55;
}

/* Upload Area */
.sp-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(29,150,189,0.28);
  background: rgba(29,150,189,0.03);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease;
  text-align: center;
}

.sp-upload:hover,
.sp-upload.drag-over {
  border-color: var(--color-primary);
  background: rgba(29,150,189,0.07);
}

.sp-upload__icon {
  color: var(--color-primary);
  font-size: 2rem;
}

.sp-upload__title {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--fs-body);
}

.sp-upload__hint {
  font-size: var(--fs-micro);
  color: var(--color-muted);
}

/* Form Status */
.sp-form__status {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: 600;
}

.sp-form__status--success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #15803d;
}

.sp-form__status--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #dc2626;
}

/* ── Map Placeholder ── */
.sp-map {
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e8f4f8 0%, #c8e8f4 50%, #a8d8ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29,150,189,0.15);
  box-shadow: 0 8px 32px rgba(29,150,189,0.1);
}

@media (max-width: 768px) {
  .sp-map {
    aspect-ratio: 16 / 10;
  }
}

.sp-map__placeholder {
  text-align: center;
  color: var(--color-primary);
  z-index: 1;
  position: relative;
}

.sp-map__placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  display: block;
}

.sp-map__placeholder-text {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.sp-map__placeholder-hint {
  font-size: var(--fs-micro);
  color: var(--color-muted);
  display: block;
  margin-top: 0.35rem;
}

.sp-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,150,189,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,150,189,0.07) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

/* ── FAQ Accordion ── */
.sp-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sp-accordion__item {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29,150,189,0.12);
  background: rgba(255,255,255,0.8);
  overflow: hidden;
  transition: box-shadow 240ms ease;
}

details.sp-accordion__item[open] {
  box-shadow: 0 8px 32px rgba(29,150,189,0.1);
  border-color: rgba(29,150,189,0.24);
}

.sp-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  list-style: none;
}

.sp-accordion__trigger::-webkit-details-marker { display: none; }

.sp-accordion__question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.sp-accordion__chevron {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

details[open] .sp-accordion__chevron {
  transform: rotate(180deg);
}

.sp-accordion__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.7;
}

/* ── CTA Band ── */
.sp-cta-band {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: linear-gradient(135deg, #050a10 0%, #0d1b2a 100%);
  position: relative;
  overflow: hidden;
}

.sp-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(29,150,189,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(0,180,216,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.sp-cta-band__inner {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.sp-cta-band__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(29,150,189,0.85);
  margin-bottom: 1rem;
}

.sp-cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.sp-cta-band__lead {
  font-size: var(--fs-body-lg);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.sp-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.sp-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease;
}

.sp-cta-phone:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}

/* ── TOC (Datenschutz) ── */
.sp-toc-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .sp-toc-layout {
    grid-template-columns: 1fr;
  }
}

.sp-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  max-height: calc(100vh - var(--header-height) - 3rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(29,150,189,0.12);
  box-shadow: 0 4px 20px rgba(29,150,189,0.06);
}

.sp-toc__title {
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.sp-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sp-toc__link {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: var(--fs-body);
  color: var(--color-muted);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
  line-height: 1.4;
}

.sp-toc__link:hover {
  background: rgba(29,150,189,0.08);
  color: var(--color-primary);
}

.sp-toc__link.is-active {
  background: rgba(29,150,189,0.1);
  color: var(--color-primary);
  font-weight: 600;
}

/* ── Scroll-reveal (intersection observer) ── */
.sp-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Teamfoto / Photo Band ── */
.sp-photo-band {
  padding: clamp(4rem, 7vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.sp-photo-band__img {
  width: 100%;
  height: clamp(18rem, 35vw, 32rem);
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a4a 100%);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(5,10,16,0.3);
}

.sp-photo-band__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.sp-photo-band__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,150,189,0.15) 0%, rgba(5,10,16,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.sp-photo-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(5,10,16,0.72) 0%, transparent 58%);
  display: flex;
  align-items: center;
}

.sp-photo-band__message {
  padding: clamp(2rem, 4vw, 4rem);
  max-width: 32rem;
}

.sp-photo-band__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 0.9rem + 1.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1rem;
}

/* Editorial-Zitat-Variante (Statement-Band) */
.sp-photo-band__quote--editorial {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.sp-photo-band__badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 2;
  font-size: var(--fs-micro);
  color: rgba(255,255,255,0.35);
}

@media (max-width: 640px) {
  .sp-photo-band__overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 16, 0.88) 58%);
    align-items: flex-end;
  }

  .sp-photo-band__message {
    max-width: none;
    padding: 1.5rem;
  }

  .sp-photo-band__quote--editorial {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
}

.sp-photo-band__author {
  font-size: var(--fs-label);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ── Recruiting Timeline ── */
.sp-recruit-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 4rem;
}

.sp-recruit-timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), rgba(29,150,189,0.15));
}

.sp-recruit-step {
  position: relative;
  padding: 0 0 2.5rem;
}

.sp-recruit-step:last-child {
  padding-bottom: 0;
}

.sp-recruit-step__num {
  position: absolute;
  left: -4rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-background);
  box-shadow: 0 0 0 2px var(--color-primary), 0 4px 16px rgba(29,150,189,0.3);
}

.sp-recruit-step__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.4rem;
  padding-top: 0.5rem;
}

.sp-recruit-step__text {
  font-size: var(--fs-body);
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Filter Bar (Jobs) ── */
.sp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sp-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(88,90,116,0.2);
  background: transparent;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.sp-filter-btn:hover,
.sp-filter-btn.active {
  border-color: var(--color-primary);
  background: rgba(29,150,189,0.08);
  color: var(--color-primary);
}

.sp-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 150, 189, 0.28);
}

.sp-filter-btn.active:hover {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

.sp-filter-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Fehlende Utility-Klassen ── */
.sp-section__stats {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0;
}

.sp-section__stats > .site-container > .sp-stats {
  margin-bottom: 0;
}

/* Erste Section nach Hero-Stats: kompakterer Abstand */
.sp-section__stats + .sp-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* Stat-Suffixe (% / +) */
.sp-stat__suffix {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 1;
}

/* Zentrierte Section-Intro */
.sp-section-intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.sp-section-intro--sm {
  margin-bottom: 2.5rem;
}

/* Referenzkunden-Grid */
.sp-ref-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  text-align: center;
  margin: 0 0 1.75rem;
}

.sp-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  align-items: center;
}

/* Medien-Placeholder (Kultur-Bild etc.) */
.sp-media-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0d1b2a, #1a3a4a);
  box-shadow: 0 24px 64px rgba(5, 10, 16, 0.25);
  position: relative;
  overflow: hidden;
}

.sp-media-placeholder__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.sp-media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 150, 189, 0.12) 0%, rgba(5, 10, 16, 0.45) 100%);
  pointer-events: none;
}

.sp-media-placeholder__inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

.sp-media-placeholder__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Map-CTA Button */
.sp-map__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.sp-map__cta:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(29, 150, 189, 0.35);
}

.sp-map__cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Kontakt-Hinweis unter Wert */
.sp-contact-item__hint {
  font-size: var(--fs-micro);
  color: var(--color-muted);
  margin: 0.3rem 0 0;
}

/* Referenzkunden-Kachel */
.sp-ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(29,150,189,0.1);
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  min-height: 3.5rem;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.sp-ref-logo:hover {
  box-shadow: 0 8px 24px rgba(29,150,189,0.1);
  border-color: rgba(29,150,189,0.22);
}

/* Checkliste */
.sp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sp-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.sp-checklist__icon {
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

/* Trust-Stats ohne Inline-Grid-Override */
.sp-stats--4col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .sp-stats--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .sp-stats--4col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Focus-Visible ergänzen ── */
.sp-job-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sp-toc__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-radius: 4px;
}

.sp-upload:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Touch-Target: Checkbox auf WCAG 2.5.5 ── */
/* (Größe bereits in .sp-form__checkbox oben definiert) */

/* ── Validierungsstatus per CSS-Klasse (aria-invalid) ── */
.sp-form__input.is-invalid,
.sp-form__select.is-invalid,
.sp-form__textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.sp-form__input[aria-invalid="true"],
.sp-form__select[aria-invalid="true"],
.sp-form__textarea[aria-invalid="true"] {
  border-color: rgba(239, 68, 68, 0.65);
}

/* ── prefers-reduced-motion für Hover-Transforms ── */
@media (prefers-reduced-motion: reduce) {
  .sp-stat:hover,
  .sp-value-card:hover,
  .sp-team-card:hover,
  .sp-benefit-card:hover,
  .sp-job-card:hover,
  .sp-contact-item,
  .sp-recruit-step__num {
    transform: none !important;
    transition: box-shadow 200ms ease, border-color 200ms ease !important;
  }

  .sp-value-card__icon,
  .sp-benefit-card__icon,
  .sp-value-card::after,
  .sp-team-card__bio-wrap,
  .sp-team-card__toggle-icon {
    transition: none !important;
    transform: none !important;
  }

  .sp-team-card__bio-wrap {
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
    margin-top: 0.75rem !important;
  }
}

/* ── Page-specific responsive grids ── */
@media (max-width: 900px) {
  .ueber-grid-history,
  .karriere-grid-kultur {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 640px) {
  .sp-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-stat__value {
    font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  }
  .sp-cta-band__title {
    font-size: clamp(1.5rem, 1.2rem + 2vw, 2.5rem);
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sp-team {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }

  .sp-job-card {
    padding: 1.25rem 1.25rem;
  }

  .sp-job-modal__panel {
    max-height: 95vh;
  }

  .sp-job-modal__body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .sp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .sp-team {
    grid-template-columns: 1fr 1fr;
  }

  .sp-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UI/UX AUDIT FIXES (vorsichtig, ohne Design-Bruch)
═══════════════════════════════════════════════════════════════ */

/* Checkbox: Touch-Target 44px via Label, Fokus sichtbar */
.sp-form__checkbox-group {
  align-items: flex-start;
  min-height: 2.75rem;
}

.sp-form__checkbox {
  margin-top: 0.65rem;
}

.sp-form__checkbox:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sp-form__checkbox-label {
  cursor: pointer;
  padding: 0.55rem 0;
  flex: 1;
}

/* Form-Inputs: Fokus nur bei Tastatur */
.sp-form__input:focus,
.sp-form__select:focus,
.sp-form__textarea:focus {
  border-color: rgba(88,90,116,0.2);
  box-shadow: none;
}

.sp-form__input:focus-visible,
.sp-form__select:focus-visible,
.sp-form__textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29,150,189,0.12);
}

/* Upload: verstecktes File-Input innerhalb Label */
.sp-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Team-LinkedIn: Touch-Geräte ohne Hover */
@media (hover: none) {
  .sp-team-card__overlay {
    opacity: 1;
  }
}

.sp-team-card__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sp-team-card__linkedin:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Kontakt-Links im Grid */
a.sp-contact-item__value:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Accordion FAQ */
.sp-accordion__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

/* Touch-Targets vergrößern */
.sp-filter-btn {
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
}

.sp-toc__link {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sp-job-modal__close {
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.sp-job-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* TOC: Mobile-Dropdown statt display:none */
.sp-toc-mobile {
  display: none;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29,150,189,0.12);
  background: rgba(255,255,255,0.95);
  overflow: hidden;
}

.sp-toc-mobile__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  min-height: 2.75rem;
}

.sp-toc-mobile__summary::-webkit-details-marker {
  display: none;
}

.sp-toc-mobile__summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.sp-toc-mobile__list {
  list-style: none;
  padding: 0 1rem 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-height: 50vh;
  overflow-y: auto;
}

.sp-toc-mobile .sp-toc__link {
  padding: 0.55rem 0.75rem;
}

/* sp-toc-layout: Mobile-TOC über volle Breite */
@media (max-width: 900px) {
  .sp-toc-layout {
    grid-template-columns: 1fr;
  }

  .sp-toc {
    display: none;
  }

  .sp-toc-mobile {
    display: block;
    grid-column: 1 / -1;
  }
}

/* Photo-Badge: Kontrast */
.sp-photo-band__badge {
  color: rgba(255, 255, 255, 0.6);
}

/* Glass-Karten: bessere Lesbarkeit Light Mode */
.sp-toc {
  background: rgba(255,255,255,0.95);
}

.sp-team-card {
  background: rgba(255,255,255,0.95);
}

.sp-job-card {
  background: rgba(255,255,255,0.95);
}

.sp-contact-item {
  background: rgba(255,255,255,0.95);
}

/* Nicht-klickbare Karten: kein irreführender Hover-Lift */
.sp-ref-logo:hover {
  box-shadow: 0 8px 24px rgba(29,150,189,0.1);
  border-color: rgba(29,150,189,0.22);
}

/* Reveal-Fallback wenn IntersectionObserver fehlt */
@supports not (overflow: clip) {
  .sp-reveal {
    opacity: 1;
    transform: none;
  }
}

