.cta-button:hover {
  background-color: #218838; /* dunkleres Grün */
  transform: scale(1.03);
  transition: all 0.3s ease;
}
    /* === Grundlayout === */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f9f9f9;
      margin: 0;
      color: #222;
      line-height: 1.6;
    }

    h1, h2, h3 {
      color: #2c3e50;
      font-weight: 600;
      margin-bottom: 0.5em;
    }

    h3 {
      font-size: 1.25rem;
    }

    /* === Header === */
    .header-container {
      background-color: #f9f9f9; 
      color: #0056a3; 
      padding: 3rem 1rem 4rem;
      text-align: center;
    }

    .hero-title span {
      font-size: 2.5rem;
      background-color: white;
      color: #0056a3;
      padding: 0.3em 0.6em;
      border-radius: 6px;
      display: inline-block;
      animation: fadeInDown 1s ease forwards;
    }

    .header-container p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 1rem auto 2rem;
    }

    .cta-button {
      background-color: #0056a3;
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .cta-button:hover {
      background-color: #003f7a;
    }

    /* === Logo === */
    .logo-wrapper {
      background-color: white;
      padding: 0.5rem;
      border-radius: 12px;
      display: inline-block;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin-bottom: 1rem;
    }

    .logo {
      max-width: 100px;
      height: auto;
      display: block;
    }

    /* === Zielgruppen === */
    #zielgruppen {
      padding: 4rem 1rem;
      text-align: center;
    }

    .services {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      max-width: 1080px;
      margin: auto;
    }

    .service-box {
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      padding: 2rem 1.5rem;
      flex: 1 1 320px; /* oder clamp(300px, 30%, 340px) */
      max-width: 340px;
      text-align: center;
      transition: transform 0.3s ease;
      text-decoration: none;
      color: inherit;
              flex: 1 1 clamp(280px, 30vw, 340px);
      max-width: 340px;
        }
    
    .service-box {
      flex: 1 1 clamp(280px, 30vw, 420px);
    }
    .service-box:hover {
      transform: translateY(-5px);
    }

    .service-box img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 1rem;
    }

    .button-inline {
      display: inline-block;
      background-color: #0056a3;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      font-weight: bold;
      font-size: 0.9rem;
      text-decoration: none;
      margin-top: 0.5rem;
    }

    /* === Intro & Leistungen === */
    .intro-leistungen-section {
      background-color: #ffffff;
      padding: 4rem 1rem;
    }

    .intro-leistungen-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 3rem;
      max-width: 1200px;
      margin: auto;
      align-items: stretch;
    }

    .intro-part,
    .leistungen-part {
      flex: 1 1 400px;
      max-width: 500px;
      text-align: center;
    }

    .intro-image {
      width: 160px;
      height: 160px;
      object-fit: cover;
      border-radius: 50%;
      border: 5px solid #0056a3;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin: 2rem auto;
      display: block;
    }

    .leistungen-liste {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: left;
    }

    .leistungen-liste li {
      font-size: 1rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .leistungen-liste li i {
      color: #0056a3;
      font-size: 1.2rem;
    }

    /* === Footer === */
    footer {
      background-color: #f0f0f0;
      text-align: center;
      padding: 1.5rem;
      font-size: 0.9rem;
      color: #555;
    }

    footer a {
      color: #0056a3;
      text-decoration: none;
    }

    /* === Scroll Animation === */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-out;
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* === Keyframes === */
    @keyframes fadeInDown {
      0% {
        opacity: 0;
        transform: translateY(-30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
      
      /* === FAQ-Styling === */
.faq-section {
  background-color: #ffffff;
  padding: 4rem 1rem;
      max-width: 900px;
  margin: auto;
    margin-top: 4rem;
      margin-bottom: 4rem;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
  color: #0056a3;
}

.faq-question::after {
  content: "\f078"; /* Font Awesome chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 0.5rem;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}
      
.reference-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
  margin: auto;
  text-align: center;
    margin-top: 4rem;

}

.reference-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0056a3;
}

.seo-results {
  margin-bottom: 3rem;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.result-item {
  background: #f8f8f8;
  padding: 1rem;
  border-left: 5px solid #0056a3;
  text-align: left;
  font-size: 0.95rem;
}

.result-item .position {
  color: #28a745;
  font-weight: bold;
}

.testimonial-carousel {
  position: relative;
  min-height: 140px;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  max-width: 700px;
  margin: auto;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-slide p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-weight: bold;
  color: #0056a3;
  display: block;
  margin-bottom: 0.3rem;
}

.testimonial-carousel a {
  font-size: 0.9rem;
  color: #0056a3;
  text-decoration: underline;
}

.testimonial-controls {
  margin-top: 1.5rem;
}

.testimonial-controls button {
  background-color: #0056a3;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  margin: 0 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}
      .result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.result-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.result-card h4 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #0056a3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-card h4 i {
  color: #0056a3;
}

.result-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #333;
}

.result-card em {
  font-style: normal;
  color: #0056a3;
  font-weight: bold;
}

.position {
  display: inline-block;
  margin-top: 0.3rem;
  color: #28a745;
  font-weight: bold;
  background-color: #e6f4ea;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.card-link {
  margin-top: auto;
  display: inline-block;
  font-weight: bold;
  color: #0056a3;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.card-link:hover {
  border-color: #0056a3;
}

.access-date {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.4rem;
}
.access-date i {
  margin-right: 0.3rem;
  color: #999;
}

/* === Skiplink === */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
  background: #0056a3;
  color: #fff;
  padding: .75rem 1rem;
  border-radius: .25rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
}

/* === Hero Layout === */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: auto;
  display: block;
}
.header-container {
  text-align: center;
  background-color: rgba(255,255,255,.92);
  padding: 2rem;
  border-radius: .5rem;
  max-width: 1100px;
  margin: auto;
}

/* === Logo === */
.logo-wrapper {
  margin-bottom: .75rem;
}
.logo {
  max-height: 70px;
  height: auto;
}

/* === Headline & Subline === */
.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: 2rem;
  color: #0056a3;
}
.hero-subline {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* === Chips === */
.hero-chips {
  margin-top: 1rem;
}
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.chip {
  display: inline-block;
  border: 1px solid #0056a3;
  color: #0056a3;
  padding: .4rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .95rem;
  transition: all .2s ease-in-out;
}
.chip:hover,
.chip:focus {
  background-color: #0056a3;
  color: #fff;
}
.chip--primary {
  border-color: #28a745;
  background: #28a745;
  color: #fff;
}

/* === Kontaktbereich === */
.contact-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.contact-photo .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #0056a3;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  object-fit: cover;
}
.contact-text {
  margin: 0 0 .4rem;
}
.contact-sub {
  font-size: .95rem;
  color: #333;
}

/* === CTA Buttons === */
.cta-group {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: .3rem;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: background-color .3s ease;
}
.cta-button--primary {
  background-color: #28a745;
  color: #fff;
}
.cta-button--primary:hover {
  background-color: #218838;
}
.cta-button--secondary {
  background-color: #0056a3;
  color: #fff;
}
.cta-button--secondary:hover {
  background-color: #004080;
}
.cta-button--accent {
  background-color: #0c7c3b;
  color: #fff;
}
.cta-button--accent:hover {
  background-color: #095e2f;
}

/* === USP-Leiste === */
.usp-bar {
  margin-top: 1.25rem;
}
.usp-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: .95rem;
  color: #2b2b2b;
}
.usp-list li i {
  margin-right: .4rem;
  color: #0056a3;
}

/* === Responsive Anpassungen === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subline {
    font-size: 1rem;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-bg img,
.hero-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* legt es hinter den Text */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* füllt den Container aus */
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 60vh, 720px);
  padding: clamp(24px, 4vw, 48px) 16px; /* Platz für Inhalt */
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: leichte Abdunklung fürs Text-Kontrast */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.15), rgba(0,0,0,.05));
  z-index: -1;
}

