

/* ================================ Hero Section ====================================== */ 

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      overflow-x: hidden;
    }

    /* =================== Hero Section ================== */
    .leistung-hero {
      position: relative;
      min-height: 90vh;
      background: linear-gradient(135deg, #0a1828 0%, #1a3a52 50%, #2c5364 100%);
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: 80px 0;
    }

    /* Animierte Hintergrund-Elemente */
    .leistung-hero::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(0, 170, 255, 0.15), transparent);
      border-radius: 50%;
      top: -200px;
      right: -150px;
      animation: float 10s ease-in-out infinite;
    }

    .leistung-hero::after {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(0, 119, 255, 0.12), transparent);
      border-radius: 50%;
      bottom: -150px;
      left: -100px;
      animation: float 12s ease-in-out infinite reverse;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      33% { transform: translate(30px, -30px) rotate(5deg); }
      66% { transform: translate(-20px, 20px) rotate(-5deg); }
    }

    /* Partikel-Effekt */
    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      overflow: hidden;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      animation: particleFloat 15s infinite;
    }

    @keyframes particleFloat {
      0% { transform: translateY(100vh) translateX(0); opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
    }

    .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
    .particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 15s; }
    .particle:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 13s; }
    .particle:nth-child(4) { left: 60%; animation-delay: 1s; animation-duration: 14s; }
    .particle:nth-child(5) { left: 75%; animation-delay: 3s; animation-duration: 16s; }
    .particle:nth-child(6) { left: 90%; animation-delay: 5s; animation-duration: 11s; }

    .leistung-container {
      position: relative;
      z-index: 2;
      max-width: 1400px;
      margin: 0 auto;
      padding: 60px 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    /* =================== Linke Seite - Text ================== */
    .leistung-text {
      color: white;
      animation: slideInLeft 1s ease-out;
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-60px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .leistung-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0, 170, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(0, 170, 255, 0.3);
      padding: 10px 24px;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 24px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .leistung-text h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 24px;
      background: linear-gradient(135deg, #ffffff, #00d4ff, #ffffff);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: shimmer 3s linear infinite;
    }

    @keyframes shimmer {
      to {
        background-position: 200% center;
      }
    }

    .leistung-text p {
      font-size: 1.2rem;
      line-height: 1.8;
      margin-bottom: 32px;
      color: rgba(255, 255, 255, 0.9);
      max-width: 580px;
    }

    /* Highlight-Features */
    .highlight-features {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 40px;
    }

    .highlight-item {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 12px 20px;
      border-radius: 50px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
    }

    .highlight-item:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-2px);
    }

    .highlight-icon {
      font-size: 1.3rem;
    }

    .highlight-text {
      font-size: 0.95rem;
      font-weight: 500;
    }

    /* CTA Button */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 18px 40px;
      background: linear-gradient(135deg, #00d4ff, #0099cc);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: 700;
      box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .btn-primary:hover::before {
      left: 100%;
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 50px rgba(0, 212, 255, 0.6);
    }

    /* =================== Rechte Seite - Bild ================== */
    .leistung-image {
      position: relative;
      animation: slideInRight 1s ease-out;
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(60px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .image-wrapper {
      position: relative;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
      transform: perspective(1000px) rotateY(-5deg);
      transition: transform 0.5s ease;
    }

    .image-wrapper:hover {
      transform: perspective(1000px) rotateY(0deg);
    }

    /* Gradient Overlay auf Bild */
    .image-wrapper::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 166, 255, 0.15));
      z-index: 1;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .image-wrapper:hover::before {
      opacity: 0.4;
    }

    .leistung-image img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      display: block;
      border-radius: 30px;
    }

    /* Dekorative Elemente um das Bild */
    .decorative-circle {
      position: absolute;
      border: 2px solid rgba(0, 212, 255, 0.3);
      border-radius: 50%;
      animation: rotate 20s linear infinite;
    }

    .decorative-circle:nth-child(1) {
      width: 120px;
      height: 120px;
      top: -30px;
      right: -30px;
    }

    .decorative-circle:nth-child(2) {
      width: 80px;
      height: 80px;
      bottom: -20px;
      left: -20px;
      animation-direction: reverse;
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* =================== Responsive Design ================== */
    @media (max-width: 1024px) {
      .leistung-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 30px;
      }

      .leistung-text h1 {
        font-size: 2.3rem;
      }

      .leistung-image {
        order: -1;
      }

      .image-wrapper {
        transform: none;
      }
    }

    @media (max-width: 768px) {
      .leistung-hero {
        min-height: auto;
        padding: 60px 0;
      }

      .leistung-text h1 {
        font-size: 1.9rem;
      }

      .leistung-text p {
        font-size: 1.1rem;
      }

      .highlight-features {
        flex-direction: column;
      }

      .highlight-item {
        width: 100%;
        justify-content: center;
      }

      .btn-primary {
        width: 100%;
        justify-content: center;
      }

      .placeholder-image,
      .leistung-image img {
        height: 350px;
      }

      .illustration-group {
        gap: 15px;
      }

      .person-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
      }

      .person:nth-child(2) .person-avatar {
        width: 75px;
        height: 75px;
        font-size: 2.2rem;
      }

      .person-label {
        font-size: 0.75rem;
        padding: 4px 10px;
      }

      .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }

      .illustration-text h3 {
        font-size: 1.2rem;
      }

      .illustration-text p {
        font-size: 0.85rem;
      }
    }

    @media (max-width: 480px) {
      .leistung-container {
        padding: 30px 20px;
      }

      .leistung-text h1 {
        font-size: 1.6rem;
      }

      .leistung-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
      }

      .placeholder-text {
        font-size: 1rem;
      }

      .people-group {
        gap: 15px;
      }

      .main-illustration {
        gap: 30px;
        padding: 30px 20px;
      }
    }


    /* ================================ Unsere Dienstleistungen  ====================================== */ 


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f8f9fa;
      overflow-x: hidden;
    }

    /* =================== Section ================== */
    .dienstleistungen-section {
      width: 100%;
      padding: 6rem 5%;
      background: linear-gradient(135deg, #ffffff 0%, #f1f6f9 100%);
      position: relative;
      overflow: visible;
    }

    .dienstleistungen-section::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(0, 119, 255, 0.08), transparent);
      border-radius: 50%;
      top: -200px;
      right: -200px;
      z-index: 0;
    }

    .dienstleistungen-section::after {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(0, 170, 255, 0.08), transparent);
      border-radius: 50%;
      bottom: -150px;
      left: -150px;
      z-index: 0;
    }

    .dienstleistungen-container {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .dienstleistungen-container h2 {
      font-size: 3rem;
      font-weight: 800;
      text-align: center;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, #0077ff, #00aaff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: fadeInDown 0.8s ease-out;
    }

    .dienstleistungen-container > p {
      text-align: center;
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 5rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes scaleIn {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* =================== Services Wrapper ================== */
    .services-wrapper {
      position: relative;
    }

    svg.arrow-connector {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      overflow: visible;
      pointer-events: none;
    }

    .arrow-line {
      stroke-dasharray: 1000;
      stroke-dashoffset: 1000;
      animation: drawArrow 2s ease-in-out forwards;
    }

    .arrow-head {
      animation: fadeArrowHead 2s ease-in-out forwards;
    }

    @keyframes drawArrow {
      0% {
        stroke-dashoffset: 1000;
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      100% {
        stroke-dashoffset: 0;
        opacity: 1;
      }
    }

    @keyframes fadeArrowHead {
      0% {
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      100% {
        opacity: 1;
      }
    }

    /* =================== Service Items ================== */
    .service-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      margin-bottom: 6rem;
      animation: fadeInUp 0.8s ease-out both;
      position: relative;
      z-index: 2;
    }

    .service-item:nth-child(1) { animation-delay: 0.3s; }
    .service-item:nth-child(2) { animation-delay: 0.4s; }
    .service-item:nth-child(3) { animation-delay: 0.5s; }
    .service-item:nth-child(4) { animation-delay: 0.6s; }
    .service-item:nth-child(5) { animation-delay: 0.7s; }
    .service-item:nth-child(6) { animation-delay: 0.8s; }

    /* Image Container */
    .service-image {
      position: relative;
      height: 400px;
      border-radius: 20px;
      overflow: hidden;
      animation: slideInLeft 0.8s ease-out both;
    }

    .service-item:nth-child(even) .service-image {
      order: 2;
      animation: slideInRight 0.8s ease-out both;
    }

    .service-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-image:hover img {
      transform: scale(1.08) rotate(2deg);
    }

    .service-image::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0, 119, 255, 0.4), rgba(0, 170, 255, 0.2));
      opacity: 0.6;
      transition: opacity 0.4s ease;
      z-index: 2;
    }

    .service-image:hover::before {
      opacity: 0.2;
    }

    /* Placeholder Image */
    .placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #0077ff 0%, #00aaff 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .placeholder::before {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      animation: pulse 3s ease-in-out infinite;
    }

    .placeholder::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 50%;
      animation: pulse 3s ease-in-out 0.5s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.2); opacity: 0.8; }
    }

    .placeholder-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: white;
    }

    .placeholder-icon {
      font-size: 5rem;
      margin-bottom: 1rem;
      display: block;
      filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
      animation: bounce 2s ease-in-out infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
    }

    .placeholder-text {
      font-size: 1.3rem;
      font-weight: 600;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* Content Container */
    .service-content {
      animation: slideInRight 0.8s ease-out both;
      padding: 2rem;
    }

    .service-item:nth-child(even) .service-content {
      order: 1;
      animation: slideInLeft 0.8s ease-out both;
    }

    .service-content h3 {
      font-size: 2.2rem;
      color: #0077ff;
      margin-bottom: 1.5rem;
      font-weight: 700;
    }

    .service-content .badge {
      display: inline-block;
      background: linear-gradient(135deg, #0077ff, #00aaff);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      animation: slideInUp 0.8s ease-out both;
      animation-delay: 0.3s;
    }

    .service-content p {
      font-size: 1.05rem;
      color: #555;
      line-height: 1.8;
      margin-bottom: 2rem;
      animation: slideInUp 0.8s ease-out both;
      animation-delay: 0.4s;
    }

    .service-features {
      list-style: none;
      margin-bottom: 2rem;
      animation: slideInUp 0.8s ease-out both;
      animation-delay: 0.5s;
    }

    .service-features li {
      padding: 0.8rem 0;
      padding-left: 2rem;
      position: relative;
      color: #666;
      font-size: 1rem;
      line-height: 1.6;
    }

    .service-features li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: #00aaff;
      font-weight: bold;
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

    .service-features li:hover::before {
      transform: scale(1.3);
    }

    .cta-button {
      display: inline-block;
      background: linear-gradient(135deg, #0077ff, #0055cc);
      color: white;
      padding: 1rem 2.5rem;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 10px 30px rgba(0, 119, 255, 0.3);
      cursor: pointer;
      border: none;
      animation: slideInUp 0.8s ease-out both;
      animation-delay: 0.6s;
    }

    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 45px rgba(0, 119, 255, 0.45);
      background: linear-gradient(135deg, #0055cc, #003399);
    }

    .cta-button:active {
      transform: translateY(-1px);
    }

    /* =================== Modal ================== */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      animation: fadeIn 0.3s ease-out;
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-content {
      background-color: #fefefe;
      padding: 2.5rem;
      border-radius: 20px;
      width: 90%;
      max-width: 650px;
      max-height: 85vh;
      overflow-y: auto;
      box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.4s ease-out;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      border-bottom: 2px solid #f0f0f0;
      padding-bottom: 1rem;
    }

    .modal-header h2 {
      font-size: 1.8rem;
      color: #0077ff;
      margin: 0;
    }

    .close-btn {
      font-size: 2rem;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s ease;
      background: none;
      border: none;
      padding: 0;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .close-btn:hover {
      color: #0077ff;
    }

    .modal-body {
      color: #666;
      line-height: 1.8;
      font-size: 1.05rem;
    }

    .modal-body h3 {
      color: #0077ff;
      margin: 1.5rem 0 1rem 0;
      font-size: 1.3rem;
    }

    .modal-body ul {
      margin: 1rem 0 1rem 2rem;
      list-style: disc;
    }

    .modal-body li {
      margin-bottom: 0.5rem;
    }

    /* =================== Responsive ================== */
    @media (max-width: 1024px) {
      .service-item {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4rem;
      }

      .service-item:nth-child(even) {
        direction: rtl;
      }

      .service-item:nth-child(even) > * {
        direction: ltr;
      }

      .service-image {
        height: 350px;
      }

      .dienstleistungen-container h2 {
        font-size: 2.3rem;
      }

      .service-content h3 {
        font-size: 1.8rem;
      }
    }

    @media (max-width: 768px) {
      .dienstleistungen-section {
        padding: 4rem 4%;
      }

      .dienstleistungen-container h2 {
        font-size: 1.9rem;
      }

      .service-image {
        height: 300px;
        border-radius: 15px;
      }

      .service-item {
        gap: 2rem;
        margin-bottom: 3rem;
      }

      .service-content {
        padding: 1.5rem;
      }

      .service-content h3 {
        font-size: 1.5rem;
      }

      .service-content p {
        font-size: 1rem;
      }

      .placeholder-icon {
        font-size: 3.5rem;
      }
    }

    @media (max-width: 480px) {
      .dienstleistungen-section {
        padding: 3rem 3%;
      }

      .dienstleistungen-container h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
      }

      .dienstleistungen-container > p {
        font-size: 1rem;
        margin-bottom: 3rem;
      }

      .service-image {
        height: 250px;
      }

      .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
      }

      .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
      }

      .service-features li {
        font-size: 0.9rem;
        padding-left: 1.8rem;
      }

      .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
      }

      .placeholder-icon {
        font-size: 3rem;
      }
    }