

.cta-button:hover {
  background-color: #218838; /* dunkleres Grün */
  transform: scale(1.03);
  transition: all 0.3s ease;
}
/* === Grundlayout & Typografie === */
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 === */
.hero {

  background: #f9f9f9; 
  color: #0056a3; 
    
    
  padding: 3rem 1rem;
  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;
    }

.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: 0 auto 1rem;
  max-width: 100px;
}

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

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

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

/* === Sektionen === */
section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: auto;
}

/* === Intro-Bereich === */
.intro-leistungen-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

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

.intro-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

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

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

.leistungen-liste i {
  color: #007BFF;
  font-size: 1.2rem;
}

/* === Services / Zielgruppen === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-wrapper {
  background-color: #0056b3;
  border-radius: 9999px;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper i {
  color: white;
  font-size: 24px;
}

.service-box h3 {
  margin-top: 0.5rem;
  color: #2c3e50;
  font-size: 1.1rem;
}

.service-box p {
  color: #444;
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

/* === Footer === */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #eaeaea;
}

footer a {
  color: #0056b3;
  text-decoration: none;
  margin: 0 0.5rem;
}

/* === Responsive Anpassungen === */
@media (max-width: 768px) {
  .intro-leistungen-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}
.cta-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #28a745;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* === FAQ-Styling === */
.faq-section {
  background-color: #ffffff;
  padding: 4rem 1rem;
  max-width: 900px;
    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;
}


.offer-box {
  flex: 1 1 420px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #0a4c8c;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.offer-box:hover {
  transform: translateY(-5px);
}

.offer-box h3 {
  color: #0a4c8c;
  margin-top: 0;
  font-size: 1.1rem;
}

.offer-box ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.offer-box li::before {
  content: "✓";
  color: #0a4c8c;
  margin-right: 0.5rem;
}

.offer-price {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1rem;
  color: #0a4c8c;
}

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

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0056a3;
}

.hero-contact .contact-image {
  max-width: 150px;  /* maximale Breite */
  height: auto;      /* Höhe proportional */
  border-radius: 50%; /* rund */
  object-fit: cover; /* Bild füllt den Rahmen aus */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-image {
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.contact-image {
  width: 80px;       /* fixe Breite */
  height: 80px;      /* fixe Höhe */
  border-radius: 50%;
  object-fit: cover; /* Bild wird sauber zugeschnitten */
  border: 3px solid #0056a3; /* Rahmenfarbe passend zum Design */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  flex-wrap: wrap; /* für mobiles Umbruchverhalten */
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0056a3;
}

.contact-info {
  font-size: 0.9rem;
}

.contact-info strong {
  font-size: 1rem;
  color: #0056a3;
}

.contact-right {
  display: flex;
  gap: 0.75rem;
}

.contact-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  font-size: 0.9rem;
}

.contact-button.email {
  background-color: #007bff;
}

.contact-button.phone {
  background-color: #28a745;
}

.contact-button:hover {
  opacity: 0.9;
}

/* Mobile: einspaltig */
@media (max-width: 600px) {
  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-right {
    width: 100%;
    justify-content: flex-start;
  }
}
/* --- zweispaltiger Kontaktblock im Header --- */
.hero-contact.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  max-width: 900px;
  margin: 1.25rem auto 0;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0; /* für saubere Text-Umbrüche */
}

.contact-image {
  width: 80px;
  height: 80px;
  object-fit: cover;      /* Zuschneiden statt verzerren */
  border-radius: 50%;     /* Perfekter Kreis */
  border: 3px solid #0056a3;
  aspect-ratio: 1 / 1;    /* Erzwingt Quadrat, egal was das Originalbild hat */
  display: block;
}

.contact-text {
  margin: 0;
  font-size: .95rem;
  color: #223;
}

