:root {
      --color-bg: #ffffff;
      --color-light: #f4f4f4;
      --color-primary: #0f1e37;
      --color-accent: #ffce00;
      --radius: 8px;
      --shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Open Sans', sans-serif;
      background: var(--color-bg);
      line-height: 1.6;
      color: #333;
      scroll-behavior: smooth;
    }

    h1, h2, h3 {
      font-family: 'Poppins', sans-serif;
      color: var(--color-primary);
    }

    a { color: var(--color-primary); text-decoration: none; }

    .section-heading {
      text-align: center !important;
       margin-bottom: 2rem !important;
    }

    .footer-link {
      color: #fff !important;
      text-decoration: underline !important;
    }

    /* Hero */
    .hero {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
    }

    .hero-bg {
      position: relative;
      width: 100%;
      z-index: 0;
    }

    .hero-bg img {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      object-position: center;
      filter: blur(3px) brightness(0.7);
      margin-bottom: 1rem;
    }

    .hero-content {
      position: absolute;
      z-index: 2;
      max-width: 800px;
      width: 90%; /* Maximale Breite im Verhältnis zum Viewport */
      padding: 2rem;
      background-color: rgba(70, 72, 75, 0.65);
      border-radius: var(--radius);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff; /* Weißer Text für alle Text-Elemente im Hero-Content */
    }

    .hero-content h2 {
      color: #fff; /* Überschreiben der Standard-Überschriftenfarbe */
    }

    .hero h1 {
      font-size: clamp(2rem, 6vw, 3rem);
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    .btn-primary {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.75rem 2rem;
      background: var(--color-accent);
      color: var(--color-primary);
      font-weight: 700;
      border-radius: var(--radius);
      transition: opacity 0.3s ease;
    }

    .btn-primary:hover { opacity: 0.9; }

    /* Responsive Anpassungen */
    @media (max-width: 768px) {
      .hero-content {
        width: 95%;
        padding: 1.5rem 1rem;
      }
      
      .hero-content h2 {
        font-size: 1.5rem;
      }
      
      .btn-primary {
        padding: 0.6rem 1.5rem;
        margin-top: 0.75rem;
      }
    }

    @media (max-width: 480px) {
      .hero-content {
        width: 96%;
        padding: 1rem 0.75rem;
      }
      
      .hero-content h2 {
        font-size: 1.2rem;
      }
    }

    /* Services */
    .services {
      background: var(--color-light);
      padding: 4rem 1rem;
    }

    .services-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(2, 1fr); /* Feste 2-Spalten-Anordnung */
      grid-template-rows: auto auto; /* Zwei Zeilen */
      max-width: 1200px;
      margin: 0 auto;
    }

    .service-card {
      background: var(--color-bg);
      border-radius: var(--radius);
      padding: 2rem 1.5rem;
      text-align: center;
      box-shadow: var(--shadow);
    }

    .service-card img {
      width: 64px;
      margin-bottom: 1rem;
    }

    /* About */
    .about {
      padding: 4rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      align-items: center;
    }

    .about img {
      flex: 1 1 45%; /* Angepasst auf nahezu 50% */
      max-width: 45%; /* Begrenzt die Bildgröße */
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      filter: blur(1px);
      object-fit: cover;
      width: 100%;
      height: auto;
    }

    .about-content {
      flex: 1 1 45%; /* Angepasst auf nahezu 50% */
    }

    /* Zertifizierungsliste */
    .cert-list {
      list-style-type: none;
      margin-left: 0.5rem;
      padding-left: 1.5rem;
    }

    .cert-list li {
      position: relative;
      padding: 0.4rem 0;
      margin-bottom: 0.5rem;
    }

    .cert-list li:before {
      content: "✓";
      color: var(--color-accent);
      font-weight: bold;
      position: absolute;
      left: -1.5rem;
    }

    /* Zusätzliche responsive Anpassungen */
    @media (max-width: 768px) {
      .about {
        flex-direction: column; /* Auf kleineren Bildschirmen untereinander anordnen */
      }
      
      .about img {
        max-width: 100%; /* Volle Breite auf mobilen Geräten */
        margin-bottom: 1rem;
      }
    }

    /* Before After */
    .before-after {
      position: relative;
      margin: 4rem auto;
      max-width: 900px;
      overflow: hidden;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .before-after img {
      display: block;
      width: 100%;
      height: auto;
    }

    .before-after input[type=range] {
      position: absolute;
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 100%;
      cursor: ew-resize;
      opacity: 0;
      z-index: 3;
    }

    .before-after .after-img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      overflow: hidden;
      width: 50%;
      transition: width 0.25s ease-out;
      z-index: 2;
    }

    /* Testimonials */
    .testimonials {
      background: var(--color-light);
      padding: 4rem 1rem;
    }

    .testimonial-wrap {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }

    .testimonial {
      display: none;
      text-align: center;
      padding: 1rem 2rem;
      font-style: italic;
    }

    .testimonial.active { display: block; }

    .stars {
      color: var(--color-accent);
      margin-bottom: 0.5rem;
    }

    /* FAQ */
    .faq {
      max-width: 800px;
      margin: 4rem auto;
      padding: 0 1rem;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
    }

    .faq-question {
      padding: 1rem 0;
      cursor: pointer;
      position: relative;
      font-weight: 600;
    }

    .faq-question::after {
      content: "+";
      position: absolute;
      right: 0;
    }

    .faq-question.active::after { content: "-"; }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding-right: 1.5rem;
    }

    .faq-answer p { padding: 0.5rem 0 1rem; }

    /* Sticky Bar */
    .sticky-bar {
      position: fixed;
      bottom: 0;
      width: 100%;
      background: var(--color-primary);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.75rem 1rem;
      gap: 0.5rem;
      z-index: 999;
    }

    .sticky-bar a {
      background: var(--color-accent);
      color: var(--color-primary);
      padding: 0.5rem 1rem;
      border-radius: var(--radius);
      font-weight: 700;
    }

    /* Footer */
    footer {
      background: var(--color-primary);
      color: #fff;
      text-align: center;
      padding: 2rem 1rem 4rem;
    }

    footer small { display: block; margin-top: 0.5rem; }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; }
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.7);
      animation: fadeIn 0.3s;
    }

    .modal-content {
      background-color: var(--color-bg);
      margin: 5% auto;
      padding: 2rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      width: 80%;
      max-width: 800px;
      max-height: 80vh;
      overflow-y: auto;
      position: relative;
      animation: slideIn 0.3s;
    }

    .close-modal {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close-modal:hover {
      color: #333;
    }

    .impressum-content {
      margin-top: 1.5rem;
    }

    .impressum-content h3 {
      margin-top: 1.5rem;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }

    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    @keyframes slideIn {
      from {transform: translateY(-50px); opacity: 0;}
      to {transform: translateY(0); opacity: 1;}
    }

    @media (max-width: 768px) {
      .modal-content {
        width: 90%;
        padding: 1.5rem;
        margin: 10% auto;
      }
    }

    /* Kontakt-Styles */
    .contact {
      padding: 4rem 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .contact-container {
      background: var(--color-light);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 2rem;
    }

    .contact-info {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .contact-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      margin-top: 1rem;
    }

    .contact-method {
      flex: 1 1 200px;
      background: var(--color-bg);
      padding: 1.5rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .contact-method img {
      width: 50px;
      height: 50px;
      margin-bottom: 1rem;
    }

    .contact-method a {
      color: var(--color-primary);
      font-weight: 600;
      text-decoration: none;
    }

    .contact-method a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .contact-methods {
        flex-direction: column;
      }
      
      .contact-method {
        max-width: 100%;
      }
    }

    /* Prozess/Ablauf Styles */
    .process {
      padding: 4rem 1rem;
      background: var(--color-light);
    }

    .process-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .process-step {
      display: flex;
      background: var(--color-bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 80px;
      background: var(--color-primary);
      color: #fff;
      font-size: 2rem;
      font-weight: 700;
      font-family: 'Poppins', sans-serif;
    }

    .step-content {
      flex: 1;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .step-content img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: var(--radius);
      margin-bottom: 1rem;
    }

    .step-content h3 {
      color: var(--color-primary);
      margin-bottom: 0.5rem;
    }

    
    /* Diese Zeilen zum CSS-Teil hinzufügen */
.process-step:nth-child(3) .step-content img{
  object-position: center calc(100% + 115px);
}
.process-step:nth-child(4) .step-content img {
  object-position: center calc(100% + 35px);
}
.process-step:nth-child(6) .step-content img {
  object-position: center calc(100% + 50px);
}

    /* Responsive Anpassungen */
    @media (max-width: 768px) {
      .process-step {
        flex-direction: column;
      }
      
      .step-number {
        min-width: 100%;
        padding: 0.5rem;
      }
      
      .step-content img {
        height: 180px;
      }
      
      /* Bildpositionierung für mobile Ansicht beibehalten */
      .process-step:nth-child(3) .step-content img {
        object-position: center bottom;
      }
      
      .process-step:nth-child(4) .step-content img,
      .process-step:nth-child(6) .step-content img {
        object-position: center bottom;
      }
    }

    @media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* Eine Spalte für mobile Ansicht */
  }
  
  .service-card {
    padding: 1.5rem 1rem; /* Etwas weniger Padding auf kleinen Bildschirmen */
  }
}