/* Der Container liegt VOR dem Bild und ist transparent */
.header-container {
  position: relative;
  z-index: 1;
  text-align: center;
  background-color: rgba(255,255,255,.92); /* oder: transparent */
  padding: 2rem;
  border-radius: .5rem;
  max-width: 1100px;
  margin: auto;
}

/* === CTA Buttons (einheitlich, ohne Duplikate) === */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: .3rem;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: transform .3s ease, background-color .3s ease;
}
.cta-button:hover { transform: scale(1.03); }

.cta-button--primary   { background:#28a745; color:#fff; }
.cta-button--primary:hover   { background:#218838; }

.cta-button--secondary { background:#0056a3; color:#fff; }
.cta-button--secondary:hover { background:#004080; }

.cta-button--accent    { background:#0c7c3b; color:#fff; }
.cta-button--accent:hover    { background:#095e2f; }

/* === Chips/USP/Headline bleiben wie gehabt === */

/* === Services (entfernt doppelte Regeln) === */
.service-box {
  background:#fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  padding: 2rem 1.5rem;
  flex: 1 1 clamp(280px, 30vw, 340px);
  max-width: 340px;
  text-align: center;
  transition: transform .3s ease;
  text-decoration: none;
  color: inherit;
}
.service-box:hover { transform: translateY(-5px); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-title   { font-size: 1.6rem; }
  .hero-subline { font-size: 1rem; }
  .cta-button   { width: 100%; justify-content: center; }
}

.hero-bg { z-index: 0; }
.header-container { z-index: 1; position: relative; }

.hero {
  position: relative;
  min-height: clamp(420px, 60vh, 720px);
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0; /* statt -1 */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-container {
  position: relative;
  z-index: 1; /* liegt über dem Bild */
}

.parallax-section{
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;   /* saubere Ebenen */
  overflow: hidden;
  padding: 0;           /* diese Section hat eigenen Flow */
  max-width: none;      /* Section-sammelregel überschreibt sonst Breite */
}

.parallax-bg{
  position: absolute;
  inset: -20vh 0 -20vh 0;      /* etwas größer für Spielraum */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0,0,0);  /* GPU hint */
  z-index: 0;
}

.parallax-content{
  position: relative;
  z-index: 1;
  padding: 4rem 1rem;          /* Abstand zum Rand */
}

/* Motion-Reduce: Parallax aus */
@media (prefers-reduced-motion: reduce){
  .parallax-bg{ transform: none !important; }
}

/* Fallback: sehr kleine Screens – weniger Offset */
@media (max-width: 480px){
  .parallax-content{ padding: 3rem 1rem; }
}