/* Extracted from leistungen.html */
/* ── Leistungen Page Specific Styles ── */

    /* Hero - 40:60 Split (Text left, Video right) */
    .leistungen-hero {
      position: relative;
      min-height: 85vh;
      display: grid;
      grid-template-columns: 40% 60%;
      overflow: hidden;
      padding-top: var(--nav-height);
    }
    .leistungen-hero__text-side {
      position: relative;
      display: flex;
      align-items: center;
      padding: 4rem 3rem 4rem 4rem;
      background: #ffffff;
      background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
      background-size: 24px 24px;
    }
    .leistungen-hero__video-side {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      overflow: hidden;
    }
    .leistungen-hero__video-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 40%, black 40%, transparent 100%);
      mask-image: radial-gradient(ellipse 70% 65% at 55% 40%, black 40%, transparent 100%);
    }
    .leistungen-hero__grid {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .leistungen-hero__text {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .leistungen-hero__breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--color-gray-500);
      font-family: var(--font-body);
    }
    .leistungen-hero__breadcrumb a {
      color: var(--color-gray-500);
      text-decoration: none;
      transition: color var(--transition-fast);
    }
    .leistungen-hero__breadcrumb a:hover { color: var(--color-primary-dark); }
    .leistungen-hero__breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
    .leistungen-hero__title {
      font-family: var(--font-heading);
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.1;
      color: var(--color-text-dark);
      letter-spacing: -0.02em;
    }
    .leistungen-hero__subtitle {
      font-family: var(--font-body);
      font-size: clamp(1rem, 1.3vw, 1.15rem);
      line-height: 1.7;
      color: var(--color-gray-600);
      max-width: 480px;
    }
    .leistungen-hero__visual {
      display: none;
    }
    .leistungen-hero__illustration {
      display: none;
    }

    /* Intro Text Section */
    .leistungen-intro {
      padding: 5rem 0;
      background: var(--color-white);
    }
    .leistungen-intro__content {
      max-width: 860px;
      margin: 0 auto;
    }
    .leistungen-intro__highlight {
      font-family: var(--font-heading);
      font-size: clamp(1.3rem, 2.5vw, 1.75rem);
      font-weight: 600;
      color: var(--color-text-dark);
      line-height: 1.5;
      margin-bottom: 2rem;
      padding-left: 1.5rem;
      border-left: 4px solid var(--color-primary);
    }
    .leistungen-intro__text {
      font-family: var(--font-body);
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--color-gray-600);
      margin-bottom: 1.5rem;
    }

    /* Service Cards Section - Compact Zigzag */
    .leistungen-services-wrapper {
      background: #ffffff;
      background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
      background-size: 24px 24px;
      padding: 4rem 2rem;
      width: 100%;
    }
    .leistungen-services {
      max-width: 1100px;
      margin: 0 auto;
      position: relative;
    }
    /* Vertical timeline connector */
    .leistungen-services::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, transparent, rgba(102,255,126,0.3) 10%, rgba(102,255,126,0.3) 90%, transparent);
      transform: translateX(-50%);
      z-index: 0;
    }
    .leistungen-service {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
      position: relative;
      padding: 2.5rem 0;
      overflow: visible;
    }
    .leistungen-service + .leistungen-service {
      margin-top: 0;
    }
    .leistungen-service:nth-child(even) {
      direction: rtl;
    }
    .leistungen-service:nth-child(even) > * {
      direction: ltr;
    }
    /* Timeline dot */
    .leistungen-service::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #66ff7e;
      border: 3px solid #fff;
      box-shadow: 0 0 0 3px rgba(102,255,126,0.2);
      transform: translate(-50%, -50%);
      z-index: 2;
    }
    .leistungen-service__content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 2rem 2.5rem;
      position: relative;
      z-index: 2;
      background: #fff;
      border-radius: 16px;
      border: 1px solid rgba(0,0,0,0.06);
      box-shadow: 0 4px 24px rgba(0,0,0,0.04);
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      overflow: hidden;
    }
    .leistungen-service__content::before {
      content: '';
      position: absolute;
      top: -30px;
      right: -30px;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: rgba(102, 255, 126, 0.1);
      filter: blur(40px);
      pointer-events: none;
      z-index: 0;
    }
    .leistungen-service__content:hover {
      box-shadow: 0 8px 40px rgba(0,0,0,0.08);
      transform: translateY(-2px);
    }
    .leistungen-service__number {
      font-family: var(--font-heading);
      font-size: 2.5rem;
      font-weight: 800;
      color: rgba(102, 255, 126, 0.2);
      line-height: 1;
      margin-bottom: 0.25rem;
      letter-spacing: -0.05em;
    }
    .leistungen-service__label {
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--color-primary-dark);
      margin-bottom: 0.5rem;
    }
    .leistungen-service__title {
      font-family: var(--font-heading);
      font-size: clamp(1.3rem, 2.2vw, 1.75rem);
      font-weight: 700;
      line-height: 1.2;
      color: var(--color-text-dark);
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }
    .leistungen-service__text {
      font-family: var(--font-body);
      font-size: 0.95rem;
      line-height: 1.7;
      color: var(--color-gray-600);
    }
    .leistungen-service__text + .leistungen-service__text {
      margin-top: 0.75rem;
    }
    .leistungen-service__visual {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding: 2rem;
      min-height: 200px;
    }

    /* No alternating backgrounds - clean white */
    .leistungen-service:nth-child(odd) {
      background: transparent;
    }
    .leistungen-service:nth-child(even) {
      background: transparent;
    }

    /* Icon in visual area */
    .leistungen-service__icon-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }
    .leistungen-service__icon-wrapper img {
      width: clamp(100px, 12vw, 160px);
      height: auto;
      filter: drop-shadow(0 12px 30px rgba(0,0,0,0.06));
      transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
    }
    .leistungen-service:hover .leistungen-service__icon-wrapper img {
      transform: scale(1.08) translateY(-4px);
    }
    .leistungen-service__icon-bg {
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(102,255,126,0.06) 0%, transparent 70%);
      pointer-events: none;
    }
    /* Decorative grid pattern in visual area */
    .leistungen-service__pattern {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }

    /* Highlight / Full-width Section */
    .leistungen-highlight {
      background: #ffffff;
      color: var(--color-text-dark);
      padding: clamp(5rem, 10vw, 8rem) 0;
      position: relative;
      overflow: hidden;
    }
    .leistungen-highlight__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .leistungen-highlight__label {
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--color-primary);
      margin-bottom: 0.75rem;
    }
    .leistungen-highlight__title {
      font-family: var(--font-heading);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 1.5rem;
      letter-spacing: -0.02em;
    }
    .leistungen-highlight__text {
      font-family: var(--font-body);
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--color-gray-600);
      max-width: 540px;
    }
    .leistungen-highlight__text + .leistungen-highlight__text {
      margin-top: 1rem;
    }
    .leistungen-highlight__visual {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .leistungen-highlight__visual img {
      width: clamp(180px, 18vw, 260px);
      filter: drop-shadow(0 20px 60px rgba(102,255,126,0.15));
    }
    .leistungen-highlight__bg-glow {
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(102,255,126,0.06) 0%, transparent 70%);
      top: -200px;
      right: -200px;
      pointer-events: none;
    }

    /* CTA Section */
    .leistungen-cta {
      padding: clamp(5rem, 10vw, 8rem) 0;
      background: var(--color-white);
      text-align: center;
    }
    .leistungen-cta__title {
      font-family: var(--font-heading);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--color-text-dark);
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
    }
    .leistungen-cta__text {
      font-family: var(--font-body);
      font-size: 1.1rem;
      line-height: 1.7;
      color: var(--color-gray-600);
      max-width: 640px;
      margin: 0 auto 2.5rem;
    }

    /* Förderung Banner */
    .leistungen-foerderung {
      background: #66ff7e;
      padding: clamp(4rem, 8vw, 6rem) 0;
      position: relative;
      overflow: hidden;
    }
    .leistungen-foerderung__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    .leistungen-foerderung__label {
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #111;
      margin-bottom: 0.75rem;
    }
    .leistungen-foerderung__title {
      font-family: var(--font-heading);
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      font-weight: 700;
      line-height: 1.2;
      color: #111;
      margin-bottom: 1.5rem;
      letter-spacing: -0.02em;
    }
    .leistungen-foerderung__text {
      font-family: var(--font-body);
      font-size: 1.05rem;
      line-height: 1.8;
      color: #222;
    }
    .leistungen-foerderung__badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 1rem;
      background: transparent;
      color: #111;
      border: 1.5px solid #111;
      border-radius: var(--radius-full);
      font-family: var(--font-body);
      font-size: 0.8rem;
      font-weight: 600;
      margin-top: 1rem;
    }
    .leistungen-foerderung__visual {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .leistungen-foerderung__visual img {
      width: clamp(160px, 16vw, 240px);
    }

    /* Responsive */
    @media (max-width: 900px) {
      .leistungen-hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }
      .leistungen-hero__text-side {
        padding: 3rem 1.5rem;
      }
      .leistungen-hero__video-side {
        min-height: 300px;
      }
      .leistungen-hero__grid,
      .leistungen-service,
      .leistungen-highlight__grid,
      .leistungen-foerderung__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      .leistungen-services::before {
        left: 1.5rem;
      }
      .leistungen-service::after {
        left: 1.5rem;
        top: 2.5rem;
        transform: translate(-50%, 0);
      }
      .leistungen-service {
        padding: 1.5rem 0 1.5rem 3rem;
      }
      .leistungen-service:nth-child(even) {
        direction: ltr;
      }
      .leistungen-service__content {
        padding: 1.5rem;
      }
      .leistungen-service__visual {
        padding: 1.5rem;
        min-height: 150px;
      }
      .leistungen-hero__visual {
        order: -1;
      }
      .leistungen-service__number {
        font-size: 2rem;
      }
    }

    /* Scroll reveal for service sections */
    .leistungen-service__content,
    .leistungen-service__visual {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
    }
    .leistungen-service.is-visible .leistungen-service__content,
    .leistungen-service.is-visible .leistungen-service__visual {
      opacity: 1;
      transform: translateY(0);
    }
    .leistungen-service.is-visible .leistungen-service__visual {
      transition-delay: 0.15s;
    }