.contact-text strong { color: #0056a3; }

.contact-right {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Buttons im Header etwas kompakter */
.hero .cta-button {
  padding: .6rem 1rem;
  margin-top: 0;
}

/* Mobile: einspaltig untereinander */
@media (max-width: 640px) {
  .hero-contact.contact-box {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-right {
    justify-content: flex-start;
  }
}

.services .service-link {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.services .service-link:hover,
.services .service-link:focus {
  border-bottom-color: currentColor;
}

.mehr-button {
  display: inline-block;
  margin-top: .5rem;
  padding: .5rem .8rem;
  border: 1px solid #1e67d1;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #1e67d1;
}
.mehr-button:hover,
.mehr-button:focus {
  background: #1e67d1;
  color: #fff;
}

/* Titel responsive skalieren */
.hero-title span{
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  line-height: 1.15;
}

/* Beschreibung etwas kleiner auf Phones */
@media (max-width: 640px){
  .hero{ padding: 2rem 1rem; }
  .hero-description{ font-size: .95rem; }
}

/* Buttons dürfen auf Mobile ganze Zeile einnehmen */
.hero .cta-button{
  padding: .7rem 1rem;
  font-size: .95rem;
}

/* Der Container bekommt eine Breitebegrenzung (zentriert) */
.hero .header-container{
  max-width: 1100px;
  margin: 0 auto;
}

/* Kontaktblock: Spalte auf schmal, mit voller Breite */
@media (max-width: 768px){
  .hero-contact.contact-box{
    flex-direction: column;
    align-items: stretch;
  }
  .contact-left, .contact-right{
    width: 100%;
  }
  .contact-right{
    justify-content: stretch;
  }
  .hero .cta-button{
    width: 100%;
    text-align: center;
  }
}

/* Bild im Kontakt kleiner auf Phones */
@media (max-width: 480px){
  .contact-image{
    width: 64px; height: 64px;
  }
}

.hero { background: #f9f9f9; }

.hero{
  background-color:#f9f9f9; /* statt background: ... */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color:#0056a3;
}

.cta-button:hover{
  background-color:#218838; /* oder dein Blau, wie du willst */
  transform: scale(1.03);
  transition: transform .3s ease, background-color .3s ease;
}

/* CTA Section */
.cta-section{
  background-color:#f9f9f9;
  padding:4rem 1rem;
}
.cta-wrap{
  max-width:1000px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  align-items:center;
  justify-content:center;
}

/* Left column */
.cta-left{
  flex:1 1 240px;
  min-width:240px;
  text-align:center;
}
.cta-avatar{
  width:140px;height:140px;object-fit:cover;border-radius:50%;
  border:5px solid #0056a3; box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.cta-name{
  margin:.5rem 0 0; font-size:.95rem; color:#2c3e50; font-weight:600;
}
.cta-name span{ font-weight:400; font-size:.85rem; }

/* Right column */
.cta-right{
  flex:1 1 420px;
  min-width:280px;
  text-align:center;
}
.cta-right .logo{ max-width:100px; height:auto; display:block; margin:0 auto 1rem; }
.cta-title{
  margin:0;
  font-size:clamp(1.25rem, 2.5vw, 1.75rem);
  color:#2c3e50;
}
.cta-text{ margin:.5rem 0 0; color:#333; }

/* Buttons */
.cta-buttons{
  display:flex; flex-wrap:wrap; gap:.75rem; justify-content:center; margin-top:1rem;
}
.cta-button{
  display:inline-flex; align-items:center; gap:.5rem;
  background-color:#0056b3; color:#fff; text-decoration:none;
  padding:.75rem 1.25rem; border-radius:8px; font-weight:700;
  transition:transform .2s ease, background-color .2s ease;
}
.cta-button:hover{ transform:translateY(-2px); background-color:#004494; }
.cta-button:active{ transform:translateY(0); }

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

/* Mobile rules: stack hard and make buttons full-width */
@media (max-width: 768px){
  .cta-wrap{ justify-content:stretch; }
  .cta-right, .cta-left{ flex:1 1 100%; min-width:0; }
  .cta-buttons{ justify-content:stretch; }
  .cta-button{ width:100%; justify-content:center; }
}
@media (max-width: 480px){
  .cta-avatar{ width:110px; height:110px; }
  .cta-title{ font-size:clamp(1.1rem, 5.5vw, 1.4rem); }
  .cta-text{ font-size:.95rem; }
}

.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; }
}